- 19 Aug, 2010 13 commits
-
-
Senthil Kumaran authored
-
Amaury Forgeot d'Arc authored
Failure to do it may result in strange error messages or even crashes, in admittedly convoluted cases that are normally syntax errors, like: def f(*xx, __debug__): pass
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
Catch BytesWarning exceptions.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
* Check fs encoding value on Windows * Ignore LANG= test on Windows and Mac OS X (fs encoding is hardcoded on these platforms)
-
Victor Stinner authored
-
Martin v. Löwis authored
-
Senthil Kumaran authored
-
Victor Stinner authored
error handler, or strict error handler on Windows. * Rewrite os.fsencode() documentation * Improve os.fsencode and os.fsdecode() tests using the new PYTHONFSENCODING environment variable
-
- 18 Aug, 2010 19 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
filesystem encoding is not related to sys.sizeof()
-
Éric Araujo authored
-
Andrew M. Kuchling authored
(Also fix a name ordering in the ACKS file.)
-
Éric Araujo authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Amaury Forgeot d'Arc authored
(the other functions where not affected by the recent change)
-
Victor Stinner authored
-
Victor Stinner authored
filesystem encoding. initfsencoding() displays also a better error message if get_codeset() failed.
-
Amaury Forgeot d'Arc authored
-
Victor Stinner authored
-
Antoine Pitrou authored
Matthew Ahrens.
-
Amaury Forgeot d'Arc authored
Database (Py_UNICODE_TOLOWER, Py_UNICODE_ISDECIMAL, and others) now accept and return characters from the full Unicode range (Py_UCS4). The differences from Python code are few: - unicodedata.numeric(), unicodedata.decimal() and unicodedata.digit() now return the correct value for large code points - repr() may consider more characters as printable.
-
Antoine Pitrou authored
It is not sure it will be beneficial, though, since process launching is more expensive under Windows than it is under Linux.
-
Senthil Kumaran authored
-
Martin v. Löwis authored
-
Victor Stinner authored
-
Victor Stinner authored
* Use the current filesystem encoding instead of always using utf-8 * Enable the test on Mac OS X * Use TESTFN_UNENCODABLE and TESTFN_UNICODE instead of arbitrary filenames * To decode a filename, use strict error handler instead surrogateescape for mbcs encoding (on Windows) * Use TESTFN_UNENCODABLE (if available) for the directory name Skip the test if no non-ascii filename can be created.
-
- 17 Aug, 2010 8 commits
-
-
Victor Stinner authored
... to get the filename as a unicode object, instead of a byte string. Function needed to support unencodable filenames. Deprecate PyModule_GetFilename() in favor on the new function.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Victor Stinner authored
-
Victor Stinner authored
Encode unicode strings to the terminal encoding with backslashreplace error (as Python does for sys.stderr) before writing them to sys.stdout. It fixes UnicodeEncodeError on writing non-ascii characters in an ascii terminal (C locale: ASCII encoding).
-
Victor Stinner authored
-
Victor Stinner authored
To get links to the C functions
-
Éric Araujo authored
-