summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix a Py_UCS4 / Py_UNICODE mixup.Antoine Pitrou2011-10-071-3/+8
| | | | This worked under Unix because wchar_t is 4 bytes wide.
* Migrate the _csv module to the new unicode APIsAntoine Pitrou2011-10-071-60/+61
| | | | (except for a Py_UNICODE_strchr() call)
* fix compiler warningsBenjamin Peterson2011-10-061-4/+3
|
* Issue #10141: socket: add SocketCAN (PF_CAN) support. Initial patch by MatthiasCharles-François Natali2011-10-062-0/+116
| | | | Fuchs, updated by Tiago Gonçalves.
* Remove now duplicate code in _json.c; instead, reuse the new private libAntoine Pitrou2011-10-061-123/+22
|
* Fix compilation warnings under 64-bit WindowsAntoine Pitrou2011-10-061-4/+4
|
* Issue #3163: The struct module gets new format characters 'n' and 'N'Antoine Pitrou2011-10-061-1/+89
| | | | supporting C integer types `ssize_t` and `size_t`, respectively.
* Issue #13070: Fix a crash when a TextIOWrapper caught in a reference cycleCharles-François Natali2011-10-051-0/+5
|\ | | | | | | | | would be finalized after the reference to its underlying BufferedRWPair's writer got cleared by the GC.
| * Issue #13070: Fix a crash when a TextIOWrapper caught in a reference cycleCharles-François Natali2011-10-051-0/+5
| | | | | | | | | | would be finalized after the reference to its underlying BufferedRWPair's writer got cleared by the GC.
* | Fix usage og PyUnicode_READY()Victor Stinner2011-10-041-0/+4
| |
* | Remove all other uses of the C tolower()/toupper() which could break with a ↵Antoine Pitrou2011-10-043-6/+6
|\ \ | |/ | | | | Turkish locale.
| * Remove all other uses of the C tolower()/toupper() which could break with a ↵Antoine Pitrou2011-10-043-6/+6
| | | | | | | | Turkish locale.
* | Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale.Antoine Pitrou2011-10-041-2/+2
|\ \ | |/ | | | | Reported and diagnosed by Thomas Kluyver.
| * Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale.Antoine Pitrou2011-10-041-2/+2
| | | | | | | | Reported and diagnosed by Thomas Kluyver.
* | Fix compilation error under WindowsAntoine Pitrou2011-10-041-1/+2
| |
* | Issue #13087: BufferedReader.seek() now always raises UnsupportedOperationAntoine Pitrou2011-10-041-0/+3
|\ \ | |/ | | | | | | if the underlying raw stream is unseekable, even if the seek could be satisfied using the internal buffer. Patch by John OConnor.
| * Issue #13087: BufferedReader.seek() now always raises UnsupportedOperationAntoine Pitrou2011-10-041-0/+3
| | | | | | | | | | if the underlying raw stream is unseekable, even if the seek could be satisfied using the internal buffer. Patch by John O'Connor.
* | Use the faulthandler module's infrastructure to write a GIL-lessAntoine Pitrou2011-10-041-0/+183
| | | | | | | | memory watchdog for timely stats collection.
* | Issue #7689: Allow pickling of dynamically created classes when theirAntoine Pitrou2011-10-041-4/+4
|\ \ | |/ | | | | | | metaclass is registered with copyreg. Patch by Nicolas M. Thiéry and Craig Citro.
| * Issue #7689: Allow pickling of dynamically created classes when theirAntoine Pitrou2011-10-041-4/+4
| | | | | | | | | | metaclass is registered with copyreg. Patch by Nicolas M. Thiéry and Craig Citro.
* | Issue #12881: ctypes: Fix segfault with large structure field names.Meador Inge2011-10-041-1/+7
|\ \ | |/
| * Issue #12881: ctypes: Fix segfault with large structure field names.Meador Inge2011-10-041-1/+7
| |
* | Check error when calling PyUnicode_AppendAndDel()Victor Stinner2011-10-021-2/+2
| |
* | Issue #13034: When decoding some SSL certificates, the subjectAltName ↵Antoine Pitrou2011-10-011-1/+1
|\ \ | |/ | | | | extension could be unreported.
| * Issue #13034: When decoding some SSL certificates, the subjectAltName ↵Antoine Pitrou2011-10-011-1/+1
| | | | | | | | extension could be unreported.
* | pyexat uses the new Unicode APIVictor Stinner2011-09-301-5/+7
| |
* | Add PyUnicode_Copy() function, include it to the public APIVictor Stinner2011-09-301-2/+1
| |
* | Fix a compiler warningVictor Stinner2011-09-291-1/+1
| |
* | Fix array.array('u') constructorVictor Stinner2011-09-291-6/+12
| |
* | posix module catches PyUnicode_AsUnicode() failureVictor Stinner2011-09-291-96/+167
| | | | | | | | | | | | * Replace PyUnicode_AS_UNICODE by PyUnicode_AsUnicode, PyUnicode_AS_UNICODE is no more a real macro * Replace Py_UNICODE by wchar_t in code specific to Windows
* | array module uses the new Unicode APIVictor Stinner2011-09-291-33/+30
| | | | | | | | | | * Use Py_UCS4* buffer instead of Py_UNICODE* * Use "I" or "L" format, instead of "u" format
* | array module stores the typecode in a char, instead of Py_UNICODEVictor Stinner2011-09-291-19/+16
| |
* | raw_unicode_escape() uses the new Unicode APIVictor Stinner2011-09-291-46/+21
| |
* | Strip trailing spaces of _pickle.cVictor Stinner2011-09-291-17/+17
| |
* | PyLocale_strxfrm() uses the new Unicode APIVictor Stinner2011-09-291-24/+15
| |
* | fileio_init() checks for failure on conversion to Py_UNICODE*Victor Stinner2011-09-291-4/+6
| |
* | Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by ThomasCharles-François Natali2011-09-291-0/+1
|\ \ | |/ | | | | Jarosch.
| * Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by ThomasCharles-François Natali2011-09-291-0/+1
| | | | | | | | Jarosch.
* | Port normalization to new API.Martin v. Löwis2011-09-291-71/+119
| |
* | _io.textio: fix character type, use Py_UCS4 instead of Py_UNICODEVictor Stinner2011-09-291-3/+3
| |
* | _sre: don't use Py_UNICODE anymoreVictor Stinner2011-09-291-9/+7
| | | | | | | | | | | | * Downcasting from Py_UCS4 to Py_UNICODE is wrong is Py_UNICODE is 16-bit wchar_t * Remove old special case in getstring(), unicode is now handled separetely
* | Use the new Py_ARRAY_LENGTH macroVictor Stinner2011-09-287-14/+14
| |
* | Fix whitespace.Ezio Melotti2011-09-281-1/+1
| |
* | Clean up a few tabs that went in with PEP393.Ezio Melotti2011-09-281-113/+113
| |
* | Rename new macros to conform to naming rules (function macros have "Py" ↵Georg Brandl2011-09-282-5/+5
| | | | | | | | prefix, not "PY").
* | Implement PEP 393.Martin v. Löwis2011-09-2829-780/+790
| |
* | Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.Meador Inge2011-09-281-0/+1
|\ \ | |/ | | | | Thanks to Suman Saha for finding the bug and providing a patch.
| * Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.Meador Inge2011-09-281-0/+1
| | | | | | | | Thanks to Suman Saha for finding the bug and providing a patch.
* | Issue #1621: Fix undefined behaviour from signed overflow in datetime module ↵Mark Dickinson2011-09-252-5/+5
| | | | | | | | hashes, array and list iterations, and get_integer (stringlib/string_format.h)
* | Return +-Py_HUGE_VAL for tgamma(+-0) instead of risking FP exceptions by ↵Mark Dickinson2011-09-251-1/+2
| | | | | | | | computing 1.0 / 0.0.