Message222599
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:
http://127.0.0.1:8888/getfile?key=///C:/python34/lib/pydoc.py
The error message:
getfile?key=///C:/python34/lib/pydoc.py
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. |
|
Date |
User |
Action |
Args |
2014-07-09 03:13:14 | Eric.Galloway | set | recipients:
+ Eric.Galloway |
2014-07-09 03:13:14 | Eric.Galloway | set | messageid: <1404875594.67.0.480533952364.issue21942@psf.upfronthosting.co.za> |
2014-07-09 03:13:14 | Eric.Galloway | link | issue21942 messages |
2014-07-09 03:13:14 | Eric.Galloway | create | |
|