]>
granicus.if.org Git - python/log
Martin Panter [Sat, 14 Jan 2017 08:51:49 +0000 (08:51 +0000)]
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
Serhiy Storchaka [Fri, 13 Jan 2017 07:44:28 +0000 (09:44 +0200)]
Merge heads
Serhiy Storchaka [Fri, 13 Jan 2017 07:37:56 +0000 (09:37 +0200)]
Issue #29219: Fixed infinite recursion in the repr of uninitialized
ctypes.CDLL instances.
Alexander Belopolsky [Thu, 12 Jan 2017 20:06:34 +0000 (15:06 -0500)]
Closes #28130: Documented that time.tzset() updates time module globals.
Thanks Greg Bengeult for the patch.
Serhiy Storchaka [Thu, 12 Jan 2017 15:00:32 +0000 (17:00 +0200)]
Issue #29082: Fixed loading libraries in ctypes by unicode names on Windows.
Original patch by Chi Hsuan Yen.
Benjamin Peterson [Thu, 12 Jan 2017 07:40:23 +0000 (23:40 -0800)]
merge heads
Benjamin Peterson [Thu, 12 Jan 2017 07:39:58 +0000 (23:39 -0800)]
revert
030e100f048a (#29006, #10513)
Xiang Zhang [Tue, 10 Jan 2017 03:27:07 +0000 (11:27 +0800)]
Issue #29217: Fix the wrong type description of UUID.variant.
Victor Stinner [Mon, 9 Jan 2017 10:10:41 +0000 (11:10 +0100)]
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.
Xiang Zhang [Mon, 9 Jan 2017 03:43:24 +0000 (11:43 +0800)]
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.
Xiang Zhang [Mon, 9 Jan 2017 03:13:20 +0000 (11:13 +0800)]
Issue #29145: Fix overflow checks in string, bytearray and unicode.
Patch by jan matejek and Xiang Zhang.
Berker Peksag [Sat, 7 Jan 2017 06:17:02 +0000 (09:17 +0300)]
Issue #29189: Fix broken indentation in FancyURLopener documentation
Raymond Hettinger [Sat, 7 Jan 2017 00:13:37 +0000 (16:13 -0800)]
Issue #29023: Clarify that ints and longs are always deterministic seeds for random.
Xavier de Gaye [Fri, 6 Jan 2017 08:44:36 +0000 (09:44 +0100)]
test_curses - substitute self.skip() with self.skipTest()
doko@ubuntu.com [Thu, 5 Jan 2017 16:26:35 +0000 (17:26 +0100)]
- Issue #29169: Update zlib to 1.2.10.
doko@ubuntu.com [Thu, 5 Jan 2017 16:08:07 +0000 (17:08 +0100)]
add Modules/zlib/zlib.map to .hgeol
Benjamin Peterson [Mon, 2 Jan 2017 04:29:36 +0000 (22:29 -0600)]
only include sys/random.h if it seems like it might have something useful (#29057)
Benjamin Peterson [Mon, 2 Jan 2017 04:04:13 +0000 (22:04 -0600)]
ring in 2017 for Python
Serhiy Storchaka [Sun, 1 Jan 2017 17:04:09 +0000 (19:04 +0200)]
Issue #29094: Offsets in a ZIP file created with extern file object and modes
"w" now are relative to the start of the file.
Berker Peksag [Sat, 31 Dec 2016 23:51:46 +0000 (02:51 +0300)]
Issue #29123: Make CheckSqlTimestamp more robust
Xiang Zhang [Fri, 30 Dec 2016 03:55:28 +0000 (11:55 +0800)]
Issue #29112: Fix a questionable wording in sequence doc.
Steve Dower [Wed, 28 Dec 2016 23:41:09 +0000 (15:41 -0800)]
Issue #28768: Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto
Serhiy Storchaka [Tue, 3 Jan 2017 09:17:53 +0000 (11:17 +0200)]
Fixed possible reference leaks in the _json module.
Serhiy Storchaka [Wed, 28 Dec 2016 08:16:06 +0000 (10:16 +0200)]
Issue #13051: Fixed recursion errors in large or resized curses.textpad.Textbox.
Based on patch by Tycho Andersen.
Serhiy Storchaka [Wed, 28 Dec 2016 08:04:27 +0000 (10:04 +0200)]
Issue #9770: curses.ascii predicates now work correctly with negative integers.
Serhiy Storchaka [Wed, 28 Dec 2016 07:27:56 +0000 (09:27 +0200)]
Fixed running MiscTests in test_xml_etree_c.
Serhiy Storchaka [Wed, 28 Dec 2016 07:23:17 +0000 (09:23 +0200)]
Backed out changeset
78bf34b6a713
Antoine Pitrou [Tue, 27 Dec 2016 14:08:27 +0000 (15:08 +0100)]
Issue #28427: old keys should not remove new values from
WeakValueDictionary when collecting from another thread.
Serhiy Storchaka [Tue, 27 Dec 2016 13:09:36 +0000 (15:09 +0200)]
Issue #28998: More APIs now support longs as well as ints.
Xiang Zhang [Tue, 27 Dec 2016 04:21:28 +0000 (12:21 +0800)]
Issue #29078: Add the missing import in datetime.time doc example.
Patch by Dhushyanth Ramasamy.
Martin Panter [Sat, 24 Dec 2016 10:41:37 +0000 (10:41 +0000)]
Issue #28815: Skip TIPC tests if /proc/modules is not readable
Based on patch by Patrila.
Martin Panter [Sat, 24 Dec 2016 08:25:15 +0000 (08:25 +0000)]
Issue #
1446619 : Account for negative slice direction in description
Based on suggestion from Fumihiro Bessho.
Martin Panter [Sat, 24 Dec 2016 07:53:57 +0000 (07:53 +0000)]
Issue #29004: Document binascii.crc_hqx() implements CRC-CCITT
Ned Deily [Fri, 23 Dec 2016 09:12:46 +0000 (04:12 -0500)]
Update documentation index sidebar for 3.6.0 release.
Xiang Zhang [Fri, 23 Dec 2016 03:10:19 +0000 (11:10 +0800)]
Issue #29038: Fix duplicate get_ca_certs() doc entry.
Brett Cannon [Thu, 22 Dec 2016 18:03:11 +0000 (10:03 -0800)]
Grammatical fixes for
d95f19892fd0
Terry Jan Reedy [Thu, 22 Dec 2016 04:43:50 +0000 (23:43 -0500)]
Issue 28923: Remove editor artifacts from Tix.py,
including encoding not recognized by codecs.lookup.
Serhiy Storchaka [Wed, 21 Dec 2016 10:55:28 +0000 (12:55 +0200)]
Issue #28871: Fixed a crash when deallocate deep ElementTree.
Fixed running MiscTests in test_xml_etree_c.
Benjamin Peterson [Tue, 20 Dec 2016 07:54:25 +0000 (23:54 -0800)]
add a specific configure check for sys/random.h (closes #28932)
INADA Naoki [Tue, 20 Dec 2016 07:07:18 +0000 (16:07 +0900)]
Issue #29019: Fix dict.fromkeys(x) overallocates when x is sparce dict.
Original patch by Rasmus Villemoes.
Steve Dower [Mon, 19 Dec 2016 22:31:27 +0000 (14:31 -0800)]
Fixes the 2.7 nuget packages to include a shim bdist_wininst
Victor Stinner [Mon, 19 Dec 2016 12:15:35 +0000 (13:15 +0100)]
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.
Antoine Pitrou [Mon, 19 Dec 2016 10:12:58 +0000 (11:12 +0100)]
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.
Martin Panter [Sun, 18 Dec 2016 05:27:49 +0000 (05:27 +0000)]
Fix spelling in code comments
Brett Cannon [Sat, 17 Dec 2016 20:39:36 +0000 (12:39 -0800)]
Merge
Brett Cannon [Sat, 17 Dec 2016 20:38:54 +0000 (12:38 -0800)]
Update the porting HOWTO
Benjamin Peterson [Sat, 17 Dec 2016 20:04:43 +0000 (12:04 -0800)]
merge 2.7.13 release branch
Benjamin Peterson [Sat, 17 Dec 2016 20:00:42 +0000 (12:00 -0800)]
Added tag v2.7.13 for changeset
a06454b1afa1
Benjamin Peterson [Sat, 17 Dec 2016 20:00:35 +0000 (12:00 -0800)]
2.7.13 final bump
Serhiy Storchaka [Fri, 16 Dec 2016 17:04:17 +0000 (19:04 +0200)]
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.
Serhiy Storchaka [Thu, 15 Dec 2016 10:51:34 +0000 (12:51 +0200)]
Issue #28925: cPickle now correctly propagates errors when unpickle instances
of old-style classes.
Serhiy Storchaka [Wed, 14 Dec 2016 17:48:38 +0000 (19:48 +0200)]
Issue #5322: Restored tests for __new__.
Benjamin Peterson [Wed, 14 Dec 2016 07:32:54 +0000 (23:32 -0800)]
merge 2.7.13 release branch
Benjamin Peterson [Wed, 14 Dec 2016 07:30:16 +0000 (23:30 -0800)]
revert
a37cc3d926ec (#5322)
Benjamin Peterson [Wed, 14 Dec 2016 07:27:56 +0000 (23:27 -0800)]
Backed out changeset
ea904d4b3634
Martin Panter [Sun, 11 Dec 2016 03:51:44 +0000 (03:51 +0000)]
Issue #28916: No special case for leading zeros with %x alternative form
Ned Deily [Thu, 8 Dec 2016 04:34:23 +0000 (23:34 -0500)]
Issue #28900: Update documentation sidebar for 3.6.0rc.
Benjamin Peterson [Tue, 6 Dec 2016 06:30:26 +0000 (22:30 -0800)]
remove unused logger from BaseFix
Serhiy Storchaka [Sun, 4 Dec 2016 13:42:13 +0000 (15:42 +0200)]
Fixed mismatching title overline.
Serhiy Storchaka [Sun, 4 Dec 2016 08:20:18 +0000 (10:20 +0200)]
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
Benjamin Peterson [Sun, 4 Dec 2016 07:17:04 +0000 (23:17 -0800)]
simplify cleanup of test_replace_parent_in_sys_modules (closes #28862)
Benjamin Peterson [Sat, 3 Dec 2016 21:12:03 +0000 (13:12 -0800)]
prepare for 2.7.14 dev
Benjamin Peterson [Sat, 3 Dec 2016 21:07:47 +0000 (13:07 -0800)]
fix function name
Benjamin Peterson [Sat, 3 Dec 2016 21:05:40 +0000 (13:05 -0800)]
also do not leak the mode string if creating the file fails
Benjamin Peterson [Sat, 3 Dec 2016 21:03:18 +0000 (13:03 -0800)]
do not leak the FILE * pointer in error cases of fdopen()
Benjamin Peterson [Sat, 3 Dec 2016 20:39:10 +0000 (12:39 -0800)]
Added tag v2.7.13rc1 for changeset
4d6fd49eeb14
Benjamin Peterson [Sat, 3 Dec 2016 20:38:47 +0000 (12:38 -0800)]
python 2.7.13rc1
Benjamin Peterson [Sat, 3 Dec 2016 20:36:45 +0000 (12:36 -0800)]
update pydoc topics
Benjamin Peterson [Sat, 3 Dec 2016 20:32:38 +0000 (12:32 -0800)]
inline constant into its single use
Benjamin Peterson [Sat, 3 Dec 2016 20:08:24 +0000 (12:08 -0800)]
fix refleak in reduce_2 error case
Benjamin Peterson [Sat, 3 Dec 2016 20:01:32 +0000 (12:01 -0800)]
fix refleak in null-containing error case (#21147)
Benjamin Peterson [Sat, 3 Dec 2016 19:30:04 +0000 (11:30 -0800)]
when you enter repr, you must leave, too (#25455)
Benjamin Peterson [Sat, 3 Dec 2016 19:12:51 +0000 (11:12 -0800)]
fix refleak in file handle creation error case
Benjamin Peterson [Sat, 3 Dec 2016 19:01:50 +0000 (11:01 -0800)]
fix refleak in the shift-by-zero case (#27870)
Ned Deily [Sat, 3 Dec 2016 07:14:09 +0000 (02:14 -0500)]
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.
Serhiy Storchaka [Sat, 3 Dec 2016 05:57:54 +0000 (07:57 +0200)]
Try to fix test.test_support.rmtree() on Windows for fixing issue28847 tests.
Martin Panter [Sat, 3 Dec 2016 03:44:16 +0000 (03:44 +0000)]
Issue #28847: Fix spelling
Serhiy Storchaka [Fri, 2 Dec 2016 21:13:42 +0000 (23:13 +0200)]
Issue #21818: Fixed references to classes that have names matching with module
names.
Benjamin Peterson [Fri, 2 Dec 2016 08:02:24 +0000 (00:02 -0800)]
declarations to the top of the block
Benjamin Peterson [Fri, 2 Dec 2016 07:58:38 +0000 (23:58 -0800)]
increase test_smtplib timeouts
Serhiy Storchaka [Fri, 2 Dec 2016 06:42:43 +0000 (08:42 +0200)]
Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
Original patch by Andreas Stührk.
Serhiy Storchaka [Fri, 2 Dec 2016 05:58:42 +0000 (07:58 +0200)]
Issue #28847: dubmdbm no longer writes the index file in when it is not
changed and supports reading read-only files.
doko@ubuntu.com [Thu, 1 Dec 2016 20:42:15 +0000 (21:42 +0100)]
- Import latest config.sub config.guess files
Serhiy Storchaka [Thu, 1 Dec 2016 08:27:11 +0000 (10:27 +0200)]
Issue #11145: Fixed miscellaneous issues with C-style formatting of types
with custom __oct__ and __hex__.
Martin Panter [Thu, 1 Dec 2016 01:32:16 +0000 (01:32 +0000)]
Issue #28771: Correct documentation of signatures using const
Martin Panter [Wed, 30 Nov 2016 10:32:40 +0000 (10:32 +0000)]
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.
Martin Panter [Wed, 30 Nov 2016 10:18:45 +0000 (10:18 +0000)]
Issue #28820: Fix spelling of “practice” as a noun
Serhiy Storchaka [Tue, 29 Nov 2016 18:49:14 +0000 (20:49 +0200)]
Issue #24469: Fixed memory leak caused by int subclasses without overridden
tp_free (e.g. C-inherited Cython classes).
Serhiy Storchaka [Sat, 26 Nov 2016 11:43:39 +0000 (13:43 +0200)]
Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
in the documentation.
Serhiy Storchaka [Mon, 21 Nov 2016 09:37:18 +0000 (11:37 +0200)]
Fixed the documentation of the structure PyMethodDef.
The fields ml_name and ml_doc are of type "const char *" rather of "char *".
Gregory P. Smith [Mon, 21 Nov 2016 08:13:44 +0000 (00:13 -0800)]
replace --with-optimizations references with --enable-optimizations in docs.
Martin Panter [Mon, 21 Nov 2016 00:21:39 +0000 (00:21 +0000)]
Change double hyphens (en dashes) to em (longer) dashes
Martin Panter [Sun, 20 Nov 2016 09:35:06 +0000 (09:35 +0000)]
Issue #25659: Change assert to TypeError in from_buffer/_copy()
Based on suggestion by Eryk Sun.
Martin Panter [Sun, 20 Nov 2016 09:31:41 +0000 (09:31 +0000)]
Issue #10656: Fix out-of-tree building on AIX
The ld_so_aix script and python.exp file are created in the build directory.
Patch by Tristan Carel and Michael Haubenwallner.
Martin Panter [Sun, 20 Nov 2016 23:06:58 +0000 (23:06 +0000)]
Issue #28666: Fix stat import
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 20 Nov 2016 21:19:36 +0000 (21:19 +0000)]
Rename the new --with-optimiations flag to --enable-optimizations.
Serhiy Storchaka [Sun, 20 Nov 2016 18:04:54 +0000 (20:04 +0200)]
Issue #28666: Fix removing readonly directories on Windows.
Serhiy Storchaka [Sun, 20 Nov 2016 15:42:03 +0000 (17:42 +0200)]
Issue #28666: Now test.test_support.rmtree is able to remove unwritable or
unreadable directories on Windows too.
Serhiy Storchaka [Sun, 20 Nov 2016 14:15:35 +0000 (16:15 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories.
Donald Stufft [Wed, 16 Nov 2016 02:21:35 +0000 (21:21 -0500)]
Upgrade pip to 9.0.1 and setuptools to 28.8.0