Antoine Pitrou
2d843d2520
Issue #13812 : When a multiprocessing Process child raises an exception, flush stderr after printing the exception traceback.
2012-01-27 10:53:35 +01:00
Antoine Pitrou
84a0fbf6b0
Issue #13812 : When a multiprocessing Process child raises an exception, flush stderr after printing the exception traceback.
2012-01-27 10:52:37 +01:00
Antoine Pitrou
e10ae8871a
Clarify that ssl.OP_ALL can be different from OpenSSL's SSL_OP_ALL.
2012-01-27 10:03:23 +01:00
Antoine Pitrou
9f6b02ecde
Clarify that ssl.OP_ALL can be different from OpenSSL's SSL_OP_ALL.
2012-01-27 10:02:55 +01:00
Antoine Pitrou
9e2e5329dc
Issue #13885 : CVE-2011-3389: the _ssl module would always disable the CBC IV attack countermeasure.
2012-01-27 09:53:29 +01:00
Antoine Pitrou
3f366314e8
Issue #13885 : CVE-2011-3389: the _ssl module would always disable the CBC IV attack countermeasure.
2012-01-27 09:50:45 +01:00
Antoine Pitrou
f2bf8a6ac5
Issue #13885 : CVE-2011-3389: the _ssl module would always disable the CBC IV attack countermeasure.
2012-01-27 09:48:47 +01:00
Brett Cannon
c9f71481d4
Merge
2012-01-26 19:09:44 -05:00
Brett Cannon
51d14f8e56
Relocate importlib._case_ok to importlib._bootstrap.
...
This required updating the code to use posix instead of os. This is
all being done to make bootstrapping easier to removing dependencies
that are kept in importlib.__init__ and thus outside of the single
file to bootstrap from.
2012-01-26 19:03:52 -05:00
Victor Stinner
53d3645f95
Issue #13847 : Make test_localtime_failure() more robust
...
Skip the test if we are unable to find an invalid time_t value.
2012-01-27 01:03:25 +01:00
Victor Stinner
2cbae98ea4
Issue #13847 : Fix test_mktime(), time.localtime() now raises OSError
2012-01-27 00:50:33 +01:00
Victor Stinner
85fdfa85e1
Issue #13847 : time.clock() now raises a RuntimeError if the processor time used
...
is not available or its value cannot be represented
2012-01-27 00:38:48 +01:00
Brett Cannon
722db7bdba
merge
2012-01-26 18:36:08 -05:00
Brett Cannon
e9cd900585
Merge
2012-01-26 18:34:34 -05:00
Brett Cannon
fc70cbcb9a
Issue #13883 : PYTHONCASEOK also works with OS X.
2012-01-26 18:30:52 -05:00
Brett Cannon
1740afded1
Issue #13883 : Document all platforms PYTHONCASEOK works on.
2012-01-26 18:29:06 -05:00
Victor Stinner
c1b5d34ede
Issue #13847 : time.localtime() and time.gmtime() now raise an OSError instead
...
of ValueError on failure. time.ctime() and time.asctime() now raises an
OSError if localtime() failed.
2012-01-27 00:08:48 +01:00
Meador Inge
c9e7ef7d70
- Issue #13840 : Fix ctypes.create_string_buffer exception message and docs.
2012-01-26 08:47:27 -06:00
Meador Inge
65992c1c01
- Issue #13840 : Fix ctypes.create_string_buffer exception message and docs.
2012-01-26 08:44:00 -06:00
Brett Cannon
7f2b576875
Merge
2012-01-26 08:58:19 -05:00
Raymond Hettinger
4fd3f0c850
Merge
2012-01-26 00:15:07 -08:00
Raymond Hettinger
eaac4f0d30
Issue 13870: Fix out of date comment.
2012-01-26 00:14:16 -08:00
Brett Cannon
c264e3ee20
Move some code from importlib.__init__ to importlib._bootstrap that
...
does not need to be exposed from C code for bootstrapping reasons.
2012-01-25 18:58:03 -05:00
Victor Stinner
a3dd409b52
Remove now useless arbitrary limit of module name length
2012-01-26 00:31:49 +01:00
Georg Brandl
b0f30c9891
merge with 3.2
2012-01-25 22:36:43 +01:00
Georg Brandl
6c89a79d55
#13852 : some small doc fixes.
2012-01-25 22:36:25 +01:00
Benjamin Peterson
4f99ce9470
merge heads
2012-01-25 16:32:36 -05:00
Benjamin Peterson
a5f6d0e030
merge 3.2
2012-01-25 16:31:56 -05:00
Benjamin Peterson
b4b0b354dd
kill extra word
2012-01-25 16:30:18 -05:00
Benjamin Peterson
e9fca253d0
say bitwise (because I have no idea what a bit-string is)
2012-01-25 16:29:03 -05:00
Nadeem Vawda
131c7079d3
Issue #13862 : Relax zlib version test to avoid spurious failures.
2012-01-25 23:16:50 +02:00
Vinay Sajip
9b727eca26
Closes #13859 : Merged fix from 3.2 - thanks to Matt Joiner for spotting this and the patch.
2012-01-25 17:49:45 +00:00
Vinay Sajip
a50c284076
Closes #13859 : Replaced reference to StandardError with reference to Exception. Thanks to Matt Joiner for spotting this and submitting a patch.
2012-01-25 17:41:13 +00:00
Antoine Pitrou
581616624d
Port import fixes from 2.7.
2012-01-25 18:06:07 +01:00
Antoine Pitrou
33d15f7c85
Port import fixes from 2.7.
2012-01-25 18:01:45 +01:00
Nadeem Vawda
61baebd0e1
Issue #12804 : Fix test failures on systems without internet access.
2012-01-25 08:02:05 +02:00
Nadeem Vawda
a58c01ba48
Remove redundant resource check in test_socket.
2012-01-25 06:48:47 +02:00
Antoine Pitrou
157c1263a2
Port remaining test fixes, and fix test_importlib too.
2012-01-25 03:01:34 +01:00
Antoine Pitrou
dd21f68963
Port remaining test fixes, and fix test_importlib too.
2012-01-25 03:00:57 +01:00
Antoine Pitrou
05f29b7a3a
Make test work under 32-bit systems, and when invoked through Lib/test/regrtest.py
...
(rather than `-m test.regrtest`)
2012-01-25 01:35:26 +01:00
Antoine Pitrou
abaf89b2be
Issue #11235 : Fix OverflowError when trying to import a source file whose modification time doesn't fit in a 32-bit timestamp.
2012-01-24 17:45:50 +01:00
Antoine Pitrou
2be60afb7e
Issue #11235 : Fix OverflowError when trying to import a source file whose modification time doesn't fit in a 32-bit timestamp.
2012-01-24 17:44:06 +01:00
Benjamin Peterson
a10999d55c
merge 3.2
2012-01-24 09:07:15 -05:00
Benjamin Peterson
7fa5a99b06
merge heads
2012-01-24 09:07:06 -05:00
Benjamin Peterson
8485ad1410
merge heads
2012-01-24 09:06:45 -05:00
Antoine Pitrou
91ecea24f5
Issue #13772 : In os.symlink() under Windows, do not try to guess the link
...
target's type (file or directory). The detection was buggy and made the
call non-atomic (therefore prone to race conditions).
2012-01-24 09:05:18 +01:00
Antoine Pitrou
5311c1d7ab
Issue #13772 : In os.symlink() under Windows, do not try to guess the link
...
target's type (file or directory). The detection was buggy and made the
call non-atomic (therefore prone to race conditions).
2012-01-24 08:59:28 +01:00
Victor Stinner
09406023a8
Sort functions in the doc of the time module
...
Move wallclock() at the end.
2012-01-24 01:12:54 +01:00
Victor Stinner
4ccc727793
Issue #10278 : wallclock() cannot go backward, but two consecutive calls
...
may return the same time.
2012-01-23 23:48:41 +01:00
Amaury Forgeot d'Arc
6d766fc3fa
Silence last compilation warning.
2012-01-23 23:20:43 +01:00