Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 3.2 | Petri Lehtinen | 2012-02-01 | 2 | -8/+9 |
|\ | | | | | | | Closes #13676. | ||||
| * | sqlite3: Handle strings with embedded zeros correctly | Petri Lehtinen | 2012-02-01 | 2 | -8/+9 |
| | | | | | | | | Closes #13676. | ||||
* | | Fix zipimport.c's read_directory() to use appropriate types for the values | Gregory P. Smith | 2012-01-30 | 1 | -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 values | Gregory P. Smith | 2012-01-30 | 1 | -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 Pitrou | 2012-01-30 | 1 | -13/+34 |
| | | | | | | | | overwriting. | ||||
* | | Issue #13874: read_null() of faulthandler uses volatile to avoid optimisation | Victor Stinner | 2012-01-29 | 1 | -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 Pitrou | 2012-01-29 | 1 | -21/+9 |
|\ \ | |/ | | | | | | | | | in the file name. Patch by Hynek Schlawack. | ||||
| * | Issue #13848: open() and the FileIO constructor now check for NUL characters ↵ | Antoine Pitrou | 2012-01-29 | 1 | -22/+11 |
| | | | | | | | | | | | | in the file name. Patch by Hynek Schlawack. | ||||
* | | Issue #13806: The size check in audioop decompression functions was too ↵ | Antoine Pitrou | 2012-01-28 | 1 | -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 Pitrou | 2012-01-28 | 1 | -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 Pitrou | 2012-01-27 | 1 | -2/+4 |
|\ \ | |/ | | | | | attack countermeasure. | ||||
| * | Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV ↵ | Antoine Pitrou | 2012-01-27 | 1 | -2/+4 |
| |\ | | | | | | | | | | attack countermeasure. | ||||
| | * | Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV ↵ | Antoine Pitrou | 2012-01-27 | 1 | -1/+2 |
| | | | | | | | | | | | | attack countermeasure. | ||||
* | | | Issue #13847: time.clock() now raises a RuntimeError if the processor time used | Victor Stinner | 2012-01-26 | 1 | -11/+27 |
| | | | | | | | | | | | | is not available or its value cannot be represented | ||||
* | | | Issue #13847: time.localtime() and time.gmtime() now raise an OSError instead | Victor Stinner | 2012-01-26 | 1 | -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 Inge | 2012-01-26 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | - Issue #13840: Fix ctypes.create_string_buffer exception message and docs. | Meador Inge | 2012-01-26 | 1 | -1/+1 |
| | | | |||||
| * | | merge heads | Benjamin Peterson | 2012-01-24 | 1 | -11/+0 |
| |\ \ | |||||
* | \ \ | merge heads | Benjamin Peterson | 2012-01-24 | 1 | -11/+0 |
|\ \ \ \ | |||||
| * \ \ \ | Issue #13772: In os.symlink() under Windows, do not try to guess the link | Antoine Pitrou | 2012-01-24 | 1 | -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 link | Antoine Pitrou | 2012-01-24 | 1 | -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.2 | Benjamin Peterson | 2012-01-23 | 1 | -24/+31 |
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| | | |||||
| * | | | fix declaration style | Benjamin Peterson | 2012-01-23 | 1 | -24/+31 |
| |/ / | |||||
* | | | use the static identifier api for looking up special methods | Benjamin Peterson | 2012-01-22 | 1 | -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. Smith | 2012-01-22 | 1 | -9/+47 |
|\ \ \ | |/ / | |||||
| * | | Fix FreeBSD, NetBSD and OpenBSD behavior of the issue #8052 fix. | Gregory P. Smith | 2012-01-22 | 1 | -9/+47 |
| | | | |||||
* | | | bugfix for *BSD platforms. (oops messed up #define) | Gregory P. Smith | 2012-01-21 | 1 | -4/+2 |
|\ \ \ | |/ / | |||||
| * | | Another issue #8052 bugfix (related to previous commit). | Gregory P. Smith | 2012-01-21 | 1 | -4/+2 |
| | | | | | | | | | | | | "oops" while rearranging the #defines. | ||||
* | | | bugfix for issue 8052 fixes on *BSD platforms. | Gregory P. Smith | 2012-01-21 | 1 | -9/+13 |
|\ \ \ | |/ / | |||||
| * | | Bugfix for issue #8052 fix on *BSD variants. | Gregory P. Smith | 2012-01-21 | 1 | -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 was | Gregory P. Smith | 2012-01-21 | 1 | -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 was | Gregory P. Smith | 2012-01-21 | 1 | -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. Smith | 2012-01-21 | 1 | -6/+9 |
|\ \ \ | |/ / | |||||
| * | | Avoid the compiler warning about the unused return value. | Gregory P. Smith | 2012-01-21 | 1 | -6/+9 |
| | | | |||||
* | | | Merge refleak fixes from 3.2 | Antoine Pitrou | 2012-01-18 | 1 | -54/+41 |
|\ \ \ | |/ / | |||||
| * | | Fix the _io module leaking references when a sub-interpreter is created. | Antoine Pitrou | 2012-01-18 | 1 | -48/+36 |
| | | | |||||
* | | | #13665: merge with 3.2. | Ezio Melotti | 2012-01-18 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | #13665: s/string/bytes/ in error message. | Ezio Melotti | 2012-01-18 | 1 | -1/+1 |
| | | | |||||
* | | | Merge | Antoine Pitrou | 2012-01-18 | 1 | -0/+47 |
|\ \ \ | |||||
| * | | | Issue #10278: fix a typo in the doc | Victor Stinner | 2012-01-18 | 1 | -1/+1 |
| | | | | |||||
| * | | | Close #10278: Add time.wallclock() function, monotonic clock. | Victor Stinner | 2012-01-18 | 1 | -0/+47 |
| | | | | |||||
* | | | | Fix error handling in timemodule.c | Antoine Pitrou | 2012-01-18 | 1 | -2/+6 |
|/ / / | |||||
* | | | Test running of code in a sub-interpreter | Antoine Pitrou | 2012-01-17 | 1 | -0/+27 |
|\ \ \ | |/ / | | | | | | | (prelude to issue #6531). | ||||
| * | | Test running of code in a sub-interpreter | Antoine Pitrou | 2012-01-17 | 1 | -0/+27 |
| | | | | | | | | | | | | (prelude to issue #6531). | ||||
* | | | Add missing sentinel to PyCursesWindow_getsets | Ronald Oussoren | 2012-01-17 | 1 | -1/+2 |
| | | | | | | | | | | | | The PyCursesWindow_getsets array was introduced without sentinel in c3581ca21a57. | ||||
* | | | Remove an unnecessary extra copy of the bytes hash function. | Gregory P. Smith | 2012-01-14 | 1 | -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öwis | 2012-01-14 | 1 | -3/+3 |
| | | | |||||
* | | | Issue #12760: Refer to the new 'x' open mode as "exclusive creation" mode. | Charles-François Natali | 2012-01-14 | 1 | -3/+3 |
| | | | |||||
* | | | Fix compilation warning on Windows | Amaury Forgeot d'Arc | 2011-12-17 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #13645: pyc files now contain the size of the corresponding source | Antoine Pitrou | 2012-01-13 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | code, to avoid timestamp collisions (especially on filesystems with a low timestamp resolution) when checking for freshness of the bytecode. |