Antoine Pitrou
d8d1a0ab78
Issue #10182 : The re module doesn't truncate indices to 32 bits anymore.
...
Patch by Serhiy Storchaka.
2012-12-02 12:55:12 +01:00
Antoine Pitrou
9a2b26748b
Issue #10182 : The re module doesn't truncate indices to 32 bits anymore.
...
Patch by Serhiy Storchaka.
2012-12-02 12:54:28 +01:00
Antoine Pitrou
43fb54cd4f
Issue #10182 : The re module doesn't truncate indices to 32 bits anymore.
...
Patch by Serhiy Storchaka.
2012-12-02 12:52:36 +01:00
Antoine Pitrou
cbb028466b
Issue #16590 : remove obsolete compatibility code from the _json module.
...
Patch by Serhiy Storchaka.
2012-12-01 19:34:16 +01:00
Gregory P. Smith
14b04cd350
Plug a leak in timemodule. The module dictionary is saved during
...
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.
2012-11-27 10:16:55 -08:00
Antoine Pitrou
ab56710989
Issue #12848 : The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does.
...
Patch by Serhiy Storchaka.
2012-11-24 20:42:59 +01:00
Antoine Pitrou
9982c53c2f
Issue #12848 : The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does.
...
Patch by Serhiy Storchaka.
2012-11-24 20:41:34 +01:00
Antoine Pitrou
bf6ecf92fa
Issue #12848 : The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does.
...
Patch by Serhiy Storchaka.
2012-11-24 20:40:21 +01:00
Ezio Melotti
8b9a8f3c98
#16306 : merge with 3.3.
2012-11-23 19:01:42 +02:00
Ezio Melotti
8a6d1fed41
#16306 : merge with 3.2.
2012-11-23 18:52:39 +02:00
Ezio Melotti
a0dd22e5e8
#16306 : report only the first unknown option and add more tests. Patch by Serhiy Storchaka.
2012-11-23 18:48:32 +02:00
Antoine Pitrou
39bdad813a
Issue #1160 : Fix compiling large regular expressions on UCS2 builds.
...
Patch by Serhiy Storchaka.
2012-11-20 22:30:42 +01:00
Victor Stinner
e262377cab
Issue #16416 : OS data are now always 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.
2012-11-12 23:04:02 +01:00
Nadeem Vawda
cba149761a
Issue #15677 : Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
...
Patch by Brian Brazil.
2012-11-11 14:20:09 +01:00
Nadeem Vawda
6ff262e18f
Issue #15677 : Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
...
Patch by Brian Brazil.
2012-11-11 14:14:47 +01:00
Nadeem Vawda
19e568d254
Issue #15677 : Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
...
Patch by Brian Brazil.
2012-11-11 14:04:14 +01:00
Gregory P. Smith
8d07c264e4
Raise our own SubprocessError rather than a RuntimeError in when dealing with
...
odd rare errors coming from the subprocess module.
2012-11-10 23:53:47 -08:00
Gregory P. Smith
0b83224c0d
Fixes issue #9535 : Fix pending signals that have been received but not
...
yet handled by Python to not persist after os.fork() in the child process.
2012-11-10 20:34:41 -08:00
Gregory P. Smith
34b14951ee
Fixes issue #9535 : Fix pending signals that have been received but not
...
yet handled by Python to not persist after os.fork() in the child process.
2012-11-10 20:33:39 -08:00
Gregory P. Smith
9463e3ac8b
Fixes issue #9535 : Fix pending signals that have been received but not
...
yet handled by Python to not persist after os.fork() in the child process.
2012-11-10 20:33:07 -08:00
Nadeem Vawda
9c40022e38
Issue #16411 : Fix a bug where zlib.decompressobj().flush() might try to access previously-freed memory.
...
Patch by Serhiy Storchaka.
2012-11-11 03:19:49 +01:00
Nadeem Vawda
ec6dfcffa0
Issue #16411 : Fix a bug where zlib.decompressobj().flush() might try to access previously-freed memory.
...
Patch by Serhiy Storchaka.
2012-11-11 03:16:44 +01:00
Nadeem Vawda
7ee955550b
Issue #16411 : Fix a bug where zlib.decompressobj().flush() might try to access previously-freed memory.
...
Patch by Serhiy Storchaka.
2012-11-11 03:15:32 +01:00
Nadeem Vawda
9ea64e38b5
Issue #16350 , part 2: Set unused_data (and unconsumed_tail) correctly in decompressobj().flush().
...
Additionally, fix a bug where a MemoryError in allocating a bytes object could
leave the decompressor object in an invalid state (with its unconsumed_tail
member being NULL).
Patch by Serhiy Storchaka.
2012-11-11 02:24:37 +01:00
Nadeem Vawda
dd1253abdd
Issue #16350 , part 2: Set unused_data (and unconsumed_tail) correctly in decompressobj().flush().
...
Additionally, fix a bug where a MemoryError in allocating a bytes object could
leave the decompressor object in an invalid state (with its unconsumed_tail
member being NULL).
Patch by Serhiy Storchaka.
2012-11-11 02:21:22 +01:00
Nadeem Vawda
ee7889dec3
Issue #16350 , part 2: Set unused_data (and unconsumed_tail) correctly in decompressobj().flush().
...
Additionally, fix a bug where a MemoryError in allocating a bytes object could
leave the decompressor object in an invalid state (with its unconsumed_tail
member being NULL).
Patch by Serhiy Storchaka.
2012-11-11 02:14:36 +01:00
Stefan Krah
b8f09d3791
Merge 3.3.
2012-11-10 23:31:22 +01:00
Stefan Krah
6e467049c6
Accept Unicode legacy strings in the Decimal constructor.
2012-11-10 23:09:04 +01:00
Stefan Krah
4cb103ee39
Merge 3.3.
2012-11-08 11:19:55 +01:00
Stefan Krah
0f82b76b57
Issue #16431 : Finally, consider all permutations.
2012-11-08 11:17:29 +01:00
Stefan Krah
d2d3aa2038
Merge 3.3.
2012-11-07 23:54:37 +01:00
Stefan Krah
ed16eff57e
Issue #16431 : Also fix the opposite direction.
2012-11-07 23:47:19 +01:00
Stefan Krah
fc55bb1cc5
Merge 3.3.
2012-11-07 23:20:10 +01:00
Stefan Krah
f4abc7b8a0
Issue #16431 : Use the type information when constructing a Decimal subtype
...
from a Decimal argument.
2012-11-07 23:12:25 +01:00
Victor Stinner
4e7d2d481a
Issue #15478 : Oops, fix regression in os.open() on Windows
...
os.open() uses _wopen() which sets errno, not the Windows error code.
2012-11-05 01:20:58 +01:00
Nadeem Vawda
ec8c8ae7ae
Issue #16350 : Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF.
...
Patch by Serhiy Storchaka.
2012-11-05 00:40:00 +01:00
Nadeem Vawda
519f43844b
Issue #16350 : Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF.
...
Patch by Serhiy Storchaka.
2012-11-05 00:38:48 +01:00
Nadeem Vawda
39079946a2
Issue #16350 : Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF.
...
Patch by Serhiy Storchaka.
2012-11-05 00:37:42 +01:00
Andrew Svetlov
69032c81aa
Issue #16309 : Make PYTHONPATH= behavior the same as if PYTHONPATH not set at all.
...
Thanks to Armin Rigo and Alexey Kachayev.
2012-11-03 13:52:58 +02:00
Stefan Krah
43c336b107
Merge 3.3.
2012-11-02 14:49:02 +01:00
Stefan Krah
e6996ed5d9
Issue #16145 : Support legacy strings in the _csv module.
2012-11-02 14:44:20 +01:00
Antoine Pitrou
787fbe9d6b
Issue #16230 : Fix a crash in select.select() when one the lists changes size while iterated on.
...
Patch by Serhiy Storchaka.
2012-11-01 20:16:07 +01:00
Antoine Pitrou
0168d3d9b1
Issue #16230 : Fix a crash in select.select() when one the lists changes size while iterated on.
...
Patch by Serhiy Storchaka.
2012-11-01 20:15:23 +01:00
Antoine Pitrou
e4ad37e50e
Issue #16230 : Fix a crash in select.select() when one the lists changes size while iterated on.
...
Patch by Serhiy Storchaka.
2012-11-01 20:13:54 +01:00
Antoine Pitrou
53d36b6912
Issue #16228 : Fix a crash in the json module where a list changes size while it is being encoded.
...
Patch by Serhiy Storchaka.
2012-11-01 20:03:30 +01:00
Antoine Pitrou
5ebe65f8cb
Issue #16228 : Fix a crash in the json module where a list changes size while it is being encoded.
...
Patch by Serhiy Storchaka.
2012-11-01 19:59:21 +01:00
Antoine Pitrou
9f69e79c45
Issue #16228 : Fix a crash in the json module where a list changes size while it is being encoded.
...
Patch by Serhiy Storchaka.
2012-11-01 19:52:06 +01:00
Victor Stinner
afe1706457
Issue #15478 : Use source filename in OSError, not destination filename
...
And other fixes for Windows:
* rename, replace and link require arguments of the same type on Windows
* readlink only supports unicode filenames on Windows
* os.open() specifies the filename on OSError
2012-10-31 22:47:43 +01:00
Victor Stinner
b024e84597
Issue #15478 : Use path_error() in more posix functions, especially in Windows
...
implementation
2012-10-31 22:24:06 +01:00
Andrew Svetlov
4c668ed528
Merge: fix docstring for deque ctor to mark iterable parameter optional
2012-10-31 11:51:39 +02:00