Commit graph

90056 commits

Author SHA1 Message Date
Steve Dower
32f64d03e4 Fixes rebuild of strings for Windows installer. 2015-07-05 07:24:47 -07:00
Steve Dower
d423396394 Fixes rebuild of strings for Windows installer. 2015-07-05 07:24:17 -07:00
Benjamin Peterson
3e7f3c032f merge 3.5 2015-07-04 22:53:55 -05:00
Benjamin Peterson
191a8f0a34 merge heads 2015-07-04 22:53:45 -05:00
Benjamin Peterson
a111271ba7 merge 3.4 2015-07-04 22:53:37 -05:00
Benjamin Peterson
63eaf7b73d merge heads 2015-07-04 22:53:11 -05:00
Benjamin Peterson
1da0612e70 merge heads 2015-07-04 22:52:33 -05:00
Benjamin Peterson
d34c246baf merge 3.5 (#24407) 2015-07-04 19:59:50 -05:00
Benjamin Peterson
e54d5321cc merge 3.4 (#24407) 2015-07-04 19:59:24 -05:00
Benjamin Peterson
2a48a6eb33 merge 3.3 (#24407) 2015-07-04 19:58:11 -05:00
Benjamin Peterson
a82f77fb00 protect against mutation of the dict during insertion (closes #24407) 2015-07-04 19:55:16 -05:00
Raymond Hettinger
ac2ef65c32 Make the unicode equality test an external function rather than in-lining it.
The real benefit of the unicode specialized function comes from
bypassing the overhead of PyObject_RichCompareBool() and not
from being in-lined (especially since there was almost no shared
data between the caller and callee).  Also, the in-lining was
having a negative effect on code generation for the callee.
2015-07-04 16:04:44 -07:00
Ned Deily
7fe0507d07 Issue #24330: merge from 3.5 2015-07-04 15:06:43 -07:00
Ned Deily
2e770ce9a0 Issue #24330: merge from 3.4 2015-07-04 15:06:21 -07:00
Ned Deily
f1ce6deb41 Issue #24330: Update IDLE doc and help to note "Configure IDLE" difference
on OS X.  Original patch by André Freitas.
2015-07-04 15:05:07 -07:00
R David Murray
fb85509242 Merge: #24584: replace dead link with pointer to archive.org. 2015-07-04 15:46:14 -04:00
R David Murray
ac4f550bfc Merge: #24584: replace dead link with pointer to archive.org. 2015-07-04 15:45:41 -04:00
R David Murray
a1005ed1aa #24584: replace dead link with pointer to archive.org. 2015-07-04 15:44:14 -04:00
Steve Dower
7bcf919f47 Ignore user environment/site-packages for ensurepip and compile_all
Remove build condition to prevent old strings hanging around
Add -h option to build.bat
2015-07-04 11:48:59 -07:00
Steve Dower
06606e7165 Ignore user environment/site-packages for ensurepip and compile_all
Remove build condition to prevent old strings hanging around
Add -h option to build.bat
2015-07-04 11:48:37 -07:00
Raymond Hettinger
e186c7674c Make sure the dummy percentage calculation won't overflow. 2015-07-04 11:28:35 -07:00
Raymond Hettinger
c2480dc0c4 Minor cleanup. 2015-07-04 08:46:31 -07:00
Ned Deily
28e15efce6 Updates to the OS X installer (merge from 3.5) 2015-07-03 23:55:23 -07:00
Ned Deily
1b7f6fedb3 Updates to the OS X installer for 3.5.0b3:
- update installer ReadMe file
- suppress installer per-file byte-compilation messages to system log
- speed up installer byte-compilation
- isolate ensurepip install from user site-packages
2015-07-03 23:53:51 -07:00
Ned Deily
a84e1e929f Issue #24432: merge from 3.5 2015-07-03 23:47:02 -07:00
Ned Deily
704dde196c Issue #24432: Update OS X 10.5+ installer builds to use OpenSSL 1.0.2c. 2015-07-03 23:43:22 -07:00
Raymond Hettinger
b322326f48 Minor nit: Make the style of checking error return values more consistent. 2015-07-03 23:37:16 -07:00
Ned Deily
0454d48e02 Issue #24432: Update OS X 10.5+ installer builds to use OpenSSL 1.0.2c. 2015-07-03 23:35:00 -07:00
Raymond Hettinger
4897300276 Minor factoring: move redundant resize scaling logic into the resize function. 2015-07-03 20:00:03 -07:00
Raymond Hettinger
3c1f52e829 Call set_lookkey() directly to avoid unnecessary memory spills and reloads. 2015-07-03 18:31:09 -07:00
Raymond Hettinger
15f0869609 Move insertion resize logic into set_insert_key().
Simplifies the code a little bit and does the resize check
only when a new key is added (giving a small speed up in
the case where the key already exists).

Fixes possible bug in set_merge() where the set_insert_key()
call relies on a big resize at the start to make enough room
for the keys but is vulnerable to a comparision callback that
could cause the table to shrink in the middle of the merge.

Also, changed the resize threshold from two-thirds of the
mask+1 to just two-thirds.  The plus one offset gave no
real benefit (afterall, the two-thirds mark is just a
heuristic and isn't a precise cut-off).
2015-07-03 17:21:17 -07:00
Steve Dower
df418b67ab Issue #24432: Update Windows builds to use OpenSSL 1.0.2c. 2015-07-03 15:17:17 -07:00
Steve Dower
f92673c254 Issue #24432: Update Windows builds to use OpenSSL 1.0.2c. 2015-07-03 15:16:37 -07:00
Steve Dower
a09ef0389b Issue #24432: Update Windows builds to use OpenSSL 1.0.2c. 2015-07-03 15:13:48 -07:00
Steve Dower
0a34c49603 Fixes warnings when building python3.dll due to the .def file accumulating multiple copies of each line.
Adds shebang line to prepare_ssl so it will run with py.exe.
2015-07-03 12:21:29 -07:00
Yury Selivanov
d48fb485d9 Merge 3.5 (Issue #24400) 2015-07-03 13:11:54 -04:00
Yury Selivanov
fdbeb2b4b6 Issue #24400: Resurrect inspect.isawaitable()
collections.abc.Awaitable and collections.abc.Coroutine no longer
use __instancecheck__ hook to detect generator-based coroutines.

inspect.isawaitable() can be used to detect generator-based coroutines
and to distinguish them from regular generator objects.
2015-07-03 13:11:35 -04:00
Steve Dower
ac2bd5b1e8 Fixes warnings when building python3.dll due to the .def file accumulating multiple copies of each line.
Adds shebang line to prepare_ssl so it will run with py.exe.
2015-07-03 09:08:47 -07:00
Nick Coghlan
11e6d79eca Merge fix for #24458 from 3.5 2015-07-03 19:52:05 +10:00
Nick Coghlan
2ab5b092e5 Close #24458: PEP 489 documentation
Patch by Petr Viktorin.
2015-07-03 19:49:15 +10:00
Yury Selivanov
4bbc3cc760 Merge 3.5 2015-07-03 01:16:20 -04:00
Yury Selivanov
ccc897f839 Add a rudimentary test for StopAsyncIteration in test_exceptions. 2015-07-03 01:16:04 -04:00
Yury Selivanov
bb215e2300 Merge 3.5 (Issue #19235) 2015-07-03 01:10:11 -04:00
Yury Selivanov
f488fb422a Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. 2015-07-03 01:04:23 -04:00
Yury Selivanov
1c5e5a89b4 Merge 3.5 (Issue #24450) 2015-07-03 00:42:01 -04:00
Yury Selivanov
27be130ec7 Merge 3.4 (Issue #24450) 2015-07-03 00:41:40 -04:00
Yury Selivanov
09e6058838 Issue #24450: Proxy gi_yieldfrom & cr_await in asyncio.CoroWrapper 2015-07-03 00:41:16 -04:00
Yury Selivanov
b166d58b9e Merge 3.5 (Issue #24450) 2015-07-03 00:35:29 -04:00
Yury Selivanov
53e623075d Issue #24450: Proxy cr_await and gi_yieldfrom in @types.coroutine 2015-07-03 00:35:02 -04:00
Yury Selivanov
d6d0b5b1fa Merge 3.5 (Issue #24450) 2015-07-03 00:24:14 -04:00