Gregory P. Smith
9d3b6e9822
Fixes issue #16327 : The subprocess module no longer leaks file descriptors
...
used for stdin/stdout/stderr pipes to the child when fork() fails.
2012-11-10 22:49:03 -08:00
Gregory P. Smith
f2705aebb0
Fixes issue #14396 : Handle the odd rare case of waitpid returning 0
...
when not expected in subprocess.Popen.wait().
2012-11-10 21:13:20 -08:00
Gregory P. Smith
c1ce93a4ab
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:38:17 -08:00
Nadeem Vawda
acfdfdafa2
Fix typo in backporting fix of issue #16411 to 2.7.
2012-11-11 03:28:21 +01:00
Nadeem Vawda
3c30970d29
Issue #16411 : Fix a bug where zlib.decompressobj().flush() might try to access previously-freed memory.
...
Patch by Serhiy Storchaka.
2012-11-11 03:14:56 +01:00
Nadeem Vawda
252f4dc6c9
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:15 +01:00
Chris Jerdonek
67f089f860
Backport from 3.2: adjust set and frozenset function docs (issue #16436 ).
2012-11-09 19:12:02 -08:00
Chris Jerdonek
8523db71d7
Backport from 3.2: improve FAQ link in documentation (for issue #16435 ).
2012-11-09 18:04:00 -08:00
Chris Withers
2cc0b07a4c
Bug #16441 : avoid excessive memory usage working with large gzip files
2012-11-09 15:48:17 +00:00
Ezio Melotti
dc118790de
#13301 : use ast.literal_eval() instead of eval() in Tools/i18n/msgfmt.py. Patch by Serhiy Storchaka.
2012-11-09 11:46:19 +01:00
Ezio Melotti
090177676a
#16440 : fix exception type and clarify example.
2012-11-09 01:03:44 +02:00
Andrew Svetlov
3eb0e1da80
Issue #16439 : Fix markup in example for stdtypes.
...
Thanks to Yongzhi Pan.
2012-11-08 17:29:02 +02:00
Ezio Melotti
9b19c4bea9
#16433 : fix docstring of assertNotEqual.
2012-11-08 11:08:39 +02:00
Ezio Melotti
527b1499cc
#11481 : fix markup.
2012-11-08 11:02:58 +02:00
Ezio Melotti
b1c0e3b229
#11481 : update copy_reg docs and add example.
2012-11-08 10:59:03 +02:00
Ezio Melotti
26025d6385
#10385 : use the mod role in subprocess docs.
2012-11-08 10:07:10 +02:00
Hynek Schlawack
b271b3e188
Issue #15001 : fix segfault on "del sys.modules['__main__']"
...
Patch by Victor Stinner.
2012-11-07 09:41:28 +01:00
Nadeem Vawda
6cad3712b3
Issue #16350 : Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF.
...
Patch by Serhiy Storchaka.
2012-11-05 00:55:06 +01:00
Ezio Melotti
751a50fadc
Fix typo.
2012-11-05 00:06:50 +02:00
Ezio Melotti
c18cc0edff
#5057 : the peepholer no longer optimizes subscription on unicode literals (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds.
2012-11-05 00:03:21 +02:00
Ezio Melotti
51c374dede
#16304 : clarify match objects docs. Initial patch by Jan Duzinkiewicz.
2012-11-04 06:46:28 +02:00
Jesus Cea
93d628b378
Closes #16183 : ZipExtFile object close without file handle closed (backporting of Issue #9846 )
2012-11-04 02:32:08 +01:00
Christian Heimes
146a5fead2
Fix compilation on Windows
2012-11-03 23:07:59 +01:00
Ezio Melotti
50bc66a983
Fix a couple typos in Misc/NEWS.
2012-11-03 21:29:08 +02:00
Ezio Melotti
4e2005dc0d
Merge heads.
2012-11-03 21:18:57 +02:00
Chris Jerdonek
b9829fca71
Backport from 3.2: link to mapping glossary entry in docs.
2012-11-03 12:13:46 -07:00
Ezio Melotti
67dc4a87fc
#8401 : assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an error.
2012-11-03 21:10:45 +02:00
Ezio Melotti
ef3173877c
#12759 : sre_parse now raises a proper error when the name of the group is missing. Initial patch by Serhiy Storchaka.
2012-11-03 20:31:12 +02:00
Ezio Melotti
d1076dbef8
#4711 : break long words in the docs sidebar to avoid overflow.
2012-11-03 18:25:04 +02:00
Ezio Melotti
cfe446e4f6
Remove trailing whitespace.
2012-11-03 18:24:11 +02:00
Ezio Melotti
7d24b1698a
#16152 : fix tokenize to ignore whitespace at the end of the code when no newline is found. Patch by Ned Batchelder.
2012-11-03 17:30:51 +02:00
Georg Brandl
d7bae5e85a
Grammar touchup.
2012-11-02 07:34:37 +01:00
Andrew Svetlov
5018db76aa
Issue #1207589 : Add Cut/Copy/Paste items to IDLE right click Context Menu
...
Patch by Todd Rovito.
2012-11-01 22:39:14 +02:00
Andrew Svetlov
2c184c6d75
Reword set docs to use *proper subset/superset* terminology.
2012-11-01 21:47:05 +02:00
Antoine Pitrou
0552fc2b8a
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
e9e35c3f6b
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:07:40 +01:00
Mark Dickinson
4ca83ec72d
Issue #16377 : fix missed test due to incorrect indentation in test_bisect. Thanks Yury Selivanov.
2012-10-31 20:38:52 +00:00
Andrew Svetlov
8a9b401a7d
Issue #14900 : document added sort keys for profile stats.
2012-10-31 21:54:45 +02:00
Mark Dickinson
89e8f54045
Issue #16348 : Fix incorrect documentation for Decimal.remainder_near.
2012-10-31 19:44:09 +00:00
Benjamin Peterson
47fa4d54e8
avoid a function call with redundant checks for dict size
2012-10-31 14:22:12 -04:00
Benjamin Peterson
c40ddae84c
fix spelling
2012-10-31 14:16:09 -04:00
Benjamin Peterson
0ec820fc5f
only fast-path fromkeys() when the constructor returns a empty dict ( closes #16345 )
2012-10-31 14:05:55 -04:00
Jesus Cea
bdf1b9e267
Closes #16369 : Global PyTypeObjects not initialized with PyType_Ready(...). DOCUMENT IT!
2012-10-31 17:00:19 +01:00
R David Murray
c454fe4509
#16371 : fix up the English.
2012-10-31 10:53:13 -04:00
Andrew Svetlov
6e96e5e966
Issue #16370 : Mention Py_SetProgramName in example for very high level embedding.
2012-10-31 16:01:09 +02:00
Andrew Svetlov
227f59b29c
Fix docstring for deque ctor to mark iterable parameter optional
2012-10-31 11:50:00 +02:00
Benjamin Peterson
6da3ed63d8
initialize more global type objects ( closes #16369 )
2012-10-30 23:21:10 -04:00
Andrew Svetlov
1625d88709
Issue #16341 : convert examples to use except ... as ... syntax.
2012-10-30 21:56:43 +02:00
Petri Lehtinen
5c89c19eae
#14897 : Enhance error messages of struct.pack and struct.pack_into
...
Patch by Matti Mäki.
2012-10-29 21:20:19 +02:00
Chris Jerdonek
64c0b2ca3d
Backport from 3.2: remove "Release" and "Date" markers from index pages.
2012-10-28 11:16:36 -07:00