32 Commits (95db2e7b8a0477ddf60902ca0aacdafbb265e5a5)

Author SHA1 Message Date
Victor Stinner 65bf9cf26f Issue #18203: Fix decode_ascii_surrogateescape(), use PyMem_RawMalloc() as _Py_char2wchar() 13 years ago
Victor Stinner 1a7425f67a Issue #18203: Replace malloc() with PyMem_RawMalloc() at Python initialization 13 years ago
Victor Stinner 14b9b11098 If MS_WIN64 is defined, MS_WINDOWS is also defined: #ifdef can be simplified. 13 years ago
Victor Stinner 56785eab33 Issue #9566: Fix compiler warning on Windows 64-bit 13 years ago
Victor Stinner 313f10c722 Fix a compiler warning: in and out are unused in _Py_char2wchar() if 13 years ago
Philip Jenvey 215c49a509 thinko 13 years ago
Victor Stinner 20b654acb5 Issue #16455: On FreeBSD and Solaris, if the locale is C, the 13 years ago
Victor Stinner d45c7f8d74 Issue #16455: On FreeBSD and Solaris, if the locale is C, the 13 years ago
Victor Stinner 41a234a679 Issue #16416: Fix compilation error 13 years ago
Victor Stinner 27b1ca29cc Issue #16416: On Mac OS X, operating system data are now always 13 years ago
Victor Stinner 0d92c4f667 Issue #16416: Fix error handling in _Py_wchar2char() _Py_char2wchar() functions 13 years ago
Victor Stinner e262377cab Issue #16416: OS data are now always encoded/decoded to/from 13 years ago
Stefan Krah 6df5cae49a Issue #15835: Define PATH_MAX on HP-UX. 13 years ago
Victor Stinner 76df43de30 Issue #16330: Use surrogate-related macros 13 years ago
Brett Cannon efb00c0cc1 Issue #14153 Create _Py_device_encoding() to prevent _io from having to import 14 years ago
Antoine Pitrou 0e576f1f50 Issue #13626: Add support for SSL Diffie-Hellman key exchange, through the 14 years ago
Antoine Pitrou 2b1cc89572 _Py_fopen now allows bytes filenames under non-Windows platforms. 14 years ago
Victor Stinner bd0850b857 import.c now catchs _Py_stat() exceptions 14 years ago
Victor Stinner af02e1c85a Add PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale() 14 years ago
Victor Stinner ee587eaa36 Catch PyUnicode_AS_UNICODE() errors in fileutils.c 14 years ago
Victor Stinner 19de4c3a8c _Py_char2wchar() frees the memory on conversion error 15 years ago
Victor Stinner 2f02a51135 PyUnicode_EncodeFS() raises an exception if _Py_wchar2char() fails 15 years ago
Victor Stinner 168e117e0a Add an optional size argument to _Py_char2wchar() 15 years ago
Victor Stinner 0a1b8cba90 _Py_wrealpath() uses _Py_char2wchar() to decode the result, to support 15 years ago
Victor Stinner 350147b5ca _Py_wreadlink(): catch _Py_char2wchar() failure 15 years ago
Victor Stinner 3f711f4a3e _Py_wreadlink() uses _Py_char2wchar() to decode the result, to support 15 years ago
Victor Stinner 5d1e3438cd Mark _Py_char2wchar() input argument as constant 15 years ago
Victor Stinner f4061dac60 _Py_wgetcwd() decodes the path using _Py_char2wchar() to support surrogates 15 years ago
Victor Stinner 6672d0c5bb fileutils.c: document which encodings are used 15 years ago
Victor Stinner 015f4d87ab _Py_wrealpath() requires the size of the output buffer 15 years ago
Victor Stinner a4a759515e _Py_stat() and _Py_fopen(): avoid PyUnicode_AsWideCharString() on Windows 15 years ago
Victor Stinner b306d7594f Fix fileutils for Windows 15 years ago
Victor Stinner e7c8083bf1 Ooops, fileutils.c contains twice the same code 15 years ago
Victor Stinner 4e31443c4d Create fileutils.c/.h 15 years ago