Commit graph

55743 commits

Author SHA1 Message Date
Kristján Valur Jónsson
c45ea9ebc7 Clean up the PCBuild project files, removing redundant settings and
use "references" to link to dependent projects.
Update readme and batch files.
2012-05-19 21:10:14 +00:00
Nick Coghlan
7fc570a51e Close #14588: added a PEP 3115 compliant dynamic type creation mechanism 2012-05-20 02:34:13 +10:00
Petri Lehtinen
7c5ba513b9 #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:38:43 +03:00
Petri Lehtinen
079bfc962d #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:36:33 +03:00
Ezio Melotti
ed1183db8b #14072: merge with 3.2. 2012-05-19 17:16:22 +03:00
Ezio Melotti
6709b7d5d1 #14072: Fix parsing of tel URIs in urlparse by making the check for ports stricter. 2012-05-19 17:15:19 +03:00
Hynek Schlawack
d527259f14 #13152: Allow to specify a custom tabsize for expanding tabs in textwrap
Patch by John Feuerstein.
2012-05-19 13:33:11 +02:00
Senthil Kumaran
d34b57a9a2 merge - Fix Issue14721: Send Content-length: 0 for empty body () in the http.client requests 2012-05-19 16:58:45 +08:00
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