[issue19397] test_pydoc fails with -S

2013-11-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- assignee: - terry.reedy nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19397 ___

[issue19397] test_pydoc fails with -S

2013-11-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2c191b0b5e7a by Terry Jan Reedy in branch '3.3': Issue #19397: test_pydoc now works with -S (help not added to builtins). http://hg.python.org/cpython/rev/2c191b0b5e7a -- nosy: +python-dev ___ Python

[issue19397] test_pydoc fails with -S

2013-11-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 92022b45e60b by Terry Jan Reedy in branch '2.7': Issue #19397: test_pydoc now works with -S (help not added to builtins). http://hg.python.org/cpython/rev/92022b45e60b -- ___ Python tracker

[issue19397] test_pydoc fails with -S

2013-11-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19397

[issue19397] test_pydoc fails with -S

2013-10-26 Thread Vajrasky Kok
Vajrasky Kok added the comment: Attached the patch to fix the test. The main issue is that with S flag, we do not have help in builtins. And I think that is deliberate. [sky@localhost cpython]$ ./python -S Python 3.4.0a4+ (default:64fb6a58ebf4+, Oct 26 2013, 19:04:01) [GCC 4.7.2 20121109

[issue19397] test_pydoc fails with -S

2013-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Just use pydoc.help. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19397 ___ ___

[issue19397] test_pydoc fails with -S

2013-10-26 Thread Vajrasky Kok
Vajrasky Kok added the comment: Attached the patch based on Serhiy's suggestion. -- Added file: http://bugs.python.org/file32376/fix_test_pydoc_with_S_flag_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19397

[issue19397] test_pydoc fails with -S

2013-10-25 Thread Antoine Pitrou
New submission from Antoine Pitrou: $ ./python -S -m test test_pydoc [1/1] test_pydoc test test_pydoc failed -- Traceback (most recent call last): File /home/antoine/cpython/default/Lib/test/test_pydoc.py, line 473, in test_namedtuple_public_underscore help(NT) NameError: name 'help' is