Commit Graph

49748 Commits

Author SHA1 Message Date
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
Victor Stinner fea0f4d517 Issue #12158: Move linux_version() from test_socket to test.support 2011-05-24 00:24:19 +02:00
Victor Stinner 25000d4d31 Issue #11377: platform.popen() emits a DeprecationWarning 2011-05-24 00:16:16 +02:00
Ezio Melotti a9100721e9 Merge heads. 2011-05-24 01:03:33 +03:00
Ezio Melotti 64af7c0d36 #12074: merge with 3.2. 2011-05-24 01:01:08 +03:00
Vinay Sajip 3ef1229b14 Issue #12151: Test now ignores datagram socket errors after server is closed. 2011-05-23 23:00:42 +01:00
Ezio Melotti 84f75c680c #12074: remove the /0 when there are no failures. 2011-05-24 01:00:10 +03:00
Benjamin Peterson 17ec7cd9ca merge 3.2 2011-05-23 16:35:12 -05:00
Benjamin Peterson bfcdcf9282 merge heads 2011-05-23 16:30:29 -05:00
Benjamin Peterson 200fe3d747 merge heads 2011-05-23 16:29:50 -05:00
Benjamin Peterson 5cc10b0009 merge 3.2 2011-05-23 16:27:36 -05:00
Benjamin Peterson f5fcd33be9 merge 3.1 2011-05-23 16:22:42 -05:00