This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Christoph Böddeker
Recipients Christoph Böddeker, brett.cannon
Date 2016-01-09.18:36:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452364586.31.0.567684163497.issue26062@psf.upfronthosting.co.za>
In-reply-to
Content
That's true. Now I have finde the reason.

Someone has changed a function in lib/python3.5/string.py : _vformat.
This function returns now a tuple (befor it was only one return value).

IPython inherits from this object in lib/python3.5/site-packages/IPython/utils/text.py
Because of this change the IPython code is not working.

It seems to me, that this change in python is not nessesary.

I don't, know how to find the commit, message who has changed this and why.



Python 3.5.0:
def _vformat( ..., auto_arg_index=0):
    ...
    format_spec = self._vformat( ..., auto_arg_index=auto_arg_index)
    ...
    return ''.join(result)

Python 3.5.1:
def _vformat( ..., auto_arg_index=0):
    ...
    format_spec, auto_arg_index = self._vformat( ..., auto_arg_index=auto_arg_index)
    ...
    return ''.join(result), auto_arg_index
History
Date User Action Args
2016-01-09 18:36:26Christoph Böddekersetrecipients: + Christoph Böddeker, brett.cannon
2016-01-09 18:36:26Christoph Böddekersetmessageid: <1452364586.31.0.567684163497.issue26062@psf.upfronthosting.co.za>
2016-01-09 18:36:26Christoph Böddekerlinkissue26062 messages
2016-01-09 18:36:25Christoph Böddekercreate