Victor Stinner
fd8211372d
Fast path for IncrementalNewlineDecoder.decode() in io.TextIOWrapper.read(-1)
...
Copy/paste code from textiowrapper_read_chunk().
2011-05-25 22:01:33 +02:00
Senthil Kumaran
242926d227
merge commit.
2011-05-26 00:26:32 +08:00
Senthil Kumaran
656ce500a6
News entry for issue11109.
2011-05-26 00:24:38 +08:00
Senthil Kumaran
5e826e8a1b
Fix closes issue #11109 - socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass.
...
A new method called service_action is made available in BaseServer, called by
serve_forever loop. This useful in cases where Mixins can use it for cleanup
action. ForkingMixin class uses service_action to collect the zombie child
processes. Initial Patch by Justin Wark.
2011-05-26 00:22:59 +08:00
Antoine Pitrou
b46004c94f
Issue #12045 : Avoid duplicate execution of command in ctypes.util._get_soname().
...
Patch by Sijin Joseph.
2011-05-25 18:17:25 +02:00
Benjamin Peterson
dac9acedfd
test that object has a __dir__() implementation
2011-05-25 09:33:37 -05:00
Benjamin Peterson
04778a8150
make PyImport_ImportModuleLevel's first arg const like similiar functions ( closes #12173 )
2011-05-25 09:29:00 -05:00
Benjamin Peterson
8a021009ea
wrap at 80 chars
2011-05-25 09:27:43 -05:00
Benjamin Peterson
81b21d7766
test values and types of (True/False).(imag/real)
2011-05-25 09:21:46 -05:00
Victor Stinner
c58140c557
Issue #12049 : cleanup the warning in the random module doc
2011-05-25 13:13:55 +02:00
Victor Stinner
a675206366
Issue #12049 : Document errors cases of ssl.RAND_bytes() and
...
ssl.RAND_pseudo_bytes(). Add also links to RAND_status and RAND_add.
2011-05-25 11:27:40 +02:00
Victor Stinner
2e2baa9208
Issue #12049 : test_ssl now checks also that RAND_bytes() raises an error if
...
there is not enough entropy.
2011-05-25 11:15:16 +02:00
Victor Stinner
c13ef66649
Issue #8407 : Fix the signal handler of the signal module: if it is called
...
twice, it now writes the number of the second signal into the wakeup fd.
2011-05-25 02:35:58 +02:00
Benjamin Peterson
b45c7087aa
excellent place for assertRaises
2011-05-24 19:31:01 -05:00
Victor Stinner
be6210363e
Issue #8533 : regrtest replaces also sys.stdout on Windows
...
Replace sys.stdout to use backslashreplace. Use '\n' newline on all operating
systems.
2011-05-25 02:01:55 +02:00
Victor Stinner
6daa33c8ac
Issue #10818 : Remove deprecated pydoc.serve() function
...
The pydoc module has a new enhanced web server.
2011-05-25 01:41:22 +02:00
Victor Stinner
383c3fc6b4
Issue #10818 : Remove the Tk GUI of the pydoc module (pydoc -g has been
...
deprecated in Python 3.2).
2011-05-25 01:35:05 +02:00
Victor Stinner
c520a1856f
(Merge 3.2) Issue #12057 : Add cjkencodings directory to the Makefile and
...
Tools/msi/msi.py
2011-05-25 01:16:49 +02:00
Victor Stinner
5b3265906f
(Merge 3.1) Issue #12057 : Add cjkencodings directory to the Makefile and
...
Tools/msi/msi.py
2011-05-25 01:15:59 +02:00
Victor Stinner
46f8264b8e
Issue #12057 : Add cjkencodings directory to the Makefile and Tools/msi/msi.py
2011-05-25 01:13:59 +02:00
Nadeem Vawda
f1a1af21eb
Fix typo in bz2 module.
2011-05-25 00:32:08 +02:00
Victor Stinner
62666e1db1
(Merge 3.2) Issue #12057 : Add tests for the HZ encoding
2011-05-25 00:17:13 +02:00
Victor Stinner
8ed8416c2b
(Merge 3.1) Issue #12057 : Add tests for the HZ encoding
2011-05-25 00:16:43 +02:00
Victor Stinner
8fdfc20fc4
Issue #12057 : Add tests for the HZ encoding
2011-05-25 00:06:51 +02:00
Charles-François Natali
1f4560c872
Issue #1441530 : In imaplib, read the data in one chunk to speed up large
...
reads and simplify code.
2011-05-24 23:47:49 +02:00
Victor Stinner
17dc81951a
(Merge 3.2) Issue #12070 : Fix the Makefile parser of the sysconfig module to
...
handle correctly references to "bogus variable" (e.g. "prefix=$/opt/python").
2011-05-24 23:38:03 +02:00
Victor Stinner
1273b7cd9c
Issue #12070 : Fix the Makefile parser of the sysconfig module to handle
...
correctly references to "bogus variable" (e.g. "prefix=$/opt/python").
2011-05-24 23:37:07 +02:00
Victor Stinner
eb734f77ad
(Merge 3.2) Issue #12100 : Don't reset incremental encoders of CJK codecs at
...
each call to their encode() method anymore, but continue to call the reset()
method if the final argument is True.
2011-05-24 22:24:11 +02:00
Victor Stinner
d48ba0bde5
(Merge 3.1) Issue #12100 : Don't reset incremental encoders of CJK codecs at
...
each call to their encode() method anymore, but continue to call the reset()
method if the final argument is True.
2011-05-24 22:22:17 +02:00
Victor Stinner
6bcbef7da0
Issue #12100 : Don't reset incremental encoders of CJK codecs at each call to
...
their encode() method anymore, but continue to call the reset() method if the
final argument is True.
2011-05-24 22:17:55 +02:00
Victor Stinner
19fb53c119
Issue #12049 : improve RAND_bytes() and RAND_pseudo_bytes() documentation
...
Add also a security warning in the module random pointing to ssl.RAND_bytes().
2011-05-24 21:32:40 +02:00
Benjamin Peterson
abf22b405f
merge 3.2
2011-05-24 12:51:32 -05:00
Benjamin Peterson
e6a06217d2
merge 3.1
2011-05-24 12:51:24 -05:00
Benjamin Peterson
f847393308
backout 8b384de4e780, so a proper fix can be considered ( #5715 )
2011-05-24 12:50:34 -05:00
Benjamin Peterson
c7284122be
indicate return value on __dir__ methods
2011-05-24 12:46:15 -05:00
Benjamin Peterson
1fdcf0e4b1
merge 3.2
2011-05-24 12:45:33 -05:00
Benjamin Peterson
17658a1ca0
merge 3.1
2011-05-24 12:44:26 -05:00
Benjamin Peterson
fbe56bb8bd
use '->' to indicate return values
2011-05-24 12:42:51 -05:00
Benjamin Peterson
9b325b0ace
merge 3.2
2011-05-24 12:09:47 -05:00
Benjamin Peterson
48e21fc46f
merge 3.1
2011-05-24 12:09:26 -05:00
Benjamin Peterson
a7cdb0f218
generally, sockets should be closed after they're used
2011-05-24 12:06:31 -05:00
Charles-François Natali
247b52bdec
Issue #5715 : In socketserver, close the server socket in the child process.
2011-05-24 18:29:46 +02:00
Charles-François Natali
cf057597e6
Issue #5715 : In socketserver, close the server socket in the child process.
2011-05-24 18:27:25 +02:00
Charles-François Natali
7b54e7562d
Issue #5715 : In socketserver, close the server socket in the child process.
2011-05-24 18:23:15 +02:00
Benjamin Peterson
82b00c1d30
move specialized dir implementations into __dir__ methods ( closes #12166 )
2011-05-24 11:09:06 -05:00
Victor Stinner
9bcfacd4fc
Issue #12167 : packaging.tests.test_dist unloads the temporary module
...
Fix a reference leak.
2011-05-24 14:01:39 +02:00
Victor Stinner
79d1b1ce3f
Issue #12167 : packaging.tests.support, LoggingCatcher restores correctly the
...
log level. Avoid also calls to .addCleanup() in setUp().
2011-05-24 13:59:21 +02:00
Victor Stinner
99c8b16143
Issue #12049 : Add RAND_bytes() and RAND_pseudo_bytes() functions to the ssl
...
module.
2011-05-24 12:05:19 +02:00
Vinay Sajip
b7b1930fe3
Updated test_rollover delay to just over a second.
2011-05-24 07:12:41 +01:00
Victor Stinner
e36f37525b
Issue #12105 : test_posix skips test_oscloexec() on Linux < 2.6.23
2011-05-24 00:29:43 +02:00