Commit graph

50026 commits

Author SHA1 Message Date
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
Victor Stinner
08c719eb95 (Merge 3.2) Issue #12074: regrtest displays also the current number of failures 2011-05-23 23:16:09 +02:00
Victor Stinner
a2a895c46c Issue #12074: regrtest displays also the current number of failures 2011-05-23 23:14:05 +02:00
Benjamin Peterson
7963a35b41 correctly lookup __dir__ 2011-05-23 16:11:05 -05:00
Vinay Sajip
acd902be64 Issue #12151: Correction to diagnostic code. 2011-05-23 21:49:09 +01:00
Vinay Sajip
ba980db797 Issue #12151: Added diagnostics to help diagnose intermittent socket errors. 2011-05-23 21:37:54 +01:00
Raymond Hettinger
1dc5407020 Clean-up example. 2011-05-23 12:46:20 -07:00
Raymond Hettinger
4b244ef255 Clean-up example. 2011-05-23 12:45:34 -07:00
Tarek Ziade
e1177d9d17 Issue #12125: fixed the failures under Solaris due to improper test cleanup. 2011-05-23 19:07:56 +02:00
Tarek Ziade
fabc30833f fixed the cwd cleanup in packaging test_util 2011-05-23 18:47:27 +02:00
Tarek Ziade
eb64b61bf5 make sure the cwd is restored on tearDown 2011-05-23 18:31:20 +02:00
Victor Stinner
7870bdff5a Issue #6501: os.device_encoding() returns None on Windows if the application
has no console.
2011-05-23 18:12:52 +02:00
Tarek Ziade
a1ae533ac9 make sure build_dir.build_lib is synced to the faked build location 2011-05-23 17:35:20 +02:00
Victor Stinner
d6881701fb Merge 3.2 2011-05-23 14:58:07 +02:00
Victor Stinner
b43dd4b8ca Merge 3.1 2011-05-23 14:57:05 +02:00
Victor Stinner
2cca057284 test_codecs now removes the temporay file (created by the test) 2011-05-23 14:51:42 +02:00
Victor Stinner
cc6491a0fa Issue #12105: test_posix, add the value of O_CLOEXEC in the error message 2011-05-23 12:54:52 +02:00
Victor Stinner
9b49304790 Close #12153: faulthandler, mark stack_overflow() as static 2011-05-23 12:29:10 +02:00
Gregory P. Smith
b6471db8a7 Further documentation updates to be consistent with doc standards and comments
Ezio Melotti pointed out.
2011-05-22 22:47:55 -07:00
Gregory P. Smith
a454ef6985 Update documentation to mention bytes instead byte string and correct one
mentioned string to the accurate description of what type is required.
2011-05-22 22:29:49 -07:00
Gregory P. Smith
6352298ac4 Refer to the return value on nameindex and friends as a string, not a byte
string.  The code was fixed to return strings instead of bytes and to accept
either.
2011-05-22 22:16:57 -07:00
Martin v. Löwis
abe38da6a4 merged 2011-05-23 07:04:05 +02:00
Martin v. Löwis
ad234203dd Add 3.2.1rc2 uuid. 2011-05-23 07:02:07 +02:00
Victor Stinner
949c890e48 Issue #12151: test_logging writes debug messages to stderr, not stdout
stdout are lost in buildbots
2011-05-23 01:16:44 +02:00