summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14128: Exposing Element as an actual type from _elementtree, rather ↵Eli Bendersky2012-03-041-82/+145
| | | | | | | | than a factory function. This makes the C implementation more aligned with the Python implementation. Also added some tests to ensure that Element is now a type and that it can be subclassed.
* Issue #13964: signal.sigtimedwait() timeout is now a float instead of a tupleVictor Stinner2012-03-022-8/+22
| | | | Add a private API to convert an int or float to a C timespec structure.
* Issue #14153 Create _Py_device_encoding() to prevent _io from having to importBrett Cannon2012-02-294-45/+15
| | | | the os module.
* Issue #14125: Fix refleak in timemodule.c on Windows. Thanks sbt for pointingStefan Krah2012-02-271-2/+3
| | | | | out the location of the problem. MS_WINDOWS currently implies !HAVE_WCSFTIME, so the addition of !defined(HAVE_WCSFTIME) is for readability.
* Issue #14125: Fix multiprocessing refleak on Windows. Patch by sbt.Stefan Krah2012-02-271-1/+4
|
* Merge 3.2Éric Araujo2012-02-262-2/+2
|\
| * Fix typo in “seperat{or,ion}”Éric Araujo2012-02-262-2/+2
| |
* | - Issue #10181: New memoryview implementation fixes multiple ownershipStefan Krah2012-02-252-91/+2683
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and lifetime issues of dynamically allocated Py_buffer members (#9990) as well as crashes (#8305, #7433). Many new features have been added (See whatsnew/3.3), and the documentation has been updated extensively. The ndarray test object from _testbuffer.c implements all aspects of PEP-3118, so further development towards the complete implementation of the PEP can proceed in a test-driven manner. Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review and many ideas. - Issue #12834: Fix incorrect results of memoryview.tobytes() for non-contiguous arrays. - Issue #5231: Introduce memoryview.cast() method that allows changing format and shape without making a copy of the underlying memory.
* | merge with 3.2Georg Brandl2012-02-211-1/+1
|\ \ | |/
| * merge with 3.2Georg Brandl2012-02-211-3/+3
| |\
| | * Remove reST markup from --help output. Also: O(n**2) is dict construction, ↵Georg Brandl2012-02-211-3/+3
| | | | | | | | | | | | not single insertion.
* | | enable hash randomization by defaultBenjamin Peterson2012-02-211-18/+7
| | |
* | | Fix test failure in test_cmd_line by initializing the hash secret at the ↵Antoine Pitrou2012-02-211-2/+28
|\ \ \ | |/ / | | | | | | earliest point.
| * | Fix test failure in test_cmd_line by initializing the hash secret at the ↵Antoine Pitrou2012-02-211-2/+28
| | | | | | | | | | | | earliest point.
| * | merge 3.2Benjamin Peterson2012-02-211-0/+1
| |\ \ | | |/
| | * ensure no one tries to hash things before the random seed is foundBenjamin Peterson2012-02-211-0/+1
| | |
* | | Merge branch '3.2'Petri Lehtinen2012-02-211-6/+2
|\ \ \ | |/ / | | | | | | Closes #8033.
| * | sqlite3: Fix 64-bit integer handling in user functions on 32-bit architecturesPetri Lehtinen2012-02-211-6/+2
| | | | | | | | | | | | Closes #8033.
* | | update to Unicode 6.1Benjamin Peterson2012-02-213-21772/+23152
| | |
* | | Merge 3.2: Issue #13703 plus some related test suite fixes.Georg Brandl2012-02-202-85/+48
|\ \ \ | |/ /
| * | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-203-110/+38
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| | * Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-203-108/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
* | | use new generic __dict__ descriptor implementationsBenjamin Peterson2012-02-202-51/+2
| | |
* | | Fix last remaining build issues of _ssl under old OpenSSLs. Patch by Vinay.Antoine Pitrou2012-02-191-0/+5
| | |
* | | Try to really fix compilation failures of the _ssl module under very old ↵Antoine Pitrou2012-02-171-0/+6
| | | | | | | | | | | | OpenSSLs.
* | | Fix compilation when SSL_OP_SINGLE_ECDH_USE isn't definedAntoine Pitrou2012-02-171-0/+2
| | |
* | | Issue #13014: Fix a possible reference leak in SSLSocket.getpeercert().Antoine Pitrou2012-02-151-9/+14
|\ \ \ | |/ /
| * | Issue #13014: Fix a possible reference leak in SSLSocket.getpeercert().Antoine Pitrou2012-02-151-9/+14
| | |
* | | Issue #13015: Fix a possible reference leak in defaultdict.__repr__.Antoine Pitrou2012-02-151-1/+3
|\ \ \ | |/ / | | | | | | Patch by Suman Saha.
| * | Issue #13015: Fix a possible reference leak in defaultdict.__repr__.Antoine Pitrou2012-02-151-1/+3
| | | | | | | | | | | | Patch by Suman Saha.
| * | Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵Petri Lehtinen2012-02-062-10/+20
| | | | | | | | | | | | ProgrammingError now.
* | | PyUnicode_DecodeLocale() second argument is now a char*, no more an intVictor Stinner2012-02-141-10/+10
| | |
* | | Issue #13988: cElementTree is deprecated and the _elementtree accelerator is ↵Florent Xicluna2012-02-131-3/+3
| | | | | | | | | | | | automatically used whenever available.
* | | Issue #13988: move the python bootstrap code to cElementTree.py, and remove ↵Florent Xicluna2012-02-111-232/+2
| | | | | | | | | | | | obsolete code for Python 2.4 and 2.5.
* | | Undocument and clean up sqlite3.OptimizedUnicodePetri Lehtinen2012-02-096-35/+18
| | | | | | | | | | | | Closes #13921.
* | | Issue #13609: Add two functions to query the terminal size:Antoine Pitrou2012-02-081-0/+130
| | | | | | | | | | | | | | | os.get_terminal_size (low level) and shutil.get_terminal_size (high level). Patch by Zbigniew Jędrzejewski-Szmek.
* | | Backout f8409b3d6449: the PEP 410 is not accepted yetVictor Stinner2012-02-082-291/+135
| | |
* | | PEP 410Victor Stinner2012-02-082-135/+291
| | |
* | | Issue #8184: multiprocessing: On Windows, don't set SO_REUSEADDR on ConnectionCharles-François Natali2012-02-081-0/+1
| | | | | | | | | | | | | | | sockets, and set FILE_FLAG_FIRST_PIPE_INSTANCE on named pipes, to make sure two listeners can't bind to the same socket/pipe (or any existing socket/pipe).
* | | Issue #13964: Skip os.*utime*() tests if os.stat() doesn't support timestampVictor Stinner2012-02-081-1/+0
| | | | | | | | | | | | with a subsecond resolution
* | | Issue #13964: Split os.*utime*() subsecond tests into multiple tests to helpVictor Stinner2012-02-081-77/+45
| | | | | | | | | | | | debugging
* | | Issue #13846: Add time.monotonic(), monotonic clock.Victor Stinner2012-02-071-15/+67
| | |
* | | Following Nick's suggestion, rename posix.fdlistdir() to posix.flistdir(), toCharles-François Natali2012-02-061-5/+5
| | | | | | | | | | | | | | | be consistent with other functions accepting file descriptors (fdlistdir() was added in 3.3, so hasn't been released yet).
* | | MergeBrett Cannon2012-02-032-0/+117
|\ \ \
| * | | Issue #13777: Add PF_SYSTEM sockets on OS X.Martin v. Löwis2012-02-032-0/+117
| | | | | | | | | | | | | | | | Patch by Michael Goderbauer.
* | | | Check for errors in creating sub-interpreters when testing the C API.Brett Cannon2012-02-031-0/+8
|/ / /
* | | Merge.Charles-François Natali2012-02-021-1/+3
|\ \ \ | |/ /
| * | Issue #13817: After fork(), reinit the ad-hoc TLS implementation earlier to fixCharles-François Natali2012-02-021-1/+3
| | | | | | | | | | | | | | | a random deadlock when fork() is called in a multithreaded process in debug mode, and make PyOS_AfterFork() more robust.
* | | Merge branch 3.2Petri Lehtinen2012-02-012-8/+9
|\ \ \ | |/ / | | | | | | Closes #13676.
| * | sqlite3: Handle strings with embedded zeros correctlyPetri Lehtinen2012-02-012-8/+9
| | | | | | | | | | | | Closes #13676.