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 arigo
Recipients arigo, nedbat, xdegaye
Date 2017-01-18.11:32:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484739134.56.0.662490173894.issue11992@psf.upfronthosting.co.za>
In-reply-to
Content
Confirmed.  More interestingly, nowadays (at least in 3.5) test_pdb.py depends on this bug.  If we really clear f->f_trace when the trace function returns None, then test_pdb_until_command_for_generator() fails.  This is because pdb.py incorrectly thinks there is no breakpoint in the generator function, and returns None.  This doesn't actually clear anything, and so it works anyway.

I'd suggest to fix the documentation to reflect the actual behavior of all versions from 2.3 to (at least) 3.5.
History
Date User Action Args
2017-01-18 11:32:14arigosetrecipients: + arigo, nedbat, xdegaye
2017-01-18 11:32:14arigosetmessageid: <1484739134.56.0.662490173894.issue11992@psf.upfronthosting.co.za>
2017-01-18 11:32:14arigolinkissue11992 messages
2017-01-18 11:32:14arigocreate