Commit Graph

79971 Commits

Author SHA1 Message Date
doko@ubuntu.com 52e58684f7 add Modules/zlib/zlib.map to .hgeol 2017-01-05 17:08:07 +01:00
Steve Dower f85dbfc3d2 Issue #28768: Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto 2016-12-28 15:41:09 -08:00
Serhiy Storchaka f04790a4b7 Fixed possible reference leaks in the _json module. 2017-01-03 11:17:53 +02:00
Benjamin Peterson 2f7d13c662 only include sys/random.h if it seems like it might have something useful (#29057) 2017-01-01 22:29:36 -06:00
Benjamin Peterson ea02cdc7ec ring in 2017 for Python 2017-01-01 22:04:13 -06:00
Serhiy Storchaka 0f4ed2cdc6 Issue #29094: Offsets in a ZIP file created with extern file object and modes
"w" now are relative to the start of the file.
2017-01-01 19:04:09 +02:00
Berker Peksag c644d53acf Issue #29123: Make CheckSqlTimestamp more robust 2017-01-01 02:51:46 +03:00
Xiang Zhang a19fd46132 Issue #29112: Fix a questionable wording in sequence doc. 2016-12-30 11:55:28 +08:00
Serhiy Storchaka 4d42af136b Issue #13051: Fixed recursion errors in large or resized curses.textpad.Textbox.
Based on patch by Tycho Andersen.
2016-12-28 10:16:06 +02:00
Serhiy Storchaka f77fe6b5a6 Issue #9770: curses.ascii predicates now work correctly with negative integers. 2016-12-28 10:04:27 +02:00
Serhiy Storchaka e96095b43f Fixed running MiscTests in test_xml_etree_c. 2016-12-28 09:27:56 +02:00
Serhiy Storchaka 1451874e6b Backed out changeset 78bf34b6a713 2016-12-28 09:23:17 +02:00
Antoine Pitrou f939b3c0f7 Issue #28427: old keys should not remove new values from
WeakValueDictionary when collecting from another thread.
2016-12-27 15:08:27 +01:00
Serhiy Storchaka 994f04dbf5 Issue #28998: More APIs now support longs as well as ints. 2016-12-27 15:09:36 +02:00
Xiang Zhang 58c2c6ebb8 Issue #29078: Add the missing import in datetime.time doc example.
Patch by Dhushyanth Ramasamy.
2016-12-27 12:21:28 +08:00
Martin Panter 500794dc01 Issue #28815: Skip TIPC tests if /proc/modules is not readable
Based on patch by Patrila.
2016-12-24 10:41:37 +00:00
Martin Panter 427ca62dde Issue #1446619: Account for negative slice direction in description
Based on suggestion from Fumihiro Bessho.
2016-12-24 08:25:15 +00:00
Martin Panter 3698bd262f Issue #29004: Document binascii.crc_hqx() implements CRC-CCITT 2016-12-24 07:53:57 +00:00
Ned Deily c04957531e Update documentation index sidebar for 3.6.0 release. 2016-12-23 04:12:46 -05:00
Xiang Zhang c4f91baa35 Issue #29038: Fix duplicate get_ca_certs() doc entry. 2016-12-23 11:10:19 +08:00
Brett Cannon 00ebffe5e1 Grammatical fixes for d95f19892fd0 2016-12-22 10:03:11 -08:00
Terry Jan Reedy 536e7a2174 Issue 28923: Remove editor artifacts from Tix.py,
including encoding not recognized by codecs.lookup.
2016-12-21 23:43:50 -05:00
Serhiy Storchaka 85add4783e Issue #28871: Fixed a crash when deallocate deep ElementTree.
Fixed running MiscTests in test_xml_etree_c.
2016-12-21 12:55:28 +02:00
Benjamin Peterson 6b1c909c08 add a specific configure check for sys/random.h (closes #28932) 2016-12-19 23:54:25 -08:00
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