- 18 Aug, 2010 2 commits
-
-
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 38 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
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
and `gzip.decompress`. Original patch by Anand B. Pillai.
-
Brian Curtin authored
-
Brian Curtin authored
-
Antoine Pitrou authored
-
Raymond Hettinger authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Benjamin Peterson authored
-
Giampaolo Rodolà authored
-
Giampaolo Rodolà authored
fix issue #8866: parameters passed to socket.getaddrinfo can now be specified as single keyword arguments.
-
Georg Brandl authored
-
Georg Brandl authored
-
Nick Coghlan authored
Issue #8202: Set sys.argv[0] to -m rather than -c while searching for the module to execute. Also updates all the cmd_line_script tests to validate the setting of sys.path[0] and the current working directory
-
Nick Coghlan authored
Another attempt at pacifying the windows buildbots by ignoring all the variable information in the dis.code_info tests
-
Nick Coghlan authored
Address XXX comment in dis.py: inspect.py now attempts to reuse the dis.py compiler flag values before resorting to defining its own
-
Nick Coghlan authored
-
Ezio Melotti authored
-
Nick Coghlan authored
-
Nick Coghlan authored
Document and test the resolution of issue 3445 (tolerate missing attributes in functools.update_wrapper, previously implemented as a side effect of the __annotations__ copying patch) and implement issue 9567 (add a __wrapped__ attribute when using update_wrapper)
-
Nick Coghlan authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Victor Stinner authored
-
Victor Stinner authored
_PyUnicode_AsString() raises an exception on unencodable filename.
-
Victor Stinner authored
-