summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-183-5/+5
|\ | | | | | | Patch by Serhiy Storchaka.
| * Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-183-5/+5
| |\ | | | | | | | | | Patch by Serhiy Storchaka.
| | * Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-183-5/+5
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | Merge 3.3.Stefan Krah2012-12-161-30/+33
|\ \ \ | |/ /
| * | Issue #15783: Support None default values in the Context() constructor.Stefan Krah2012-12-161-30/+33
| | |
* | | Merge 3.3.Stefan Krah2012-12-154-178/+267
|\ \ \ | |/ /
| * | Issue #15783: Except for the number methods, the C version of decimal nowStefan Krah2012-12-154-178/+267
| | | | | | | | | | | | | | | supports all None default values present in decimal.py. These values were largely undocumented.
* | | merge 3.3Benjamin Peterson2012-12-151-2/+0
|\ \ \ | |/ /
| * | merge 3.2Benjamin Peterson2012-12-151-2/+0
| |\ \ | | |/
| | * remove dead codeBenjamin Peterson2012-12-151-2/+0
| | |
* | | Issue #16488: epoll() objects now support the `with` statement.Antoine Pitrou2012-12-151-0/+22
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | Remove compile warnings for _testimportmoduleAndrew Svetlov2012-12-151-3/+3
| | |
* | | Rename test module names for #16421 to don't clash with other tests.Andrew Svetlov2012-12-151-6/+6
| | |
* | | #16681: merge with 3.3.Ezio Melotti2012-12-141-1/+1
|\ \ \ | |/ /
| * | #16681: merge with 3.2.Ezio Melotti2012-12-141-1/+1
| |\ \ | | |/
| | * #16681: use "bidirectional class" instead of "bidirectional category" in the ↵Ezio Melotti2012-12-141-1/+1
| | | | | | | | | | | | docstring too.
* | | Issue #16421: allow to load multiple modules from the same shared object.Andrew Svetlov2012-12-141-0/+57
| | | | | | | | | | | | Patch by Václav Šmilauer.
* | | expose TCP_FASTOPEN and MSG_FASTOPENBenjamin Peterson2012-12-131-1/+6
| | |
* | | Code style fixup: No need for double ((parenthesis)) and use {} on an if else.Gregory P. Smith2012-12-111-4/+5
|\ \ \ | |/ /
| * | Code style fixup: No need for double ((parenthesis)) and use {} on an if else.Gregory P. Smith2012-12-111-4/+5
| |\ \ | | |/
| | * Code style fixup: No need for double ((parenthesis)) and use {} on an if else.Gregory P. Smith2012-12-111-4/+5
| | |
* | | 1 << 31 is invalid for signed integers, fix it by making 1 unsigned.Gregory P. Smith2012-12-111-2/+2
|\ \ \ | |/ / | | | | | | Found by Clang trunk's Undefined-Behavior Sanitizer. [more to come]
| * | 1 << 31 is invalid for signed integers, fix it by making 1 unsigned.Gregory P. Smith2012-12-111-2/+2
| |\ \ | | |/ | | | | | | Found by Clang trunk's Undefined-Behavior Sanitizer. [more to come]
| | * 1 << 31 is invalid for signed integers, fix it by making 1 unsigned.Gregory P. Smith2012-12-111-2/+2
| | | | | | | | | | | | Found by Clang trunk's Undefined-Behavior Sanitizer. [more to come]
* | | Issue #16628: Fix a memory leak in ctypes.resize().Antoine Pitrou2012-12-083-2/+3
|\ \ \ | |/ /
| * | Issue #16628: Fix a memory leak in ctypes.resize().Antoine Pitrou2012-12-083-2/+3
| |\ \ | | |/
| | * Issue #16628: Fix a memory leak in ctypes.resize().Antoine Pitrou2012-12-083-2/+3
| | |
| * | (Merge 3.2) Issue #16416: On Mac OS X, operating system data are now alwaysVictor Stinner2012-12-031-8/+0
| |\ \ | | |/ | | | | | | | | | | | | | | | encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no locale environment variable is set), to avoid inconsistencies with os.fsencode() and os.fsdecode() functions which are already using UTF-8/surrogateescape.
| | * Issue #16416: On Mac OS X, operating system data are now alwaysVictor Stinner2012-12-031-8/+0
| | | | | | | | | | | | | | | | | | | | | encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no locale environment variable is set), to avoid inconsistencies with os.fsencode() and os.fsdecode() functions which are already using UTF-8/surrogateescape.
* | | merge 3.3 (#16585)Benjamin Peterson2012-12-021-2/+6
|\ \ \ | |/ /
| * | support encoding error handlers that return bytes (closes #16585)Benjamin Peterson2012-12-021-2/+6
| | |
* | | merge 3.3Benjamin Peterson2012-12-021-3/+3
|\ \ \ | |/ /
| * | unicode -> strBenjamin Peterson2012-12-021-3/+3
| | |
* | | Issue #10182: The re module doesn't truncate indices to 32 bits anymore.Antoine Pitrou2012-12-021-5/+5
|\ \ \ | |/ / | | | | | | Patch by Serhiy Storchaka.
| * | Issue #10182: The re module doesn't truncate indices to 32 bits anymore.Antoine Pitrou2012-12-021-5/+5
| |\ \ | | |/ | | | | | | Patch by Serhiy Storchaka.
| | * Issue #10182: The re module doesn't truncate indices to 32 bits anymore.Antoine Pitrou2012-12-021-5/+5
| | | | | | | | | | | | Patch by Serhiy Storchaka.
| | * Plug a leak in timemodule. The module dictionary is saved duringGregory P. Smith2012-11-271-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | initialization. If the interpreter is shut down and reinitialized (embedded CPython), the old module dictionary was not dec-refed during the next import of the time extension module. Contributed by Torsten Marek of Google.
* | | Issue #16590: remove obsolete compatibility code from the _json module.Antoine Pitrou2012-12-011-40/+5
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | Issue #12848: The pure Python pickle implementation now treats object ↵Antoine Pitrou2012-11-241-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | lengths as unsigned 32-bit integers, like the C implementation does. Patch by Serhiy Storchaka.
| * | Issue #12848: The pure Python pickle implementation now treats object ↵Antoine Pitrou2012-11-241-1/+1
| |\ \ | | |/ | | | | | | | | | | | | lengths as unsigned 32-bit integers, like the C implementation does. Patch by Serhiy Storchaka.
| | * Issue #12848: The pure Python pickle implementation now treats object ↵Antoine Pitrou2012-11-241-1/+1
| | | | | | | | | | | | | | | | | | lengths as unsigned 32-bit integers, like the C implementation does. Patch by Serhiy Storchaka.
* | | #16306: merge with 3.3.Ezio Melotti2012-11-231-0/+1
|\ \ \ | |/ /
| * | #16306: merge with 3.2.Ezio Melotti2012-11-231-0/+1
| |\ \ | | |/
| | * #16306: report only the first unknown option and add more tests. Patch by ↵Ezio Melotti2012-11-231-0/+1
| | | | | | | | | | | | Serhiy Storchaka.
| | * Issue #1160: Fix compiling large regular expressions on UCS2 builds.Antoine Pitrou2012-11-202-9/+8
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | Issue #16416: OS data are now always encoded/decoded to/fromVictor Stinner2012-11-121-8/+0
| | | | | | | | | | | | | | | | | | | | | UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no locale environment variable is set), to avoid inconsistencies with os.fsencode() and os.fsdecode() functions which are already using UTF-8/surrogateescape.
* | | Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵Nadeem Vawda2012-11-111-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | mean 'no compression'. Patch by Brian Brazil.
| * | Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵Nadeem Vawda2012-11-111-2/+2
| |\ \ | | |/ | | | | | | | | | | | | mean 'no compression'. Patch by Brian Brazil.
| | * Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵Nadeem Vawda2012-11-111-3/+3
| | | | | | | | | | | | | | | | | | mean 'no compression'. Patch by Brian Brazil.
* | | Raise our own SubprocessError rather than a RuntimeError in when dealing withGregory P. Smith2012-11-111-1/+1
| | | | | | | | | | | | odd rare errors coming from the subprocess module.