90074 Commits

Author SHA1 Message Date
Raymond Hettinger
b48d6a63ff Bring related functions add/contains/discard together in the code. 2015-07-05 16:27:44 -07:00
Raymond Hettinger
73799b181e Change add/contains/discard calls to pass the key and hash instead of an entry struct. 2015-07-05 16:06:10 -07:00
Ned Deily
14806c4b86 Issue #24540: merger from 3.5 2015-07-05 11:46:12 -07:00
Ned Deily
53ecc58bd9 Issue #24540: merger from 3.4 2015-07-05 11:45:31 -07:00
Ned Deily
54630d999f Issue #24540: fix typo in json.dumps docstring 2015-07-05 11:45:01 -07:00
Ned Deily
da2d51f97a merge 3.5.0b3 changes from 3.5 2015-07-05 11:17:43 -07:00
Larry Hastings
ab30353adb Merge with ongoing work in 3.5 branch. 2015-07-05 10:31:09 -07:00
Larry Hastings
b34db6ad9b Post-release fixes for Python 3.5.0b3. 2015-07-05 10:26:00 -07:00
Raymond Hettinger
dc28d5a198 Clean-up call patterns for add/contains/discard to better match the caller's needs. 2015-07-05 10:03:20 -07:00
Benjamin Peterson
fdf660a866 merge 3.5 2015-07-05 10:39:22 -05:00
Benjamin Peterson
1ef57194b3 merge heads 2015-07-05 10:39:18 -05:00
Benjamin Peterson
95f9dd5e72 merge heads 2015-07-05 10:39:13 -05:00
Benjamin Peterson
9f71cb0fee merge 3.5 (#24569) 2015-07-05 10:38:05 -05:00
Benjamin Peterson
d5d77aac60 set items in dict displays from left to right (closes #24569) 2015-07-05 10:37:25 -05:00
Benjamin Peterson
1554b17856 add news section for next beta 2015-07-05 10:37:00 -05:00
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
Larry Hastings
0417f55ed4 Added tag v3.5.0b3 for changeset 0035fcd9b924 2015-07-04 19:13:23 -07:00
Larry Hastings
9626971c74 Version bump for Python 3.5.0b3 release. v3.5.0b3 2015-07-04 19:13:02 -07:00
Larry Hastings
aaa377f01d Documentation fixes for 3.5.0b3. 2015-07-04 19:11:41 -07: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