Commit Graph

6869 Commits

Author SHA1 Message Date
Nick Coghlan 4e1e30dae9 Issue #26355: Specify canonical URLs in docs pages
Add canonical header link on each page to corresponding major version of the documentation.

Patch by Matthias Bussonnier.
2017-02-09 17:00:31 +01:00
Mark Dickinson ea82972ec8 Issue #14376: sys.exit now accepts longs as well as ints. Thanks Gareth Rees. 2017-02-02 19:31:53 +00:00
Serhiy Storchaka 3b23004112 Issue #29354: Fixed inspect.getargs() for parameters which are cell
variables.
2017-02-01 22:53:03 +02:00
Serhiy Storchaka 8e21cc3ce0 Issue #29028: Fixed possible use-after-free bugs in the subscription of the
buffer object with custom index object.
2017-02-01 22:47:44 +02:00
doko@ubuntu.com 80b24a9354 - Issue #29169: Update zlib to 1.2.11. 2017-01-31 13:30:58 +01:00
Martin Panter 60a1b351ca Issue #12067: Rewrite Comparisons section in the language reference
Some of the details of comparing mixed types were incorrect or ambiguous.
Added default behaviour and consistency suggestions for user-defined classes.
Based on patch from Andy Maier.
2017-01-21 05:14:56 +00:00
Serhiy Storchaka 3efe32ed48 Issue #27867: Replaced function PySlice_GetIndicesEx() with a macro. 2017-01-25 13:22:06 +02:00
Gregory P. Smith f0739cbfe7 Issue #29335: Fix subprocess.Popen.wait() when the child process has
exited to a stopped instead of terminated state (ex: when under ptrace).
2017-01-22 22:38:28 -08:00
Benjamin Peterson 9ce1564cd9 revert dd13098a5dc2 (#29006, #10513) 2017-01-16 00:07:27 -08: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
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
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
doko@ubuntu.com 54dc428657 - Issue #29169: Update zlib to 1.2.10. 2017-01-05 17:26:35 +01: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
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 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 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
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
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
Benjamin Peterson eb55e68ff0 merge 2.7.13 release branch 2016-12-17 12:04:43 -08:00
Benjamin Peterson 9c1426de75 2.7.13 final bump 2016-12-17 12:00:35 -08: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
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 2df5adb92e prepare for 2.7.14 dev 2016-12-03 13:12:03 -08:00
Benjamin Peterson 33b2d786e7 python 2.7.13rc1 2016-12-03 12:38:47 -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
Martin Panter 1d2cfe263c Issue #28847: Fix spelling 2016-12-03 03:44:16 +00: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
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
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
Martin Panter fd08fdc7be Issue #25659: Change assert to TypeError in from_buffer/_copy()
Based on suggestion by Eryk Sun.
2016-11-20 09:35:06 +00:00
Martin Panter f75a2ebbac 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.
2016-11-20 09:31:41 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) b999915854 Rename the new --with-optimiations flag to --enable-optimizations. 2016-11-20 21:19:36 +00:00
Serhiy Storchaka b7c057a143 Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories.
2016-11-20 16:15:35 +02:00
Ned Deily 09231e657a Issue #28676: Prevent missing 'getentropy' declaration warning on macOS.
Initial patch by Gareth Rees.
2016-11-12 16:34:25 -05:00
Terry Jan Reedy 30b51c9224 Issue #27854: Include idlelib/help.html in 2.7 Windows installer.
Without this file, clicking Help => IDLE Help did nothing.
2016-11-11 12:03:09 -05:00
Serhiy Storchaka 1e4b73fcf7 Issue #19398: Extra slash no longer added to sys.path components in case of
empty compile-time PYTHONPATH components.  This fixes some tests in -S or -I
modes.
2016-11-11 12:11:55 +02:00
Serhiy Storchaka ac33bd7d1d Issue #23839: Various caches now are cleared before running every test file. 2016-11-11 11:42:25 +02:00