summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Merge from 3.3Andrew Kuchling2014-02-161-3/+1
|\ \ \ | |/ /
| * | #12211: remove paragraph about NaNsAndrew Kuchling2014-02-161-3/+1
| | |
* | | Merge from 3.3Andrew Kuchling2014-02-161-1/+5
|\ \ \ | |/ /
| * | #12211: clarify math.copysign() documentation and docstringAndrew Kuchling2014-02-161-1/+5
| | |
* | | Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair.Serhiy Storchaka2014-02-121-2/+7
|\ \ \ | |/ / | | | | | | Based on patch by Stephen Tu.
| * | Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair.Serhiy Storchaka2014-02-121-2/+7
| | | | | | | | | | | | Based on patch by Stephen Tu.
* | | merge 3.3 (#20594)Benjamin Peterson2014-02-111-2/+6
|\ \ \ | |/ /
| * | avoid name clash with posix_close (closes #20594)Benjamin Peterson2014-02-111-2/+6
| | |
* | | Issue #20517: Functions in the os module that accept two filenamesLarry Hastings2014-02-101-6/+19
| | | | | | | | | | | | | | | | | | now register both filenames in the exception on failure. This required adding new C API functions allowing OSError exceptions to reference two filenames instead of one.
* | | Issue #20437: Fixed 22 potential bugs when deleting objects references.Serhiy Storchaka2014-02-099-37/+19
|\ \ \ | |/ /
| * | Issue #20437: Fixed 21 potential bugs when deleting objects references.Serhiy Storchaka2014-02-099-37/+19
| | |
* | | Issue #20530: Argument Clinic's signature format has been revised again.Larry Hastings2014-02-0915-113/+318
| | | | | | | | | | | | | | | | | | | | | The new syntax is highly human readable while still preventing false positives. The syntax also extends Python syntax to denote "self" and positional-only parameters, allowing inspect.Signature objects to be totally accurate for all supported builtins in Python 3.4.
* | | Issue #20065: socketmodule: Fix build error when AF_CAN is defined without theCharles-François Natali2014-02-081-3/+3
|\ \ \ | |/ / | | | | | | proper CAN headers.
| * | Issue #20065: socketmodule: Fix build error when AF_CAN is defined without theCharles-François Natali2014-02-081-3/+3
| | | | | | | | | | | | proper CAN headers.
* | | Issue #20374: mergeNed Deily2014-02-061-1/+0
|\ \ \ | |/ /
| * | Issue #20374: delete spurious empty lineNed Deily2014-02-061-1/+0
| | |
* | | Issue #20374: mergeNed Deily2014-02-061-0/+9
|\ \ \ | |/ /
| * | Issue #20374: Avoid compiler warnings when compiling readline with libedit.Ned Deily2014-02-061-0/+9
| | |