summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #28526: Use PyUnicode_AsEncodedString() instead ofSerhiy Storchaka2016-10-271-2/+2
| | | | | PyUnicode_AsEncodedObject() in _curese to ensure that the result is a bytes object.
* Issue #24381: Avoid unused function warning when building bundled macOS libffi.Ned Deily2016-10-201-2/+2
| | | | Patch by Vajrasky Kok.
* Issue #28379: Added sanity checks and tests for PyUnicode_CopyCharacters().Serhiy Storchaka2016-10-081-0/+34
| | | | Patch by Xiang Zhang.
* ensure read size is initializedBenjamin Peterson2016-10-061-1/+1
|
* do not leak buffer if mmap is not writableBenjamin Peterson2016-10-061-1/+3
|
* mmap: do all internal arithmetic with Py_ssize_t while being very careful ↵Benjamin Peterson2016-10-061-109/+78
| | | | about overflow
* Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().Serhiy Storchaka2016-10-021-0/+31
| | | | Original patch by Xiang Zhang.
* Issue #28322: Fixed possible crashes when unpickle itertools objects fromSerhiy Storchaka2016-10-021-5/+35
| | | | incorrect pickle data. Based on patch by John Leitch.
* Issue #28275: Clean up to avoid use-after-free after bzip decompress failureMartin Panter2016-10-011-1/+3
|
* Issue #20947: Fixed a gcc warning with -Wstrict-overflow.Serhiy Storchaka2016-09-271-1/+1
|
* Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress().Serhiy Storchaka2016-09-271-1/+3
| | | | Original patch by John Leitch.
* Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation()Serhiy Storchaka2016-09-261-2/+4
| | | | if pass invalid string-like object as a name. Patch by Xiang Zhang.
* Increase buffer for readlink() in case OS will support longer names one day.Christian Heimes2016-09-231-3/+4
|
* Add an extra byte for null in case we ever get very long unicode names.Christian Heimes2016-09-231-4/+4
|
* Issue #28075: Fix test_access_denied in Python 3.5Berker Peksag2016-09-181-2/+4
| | | | I forgot there two variations of os.stat() in Python 3.5.
* Issue #28075: Check for ERROR_ACCESS_DENIED in Windows implementation of ↵Berker Peksag2016-09-171-2/+4
| | | | | | os.stat() Patch by Eryk Sun.
* Issue #28139: Fix messed up indentationMartin Panter2016-09-175-17/+19
| | | | | Also update the classmethod and staticmethod doc strings and comments to match the RST documentation.
* Issue #28145: Spelling fixesMartin Panter2016-09-161-1/+1
|
* Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().Serhiy Storchaka2016-09-141-5/+7
|
* Restrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup()Christian Heimes2016-09-141-1/+1
|
* Issue #28131: Fix a regression in zipimport's compile_source()Berker Peksag2016-09-141-1/+1
| | | | zipimport should use the same optimization level as the interpreter.
* Issue #28019: itertools.count() no longer rounds non-integer step in rangeSerhiy Storchaka2016-09-101-16/+29
| | | | between 1.0 and 2.0 to 1.
* Issue #25758: Prevents zipimport from unnecessarily encoding a filename ↵Steve Dower2016-09-101-10/+4
| | | | (patch by Eryk Sun)
* Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-079-9/+9
|
* Issue #27570: Avoid zero-length memcpy() calls with null source pointersMartin Panter2016-09-073-13/+25
|
* do not memcpy from NULLBenjamin Peterson2016-09-071-1/+2
|
* Issue #27691: Fix ssl module's parsing of GEN_RID subject alternative name ↵Christian Heimes2016-09-061-1/+34
| | | | fields in X.509 certs.
* explicitly cast away constness to silence compiler warningBenjamin Peterson2016-09-061-1/+1
|
* Backed out changeset 8b6be1341770Benjamin Peterson2016-09-061-0/+2
|
* remove long double from ctypes value unionBenjamin Peterson2016-09-051-2/+0
| | | | | It is unused. It also forces a 16-byte alignment, which creates problems because Python's allocator only uses 8-byte alignment.
* Issue #26470: Use short name rather than name for compression name to fix ↵Christian Heimes2016-09-051-6/+1
| | | | #27958.
* do not pretend to support passing a fd to access()Benjamin Peterson2016-09-052-6/+6
|
* Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0.Christian Heimes2016-09-052-104/+242
|
* Issue #27881: Fixed possible bugs when setting ↵Serhiy Storchaka2016-09-012-42/+35
| | | | | | sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang.
* Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factorySerhiy Storchaka2016-08-291-2/+11
| | | | creates not a cursor. Patch by Xiang Zhang.
* Issue #19884: Avoid spurious output on OS X with Gnu ReadlineMartin Panter2016-08-271-12/+15
| | | | | Also adjust the test condition, because enable-meta-key was only added in 6.1, not 6.0.
* Issue #10513: Fix a regression in Connection.commit()Berker Peksag2016-08-261-1/+0
| | | | | | Statements should not be reset after a commit. Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa
* Issue #21718: cursor.description is now available for queries using CTEsBerker Peksag2016-08-211-6/+5
| | | | | | | | | | According to PEP 249, cursor.description must be available for any SELECT statements, such as those that use CTEs. Backported from https://github.com/ghaering/pysqlite/commit/f67fa9c898a4713850e16934046f0fe2cba8c44c Additional test cases added by me.
* Issue #27782: Fix m_methods handling in multiphase initNick Coghlan2016-08-211-1/+32
| | | | | | | | Multi-phase extension module import now correctly allows the ``m_methods`` field to be used to add module level functions to instances of non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang.
* merge 3.4 (#27783)Benjamin Peterson2016-08-171-8/+8
|\
| * merge 3.3 (#27783)Benjamin Peterson2016-08-171-8/+7
| |\
| | * rearrange methodcaller_new so that the main error case does not cause ↵Benjamin Peterson2016-08-171-8/+7
| | | | | | | | | | | | uninitialized memory usage (closes #27783)
* | | merge 3.4 (#27774)Benjamin Peterson2016-08-161-3/+1
|\ \ \ | |/ /
| * | merge 3.3 (#27774)Benjamin Peterson2016-08-161-3/+1
| |\ \ | | |/
| | * do not decref value borrowed from list (closes #27774)Benjamin Peterson2016-08-161-3/+1
| | |
* | | fix corner cases in the management of server_hostname (closes #27773)Benjamin Peterson2016-08-161-6/+4
| | |
* | | merge 3.4Benjamin Peterson2016-08-161-0/+8
|\ \ \ | |/ /
| * | fail when negative values are passed to instr()Benjamin Peterson2016-08-161-0/+8
| | |
* | | merge 3.4 (closes #27760)Benjamin Peterson2016-08-141-9/+15
|\ \ \ | |/ /
| * | merge 3.3 (closes #27760)Benjamin Peterson2016-08-141-9/+15
| |\ \ | | |/