Message4531
This seems like a bug in os.path.abspath.
In the Lib/site.py, the makepath function is not creating the right
absolute path.
(Pdb) dir
'/C:/jython2.5b3-standalone/jython.jar/Lib'
(Pdb) os.path.abspath(dir)
'C:\\C:\\jython2.5b3-standalone\\jython.jar\\Lib'
(Pdb)
It basically gets the "C:\" part confused.
(Pdb) dir[3:]
'/jython2.5b3-standalone/jython.jar/Lib'
(Pdb) os.path.abspath(dir[3:])
'C:\\jython2.5b3-standalone\\jython.jar\\Lib'
(Pdb) |
|
Date |
User |
Action |
Args |
2009-04-17 18:26:20 | crankycoder | set | messageid: <1239992780.2.0.685419481326.issue1319@psf.upfronthosting.co.za> |
2009-04-17 18:26:20 | crankycoder | set | recipients:
+ crankycoder |
2009-04-17 18:26:20 | crankycoder | link | issue1319 messages |
2009-04-17 18:26:20 | crankycoder | create | |
|