Commit Graph

80038 Commits

Author SHA1 Message Date
Martin Panter ea9342ae6d Avoid line breaks after hyphens, otherwise they are turned into spaces 2017-01-14 09:53:23 +00:00
Martin Panter 12344883ff Issue #15527: remove double parens by changing markup.
Patch by Serhiy Storchaka.
2017-01-14 09:40:11 +00:00
Martin Panter c7496ee6da Fix spelling and markup in documentation and code comment
* Mark up ``--help`` to avoid generating an en dash
* Use forward slash in Unix command line with a dollar sign ($) prompt
2017-01-14 08:51:49 +00:00
Serhiy Storchaka 43d84ea069 Merge heads 2017-01-13 09:44:28 +02:00
Serhiy Storchaka 7a7e04e42c Issue #29219: Fixed infinite recursion in the repr of uninitialized
ctypes.CDLL instances.
2017-01-13 09:37:56 +02:00
Alexander Belopolsky a6f10ca4d1 Closes #28130: Documented that time.tzset() updates time module globals.
Thanks Greg Bengeult for the patch.
2017-01-12 15:06:34 -05:00
Serhiy Storchaka 99ba17f553 Issue #29082: Fixed loading libraries in ctypes by unicode names on Windows.
Original patch by Chi Hsuan Yen.
2017-01-12 17:00:32 +02:00
Benjamin Peterson c8a752eaff merge heads 2017-01-11 23:40:23 -08:00
Benjamin Peterson 0897a557f4 revert 030e100f048a (#29006, #10513) 2017-01-11 23:39:58 -08:00
Xiang Zhang da8ea3a59d Issue #29217: Fix the wrong type description of UUID.variant. 2017-01-10 11:27:07 +08:00
Victor Stinner 01bdbad3e9 Don't use getentropy() on Linux
Issue #29188: Support glibc 2.24 on Linux: don't use getentropy() function but
read from /dev/urandom to get random bytes, for example in os.urandom().  On
Linux, getentropy() is implemented which getrandom() is blocking mode, whereas
os.urandom() should not block.
2017-01-09 11:10:41 +01:00
Xiang Zhang 98b1c82675 Issue #29142: Fix suffixes in no_proxy handling in urllib.
In urllib, suffixes in no_proxy environment variable with
leading dots could match related hostnames again (e.g. .b.c matches a.b.c).
Patch by Milan Oberkirch.
2017-01-09 11:43:24 +08:00
Xiang Zhang 7bdb516059 Issue #29145: Fix overflow checks in string, bytearray and unicode.
Patch by jan matejek and Xiang Zhang.
2017-01-09 11:13:20 +08:00
Berker Peksag 10434d6cb6 Issue #29189: Fix broken indentation in FancyURLopener documentation 2017-01-07 09:17:02 +03:00
Raymond Hettinger 9b7ae96b98 Issue #29023: Clarify that ints and longs are always deterministic seeds for random. 2017-01-06 16:13:37 -08:00
Xavier de Gaye 9220111fc5 test_curses - substitute self.skip() with self.skipTest() 2017-01-06 09:44:36 +01:00
doko@ubuntu.com 54dc428657 - Issue #29169: Update zlib to 1.2.10. 2017-01-05 17:26:35 +01:00
doko@ubuntu.com 52e58684f7 add Modules/zlib/zlib.map to .hgeol 2017-01-05 17:08:07 +01: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
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
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