[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
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 tracker rep...@bugs.python.org
http://bugs.python.org/issue19397
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 rep...@bugs.python.org
http://bugs.python.org/issue19397
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 (Red Hat 4.7.2-8)] on linux
 
[sky@localhost cpython]$ ./python 
Python 3.4.0a4+ (default:64fb6a58ebf4+, Oct 26 2013, 19:04:01) 
[GCC 4.7.2 20121109 (Red Hat 4.7.2-8)] on linux
Type help, copyright, credits or license for more information.


--
keywords: +patch
nosy: +vajrasky
Added file: http://bugs.python.org/file32369/fix_test_pydoc_with_S_flag.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19397
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 not defined

--
components: Tests
messages: 201285
nosy: pitrou
priority: low
severity: normal
status: open
title: test_pydoc fails with -S
type: behavior
versions: Python 3.3, Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19397
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com