summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* | | 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
|\ \ \ | |/ /
| * | - Issue #22176: Add src/x86/win32.S for x86 libffi builds.doko@ubuntu.com2014-08-092-2/+2
| | |
* | | - Issue #22176: Update the ctypes module's libffi to v3.1. This releasedoko@ubuntu.com2014-08-09135-13698/+28236
|\ \ \ | |/ / | | | | | | | | | adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian architectures.
| * | - Issue #22176: Update the ctypes module's libffi to v3.1. This releasedoko@ubuntu.com2014-08-09135-13698/+28236
| | | | | | | | | | | | | | | adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian architectures.
* | | Issue #22161: Conformed arguments type checks in ctype to actually supportedSerhiy Storchaka2014-08-092-25/+8
|\ \ \ | |/ / | | | | | | types. Corrected error messages about bytes arguments.
| * | Issue #22161: Conformed arguments type checks in ctype to actually supportedSerhiy Storchaka2014-08-092-25/+8
| | | | | | | | | | | | types. Corrected error messages about bytes arguments.
* | | Issue #22116: C functions and methods (of the 'builtin_function_or_method' ↵Antoine Pitrou2014-08-061-0/+16
| | | | | | | | | | | | type) can now be weakref'ed. Patch by Wei Wu.
* | | Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particularSerhiy Storchaka2014-08-061-11/+17
|\ \ \ | |/ / | | | | | | | | | when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the __new__() method.
| * | Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particularSerhiy Storchaka2014-08-061-11/+17
| | | | | | | | | | | | | | | when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the __new__() method.
* | | Closes #22136: Fix MSVC compiler warnings introduced by #22085Zachary Ware2014-08-051-7/+7
| | |
* | | Issue #22127: fix typo.Martin v. Löwis2014-08-051-1/+1
| | |
* | | Issue #22127: Bypass IDNA for pure-ASCII host names (in particular for ↵Martin v. Löwis2014-08-051-10/+75
| | | | | | | | | | | | numeric IPs).
* | | Issue #22120: For functions using an unsigned integer return converter,Larry Hastings2014-08-052-8/+8
| | | | | | | | | | | | | | | Argument Clinic now generates a cast to that type for the comparison to -1 in the generated code. (This supresses a compilation warning.)
* | | More fixes for the unhappy AMD FreeBSD 9 buildbot. Fingers crossed.Larry Hastings2014-08-051-2/+2
| | |
* | | Fix for AMD FreeBSD 9 buildbot (hopefully), broken by my last checkin.Larry Hastings2014-08-051-1/+0
| | |
* | | Issue #20170: Convert posixmodule to use Argument Clinic.Larry Hastings2014-08-051-2929/+8298
| | |
* | | Issue #18395: Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, renameVictor Stinner2014-08-012-10/+10
| | | | | | | | | | | | | | | ``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these functions.
* | | timemodule.c: Replace PyExc_IOError with PyExc_OSErrorVictor Stinner2014-07-311-5/+5
| | |
* | | Issue #22085: Dropped support of Tk 8.3 in Tkinter.Serhiy Storchaka2014-07-301-26/+13
| | |
* | | Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka2014-07-301-2/+2
|\ \ \ | |/ / | | | | | | In particular this allows to initialize images from binary data.