INADA Naoki
e126f98658
Issue #29019 : Fix dict.fromkeys(x) overallocates when x is sparce dict.
...
Original patch by Rasmus Villemoes.
2016-12-20 16:07:18 +09:00
Steve Dower
a535d68ba7
Fixes the 2.7 nuget packages to include a shim bdist_wininst
2016-12-19 14:31:27 -08:00
Victor Stinner
f6447e0065
doc: Suggest to hash(tuple of attr) rather than XOR
...
Issue #28383 : __hash__ documentation recommends naive XOR to combine but this
is suboptimal. Update the doc to suggest to reuse the hash() method using a
tuple, with an example.
2016-12-19 13:15:35 +01:00
Antoine Pitrou
805f283aa3
Issue #19542 : Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
...
when a GC collection happens in another thread.
Original patch and report by Armin Rigo.
2016-12-19 11:12:58 +01:00
Martin Panter
88e4206456
Fix spelling in code comments
2016-12-18 05:27:49 +00:00
Brett Cannon
652a558e48
Merge
2016-12-17 12:39:36 -08:00
Brett Cannon
37eb788e9e
Update the porting HOWTO
2016-12-17 12:38:54 -08:00
Benjamin Peterson
eb55e68ff0
merge 2.7.13 release branch
2016-12-17 12:04:43 -08:00
Benjamin Peterson
9b68932477
Added tag v2.7.13 for changeset a06454b1afa1
2016-12-17 12:00:42 -08:00
Benjamin Peterson
9c1426de75
2.7.13 final bump
2016-12-17 12:00:35 -08:00
Serhiy Storchaka
30ad6e2c46
Issue #14061 : Misc fixes and cleanups in archiving code in shutil.
...
Improved the documentation and tests for make_archive().
Improved error handling when corresponding compress module is not available.
External zip executable is now used if the zlib module is not available.
2016-12-16 19:04:17 +02:00
Serhiy Storchaka
6560e22c66
Issue #28925 : cPickle now correctly propagates errors when unpickle instances
...
of old-style classes.
2016-12-15 12:51:34 +02:00
Serhiy Storchaka
7117d35dfc
Issue #5322 : Restored tests for __new__.
2016-12-14 19:48:38 +02:00
Benjamin Peterson
0644d2629e
merge 2.7.13 release branch
2016-12-13 23:32:54 -08:00
Benjamin Peterson
4403d501ac
revert a37cc3d926ec ( #5322 )
2016-12-13 23:30:16 -08:00
Benjamin Peterson
d1aad3fceb
Backed out changeset ea904d4b3634
2016-12-13 23:27:56 -08:00
Martin Panter
3eb92e06df
Issue #28916 : No special case for leading zeros with %x alternative form
2016-12-11 03:51:44 +00:00
Ned Deily
3797922ad9
Issue #28900 : Update documentation sidebar for 3.6.0rc.
2016-12-07 23:34:23 -05:00
Benjamin Peterson
5cc5493c72
remove unused logger from BaseFix
2016-12-05 22:30:26 -08:00
Serhiy Storchaka
8b5528782a
Fixed mismatching title overline.
2016-12-04 15:42:13 +02:00
Serhiy Storchaka
e7f555b969
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
2016-12-04 10:20:18 +02:00
Benjamin Peterson
1426a99d31
simplify cleanup of test_replace_parent_in_sys_modules ( closes #28862 )
2016-12-03 23:17:04 -08:00
Benjamin Peterson
2df5adb92e
prepare for 2.7.14 dev
2016-12-03 13:12:03 -08:00
Benjamin Peterson
9ea8fafd6a
fix function name
2016-12-03 13:07:47 -08:00
Benjamin Peterson
e95048e8bb
also do not leak the mode string if creating the file fails
2016-12-03 13:05:40 -08:00
Benjamin Peterson
d3035d5d3d
do not leak the FILE * pointer in error cases of fdopen()
2016-12-03 13:03:18 -08:00
Benjamin Peterson
cadd22f2f5
Added tag v2.7.13rc1 for changeset 4d6fd49eeb14
2016-12-03 12:39:10 -08:00
Benjamin Peterson
33b2d786e7
python 2.7.13rc1
2016-12-03 12:38:47 -08:00
Benjamin Peterson
ddb9c07db7
update pydoc topics
2016-12-03 12:36:45 -08:00
Benjamin Peterson
5726b6316b
inline constant into its single use
2016-12-03 12:32:38 -08:00
Benjamin Peterson
f8f2138bd4
fix refleak in reduce_2 error case
2016-12-03 12:08:24 -08:00
Benjamin Peterson
26c985a8aa
fix refleak in null-containing error case ( #21147 )
2016-12-03 12:01:32 -08:00
Benjamin Peterson
d7324bcf29
when you enter repr, you must leave, too ( #25455 )
2016-12-03 11:30:04 -08:00
Benjamin Peterson
ada7d92917
fix refleak in file handle creation error case
2016-12-03 11:12:51 -08:00
Benjamin Peterson
445844993b
fix refleak in the shift-by-zero case ( #27870 )
2016-12-03 11:01:50 -08:00
Ned Deily
32b3734866
Issue #28440 : No longer add /Library/Python/site-packages, the Apple-supplied
...
system Python site-packages directory, to sys.path for macOS framework builds.
The coupling between the two Python instances often caused confusion and, as
of macOS 10.12, changes to the site-packages layout can cause pip component
installations to fail. This change reverts the effects introduced in 2.7.0
by Issue #4865 . If you are using a package with both the Apple system Python
2.7 and a user-installed Python 2.7, you will need to ensure that copies of
the package are installed with both Python instances.
2016-12-03 02:14:09 -05:00
Serhiy Storchaka
7653c3806c
Try to fix test.test_support.rmtree() on Windows for fixing issue28847 tests.
2016-12-03 07:57:54 +02:00
Martin Panter
1d2cfe263c
Issue #28847 : Fix spelling
2016-12-03 03:44:16 +00:00
Serhiy Storchaka
1ae56fb9ee
Issue #21818 : Fixed references to classes that have names matching with module
...
names.
2016-12-02 23:13:42 +02:00
Benjamin Peterson
cffc0f4178
declarations to the top of the block
2016-12-02 00:02:24 -08:00
Benjamin Peterson
1122236c89
increase test_smtplib timeouts
2016-12-01 23:58:38 -08:00
Serhiy Storchaka
daf82f7539
Issue #5322 : Fixed setting __new__ to a PyCFunction inside Python code.
...
Original patch by Andreas Stührk.
2016-12-02 08:42:43 +02:00
Serhiy Storchaka
9bd44d6dab
Issue #28847 : dubmdbm no longer writes the index file in when it is not
...
changed and supports reading read-only files.
2016-12-02 07:58:42 +02:00
doko@ubuntu.com
6df26b5f55
- Import latest config.sub config.guess files
2016-12-01 21:42:15 +01:00
Serhiy Storchaka
c30f27d1f2
Issue #11145 : Fixed miscellaneous issues with C-style formatting of types
...
with custom __oct__ and __hex__.
2016-12-01 10:27:11 +02:00
Martin Panter
b398d2c2bf
Issue #28771 : Correct documentation of signatures using const
2016-12-01 01:32:16 +00:00
Martin Panter
ed82604e3f
Issue #25701 : Document that some C APIs can both set and delete items
...
Also document that using the dedicated functions to delete items is
preferred. Using PyObject_SetAttr/String() and PySequence_SetItem/Slice() for
deletion is deprecated.
2016-11-30 10:32:40 +00:00
Martin Panter
a52b567a3f
Issue #28820 : Fix spelling of “practice” as a noun
2016-11-30 10:18:45 +00:00
Serhiy Storchaka
13cc67946b
Issue #24469 : Fixed memory leak caused by int subclasses without overridden
...
tp_free (e.g. C-inherited Cython classes).
2016-11-29 20:49:14 +02:00
Serhiy Storchaka
0092bc7279
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:43:39 +02:00