Benjamin Peterson
b808d590a2
fix merge_collapse to actually maintain the invariant it purports to ( closes #23515 )
...
See
de Gouw, Stijn and Rot, Jurriaan and de Boer, Frank S and Bubel, Richard and Hähnle, Reiner
"OpenJDK’s java.utils.Collection.sort() is broken: The good, the bad and the worst case"
2015-02-25 10:12:26 -05:00
Victor Stinner
83704963c0
asyncio: add a note about (non) thread safety in each class
2015-02-25 14:24:15 +01:00
Victor Stinner
532c69a428
asyncio doc: begin with warnings on asyncio traps
2015-02-25 14:23:51 +01:00
Victor Stinner
615a58eaab
asyncio doc: move queues to a new page
2015-02-25 13:55:43 +01:00
Georg Brandl
7e91af3a91
Remove unsupported (in latex) character from the source.
2015-02-25 13:05:53 +01:00
Victor Stinner
b8064a8a16
asyncio doc: close explicitly event loops
2015-02-23 11:41:56 +01:00
Ned Deily
75790938a4
Issue #23499 : Fix grammar error noticed by SilentGhost
2015-02-22 16:14:32 -08:00
Serhiy Storchaka
c26a1a490f
Broke reference loops in tests added in issue #5700 .
2015-02-23 00:28:38 +02:00
Serhiy Storchaka
80a1803193
Issue #6639 : Module-level turtle functions no longer raise TclError after
...
closing the window.
2015-02-22 17:25:33 +02:00
Serhiy Storchaka
a3369a524c
Issues #814253 , #9179 : Warnings now are raised when group references and
...
conditional group references are used in lookbehind assertions in regular
expressions.
2015-02-21 12:08:52 +02:00
Serhiy Storchaka
a1543cdcd6
Issue #23215 : Multibyte codecs with custom error handlers that ignores errors
...
consumed too much memory and raised SystemError or MemoryError.
Original patch by Aleksi Torhamo.
2015-02-21 01:19:58 +02:00
Serhiy Storchaka
a3712a9a6c
Issue #5700 : io.FileIO() called flush() after closing the file.
...
flush() was not called in close() if closefd=False.
2015-02-21 00:35:09 +02:00
Serhiy Storchaka
5e3d7a401d
Issue #23374 : Fixed pydoc failure with non-ASCII files when stdout encoding
...
differs from file system encoding (e.g. on Mac OS).
2015-02-20 23:46:06 +02:00
Serhiy Storchaka
e55181f517
Issue #23490 : Fixed possible crashes related to interoperability between
...
old-style and new API for string with 2**30-1 characters.
2015-02-20 21:34:06 +02:00
Berker Peksag
babc688180
Issue #23439 : Add missing entries to http.client.__all__.
...
Also, document the LineTooLong exception since it can be raised by
the members of public API (e.g. http.client.HTTPResponse).
Patch by Martin Panter.
2015-02-20 09:39:38 +02:00
Zachary Ware
56dee1e463
Fix typo pointed out on docs@ by Yaniv Sayeh
2015-02-19 22:30:15 -06:00
Zachary Ware
57c616f1e4
Fix a typo pointed out on docs@
2015-02-19 22:15:36 -06:00
Benjamin Peterson
500af332f4
remove rc4 from the default client ciphers ( closes #23481 )
2015-02-19 17:57:08 -05:00
Benjamin Peterson
6a2c4a1a29
merge heads
2015-02-18 08:56:33 -05:00
Benjamin Peterson
76e37b1b8a
merge 3.3
2015-02-18 08:55:38 -05:00
Benjamin Peterson
03f8612562
merge 3.2
2015-02-18 08:54:22 -05:00
Benjamin Peterson
893cce921c
remove RPM, since it's unused and unmaintained
2015-02-18 08:52:46 -05:00
Serhiy Storchaka
095458596d
Issue #23474 : Enhanced locale testing.
2015-02-18 08:04:37 +02:00
Benjamin Peterson
70e2847347
document the requestline and close_connection attributes, use real booleans, and add tests ( closes #23410 )
...
Patch by Martin Panter.
2015-02-17 21:11:10 -05:00
Victor Stinner
e7a2f64435
asyncio: Fix warning in test_close_kill_running()
...
Read process exit status to avoid the "Caught subprocess termination from
unknown pid" message.
2015-02-17 23:36:02 +01:00
Victor Stinner
f91d845797
asyncio, Tulip issue 220: Update doc of asyncio.Queue, add join and task_done
...
methods
2015-02-17 23:09:52 +01:00
Victor Stinner
e170ed27c6
asyncio doc: fix the sphinx extension for coroutine commands
2015-02-17 23:08:35 +01:00
Victor Stinner
4088ad9dce
Issue #23475 , asyncio: Fix test_close_kill_running()
...
Really kill the child process, don't mock completly the Popen.kill() method.
This change fix memory leaks and reference leaks.
2015-02-17 22:54:11 +01:00
Victor Stinner
4cb814c7e1
asyncio, Tulip issue 220: Merge JoinableQueue with Queue.
...
Merge JoinableQueue with Queue. To more closely match the standard Queue,
asyncio.Queue has "join" and "task_done". JoinableQueue is deleted.
Docstring for Queue.join shouldn't mention threads.
Restore JoinableQueue as a deprecated alias for Queue. To more closely match
the standard Queue, asyncio.Queue has "join" and "task_done". JoinableQueue
remains as a deprecated alias for Queue to avoid needlessly breaking too much
code that depended on it.
Patch written by A. Jesse Jiryu Davis <jesse@mongodb.com>.
2015-02-17 22:53:28 +01:00
Victor Stinner
4e82fb99a0
asyncio: BaseSubprocessTransport: repr() mentions when the child process is
...
running
2015-02-17 22:50:33 +01:00
Serhiy Storchaka
df0db49b1b
Issue #22883 : Update PyInt to PyLong in C API example.
2015-02-17 10:18:44 +02:00
Benjamin Peterson
54237f9fea
fix pydoc.apropos and pydoc.synopsis on modules with empty docstrings ( #21548 )
...
Patch by Yuyang Guo and Berker Peksag.
2015-02-16 19:45:01 -05:00
Serhiy Storchaka
3584056ca5
Shoould be Py_MIN, not Py_MAX.
2015-02-16 20:54:03 +02:00
Serhiy Storchaka
1a1ff29659
Issue #23446 : Use PyMem_New instead of PyMem_Malloc to avoid possible integer
...
overflows. Added few missed PyErr_NoMemory().
2015-02-16 13:28:22 +02:00
Berker Peksag
e1efc07a30
Issue #17753 : effective_ids unavailable on Windows.
2015-02-16 04:36:18 +02:00
Berker Peksag
4d6c6063bf
Fix typo in os.supports_effective_ids documentation.
2015-02-16 03:36:10 +02:00
Serhiy Storchaka
74eb8b2d1a
Issue #22885 : Fixed arbitrary code execution vulnerability in the dbm.dumb
...
module. Original patch by Claudiu Popa.
2015-02-16 00:30:43 +02:00
Antoine Pitrou
57fffd6f99
Issue #23146 : Fix mishandling of absolute Windows paths with forward slashes in pathlib.
...
Detected and fixed by Serhiy.
2015-02-15 18:03:59 +01:00
Serhiy Storchaka
0aa74e10bb
Issue #19681 : Test the repr of partial with more than one keyword argument.
2015-02-15 16:20:47 +02:00
Serhiy Storchaka
fa310ee3a9
Use pickled data compatible with Python 2 for testing protocols 0-2.
2015-02-15 14:10:03 +02:00
Serhiy Storchaka
56abe39052
Merge heads
2015-02-15 14:02:15 +02:00
Serhiy Storchaka
85c3033670
Use os.devnull instead of hardcoded '/dev/null'.
2015-02-15 13:58:23 +02:00
Berker Peksag
3cd30c2cee
Issue #13637 : Improve exception message of a2b_* functions.
...
Patch by Vajrasky Kok.
2015-02-15 00:31:00 +02:00
Berker Peksag
50ef8a8e67
Issue #13637 : Remove outdated versionchanged directives.
...
Patch by Martin Panter.
2015-02-15 00:05:42 +02:00
Serhiy Storchaka
db724fe994
Issue #17753 : Skip test_zipfile tests which require write access to test
...
and email.test.
2015-02-14 23:04:35 +02:00
Serhiy Storchaka
6b688d8162
Issue #22844 : Fized test_gdb failure on Debian Wheezy for Z.
...
Patch by David Edelsohn.
2015-02-14 22:44:35 +02:00
Benjamin Peterson
2476b98acf
avoid reading unallocated memory when argc == 0 ( closes #22633 )
2015-02-14 15:16:32 -05:00
Berker Peksag
366c570d1f
Issue #23418 : Add missing entries to http.server.__all__.
...
Patch by Martin Panter.
2015-02-13 20:48:15 +02:00
Serhiy Storchaka
a25c542c47
Issue #21849 : Ported from 2.7 tests for non-ASCII data.
2015-02-13 15:13:33 +02:00
Victor Stinner
bdd574d09a
asyncio doc: annotate coroutine on coroutine functions and methods
2015-02-12 22:49:18 +01:00