Author pitrou
Recipients larry, ncoghlan, pitrou, rbcollins
Date 2015-09-14.10:13:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This can be considered a regression, although perhaps it may not be desirable to fix it in a later release.

In 3.4:

>>> def f(): return traceback.extract_stack()
>>> print([x[0:3] for x in f()])
[('<stdin>', 1, '<module>'), ('<stdin>', 1, 'f')]

In 3.5:

>>> print([x[0:3] for x in f()])
[('<stdin>', 1, '<module>'), ('<stdin>', 1, 'f'), ('/home/antoine/35/lib/python3.5/', 201, 'extract_stack')]

Note how the traceback module suddenly appears in the extracted stack. This breaks any application which uses a fixed offset into the returned stack to look up for information.
Date User Action Args
2015-09-14 10:13:43pitrousetrecipients: + pitrou, ncoghlan, larry, rbcollins
2015-09-14 10:13:43pitrousetmessageid: <>
2015-09-14 10:13:43pitroulinkissue25108 messages
2015-09-14 10:13:43pitroucreate