Message223657
I like ntpath_cleanup.diff, I don't think that it makes the code worse.
FYI os.fsencode() accepts str too, you can simplify:
if isinstance(path, bytes):
- userhome = userhome.encode(sys.getfilesystemencoding())
+ userhome = os.fsencode(userhome)
to
+ userhome = os.fsencode(userhome) |
|
Date |
User |
Action |
Args |
2014-07-22 10:12:08 | vstinner | set | recipients:
+ vstinner, terry.reedy, jcea, ezio.melotti, brian.curtin, BreamoreBoy, mandel, serhiy.storchaka |
2014-07-22 10:12:08 | vstinner | set | messageid: <1406023928.05.0.0944433353847.issue15275@psf.upfronthosting.co.za> |
2014-07-22 10:12:08 | vstinner | link | issue15275 messages |
2014-07-22 10:12:07 | vstinner | create | |
|