Senthil Kumaran
5fa4a89601
Fix Issue14721: Send Content-length: 0 for empty body () in the http.client requests
2012-05-19 16:58:09 +08:00
Senthil Kumaran
15e848b076
Issue9374 - Generic parsing of query and fragment portion of urls for any scheme
2012-05-19 08:12:46 +08:00
Senthil Kumaran
1be320ebdd
Issue9374 - Generic parsing of query and fragment portion of urls for any scheme
2012-05-19 08:12:00 +08:00
Petri Lehtinen
43ae3ceab8
#14798 : pyclbr now raises ImportError instead of KeyError for missing packages
2012-05-18 21:59:49 +03:00
Petri Lehtinen
8d88604682
#14798 : pyclbr now raises ImportError instead of KeyError for missing packages
2012-05-18 21:56:36 +03:00
Petri Lehtinen
ed3639595a
Fix time.time() references in the time module docs
...
Closes #14842 .
2012-05-18 21:28:47 +03:00
Petri Lehtinen
1033b310a3
Fix time.time() references in the time module docs
...
Closes #14842 .
2012-05-18 21:22:47 +03:00
Antoine Pitrou
fa67aa0d72
Fix whitespace
2012-05-18 18:33:32 +02:00
Antoine Pitrou
ebdcd859e5
Move private function _args_from_interpreter_flags() to subprocess.py, so
...
that it can be imported when threads are disabled.
(followup to issue #12098 )
2012-05-18 18:33:07 +02:00
Martin v. Löwis
b15d1a7981
Drop double quoting again. I'm at a loss when to quote and when not.
2012-05-18 15:28:43 +02:00
Richard Oudkerk
77c84f2def
#12098 : Make multiprocessing's child processes inherit sys.flags on Windows
...
Initial patch by Sergey Mezentsev.
2012-05-18 14:28:02 +01:00
Martin v. Löwis
cca802e354
Fix typo.
2012-05-18 16:42:52 +02:00
Martin v. Löwis
e01eb4cc80
Upgrade OpenSSL to 1.0.1c
2012-05-18 16:29:33 +02:00
Martin v. Löwis
dcd1c0c627
Assume nasm.
2012-05-18 16:25:04 +02:00
Martin v. Löwis
3f90311bfe
merge 3.2
2012-05-18 15:34:22 +02:00
Martin v. Löwis
3407dfbaf9
Upgrade OpenSSL to 1.0.0j
2012-05-18 15:28:01 +02:00
Martin v. Löwis
91d5e837ca
merge 3.2
2012-05-18 14:25:54 +02:00
Martin v. Löwis
0d635aef92
merge heads
2012-05-18 14:24:09 +02:00
Martin v. Löwis
0857e4e81b
merge heads
2012-05-18 14:23:13 +02:00
Martin v. Löwis
d18c397ed6
Port to VS 2010.
2012-05-18 14:20:04 +02:00
Martin v. Löwis
207c4b686c
Merge 3.2 build_ssl changes.
2012-05-18 14:18:26 +02:00
Martin v. Löwis
e9dfb0f822
Add another set of quotes to make cmd.exe happy.
2012-05-18 14:17:43 +02:00
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