Martin v. Löwis
71f3f92262
Fetch openssl directory from pyproject.vsprops.
2012-05-18 14:16:53 +02:00
Antoine Pitrou
fc6acccbaf
Remove outdated statements about threading and imports.
2012-05-18 13:57:04 +02:00
Antoine Pitrou
79341e7865
Add a mention of the new import locks in whatsnew.
2012-05-17 21:13:45 +02:00
Antoine Pitrou
62110c769f
Merge
2012-05-17 21:04:49 +02:00
Antoine Pitrou
314a16b0ec
Make the test completely clean up after itself.
2012-05-17 21:02:54 +02:00
Ross Lagerwall
468ff4c3ed
Issue #13031 : Small speed-up for tarfile when unzipping tarfiles.
...
Patch by Justin Peel.
2012-05-17 19:49:27 +02:00
Antoine Pitrou
6c6d3a2f9f
Move import lock-related functions to a separate doc section.
2012-05-17 19:00:35 +02:00
Antoine Pitrou
ea3eb88bca
Issue #9260 : A finer-grained import lock.
...
Most of the import sequence now uses per-module locks rather than the
global import lock, eliminating well-known issues with threads and imports.
2012-05-17 18:55:59 +02:00
Antoine Pitrou
5cec9d2ae5
Add mention of decoding optimizations in the what's new document.
2012-05-17 17:37:02 +02:00
R David Murray
dd95974509
#14823 : Simplify threading.Lock.acquire argument discussion.
2012-05-17 09:14:28 -04:00
R David Murray
f7a6615719
#14823 : Simplify threading.Lock.acquire argument discussion.
2012-05-17 09:13:30 -04:00
Stefan Krah
f398a94818
Issue 14813: Fix Visual Studio 2008 build after the move into the PC/VS9.0
...
directory.
2012-05-17 00:21:57 +02:00
Antoine Pitrou
de9ac6c2e5
Issue #14780 : urllib.request.urlopen() now has a `cadefault` argument to use the default certificate store.
...
Initial patch by James Oakley.
2012-05-16 21:40:01 +02:00
Stefan Krah
5d953184a6
Issue #14779 : Get sizeof(void *) directly rather than relying on sysconfig.
2012-05-16 20:41:56 +02:00
Stefan Krah
e34a209584
Fix Visual Studio warning.
2012-05-16 20:20:03 +02:00
Stefan Krah
696d10f1bb
Changes in _mpd_qexp():
...
-----------------------
1) Reduce the number of iterations in the Horner scheme for operands with
a negative adjusted exponent. Previously the number was overestimated
quite generously.
2) The function _mpd_get_exp_iterations() now has an ACL2 proof and
is rewritten accordingly.
3) The proof relies on abs(op) > 9 * 10**(-prec-1), so operands without
that property are now handled by the new function _mpd_qexp_check_one().
4) The error analysis for the evaluation of the truncated Taylor series
in Hull&Abrham's paper relies on the fact that the reduced operand
'r' has fewer than context.prec digits.
Since the operands may have more than context.prec digits, a new ACL2
proof covers the case that r.digits > context.prec. To facilitate the
proof, the Horner step now uses fma instead of rounding twice in
multiply/add.
Changes in mpd_qexp():
----------------------
1) Fix a bound in the correct rounding loop that was too optimistic. In
practice results were always correctly rounded, because it is unlikely
that the error in _mpd_qexp() ever reaches the theoretical maximum.
2012-05-16 20:10:21 +02:00
Hynek Schlawack
07542a0629
#14692 Fix json docs to reflect changes in json.load
...
The behaviour of the parse_constant callback changed insofar that 'null',
'true', 'false' don't trigger its call anymore.
Patch by Serhiy Storchaka
2012-05-16 19:08:36 +02:00
Hynek Schlawack
9729fd4427
#14692 Fix json docs to reflect changes in json.load
...
The behaviour of the parse_constant callback changed insofar that 'null',
'true', 'false' don't trigger its call anymore.
Patch by Serhiy Storchaka
2012-05-16 19:01:04 +02:00
Antoine Pitrou
019ff19c39
Issue #14693 : Under non-Windows platforms, hashlib's fallback modules are always compiled, even if OpenSSL is present at build time.
2012-05-16 16:41:26 +02:00
Giampaolo Rodola'
26fd8feb5e
merge heads
2012-05-16 16:03:07 +02:00
Giampaolo Rodola'
e126678216
#14807 : fix BB failures on Windows - avoid to to rely too many details of the mode string.
2012-05-16 16:01:59 +02:00
Antoine Pitrou
7ca29507f6
Forward port additional tests from 2.7 (issue #14829 ).
2012-05-16 15:06:00 +02:00
Antoine Pitrou
fb5b954ee0
Forward port additional tests from 2.7 (issue #14829 ).
2012-05-16 15:01:40 +02:00
Antoine Pitrou
b3c16fb040
More .hgignore additions for new VS build files
2012-05-16 14:42:38 +02:00
Antoine Pitrou
b7d033db78
Issue #14829 : Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows.
...
(untested, because of Windows build issues under 3.x)
2012-05-16 14:39:36 +02:00
Antoine Pitrou
a103b96a80
Issue #14829 : Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows.
2012-05-16 14:37:54 +02:00
Antoine Pitrou
b84bc7a7ce
Avoid "warning: no newline at end of file" in importlib.h.
2012-05-16 12:58:04 +02:00
Antoine Pitrou
32bc80c523
Fix build failure.
2012-05-16 12:51:55 +02:00
Antoine Pitrou
e7672d38dc
Issue #14732 : The _csv module now uses PEP 3121 module initialization.
...
Patch by Robin Schreiber.
2012-05-16 11:33:08 +02:00
Antoine Pitrou
adbda17660
Update .hgignore for new MSVC files
2012-05-16 11:31:13 +02:00
Eric V. Smith
5cdc6308b6
Cleanup so subsequent tests won't fail. Needs to be moved into a support routine (see 14715).
2012-05-16 04:48:04 -04:00
Hynek Schlawack
51b2ed51f0
#14809 : Add HTTP status codes from RFC 6585 to http.server and http.client
...
Patch by EungJun Yi.
2012-05-16 09:51:07 +02:00
Eric V. Smith
313fbe2106
Merge from 3.2.
2012-05-16 04:49:22 -04:00
R David Murray
a32df1e0e6
merge #1440472 : reflow
2012-05-15 22:13:55 -04:00
R David Murray
28e68ea6ea
#1440472 : reflow
2012-05-15 22:13:29 -04:00
R David Murray
b3ad106dca
merge #1440472 : Explain that email parser/generator isn't *quite* "idempotent"
2012-05-15 22:09:14 -04:00
R David Murray
ea1badbfef
#1440472 : Explain that email parser/generator isn't *quite* "idempotent"
2012-05-15 22:07:52 -04:00
Ned Deily
a0082788e4
Issue #14777 : merge
2012-05-15 18:13:02 -07:00
Ned Deily
4d377d98a1
Issue #14777 : In an X11 windowing environment, tkinter may return
...
undecoded UTF-8 bytes as a string when accessing the Tk clipboard.
Modify clipboad_get() to first request type UTF8_STRING when no
specific type is requested in an X11 windowing environment, falling
back to the current default type STRING if that fails.
Original patch by Thomas Kluyver.
2012-05-15 18:08:11 -07:00
Eric V. Smith
c8e106babb
Merge from 3.2.
2012-05-15 20:46:06 -04:00
Eric V. Smith
a790c9b6d6
Issue #14817 : Add rudimentary tests for pkgutil.extend_path.
2012-05-15 20:44:06 -04:00
Antoine Pitrou
63065d761e
Issue #14624 : UTF-16 decoding is now 3x to 4x faster on various inputs.
...
Patch by Serhiy Storchaka.
2012-05-15 23:48:04 +02:00
Giampaolo Rodola'
12ea86adce
merge heads
2012-05-15 22:21:01 +02:00
Giampaolo Rodola'
b28df76ee2
#14807 : fix bb failure due to symlink test relying on hard-coded permissions
2012-05-15 22:20:10 +02:00
Charles-François Natali
9b704ec9e1
Add versionadded for hmac.secure_compare().
2012-05-15 21:00:32 +02:00
Martin v. Löwis
c0181eb449
Stop including gzio in the build; it's not used.
2012-05-15 20:04:25 +02:00
Benjamin Peterson
f4ec88e45a
merge heads
2012-05-15 10:11:33 -07:00
Benjamin Peterson
77fa9379e2
use Py_ssize_t for ast sequence lengths
2012-05-15 10:10:27 -07:00
Hynek Schlawack
39bf90d319
Add two more sorts to test_os.WalkTests I've missed before
2012-05-15 18:40:17 +02:00
Senthil Kumaran
c5f31ed63d
merge heads
2012-05-16 00:07:24 +08:00