[issue23825] test_idle fails under -OO

2015-04-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ _

[issue23825] test_idle fails under -OO

2015-04-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 912719dd684f by Serhiy Storchaka in branch '2.7': Issue #23825: Fixed test_idle under -OO. https://hg.python.org/cpython/rev/912719dd684f New changeset 657ebef5b291 by Serhiy Storchaka in branch '3.4': Issue #23825: Fixed test_idle under -OO. https:

[issue23825] test_idle fails under -OO

2015-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Whatever you do with the other -OO patches, I would prefer that this be applied to 3.4. The 3.4/3.5 files should be identical. -- versions: +Python 3.4 ___ Python tracker ___

[issue23825] test_idle fails under -OO

2015-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: The relevant code in CallTips.py itself if isinstance(ob_call, types.MethodType): doc = ob_call.__doc__ else: doc = getattr(ob, "__doc__", "") if doc: equally ignores both None and '', but I forgot the None possibility in the tests

[issue23825] test_idle fails under -OO

2015-03-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Here is a patch. -- keywords: +patch nosy: +serhiy.storchaka stage: needs patch -> patch review Added file: http://bugs.python.org/file38762/issue23825.patch ___ Python tracker

[issue23825] test_idle fails under -OO

2015-03-31 Thread Brett Cannon
Changes by Brett Cannon : -- components: IDLE nosy: brett.cannon priority: normal severity: normal stage: needs patch status: open title: test_idle fails under -OO versions: Python 3.5 ___ Python tracker __