summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |\ \ | | |/
| | * fix possible integer overflow in binascii.b2a_qp (closes #27760)Benjamin Peterson2016-08-141-9/+16
| | | | | | | | | | | | Reported by Thomas E. Hybel
* | | merge 3.4Benjamin Peterson2016-08-141-0/+8
|\ \ \ | |/ /
| * | do not allow reading negative values with getstr()Benjamin Peterson2016-08-141-0/+8
| | |
* | | merge 3.4 (closes #27758)Benjamin Peterson2016-08-141-4/+19
|\ \ \ | |/ /
| * | merge 3.3 (#27758)Benjamin Peterson2016-08-141-4/+19
| |\ \ | | |/
| | * check for overflow in join_append_data (closes #27758)Benjamin Peterson2016-08-141-4/+19
| | | | | | | | | | | | Reported by Thomas E. Hybel
* | | Issue #20160: Merged fix from 3.4.Vinay Sajip2016-08-052-2/+30
|\ \ \ | |/ /
| * | Issue #20160: Merged fix from 3.3.Vinay Sajip2016-08-052-2/+30
| |\ \ | | |/
| | * Issue #20160: Handled passing of large structs to callbacks correctly.Vinay Sajip2016-08-052-2/+30
| | |
* | | all SCHED_ constants are optional (closes #27656)Benjamin Peterson2016-07-311-0/+6
| | |
* | | Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-282-2/+2
| | | | | | | | | | | | Based on patch by Ville Skyttä.
* | | ctypes: fix CThunkObject_new()Victor Stinner2016-07-271-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initialize restype and flags fields to fix a crash when Python runs on a read-only file system * Use Py_ssize_t type rather than int for the "i" iterator variable * Reorder assignements to be able to more easily check if all fields are initialized Issue #11048. Initial patch written by Marcin Bachry.
* | | Issue #27591: Set sigint_event to NULL if _PyOS_IsMainThread() returns falseBerker Peksag2016-07-231-0/+3
| | | | | | | | | | | | Patch by Chris Angelico.
* | | Issue #27130: Fix handling of buffers exceeding UINT_MAX in “zlib” moduleMartin Panter2016-07-232-397/+378
| | | | | | | | | | | | Patch by Xiang Zhang.
* | | socket: use INVALID_SOCKETVictor Stinner2016-07-222-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | * Replace "fd = -1" with "fd = INVALID_SOCKET" * Replace "fd < 0" with "fd == INVALID_SOCKET": SOCKET_T is unsigned on Windows Bug found by Pavel Belikov ("Fragment N1"): http://www.viva64.com/en/b/0414/#ID0ECDAE
* | | socket: Fix internal_select()Victor Stinner2016-07-221-1/+1
| | | | | | | | | | | | | | | Bug found by Pavel Belikov ("Fragment N1"): http://www.viva64.com/en/b/0414/#ID0ECDAE
* | | Issue #27533: Release GIL in nt._isdirSteve Dower2016-07-181-0/+2
| | |
* | | Issue #26974: Fix segfault in the presence of absurd subclassing. ProactivelyStefan Krah2016-07-171-3/+47
| | | | | | | | | | | | eliminate all internal uses of overridden methods.
* | | Issue #17711: Fixed unpickling by the persistent ID with protocol 0.Serhiy Storchaka2016-07-171-12/+22
| | | | | | | | | | | | Original patch by Alexandre Vassalotti.
* | | Issue #23804: Fix SSL zero-length recv() calls to not block and raise EOFMartin Panter2016-07-111-0/+8
| | |
* | | Issue #27332: Fixed the type of the first argument of module-level functionsSerhiy Storchaka2016-07-0759-1505/+1485
| | | | | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin.
* | | assume egd unless OPENSSL_NO_EGD is defined—remove configure check (closes ↵Benjamin Peterson2016-07-072-5/+5
| | | | | | | | | | | | #24557)
* | | Fixed integer overflow in array.buffer_info().Serhiy Storchaka2016-06-231-1/+1
| | |
* | | Issue #27006: Do not use PyDec_CheckExact() on a type.Stefan Krah2016-06-201-1/+1
| | |
* | | Issue #27006: from_float(): call the subclass' __new__() and __init__().Stefan Krah2016-06-201-2/+8
| | |
* | | Issue #27343: Fixed error message for conflicting initializers of ↵Serhiy Storchaka2016-06-181-7/+2
| | | | | | | | | | | | ctypes.Structure.
* | | ctypes: the type of b_size is Py_ssize_t.Serhiy Storchaka2016-06-171-4/+4
| | |
* | | Issue #27330: Fixed possible leaks in the ctypes module.Serhiy Storchaka2016-06-163-22/+31
| | |
* | | merge 3.4Benjamin Peterson2016-06-142-4/+4
|\ \ \ | |/ /
| * | sync ordering of stddef.h includes with expat 2.1.1Benjamin Peterson2016-06-142-4/+4
| | |
* | | Issue #16182: Fix readline begidx, endidx, and use locale encodingMartin Panter2016-06-141-38/+94
| | | | | | | | | | | | Based on patch by Serhiy Storchaka.
* | | Fix typo in _sqlite/module.hBerker Peksag2016-06-121-1/+1
| | |
* | | Issue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1Berker Peksag2016-06-121-0/+4
| | | | | | | | | | | | Patch by Dave Sawyer.