[issue25990] Pydoc fails on Python file with nonlocal

2016-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If you have installed Python 3, perhaps you have the /usr/bin/pydoc3 symlink. Just use the pydoc3 command. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python

[issue25990] Pydoc fails on Python file with nonlocal

2016-01-01 Thread Steve Litt
Steve Litt added the comment: On Sat, 02 Jan 2016 02:23:27 + "R. David Murray" wrote: > R. David Murray added the comment: > > Are you sure you are running pydoc using python3? That error looks > like you are running it using python2, as does the command line you

[issue25990] Pydoc fails on Python file with nonlocal

2016-01-01 Thread R. David Murray
R. David Murray added the comment: Are you sure you are running pydoc using python3? That error looks like you are running it using python2, as does the command line you show (since on most systems the pydoc command comes from python2). (I don't know what you mean by "source file can

[issue25990] Pydoc fails on Python file with nonlocal

2016-01-01 Thread R. David Murray
Changes by R. David Murray : -- hgrepos: -328 ___ Python tracker ___ ___

[issue25990] Pydoc fails on Python file with nonlocal

2016-01-01 Thread Steve Litt
New submission from Steve Litt: Latest pydoc on Void linux 64 bit, I have no idea how to capture the version. Source file can be either Python 3.4 or 2.7, same result. ERROR MESSAGE: [slitt@mydesk ~]$ pydoc pydoc_fail problem in ./pydoc_fail.py - : invalid syntax (pydoc_fail.py, line 6)