Message74236
Le Friday 03 October 2008 03:45:44 Amaury Forgeot d'Arc, vous avez écrit :
> Here is a patch for Windows: (...)
> test_ntpath also runs functions with bytes.
Which charset is used when you use bytes filename? I read somewhere that it's
the "current codepage". How can the user get this codepage in Python? I ask
this to complete my document:
http://wiki.python.org/moin/Python3UnicodeDecodeError
Don't hesitate to edit directly the document, which may also be moved to
Python3 Doc/ directory.
You should also support bytearray() in ntpath:
isinstance(path, (bytes, bytearray))
The unit tests might use pure unicode on Windows and bytes on Linux,
especially getcwd() vs getcwdb().
I don't have Windows nor Mac to test bytes filenames on these systems. |
|
Date |
User |
Action |
Args |
2008-10-03 10:38:11 | vstinner | set | recipients:
+ vstinner, gvanrossum, loewis, amaury.forgeotdarc, pitrou, draghuram, benjamin.peterson, djc, HWJ, dlitz, zegreek, bboissin |
2008-10-03 10:38:10 | vstinner | link | issue3187 messages |
2008-10-03 10:38:10 | vstinner | create | |
|