summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge fix for issue #22166 from 3.4Nick Coghlan2014-09-151-0/+54
|\
| * Issue #22166: clear codec caches in test_codecsNick Coghlan2014-09-151-0/+54
| |
* | Issue #17095: merge from 3.4Ned Deily2014-09-151-14/+0
|\ \ | |/
| * Issue #17095: Temporarily revert getpath.c change that added the ModulesNed Deily2014-09-151-14/+0
| | | | | | | | | | | | directory to sys.path when running from a build directory. That has proven to be problematic for several standard library modules with C extension modules whose builds can fail on some platforms.
* | Closes #22336: attemptckalloc() with PyMem_Malloc() in _tkinterVictor Stinner2014-09-111-12/+12
| | | | | | | | | | | | The PyMem_Malloc(size) function has a well defined behaviour: if size is 0, a pointer different than NULL is returned. PyMem_Malloc() allocations are tracked by tracemalloc, attemptckalloc() allocations are not tracked.
* | Issue #21147: sqlite3 now raises an exception if the request contains a nullSerhiy Storchaka2014-09-112-1/+6
|\ \ | |/ | | | | character instead of truncate it. Based on patch by Victor Stinner.
| * Issue #21147: sqlite3 now raises an exception if the request contains a nullSerhiy Storchaka2014-09-112-1/+6
| | | | | | | | character instead of truncate it. Based on patch by Victor Stinner.
* | Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command withSerhiy Storchaka2014-09-111-0/+4
|\ \ | |/ | | | | | | | | | | empty string or tuple argument. On some platforms Tcl memory allocator returns NULL when allocating zero-sized block of memory.
| * Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command withSerhiy Storchaka2014-09-111-0/+4
| | | | | | | | | | | | | | empty string or tuple argument. On some platforms Tcl memory allocator returns NULL when allocating zero-sized block of memory.
* | Issue #21951: Use attemptckalloc() instead of ckalloc() in Tkinter.Serhiy Storchaka2014-09-111-10/+26
|\ \ | |/ | | | | | | ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL if the memory allocation fails.
| * Issue #21951: Use attemptckalloc() instead of ckalloc() in Tkinter.Serhiy Storchaka2014-09-111-10/+26
| | | | | | | | | | ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL if the memory allocation fails.
* | (Merge 3.4) Issue #22338: Fix a crash in the json module on memory allocationVictor Stinner2014-09-101-1/+2
|\ \ | |/ | | | | failure.
| * Issue #22338: Fix a crash in the json module on memory allocation failure.Victor Stinner2014-09-101-1/+2
| |
* | Issue #22369: Change "context manager protocol" to "context management ↵Serhiy Storchaka2014-09-101-2/+2
|\ \ | |/ | | | | protocol".
| * Issue #22369: Change "context manager protocol" to "context management ↵Serhiy Storchaka2014-09-101-2/+2
| | | | | | | | protocol".
* | Issue #19232: Speed up decimal import. Additionally, since _decimal isStefan Krah2014-09-101-3/+4
| | | | | | | | | | self-contained, this change facilitates maintenance and the Python version can be easily imported for experimentation.
* | Issue #22215: Now ValueError is raised instead of TypeError when str or bytesSerhiy Storchaka2014-09-064-5/+5
| | | | | | | | argument contains not permitted null character or byte.
* | Silenced some warnings about comparison between signed and unsigned integerSerhiy Storchaka2014-09-051-3/+3
| | | | | | | | expressions.
* | Issue #20421: Add a .version() method to SSL sockets exposing the actual ↵Antoine Pitrou2014-09-041-0/+13
| | | | | | | | protocol version in use.
* | Issue #21951: Fix AsObj() of the _tkinter module: raise MemoryError on memoryVictor Stinner2014-09-041-2/+4
| | | | | | | | allocation failure
* | Issue #22043: time.monotonic() is now always availableVictor Stinner2014-09-024-142/+13
| | | | | | | | | | threading.Lock.acquire(), threading.RLock.acquire() and socket operations now use a monotonic clock, instead of the system clock, when a timeout is used.
* | Issue #22043: Oops, fix perf_counter() on UNIX if no monotonic clock isVictor Stinner2014-08-291-2/+1
| | | | | | | | available (unlikely)
* | Issue #22043: Simplify time.perf_counter() on WindowsVictor Stinner2014-08-291-30/+16
| | | | | | | | | | | | QueryPerformanceFrequency() cannot fail on Windows XP and later according to its documentation: raise an exception on error and drop the fallback to the system clock.
* | Issue #22043: _PyTime_Init() now checks if the system clock works.Victor Stinner2014-08-291-1/+4
| | | | | | | | | | | | | | | | | | Other changes: * The whole _PyTime API is private (not defined if Py_LIMITED_API is set) * _PyTime_gettimeofday_info() also returns -1 on error * Simplify PyTime_gettimeofday(): only use clock_gettime(CLOCK_REALTIME) or gettimeofday() on UNIX. Don't fallback to ftime() or time() anymore.
* | Issue #22287: On UNIX, _PyTime_gettimeofday() now usesVictor Stinner2014-08-291-22/+0
| | | | | | | | | | | | clock_gettime(CLOCK_REALTIME) if available. As a side effect, Python now depends on the librt library on Solaris and on Linux (only with glibc older than 2.17).
* | Issue #22042: signal.set_wakeup_fd(fd) now raises an exception if the fileVictor Stinner2014-08-271-1/+19
| | | | | | | | descriptor is in blocking mode.
* | Merge 3.4.Stefan Krah2014-08-262-4/+8
|\ \ | |/
| * Introduce and check for MPD_VERSION_HEX for precise management of buildsStefan Krah2014-08-262-4/+8
| | | | | | | | with an external libmpdec.
* | Merge 3.4.Stefan Krah2014-08-261-4/+7
|\ \ | |/
| * Issue #22090: Fix '%' formatting for infinities and NaNs.Stefan Krah2014-08-261-4/+7
| |
* | Issue #20152: Port pyexpat to Argument Clinic.Brett Cannon2014-08-221-154/+471
| | | | | | | | | | Could not emit an external file as pyexpat has a conditionally built method which Clinic won't hide otherwise.
* | Add a missing Argument Clinic fileBrett Cannon2014-08-221-0/+73
| |
* | Issue #20152: Port the pwd module to Argument Clinic.Brett Cannon2014-08-221-26/+46
| |
* | Fix a missing #include.Brett Cannon2014-08-221-0/+2
| |
* | Issue #20152: Port the spwd module to Argument Clinic.Brett Cannon2014-08-222-17/+100
| |
* | Issue #20152: Convert the grp module to Argument Clinic.Brett Cannon2014-08-222-26/+140
| |
* | Issue #20152: Convert _multibytecodecs to Argument Clinic.Brett Cannon2014-08-222-142/+492
| |
* | Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows.Serhiy Storchaka2014-08-191-0/+16
|\ \ | |/
| * Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows.Serhiy Storchaka2014-08-191-0/+16
| |
* | Issue #22207: Fix "comparison between signed and unsigned integers" warning inVictor Stinner2014-08-175-7/+8
| | | | | | | | | | test checking for integer overflow on Py_ssize_t type: cast explicitly to size_t.
* | _pickle: Optimize raw_unicode_escape(), use directly a bytes object, don't useVictor Stinner2014-08-171-10/+9
| | | | | | | | a temporary bytearray object.
* | Issue #22218: Fix "comparison between signed and unsigned integers" warning inVictor Stinner2014-08-171-1/+1
| | | | | | | | Modules/_sqlite/cursor.c.
* | Issue #22218: Fix "comparison between signed and unsigned integers" warnings inVictor Stinner2014-08-171-10/+11
| | | | | | | | Modules/_pickle.c.
* | Issue #22218: Fix "comparison between signed and unsigned integers" warnings inVictor Stinner2014-08-171-5/+6
| | | | | | | | socketmodule.c.
* | Issue #22156: simplify _tracemalloc.c, use an int for the MAX_NFRAME constantVictor Stinner2014-08-161-6/+6
| |
* | Issue #22156: Fix some "comparison between signed and unsigned integers"Victor Stinner2014-08-1513-21/+24
| | | | | | | | compiler warnings in the Modules/ subdirectory.
* | Issue #15381: Optimized line reading in io.BytesIO.Serhiy Storchaka2014-08-141-29/+27
| |
* | - Merge 3.4doko@ubuntu.com2014-08-092-3/+26
|\ \ | |/
| * - Issue #22176: Fix build failure on ARM with ↵doko@ubuntu.com2014-08-092-3/+26
| | | | | | | | -Werror=declaration-after-statement
* | merge 3.4.doko@ubuntu.com2014-08-092-2/+2
|\ \ | |/