summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Fix zipimport.c's read_directory() to use appropriate types for the valuesGregory P. Smith2012-01-301-4/+5
|\ \ | |/ | | | | | | | | being read from the header vs the values being used by fseek and ftell (Py_ssize_t for those). Updates the Py_BuildValue format string to match (including several existing wrong 'i's that should have been 'l's).
| * Fix zip_import.c's read_directory() to use appropriate types for the valuesGregory P. Smith2012-01-301-4/+5
| | | | | | | | | | | | | | | | being read from the header vs the values being used by fseek and ftell (Py_ssize_t for those) and how they are computed. Py_ssize_t is used for actual file offsets so that files greater than 2gigs could be supported. Updates the Py_BuildValue format string to match (including several existing wrong 'i's that should have been 'l's).
* | Issue #8828: Add new function os.replace(), for cross-platform renaming with ↵Antoine Pitrou2012-01-301-13/+34
| | | | | | | | overwriting.
* | Issue #13874: read_null() of faulthandler uses volatile to avoid optimisationVictor Stinner2012-01-291-1/+4
| | | | | | | | Clang 3.0 removes "y = *x;" instruction if the optimisation level is 3.
* | Issue #13848: open() and the FileIO constructor now check for NUL characters ↵Antoine Pitrou2012-01-291-21/+9
|\ \ | |/ | | | | | | | | in the file name. Patch by Hynek Schlawack.
| * Issue #13848: open() and the FileIO constructor now check for NUL characters ↵Antoine Pitrou2012-01-291-22/+11
| | | | | | | | | | | | in the file name. Patch by Hynek Schlawack.
* | Issue #13806: The size check in audioop decompression functions was too ↵Antoine Pitrou2012-01-281-3/+3
|\ \ | |/ | | | | | | | | strict and could reject valid compressed data. Patch by Oleg Plakhotnyuk.
| * Issue #13806: The size check in audioop decompression functions was too ↵Antoine Pitrou2012-01-281-3/+3
| | | | | | | | | | | | strict and could reject valid compressed data. Patch by Oleg Plakhotnyuk.
* | Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV ↵Antoine Pitrou2012-01-271-2/+4
|\ \ | |/ | | | | attack countermeasure.
| * Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV ↵Antoine Pitrou2012-01-271-2/+4
| |\ | | | | | | | | | attack countermeasure.
| | * Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV ↵Antoine Pitrou2012-01-271-1/+2
| | | | | | | | | | | | attack countermeasure.
* | | Issue #13847: time.clock() now raises a RuntimeError if the processor time usedVictor Stinner2012-01-261-11/+27
| | | | | | | | | | | | is not available or its value cannot be represented
* | | Issue #13847: time.localtime() and time.gmtime() now raise an OSError insteadVictor Stinner2012-01-261-52/+62
| | | | | | | | | | | | | | | of ValueError on failure. time.ctime() and time.asctime() now raises an OSError if localtime() failed.
* | | - Issue #13840: Fix ctypes.create_string_buffer exception message and docs.Meador Inge2012-01-261-1/+1
|\ \ \ | |/ /
| * | - Issue #13840: Fix ctypes.create_string_buffer exception message and docs.Meador Inge2012-01-261-1/+1
| | |
| * | merge headsBenjamin Peterson2012-01-241-11/+0
| |\ \
* | \ \ merge headsBenjamin Peterson2012-01-241-11/+0
|\ \ \ \
| * \ \ \ Issue #13772: In os.symlink() under Windows, do not try to guess the linkAntoine Pitrou2012-01-241-11/+0
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | target's type (file or directory). The detection was buggy and made the call non-atomic (therefore prone to race conditions).
| | * | | Issue #13772: In os.symlink() under Windows, do not try to guess the linkAntoine Pitrou2012-01-241-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | target's type (file or directory). The detection was buggy and made the call non-atomic (therefore prone to race conditions).
* | | | | merge 3.2Benjamin Peterson2012-01-231-24/+31
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| |
| * | | fix declaration styleBenjamin Peterson2012-01-231-24/+31
| |/ /
* | | use the static identifier api for looking up special methodsBenjamin Peterson2012-01-221-6/+6
| | | | | | | | | | | | | | | I had to move the static identifier code from unicodeobject.h to object.h in order for this to work.
* | | Fix FreeBSD, NetBSD and OpenBSD behavior of the issue #8052 fix.Gregory P. Smith2012-01-221-9/+47
|\ \ \ | |/ /
| * | Fix FreeBSD, NetBSD and OpenBSD behavior of the issue #8052 fix.Gregory P. Smith2012-01-221-9/+47
| | |
* | | bugfix for *BSD platforms. (oops messed up #define)Gregory P. Smith2012-01-211-4/+2
|\ \ \ | |/ /
| * | Another issue #8052 bugfix (related to previous commit).Gregory P. Smith2012-01-211-4/+2
| | | | | | | | | | | | "oops" while rearranging the #defines.
* | | bugfix for issue 8052 fixes on *BSD platforms.Gregory P. Smith2012-01-211-9/+13
|\ \ \ | |/ /
| * | Bugfix for issue #8052 fix on *BSD variants.Gregory P. Smith2012-01-211-9/+13
| | | | | | | | | | | | | | | Many lack readdir64, use readdir. Only use readdir64 on solaris where it is required to work around a solaris bug.
* | | Fixes issue #8052: The posix subprocess module's close_fds behavior wasGregory P. Smith2012-01-211-35/+258
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | suboptimal by closing all possible file descriptors rather than just the open ones in the child process before exec(). It now closes only the open fds when it is possible to safely determine what those are.
| * | Fixes issue #8052: The posix subprocess module's close_fds behavior wasGregory P. Smith2012-01-211-35/+258
| | | | | | | | | | | | | | | | | | | | | | | | suboptimal by closing all possible file descriptors rather than just the open ones in the child process before exec(). It now closes only the open fds when it is possible to safely determine what those are.
* | | Avoid the compiler warning about the unused return value.Gregory P. Smith2012-01-211-6/+9
|\ \ \ | |/ /
| * | Avoid the compiler warning about the unused return value.Gregory P. Smith2012-01-211-6/+9
| | |
* | | Merge refleak fixes from 3.2Antoine Pitrou2012-01-181-54/+41
|\ \ \ | |/ /
| * | Fix the _io module leaking references when a sub-interpreter is created.Antoine Pitrou2012-01-181-48/+36
| | |
* | | #13665: merge with 3.2.Ezio Melotti2012-01-181-1/+1
|\ \ \ | |/ /
| * | #13665: s/string/bytes/ in error message.Ezio Melotti2012-01-181-1/+1
| | |
* | | MergeAntoine Pitrou2012-01-181-0/+47
|\ \ \
| * | | Issue #10278: fix a typo in the docVictor Stinner2012-01-181-1/+1
| | | |
| * | | Close #10278: Add time.wallclock() function, monotonic clock.Victor Stinner2012-01-181-0/+47
| | | |
* | | | Fix error handling in timemodule.cAntoine Pitrou2012-01-181-2/+6
|/ / /
* | | Test running of code in a sub-interpreterAntoine Pitrou2012-01-171-0/+27
|\ \ \ | |/ / | | | | | | (prelude to issue #6531).
| * | Test running of code in a sub-interpreterAntoine Pitrou2012-01-171-0/+27
| | | | | | | | | | | | (prelude to issue #6531).
* | | Add missing sentinel to PyCursesWindow_getsetsRonald Oussoren2012-01-171-1/+2
| | | | | | | | | | | | The PyCursesWindow_getsets array was introduced without sentinel in c3581ca21a57.
* | | Remove an unnecessary extra copy of the bytes hash function.Gregory P. Smith2012-01-141-15/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This copy also had a bug in it, it fails to incorporate the length into the hash by using it as the loop variable so it'll always be -1 by the time it is XORed in. As such: I'm doing this only in Python 3.3 and not backporting as it would change the existing hash behavior of datetime objects.
* | | Use GetModuleHandleW to avoid *A functions where possible.Martin v. Löwis2012-01-141-3/+3
| | |
* | | Issue #12760: Refer to the new 'x' open mode as "exclusive creation" mode.Charles-François Natali2012-01-141-3/+3
| | |
* | | Fix compilation warning on WindowsAmaury Forgeot d'Arc2011-12-171-1/+1
| | |
* | | Issue #13645: pyc files now contain the size of the corresponding sourceAntoine Pitrou2012-01-131-1/+3
| | | | | | | | | | | | | | | code, to avoid timestamp collisions (especially on filesystems with a low timestamp resolution) when checking for freshness of the bytecode.