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