[New-bugs-announce] [issue21942] pydoc source not displayed in browser on Windows

Eric Galloway report at bugs.python.org
Wed Jul 9 05:13:14 CEST 2014

New submission from Eric Galloway:

In Python 3 on Windows, pydoc fails to display source file listings in the browser.

To reproduce in Python 3.4:

   1. start pydoc:
   python -m pydoc -p 8888

   2. Navigate to the url:

The error message:

                FileNotFoundError: [Errno 2] No such file or directory: '///C:/python34/lib/pydoc.py'
The url passed to html_getfile needs to be converted into a NT pathname.

components: Library (Lib)
files: diff.txt
messages: 222599
nosy: Eric.Galloway
priority: normal
severity: normal
status: open
title: pydoc source not displayed in browser on Windows
type: behavior
versions: Python 3.3, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file35910/diff.txt

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list