Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
| * | 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. | ||||
* | | Remove temporary hacks for the issue #13441 | Victor Stinner | 2011-11-21 | 1 | -46/+0 |
| | | |||||
* | | Another temporary hack to debug the issue #13441 | Victor Stinner | 2011-11-21 | 1 | -0/+20 |
| | | | | | | | | Dump the wchar_t that we are going to decode and dump the locale | ||||
* | | Issue #13441: _PyUnicode_CheckConsistency() dumps the string if the maximum | Victor Stinner | 2011-11-21 | 1 | -0/+26 |
| | | | | | | | | | | | | | | character is bigger than U+10FFFF and locale.localeconv() dumps the string before decoding it. Temporary hack to debug the issue #13441. | ||||
* | | CJK codecs checks for conversion to Py_UNICODE* failures | Victor Stinner | 2011-11-21 | 1 | -3/+10 |
| | | |||||
* | | MultibyteCodec_Encode() checks if PyUnicode_AS_UNICODE() failed | Victor Stinner | 2011-11-21 | 1 | -2/+5 |
| | | |||||
* | | Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH() | Victor Stinner | 2011-11-21 | 5 | -7/+7 |
| | | | | | | | | And PyUnicode_GetSize() => PyUnicode_GetLength() | ||||
* | | ctypes check for PyUnicode_GET_SIZE() failure | Victor Stinner | 2011-11-21 | 2 | -6/+16 |
| | | |||||
* | | test_widechar() uses the new Unicode API | Victor Stinner | 2011-11-21 | 1 | -1/+1 |
| | | | | | | | | PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH() | ||||
* | | Check for PyUnicode_AS_UNICODE() failure | Victor Stinner | 2011-11-21 | 1 | -2/+5 |
| | | |||||
* | | Use PyUnicode_CompareWithASCIIString() instead of Py_UNICODE_strcmp() to avoid | Victor Stinner | 2011-11-20 | 1 | -2/+1 |
| | | | | | | | | the deprecate Py_UNICODE type | ||||
* | | Issue #9530: Fix undefined behaviour due to signed overflow in testcapi_long.h. | Mark Dickinson | 2011-11-19 | 1 | -2/+1 |
| | | |||||
* | | Issue #13393: In TextIOWrapper.read(n), try to read `n` characters as | Antoine Pitrou | 2011-11-18 | 1 | -5/+9 |
| | | | | | | | | once rather than limit ourselves to the default chunk size. | ||||
* | | #13406: fix more deprecation warnings and move the deprecation of ↵ | Ezio Melotti | 2011-11-17 | 1 | -5/+5 |
| | | | | | | | | unicode-internal earlier in the code. | ||||
* | | socket_gethostname() uses a wchar_t* with PyMem_Malloc() to avoid the | Victor Stinner | 2011-11-17 | 1 | -16/+26 |
| | | | | | | | | old Unicode API. | ||||
* | | Issue #13374: Deprecate os.getcwdb() on Windows | Victor Stinner | 2011-11-16 | 1 | -0/+3 |
| | | |||||
* | | #13406: silence deprecation warnings in test_codecs. | Ezio Melotti | 2011-11-16 | 1 | -1/+1 |
| | | |||||
* | | Issue #13393: BufferedReader.read1() now asks the full requested size to | Antoine Pitrou | 2011-11-15 | 1 | -33/+16 |
| | | | | | | | | the raw stream instead of limiting itself to the buffer size. | ||||
* | | Issue #13374: The Windows bytes API has been deprecated in the os module. Use | Victor Stinner | 2011-11-15 | 1 | -147/+181 |
| | | | | | | | | | | Unicode filenames instead of bytes filenames to not depend on the ANSI code page anymore and to support any filename. | ||||
* | | Issue #13389: Full garbage collection passes now clear the freelists for | Antoine Pitrou | 2011-11-14 | 1 | -0/+2 |
| | | | | | | | | | | list and dict objects. They already cleared other freelists in the interpreter. | ||||
* | | Issue #6397: Support '/dev/poll' polling objects in select module, under ↵ | Jesus Cea | 2011-11-14 | 1 | -0/+370 |
| | | | | | | | | Solaris & derivatives. | ||||
* | | Restore performance of special casings for utf-16 and utf-32 in TextIOWrapper | Antoine Pitrou | 2011-11-13 | 1 | -18/+12 |
| | | |||||
* | | In text I/O, optimize scanning for new lines with 1-byte unicode chars | Antoine Pitrou | 2011-11-13 | 1 | -12/+20 |
| | | |||||
* | | Fix memory leak in io.StringIO | Antoine Pitrou | 2011-11-12 | 1 | -0/+1 |
| | | |||||
* | | Plug some (unlikely) refleaks. | Antoine Pitrou | 2011-11-12 | 1 | -15/+45 |
| | | |||||
* | | Merge 3.2, fix typos. | Florent Xicluna | 2011-11-11 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix few typos. | Florent Xicluna | 2011-11-11 | 1 | -1/+1 |
| | | |||||
* | | Issue #13149: Speed up append-only StringIO objects. | Antoine Pitrou | 2011-11-10 | 1 | -4/+105 |
| | | | | | | | | This is very similar to the "lazy strings" idea. | ||||
* | | Fix and deprecated the unicode_internal codec | Victor Stinner | 2011-11-10 | 1 | -4/+16 |
| | | | | | | | | | | | | unicode_internal codec uses Py_UNICODE instead of the real internal representation (PEP 393: Py_UCS1, Py_UCS2 or Py_UCS4) for backward compatibility. | ||||
* | | Fix build on Windows | Victor Stinner | 2011-11-10 | 1 | -0/+4 |
| | | |||||
* | | Issue #7777: socket: Add Reliable Datagram Sockets (PF_RDS) support. | Charles-François Natali | 2011-11-10 | 1 | -0/+77 |
| | | |||||
* | | Port encoders from Py_UNICODE API to unicode object API. | Martin v. Löwis | 2011-11-10 | 1 | -76/+46 |
| | | |||||
* | | #13379: merge with 3.2. | Ezio Melotti | 2011-11-10 | 1 | -5/+6 |
|\ \ | |/ | |||||
| * | #13379: update Unicode version in unicodedata docstrings and comments. | Ezio Melotti | 2011-11-10 | 1 | -5/+6 |
| | | |||||
* | | Issue #12442: nt._getdiskusage() is now using the Windows Unicode API | Victor Stinner | 2011-11-09 | 1 | -3/+3 |
| | |