summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #21639: Fix name of _testcapi test functionsVictor Stinner2014-06-021-2/+2
|
* Issue #17095: Fix Modules/Setup *shared* support.Ned Deily2014-06-022-6/+16
| | | | Original patch by Thomas Wouters.
* Fix the comment to not refer to the removed end_fd parameter.Gregory P. Smith2014-06-011-2/+2
|
* Don't restrict ourselves to a "max" fd when closing fds before exec()Gregory P. Smith2014-06-011-43/+44
| | | | | | | | | when we have a way to get an actual list of all open fds from the OS. Fixes issue #21618: The subprocess module would ignore fds that were inherited by the calling process and already higher than POSIX resource limits would otherwise allow. On systems with a functioning /proc/self/fd or /dev/fd interface the max is now ignored and all fds are closed.
* Issue #21552: Fixed possible integer overflow of too long string lengths inSerhiy Storchaka2014-05-301-1/+35
| | | | the tkinter module on 64-bit platforms.
* Issue #10203: sqlite3.Row now truly supports sequence protocol. In particulrSerhiy Storchaka2014-05-281-2/+22
| | | | it supports reverse() and negative indices. Original patch by Claudiu Popa.
* support pep 3118 format strings for ctypes objects with nontrivial shapes ↵Benjamin Peterson2014-05-173-11/+61
| | | | | | (closes #10744) Patch by Matti Picus.
* Issue #20998: Fixed re.fullmatch() of repeated single character patternSerhiy Storchaka2014-05-143-19/+17
| | | | with ignore case. Original patch by Matthew Barnett.
* Issue #21497: faulthandler functions now raise a better error if sys.stderr isVictor Stinner2014-05-141-0/+4
| | | | | None: RuntimeError("sys.stderr is None") instead of AttributeError("'NoneType' object has no attribute 'fileno'").
* Backed out changeset 6ceedbd88b5fVictor Stinner2014-05-141-10/+6
|
* Issue #21488: Add support of keyword arguments for codecs.encode and ↵Victor Stinner2014-05-141-6/+10
| | | | codecs.decode
* use logical rather than bit andBenjamin Peterson2014-05-111-1/+1
|
* Issue #21435: Segfault in gc with cyclic trashTim Peters2014-05-081-11/+23
| | | | | Changed the iteration logic in finalize_garbage() to tolerate objects vanishing from the list as a side effect of executing a finalizer.
* Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a ↵Antoine Pitrou2014-05-081-4/+5
| | | | | | flush() on the underlying binary stream. Patch by akira.
* Issue #21088: Bugfix for curses.window.addch() regression in 3.4.0.Larry Hastings2014-05-041-12/+12
| | | | In porting to Argument Clinic, the first two arguments were reversed.
* Issue 21375: Fix possible Py_ssizet overflow in heapq.Raymond Hettinger2014-05-031-8/+8
|
* Issue #21374: Fix pickling of DecimalTuple.Stefan Krah2014-04-291-4/+9
|
* Issue #21321: itertools.islice() now releases the reference to the source ↵Antoine Pitrou2014-04-291-3/+22
| | | | | | iterator when the slice is exhausted. Patch by Anton Afanasyev.
* Fixes for KFreeBSD and the Hurd:doko@ubuntu.com2014-04-171-1/+1
| | | | | | | | - Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c. - Issue #21276: posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd. - Issue #21275: Fix a socket test on KFreeBSD.
* #15840: make docs consistent by saying operations on closed files raise ↵Andrew Kuchling2014-04-161-2/+2
| | | | | | | | | | | | ValueError. Patch by Caelyn McAulay. Neither Caelyn nor I could find any cases in 2.7 or 3.4/5 where an operation on a closed stream raised IOError; generally the C implementations have a macro to check for the stream being closed, and these macros all raised ValueError. If we find any, a new bug should be opened.
* Add conditional code for android's lack of definition of SYS_getdent64.Gregory P. Smith2014-04-141-0/+6
| | | | | | Fixes issue20307. No Misc/NEWS entry because frankly this is an esoteric platform for anyone to be figuring out how to cross compile CPython for.
* merge 3.3Benjamin Peterson2014-04-141-4/+5
|\
| * merge 3.2Benjamin Peterson2014-04-141-4/+5
| |\
| | * disallow a negative idx parameterBenjamin Peterson2014-04-141-4/+5
| | |
* | | merge 3.3Benjamin Peterson2014-04-141-1/+4
|\ \ \ | |/ /
| * | merge 3.2Benjamin Peterson2014-04-141-1/+4
| |\ \ | | |/
| | * in scan_once, prevent the reading of arbitrary memory when passed a negative ↵Benjamin Peterson2014-04-141-1/+4
| | | | | | | | | | | | | | | | | | index Bug reported by Guido Vranken.
* | | Issue #6676: Ensure a meaningful exception is raised when attemptingNed Deily2014-03-271-1/+1
| | | | | | | | | | | | | | | | | | to parse more than one XML document per pyexpat xmlparser instance. (Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with suggested wording by David Gutteridge)
* | | Issue #21036: Fix typo in macro nameVictor Stinner2014-03-243-6/+6
| | | | | | | | | | | | _PY_HASHTABLE_ENTRY_DATA => _Py_HASHTABLE_ENTRY_DATA
* | | Issue #21015: SSL contexts will now automatically select an elliptic curve ↵Antoine Pitrou2014-03-221-0/+15
| | | | | | | | | | | | | | | | | | for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to "prime256v1". (should also fix a buildbot failure introduced by #20995)
* | | Issue #10141, Issue 20065: Changed #if to take CAN_RAW into account.Vinay Sajip2014-03-211-1/+1
| | |
* | | Issue #10141: updated new usages of AF_CAN to be in #ifdef AF_CAN rather ↵Vinay Sajip2014-03-201-3/+3
| | | | | | | | | | | | than #ifdef HAVE_LINUX_CAN_H to allow compilation on older Linuxes.
* | | Isuse #12328, #20978: Add _winapi.WAIT_ABANDONED_0 symbol, needed byVictor Stinner2014-03-201-0/+1
| | | | | | | | | | | | multiprocessing.connection
* | | merge 3.3 (#20946)Benjamin Peterson2014-03-161-3/+3
|\ \ \ | |/ /
| * | fix ctypes test alignment assumptions (closes #20946)Benjamin Peterson2014-03-161-3/+3
| | | | | | | | | | | | Patch by Andreas Schwab.
* | | merge 3.3Benjamin Peterson2014-03-152-3/+2
|\ \ \ | |/ /
| * | only define zero constant when it is usedBenjamin Peterson2014-03-151-0/+2
| | |
| * | remove unused zero constantsBenjamin Peterson2014-03-151-3/+0
| | |
* | | Issue #20283: RE pattern methods now accept the string keyword parametersSerhiy Storchaka2014-03-061-64/+79
|\ \ \ | |/ / | | | | | | | | | as documented. The pattern and source keyword parameters are left as deprecated aliases.
| * | Issue #20283: RE pattern methods now accept the string keyword parametersSerhiy Storchaka2014-03-061-20/+64
| | | | | | | | | | | | | | | as documented. The pattern and source keyword parameters are left as deprecated aliases.
* | | Make the various iterators' "setstate" sliently and consistently clip theKristján Valur Jónsson2014-03-051-0/+2
|\ \ \ | |/ / | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state.
| * | Make the various iterators' "setstate" sliently and consistently clip theKristján Valur Jónsson2014-03-051-0/+2
| | | | | | | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state.
| * | Issue #20404: reject non-text encodings early in TextIOWrapper.Georg Brandl2014-03-021-12/+22
| | |
* | | Issue #19748: On AIX, time.mktime() now raises an OverflowError for yearVictor Stinner2014-02-211-0/+11
| | | | | | | | | | | | outsize range [1902; 2037].
* | | Issue #20656: Restore explicit downcast in select_select().Victor Stinner2014-02-181-1/+2
| | | | | | | | | | | | Cast from time_t (64 bit) to long (32 bit). It should fix a compiler warning.
* | | Close #20656: Fix select.select() on OpenBSD 64-bitVictor Stinner2014-02-181-10/+12
| | |
* | | Issue #20320: select.select() and select.kqueue.control() now round the timeoutVictor Stinner2014-02-166-17/+39
| | | | | | | | | | | | | | | | | | aways from zero, instead of rounding towards zero. It should make test_asyncio more reliable, especially test_timeout_rounding() test.
* | | merge backout for #20621Benjamin Peterson2014-02-161-236/+48
|\ \ \ | |/ /
| * | backout 2807a5f011e4 for causing #20621Benjamin Peterson2014-02-161-238/+47
| | |
| * | backout d28242a636c7 so I can backout 2807a5f011e4Benjamin Peterson2014-02-161-1/+3
| | |