Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #13635: Add ssl.OP_CIPHER_SERVER_PREFERENCE, so that SSL servers | Antoine Pitrou | 2011-12-19 | 1 | -0/+2 |
| | | | | | choose the cipher based on their own preferences, rather than on the client's. | ||||
* | (Merge 3.2) Handle correctly _Py_fopen() error: don't replace the exception | Victor Stinner | 2011-12-18 | 1 | -3/+5 |
|\ | |||||
| * | Handle correctly _Py_fopen() error: don't replace the exception | Victor Stinner | 2011-12-18 | 1 | -3/+5 |
| | | |||||
* | | import.c now catchs _Py_stat() exceptions | Victor Stinner | 2011-12-18 | 1 | -2/+2 |
| | | | | | | | | _Py_stat() now returns -2 if an exception was raised. | ||||
* | | Issue #13530: Document os.lseek() result | Victor Stinner | 2011-12-17 | 1 | -1/+2 |
|\ \ | |/ | | | | | Patch written by Jérémy Anger. | ||||
| * | Issue #13530: Document os.lseek() result | Victor Stinner | 2011-12-17 | 1 | -1/+2 |
| | | | | | | | | Patch written by Jérémy Anger. | ||||
* | | Issue #10951: Fix compiler warnings in timemodule.c and unicodeobject.c | Victor Stinner | 2011-12-17 | 1 | -0/+4 |
|\ \ | |/ | | | | | Thanks Jérémy Anger for the fix. | ||||
| * | Issue #10951: Fix a compiler warning in timemodule.c | Victor Stinner | 2011-12-17 | 1 | -0/+4 |
| | | |||||
* | | Issue #12809: Expose IP_TRANSPARENT in the socket module. Patch by Michael | Charles-François Natali | 2011-12-17 | 1 | -0/+3 |
| | | | | | | | | Farrell. | ||||
* | | Issue #13560: Locale codec functions use the classic "errors" parameter, | Victor Stinner | 2011-12-17 | 3 | -6/+7 |
| | | | | | | | | | | | | instead of surrogateescape So it would be possible to support more error handlers later. | ||||
* | | Issue #13560: os.strerror() now uses the current locale encoding instead of ↵ | Victor Stinner | 2011-12-17 | 2 | -4/+3 |
| | | | | | | | | UTF-8 | ||||
* | | Issue #13560: Add PyUnicode_EncodeLocale() | Victor Stinner | 2011-12-17 | 1 | -1/+1 |
| | | | | | | | | | | | | * Use PyUnicode_EncodeLocale() in time.strftime() if wcsftime() is not available * Document my last changes in Misc/NEWS | ||||
* | | Add PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale() | Victor Stinner | 2011-12-16 | 3 | -58/+18 |
| | | | | | | | | | | | | | | | | | | | | | | * PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale() decode a string from the current locale encoding * _Py_char2wchar() writes an "error code" in the size argument to indicate if the function failed because of memory allocation failure or because of a decoding error. The function doesn't write the error message directly to stderr. * Fix time.strftime() (if wcsftime() is missing): decode strftime() result from the current locale encoding, not from the filesystem encoding. | ||||
* | | (Merge 3.2) main() now displays an error message before exiting if a command | Victor Stinner | 2011-12-16 | 1 | -1/+5 |
|\ \ | |/ | | | | | line argument cannot be decoded | ||||
| * | main() now displays an error message before exiting if a command line argument | Victor Stinner | 2011-12-16 | 1 | -1/+5 |
| | | | | | | | | cannot be decoded | ||||
* | | Issue #8373: The filesystem path of AF_UNIX sockets now uses the filesystem | Antoine Pitrou | 2011-12-16 | 1 | -6/+19 |
| | | | | | | | | | | encoding and the surrogateescape error handler, rather than UTF-8. Patch by David Watson. | ||||
* | | Issue #10350: Read and save errno before calling a function which might ↵ | Antoine Pitrou | 2011-12-16 | 5 | -11/+27 |
|\ \ | |/ | | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth. | ||||
| * | Issue #10350: Read and save errno before calling a function which might ↵ | Antoine Pitrou | 2011-12-16 | 5 | -11/+27 |
| | | | | | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth. | ||||
| * | Issue #4028: Make multiprocessing build on SunOS. | Charles-François Natali | 2011-12-14 | 1 | -1/+1 |
| | | |||||
* | | Issue #6695: Full garbage collection runs now clear the freelist of set objects. | Antoine Pitrou | 2011-12-16 | 1 | -0/+1 |
| | | | | | | | | Initial patch by Matthias Troffaes. | ||||
* | | Merge 3.2 | Alexandre Vassalotti | 2011-12-13 | 1 | -13/+45 |
|\ \ | |/ | |||||
| * | Issue #13505: Make pickling of bytes object compatible with Python 2. | Alexandre Vassalotti | 2011-12-13 | 1 | -13/+45 |
| | | | | | | | | Initial patch by sbt. | ||||
* | | Issue #13575: there is only one class type. | Florent Xicluna | 2011-12-12 | 1 | -3/+3 |
| | | |||||
* | | alias resource.error to OSError | Benjamin Peterson | 2011-12-10 | 1 | -11/+5 |
| | | |||||
* | | Merge 3.2 | Florent Xicluna | 2011-12-09 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix docstring typo. | Florent Xicluna | 2011-12-09 | 1 | -1/+1 |
| | | |||||
* | | Write tests for invalid characters (U+00110000) | Victor Stinner | 2011-12-09 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | | | Test the following functions: * codecs.raw_unicode_escape_decode() * PyUnicode_FromWideChar() * PyUnicode_FromUnicode() * "unicode_internal" and "unicode_escape" decoders | ||||
* | | (Merge 3.2) Issue #5905: time.strftime() is now using the locale encoding, | Victor Stinner | 2011-12-09 | 1 | -11/+4 |
|\ \ | |/ | | | | | instead of UTF-8, if the wcsftime() function is not available. | ||||
| * | Issue #5905: time.strftime() is now using the locale encoding, instead of | Victor Stinner | 2011-12-09 | 1 | -9/+4 |
| | | | | | | | | UTF-8, if the wcsftime() function is not available. | ||||
| * | Issue #13415: Test in configure if unsetenv() has a return value or not. | Charles-François Natali | 2011-11-27 | 1 | -0/+6 |
| | | |||||
| * | decref correct object | Benjamin Peterson | 2011-11-23 | 1 | -1/+1 |
| | | |||||
* | | Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0) | Victor Stinner | 2011-12-01 | 1 | -2/+2 |
| | | | | | | | | Create an empty string with the new Unicode API. | ||||
* | | MultibyteCodec_Decode() catchs PyUnicode_AS_UNICODE() failures | Victor Stinner | 2011-12-01 | 1 | -0/+2 |
| | | |||||
* | | Credit Per Øyvind Karlsen for the initial implementation of the lzma module ↵ | Nadeem Vawda | 2011-11-30 | 1 | -1/+6 |
| | | | | | | | | (issue #6715). | ||||
* | | Issue #6715: Add module for compression using the LZMA algorithm. | Nadeem Vawda | 2011-11-29 | 1 | -0/+1106 |
| | | |||||
* | | Issue #12567: The curses module uses Unicode functions for Unicode arguments | Victor Stinner | 2011-11-25 | 1 | -108/+468 |
| | | | | | | | | | | when it is linked to the ncurses library. It encodes also Unicode strings to the locale encoding instead of UTF-8. | ||||
* | | Close #13415: Test in configure if unsetenv() has a return value or not. | Victor Stinner | 2011-11-24 | 1 | -1/+6 |
| | | | | | | | | Patch written by Charles-François Natali. | ||||
* | | merge 3.2 | Benjamin Peterson | 2011-11-23 | 1 | -1/+5 |
|\ \ | |/ | |||||
| * | plug refleak | Benjamin Peterson | 2011-11-23 | 1 | -1/+3 |
| | | |||||
* | | Issue #13458: Fix a memory leak in the ssl module when decoding a ↵ | Antoine Pitrou | 2011-11-23 | 1 | -0/+1 |
|\ \ | |/ | | | | | | | | | certificate with a subjectAltName. Patch by Robert Xiao. | ||||
| * | Issue #13458: Fix a memory leak in the ssl module when decoding a ↵ | Antoine Pitrou | 2011-11-23 | 1 | -0/+1 |
| | | | | | | | | | | | | certificate with a subjectAltName. Patch by Robert Xiao. | ||||
* | | (Merge 3.2) Issue #13415: os.unsetenv() doesn't ignore errors anymore. | Victor Stinner | 2011-11-22 | 1 | -81/+33 |
|\ \ | |/ | |||||
| * | Issue #13415: os.unsetenv() doesn't ignore errors anymore. | Victor Stinner | 2011-11-22 | 1 | -17/+11 |
| | | |||||
| * | Issue #13093: Fix error handling on PyUnicode_EncodeDecimal() | Victor Stinner | 2011-11-22 | 1 | -2/+49 |
| | | | | | | | | | | * Add tests for PyUnicode_EncodeDecimal() and PyUnicode_TransformDecimalToASCII() * Remove the unused "e" variable in replace() | ||||
* | | Remove "#ifdef Py_UNICODE_WIDE": Python is now always wide | Victor Stinner | 2011-11-22 | 1 | -8/+4 |
| | | |||||
* | | Fix compiler warnings | Victor Stinner | 2011-11-22 | 2 | -2/+2 |
| | | |||||
* | | Use the new Unicode API | Victor Stinner | 2011-11-22 | 3 | -16/+16 |
| | | | | | | | | | | | | | | | | * Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0) * Replce PyUnicode_FromUnicode(str, len) by PyUnicode_FromWideChar(str, len) * Replace Py_UNICODE by wchar_t * posix_putenv() uses PyUnicode_FromFormat() to create the string, instead of PyUnicode_FromUnicode() + _snwprintf() | ||||
* | | Rewrite PyUnicode_EncodeDecimal() to use the new Unicode API | Victor Stinner | 2011-11-21 | 1 | -2/+49 |
| | | | | | | | | | | Add tests for PyUnicode_EncodeDecimal() and PyUnicode_TransformDecimalToASCII(). | ||||
* | | Issue #12328: Under Windows, refactor handling of Ctrl-C events and | Antoine Pitrou | 2011-11-21 | 6 | -98/+74 |
| | | | | | | | | | | make _multiprocessing.win32.WaitForMultipleObjects interruptible when the wait_flag parameter is false. Patch by sbt. | ||||
* | | Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError is | Antoine Pitrou | 2011-11-21 | 1 | -32/+46 |
|\ \ | |/ | | | | | | | | | | | raised when the wrapped raw file is non-blocking and the write would block. Previous code assumed that the raw write() would raise BlockingIOError, but RawIOBase.write() is defined to returned None when the call would block. Patch by sbt. |