]>
granicus.if.org Git - python/log
Victor Stinner [Mon, 3 Apr 2017 16:11:22 +0000 (18:11 +0200)]
bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS. (#462) (#973)
* bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS
Skip some tests of select.poll when running on macOS due to unresolved
issues with the underlying system poll function on some macOS versions.
(cherry picked from commit
de04644627f82d9dc48b3423def7ff5b4aa1926a )
Ivan Mokeev [Mon, 3 Apr 2017 11:06:34 +0000 (14:06 +0300)]
Fix socket leaks (#351)
* Fix socket leaks
* Fixed sockets leak
Serhiy Storchaka [Sun, 2 Apr 2017 17:37:03 +0000 (20:37 +0300)]
bpo-27863: Fixed multiple crashes in ElementTree. (#765) (#903) (#963)
(cherry picked from commit
576def096ec7b64814e038f03290031f172886c3 )
(cherry picked from commit
a6b4e1902250d6f28ca6d083ce1c8d7e9b91974b )
Serhiy Storchaka [Sun, 2 Apr 2017 13:55:43 +0000 (16:55 +0300)]
bpo-15083: Convert ElementTree doctests to unittests. (#906)
INADA Naoki [Fri, 31 Mar 2017 06:53:25 +0000 (15:53 +0900)]
bpo-29952: Use usual terminology of dict (GH-924)
s/keys and elements/keys and values/
(cherry picked from commit
cdcac039fb447f2ab04efcacbe663751bb2cb4ec )
Mandeep Singh [Thu, 30 Mar 2017 20:39:06 +0000 (02:09 +0530)]
[2.7] bpo-22392: Improve documentation for __getinitargs__ (GH-899)
T. Wouters [Thu, 30 Mar 2017 19:49:22 +0000 (12:49 -0700)]
bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. (#913)
Fix the use of recursion in itertools.chain.from_iterable. Using recursion
is unnecessary, and can easily cause stack overflows, especially when
building in low optimization modes or with Py_DEBUG enabled.
(cherry picked from commit
5466d4af5fe76ec0a5fbc8a05675287d9e8e9d14 )
Serhiy Storchaka [Thu, 30 Mar 2017 17:32:18 +0000 (20:32 +0300)]
bpo-29935: Fixed error messages in the index() method of tuple and list (#887) (#907) (#910)
when pass indices of wrong type.
(cherry picked from commit
d4edfc9abffca965e76ebc5957a92031a4d6c4d4 )
(cherry picked from commit
bf4bb2e43030661e568d5d4b046e8b9351cc164c )
Senthil Kumaran [Thu, 30 Mar 2017 05:29:12 +0000 (22:29 -0700)]
bpo-29917: DOC: Remove link from PyMethodDef (#890) (#896)
(cherry picked from commit
c3c7ef088583cc12bd218138036d1edb6de9c63f )
Mariatta [Wed, 29 Mar 2017 21:10:13 +0000 (14:10 -0700)]
bpo-16011: clarify that 'in' always returns a boolean value (GH-152) (GH-883)
(cherry picked from commit
0ae7c8bd614d3aa1fcaf2d71a10ff1148c80d9b5 )
INADA Naoki [Tue, 28 Mar 2017 16:50:48 +0000 (01:50 +0900)]
bpo-29643: Fix check for --enable-optimizations (GH-873)
The presence of the ``--enable-optimizations`` flag is indicated by the
value of ``$enableval``, but the configure script was checking ``$withval``,
resulting in the ``--enable-optimizations`` flag being effectively ignored.
(cherry picked from commit
8cea5929f52801b0ce5928b46ef836e99a24321a )
Brett Cannon [Mon, 27 Mar 2017 23:47:35 +0000 (16:47 -0700)]
Drop the standard gcc test build on Travis (GH-853) (GH-861)
Instead have gcc be used for the coverage build so gcc is exercised in at least one place.
(cherry picked from commit
ad2f9e2c8a0b44b3e6aec9d28ba59e13239236f7 )
cocoatomo [Mon, 27 Mar 2017 02:59:14 +0000 (11:59 +0900)]
bpo-29888: Fix the link referring to "Python download page" (GH-823)
Antoine Pitrou [Fri, 24 Mar 2017 15:03:46 +0000 (16:03 +0100)]
bpo-29861: release references to multiprocessing Pool tasks (#743) (#803)
* bpo-29861: release references to multiprocessing Pool tasks (#743)
* bpo-29861: release references to multiprocessing Pool tasks
Release references to tasks, their arguments and their results as soon
as they are finished, instead of keeping them alive until another task
arrives.
* Comments in test
(cherry picked from commit
8988945cdc27ffa86ba8c624e095b51c459f5154 )
* Fix Misc/NEWS ?
cocoatomo [Wed, 22 Mar 2017 19:12:36 +0000 (04:12 +0900)]
Insert a missing semicolon in sgmllib documentation (#772)
Xiang Zhang [Wed, 22 Mar 2017 07:22:44 +0000 (15:22 +0800)]
fix function name in tabnanny documentation (GH-764)
Xiang Zhang [Wed, 22 Mar 2017 06:32:52 +0000 (14:32 +0800)]
bpo-29876: fix DECREF for NULL value in subelement() (GH-760)
Xiang Zhang [Wed, 22 Mar 2017 04:46:14 +0000 (12:46 +0800)]
bpo-29874: fix INCREF for possible NULL values in select_select() (GH-758)
Xiang Zhang [Wed, 22 Mar 2017 04:25:51 +0000 (12:25 +0800)]
bpo-29873: fix INCREF for possible NULL value in element_getattr() (GH-757)
Mariatta [Mon, 20 Mar 2017 03:55:34 +0000 (20:55 -0700)]
bpo-29856: Fix typo in curses documentation (GH-730) (GH-733)
From Shifted Dxit -> Shifted Exit in Doc/library/curses.rst
(cherry picked from commit
64508780d72769e4c7afc67a511c057261c578f6 )
Brett Cannon [Sun, 19 Mar 2017 17:05:18 +0000 (10:05 -0700)]
Drop C++ header compatibility test (#718) (#721)
The $CXX environment variable is not exported under the 'c' language on Travis.
(cherry picked from commit
77ed11552da3e01dd235b7d68988076866b1f604 )
Brett Cannon [Fri, 17 Mar 2017 22:46:32 +0000 (15:46 -0700)]
[2.7] Combine the C++ header CI build into the main C build (GH-697) (#706)
This will eliminate one of the builds in Travis, allowing for CI overall to complete faster.
(cherry picked from commit
993d4b3440f2282976901ce66879037c4443868a )
Serhiy Storchaka [Tue, 14 Mar 2017 05:29:33 +0000 (07:29 +0200)]
bpo-27880: Fixed integer overflow in cPickle when pickle large strings or (#662)
too many objects.
Xiang Zhang [Mon, 13 Mar 2017 02:41:38 +0000 (10:41 +0800)]
fix parameter names in ftplib documentation (GH-656)
Nick Coghlan [Sun, 12 Mar 2017 10:03:45 +0000 (20:03 +1000)]
bpo-29798: Handle git worktree in `make patchcheck` (#629) (#635)
In git worktree directories, `.git` is a configuration
file rather than a subdirectory
(cherry picked from commit
6a6d090612dd7deaac2bc0399fad743e5e2db606 )
Nick Coghlan [Sun, 12 Mar 2017 09:34:16 +0000 (19:34 +1000)]
[2.7] bpo-29656: Handle PR branches in 'make patchcheck' (#302) (#628)
Additional changes needed to backport:
- dropped legacy SVN support from patchcheck
- use subprocess.PIPE to silence expected error output
- don't try to use subprocess.Popen as a context manager
- don't try to pass a keyword argument to str.split()
(cherry picked from commit
482f7a274fa52b7ba34ff308cd9acdcac9f41ba5 )
cocoatomo [Thu, 9 Mar 2017 15:54:27 +0000 (00:54 +0900)]
Insert the line which should not have been deleted (#581)
see [bpo-29772](http://bugs.python.org/issue29772)
Serhiy Storchaka [Thu, 9 Mar 2017 08:52:50 +0000 (10:52 +0200)]
[2.7] bpo-29768: Fixed compile-time check for expat version. (#577)
(cherry picked from commit
22e707fa04476710ba5cc7e2206e4ac66743931b )
svelankar [Thu, 9 Mar 2017 05:27:48 +0000 (00:27 -0500)]
Issue #29682:Possible missing NULL check in pyexpat (#573)
Serhiy Storchaka [Wed, 8 Mar 2017 11:44:33 +0000 (13:44 +0200)]
bpo-29655: Fixed possible reference leaks in `import *`. (#301) (#510)
Original patch by Matthias Bussonnier.
(cherry picked from commit
160edb43571311a3785785c1dfa784afc52d87be )
INADA Naoki [Tue, 7 Mar 2017 08:29:29 +0000 (17:29 +0900)]
PCbuild: Add -q option to svn export (GH-539)
Without this option, AppVeyor log is too unreadable.
(cherry picked from commit
8886d5f39286dffa7d9337857b151e7fb4af23fd )
Steve Dower [Sat, 4 Mar 2017 18:08:09 +0000 (10:08 -0800)]
bpo-27593: Updates Windows build to use information from git (#262) (#448)
* bpo-27593: Updates Windows build to use information from git (#262)
* bpo-27593: Updates Windows build to use information from git
* Fixes git command (#451)
Zachary Ware [Fri, 3 Mar 2017 22:28:39 +0000 (16:28 -0600)]
bpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-444)
Mariatta [Fri, 3 Mar 2017 21:34:52 +0000 (13:34 -0800)]
bpo-29709: Improve Boolean Operations documentation (#433) (#438)
(cherry picked from commit
8eb531d9db0861e14222445fcaebe1a373bba170 )
Donald Stufft [Thu, 2 Mar 2017 17:37:07 +0000 (12:37 -0500)]
bpo-29697: Don't use OpenSSL <1.0.2 fallback on 1.1+ (GH-399)
Donald Stufft [Wed, 1 Mar 2017 11:13:21 +0000 (06:13 -0500)]
Disable mention-bot for maintenance branches (GH-370)
Xiang Zhang [Wed, 1 Mar 2017 07:36:15 +0000 (15:36 +0800)]
bpo-26867: Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix test. (GH-374)
Xiang Zhang [Wed, 1 Mar 2017 06:28:14 +0000 (14:28 +0800)]
bpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting operations (GH-366)
INADA Naoki [Tue, 28 Feb 2017 11:39:30 +0000 (20:39 +0900)]
bpo-29110: Fix file object leak in aifc.open (GH-356)
Mariatta [Sun, 26 Feb 2017 16:56:21 +0000 (08:56 -0800)]
bpo-22594: Add a link to the regex module in re documentation (GH-241) (GH-321)
(cherry picked from commit
ed6795e46f7653e23b862efad240a93453e7df97 )
Benjamin Peterson [Sun, 26 Feb 2017 07:25:28 +0000 (23:25 -0800)]
mark various test data binary (#233) (#303)
Mariatta [Sun, 26 Feb 2017 06:33:36 +0000 (22:33 -0800)]
[2.7] bpo-28929: Add to Misc/NEWS (GH-286)
mention bpo-28929 in the Documentation section of
What's New in Python 2.7.14
INADA Naoki [Tue, 21 Feb 2017 12:12:03 +0000 (21:12 +0900)]
bpo-29165: doc: make extending/newtypes more Python 3 friendly (GH-211)
* Use PyVarObject_HEAD_INIT instead of PyObject_HEAD_INIT on type struct header.
* Backport many minor fixes from Python 3 doc to minimize diff.
Benjamin Peterson [Tue, 21 Feb 2017 07:43:15 +0000 (23:43 -0800)]
reinit the TLS before anything else (#130)
PyEval_ReInitThread can run arbitrary Python code, which really ought to have
the TLS initialized.
Mark Dickinson [Mon, 20 Feb 2017 21:14:52 +0000 (21:14 +0000)]
bpo-29602: fix signed zero handling in complex constructor (#204)
* bpo-29602: fix signed zero handling in complex constructor
* Add missing have_getformat definition; remove use of unittest subtests.
Xiang Zhang [Mon, 20 Feb 2017 06:32:53 +0000 (14:32 +0800)]
bpo-29347: Fix possibly dereferencing undefined pointers when creating weakref objects (#128) (#187)
Senthil Kumaran [Mon, 20 Feb 2017 01:49:54 +0000 (17:49 -0800)]
[2.7] Change some mercurial/ hg.python.org references. (#8) (#183)
(cherry picked from commit
b2ee40ed9c9041dcff9c898aa19aacf9ec60308a )
INADA Naoki [Mon, 20 Feb 2017 00:45:55 +0000 (09:45 +0900)]
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-180)
INADA Naoki [Mon, 20 Feb 2017 00:44:53 +0000 (09:44 +0900)]
bpo-29529: Add .travis.yml to 2.7 branch (GH-27)
Qingpeng "Q.P." Zhang [Sun, 19 Feb 2017 19:32:51 +0000 (11:32 -0800)]
Remove redundant footnote (#181)
It was accidentally added in
cc79837 .
INADA Naoki [Wed, 15 Feb 2017 16:00:54 +0000 (01:00 +0900)]
Update URL of Mersenne Twister Home Page (GH-116)
Mariatta [Sun, 12 Feb 2017 21:07:33 +0000 (13:07 -0800)]
bpo-28929: Link the documentation to its source file on GitHub (#38)
Change the documentation's `Show Source` link on the left menu
to GitHub source file.
Mariatta [Sun, 12 Feb 2017 20:59:20 +0000 (12:59 -0800)]
[backport to 2.7] Change documentation's `Show Source` link to GitHub (#44)
* Support "bpo-" in Misc/NEWS (#1)
Change the url to 2.7
(cherry picked from commit
79ab8be05fb4ffb5c258d2ca49be5fc2d4880431 )
* pyspecific.py: remove space after` bpo-`
Mariatta [Sat, 11 Feb 2017 01:44:57 +0000 (17:44 -0800)]
bpo-29474: Improve documentation for weakref.WeakValueDictionary (#11)
There were some grammatical errors in weakref.WeakValueDictionary
documentation.
Victor Stinner [Fri, 10 Feb 2017 13:14:04 +0000 (14:14 +0100)]
Backport test_gdb fixes for s390x buildbots
Nick Coghlan [Thu, 9 Feb 2017 16:00:31 +0000 (17:00 +0100)]
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.
Mariatta Wijaya [Tue, 7 Feb 2017 04:30:10 +0000 (20:30 -0800)]
Issue #29371: Clarify bitwise OR operation in doctest option flags.
Serhiy Storchaka [Sat, 4 Feb 2017 09:10:25 +0000 (11:10 +0200)]
Issue #27867: Fixed merging error.
Serhiy Storchaka [Sat, 4 Feb 2017 09:04:00 +0000 (11:04 +0200)]
Issue #27867: Silenced may-be-used-uninitialized warnings after
using PySlice_GetIndicesEx() in debug builds.
Mark Dickinson [Thu, 2 Feb 2017 19:31:53 +0000 (19:31 +0000)]
Issue #14376: sys.exit now accepts longs as well as ints. Thanks Gareth Rees.
Mariatta Wijaya [Thu, 2 Feb 2017 06:27:02 +0000 (22:27 -0800)]
Issue #29329: Improve documentation for hex(). Patch by Ammar Askar
Mariatta Wijaya [Thu, 2 Feb 2017 05:14:47 +0000 (21:14 -0800)]
Issue #29381: Clarify ordering of UNIX shebang line as source encoding line
Serhiy Storchaka [Wed, 1 Feb 2017 20:53:03 +0000 (22:53 +0200)]
Issue #29354: Fixed inspect.getargs() for parameters which are cell
variables.
Serhiy Storchaka [Wed, 1 Feb 2017 20:47:44 +0000 (22:47 +0200)]
Issue #29028: Fixed possible use-after-free bugs in the subscription of the
buffer object with custom index object.
doko@ubuntu.com [Tue, 31 Jan 2017 12:56:50 +0000 (13:56 +0100)]
update zlib ChangeLog file
doko@ubuntu.com [Tue, 31 Jan 2017 12:30:58 +0000 (13:30 +0100)]
- Issue #29169: Update zlib to 1.2.11.
Martin Panter [Sat, 21 Jan 2017 05:14:56 +0000 (05:14 +0000)]
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.
Senthil Kumaran [Sat, 28 Jan 2017 07:05:34 +0000 (23:05 -0800)]
Add clarity to the warning on certificate verification in urllib.
Serhiy Storchaka [Wed, 25 Jan 2017 11:28:45 +0000 (13:28 +0200)]
Merge heads
Serhiy Storchaka [Wed, 25 Jan 2017 11:22:06 +0000 (13:22 +0200)]
Issue #27867: Replaced function PySlice_GetIndicesEx() with a macro.
Senthil Kumaran [Wed, 25 Jan 2017 09:46:33 +0000 (01:46 -0800)]
issue26149 - Point to Wiki for Editors and Python IDEs on Unix.
Patch contributed by Mariatta Wijaya.
Martin Panter [Tue, 24 Jan 2017 00:22:45 +0000 (00:22 +0000)]
Issue #29189: Fix indentation in RST markup
Gregory P. Smith [Mon, 23 Jan 2017 06:38:28 +0000 (22:38 -0800)]
Issue #29335: Fix subprocess.Popen.wait() when the child process has
exited to a stopped instead of terminated state (ex: when under ptrace).
Martin Panter [Wed, 18 Jan 2017 12:14:29 +0000 (12:14 +0000)]
Issue #29274: tests cases → test cases
Benjamin Peterson [Mon, 16 Jan 2017 08:07:27 +0000 (00:07 -0800)]
revert
dd13098a5dc2 (#29006, #10513)
Benjamin Peterson [Mon, 16 Jan 2017 08:05:12 +0000 (00:05 -0800)]
generate spaces instead of tabs into config.c
Benjamin Peterson [Mon, 16 Jan 2017 07:57:56 +0000 (23:57 -0800)]
fix _testcapi to work when statically linked into python
Martin Panter [Sat, 14 Jan 2017 09:53:23 +0000 (09:53 +0000)]
Avoid line breaks after hyphens, otherwise they are turned into spaces
Martin Panter [Sat, 14 Jan 2017 09:40:11 +0000 (09:40 +0000)]
Issue #15527: remove double parens by changing markup.
Patch by Serhiy Storchaka.
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.