This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stevelitt
Recipients r.david.murray, stevelitt
Date 2016-01-02.03:17:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20160101221909.17a035f5@mydesk.domain.cxm>
In-reply-to <1451701407.74.0.0831512091188.issue25990@psf.upfronthosting.co.za>
Content
On Sat, 02 Jan 2016 02:23:27 +0000
"R. David Murray" <report@bugs.python.org> 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
> show (since on most systems the pydoc command comes from python2).
> (I don't know what you mean by "source file can be..."; nonlocal is
> python3 only.)
> 
> ----------
> nosy: +r.david.murray

Thanks R. David,

You indeed got to the crux of the problem. I performed the following
command and everything worked perfectly:

python3 /usr/bin/pydoc pydoc_fail.py

I tried to note on the bug tracker that the problem is solved by using
Python3 to run pydoc and this wasn't a bug, but was unable to add
anything to issue 25990. I saw no "reply" button, and "Edit" was a
label, not a button.

How do I reply on the bug tracker?

Thanks,

Steve

Steve Litt 
November 2015 featured book: Troubleshooting Techniques
     of the Successful Technologist
http://www.troubleshooters.com/techniques
History
Date User Action Args
2016-01-02 03:17:56stevelittsetrecipients: + stevelitt, r.david.murray
2016-01-02 03:17:56stevelittlinkissue25990 messages
2016-01-02 03:17:54stevelittcreate