summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | Implement PEP 380 - 'yield from' (closes #11682)Nick Coghlan2012-01-131-27/+55
| | |
* | | Fix _PyFaulthandler_Fini() so it can be called before _PyFaulthandler_Init()Victor Stinner2012-01-101-2/+2
| | |
* | | Issue #13757: Change os.fdlistdir() so that it duplicates the passed fileCharles-François Natali2012-01-101-2/+5
| | | | | | | | | | | | descriptor (instead of closing it).
* | | Issue #12760: Add a create mode to open(). Patch by David Townshend.Charles-François Natali2012-01-092-21/+45
| | |
* | | Backed out changeset 36f2e236c601: For some reason, rewinddir() doesn't work asCharles-François Natali2012-01-081-1/+2
| | | | | | | | | | | | it should on OpenIndiana.
* | | Issue #13739: It's simpler and more direct to call rewinddir() at theCharles-François Natali2012-01-081-2/+1
| | | | | | | | | | | | beginning.
* | | Issue #13739: In os.listdir(), rewind the directory stream (so that listdir()Charles-François Natali2012-01-081-0/+2
| | | | | | | | | | | | can be called again on the same open file).
* | | Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch byCharles-François Natali2012-01-021-8/+21
|\ \ \ | |/ / | | | | | | Vilmos Nebehaj.
| * | Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch byCharles-François Natali2012-01-021-8/+21
| | | | | | | | | | | | Vilmos Nebehaj.
| * | Don't redefine _GNU_SOURCE if it's already defined.Ross Lagerwall2011-12-221-2/+2
| | |