]> granicus.if.org Git - python/log
python
8 years ago[2.7] bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1305)
Dong-hee Na [Wed, 26 Apr 2017 16:55:32 +0000 (01:55 +0900)]
[2.7] bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1305)

8 years ago[2.7] bpo-15718: Document the upper bound constrain on the __len__ return value....
Serhiy Storchaka [Sun, 23 Apr 2017 05:58:09 +0000 (08:58 +0300)]
[2.7] bpo-15718: Document the upper bound constrain on the __len__ return value. (GH-1256). (#1261)

(cherry picked from commit 85157cd89a6edac347a5b6871fcf20c500c6fbbf)

8 years ago[2.7] Add missing .gitignore entries for VS2015 IntelliSense DB (GH-1223). (#1227)
Mariatta [Fri, 21 Apr 2017 03:56:11 +0000 (20:56 -0700)]
[2.7] Add missing .gitignore entries for VS2015 IntelliSense DB (GH-1223). (#1227)

(cherry picked from commit 8e675286a92f33837cfffac5914b5175dac5d573)

8 years agoRemove redundant comma in argparse HOWTO (GH-1141)
Berker Peksag [Thu, 20 Apr 2017 04:41:01 +0000 (07:41 +0300)]
Remove redundant comma in argparse HOWTO (GH-1141)

Reported by Sean Canavan on docs@p.o.

(cherry picked from commit 8526fb74edf5ac9ca175b7cdcb0d82bb8780d2cf)

8 years agobpo-19225: Remove duplicated description for standard warning categories (GH-1068)
cocoatomo [Thu, 20 Apr 2017 03:57:21 +0000 (12:57 +0900)]
bpo-19225: Remove duplicated description for standard warning categories (GH-1068)

8 years ago[2.7] [3.5] bpo-30070: Fixed leaks and crashes in errors handling in the parser modul...
Serhiy Storchaka [Wed, 19 Apr 2017 21:48:57 +0000 (00:48 +0300)]
[2.7] [3.5] bpo-30070: Fixed leaks and crashes in errors handling in the parser module. (GH-1131). (GH-1185) (#1189)

(cherry picked from commit a79f4c219531c05fc8f670c1e4bbf12c081935d3).
(cherry picked from commit 952a05e4e2cf082b74a1676a2804f1f43a9b7702)

8 years ago[2.7] bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (GH...
Serhiy Storchaka [Wed, 19 Apr 2017 19:34:58 +0000 (22:34 +0300)]
[2.7] bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (GH-1096) (GH-1180) (#1183)

raised an error.

(cherry picked from commit bf623ae8843dc30b28c574bec8d29fc14be59d86)
(cherry picked from commit 680fea4)

8 years agoFix typo in HTTPConnection.set_tunnel description (#1179)
Christopher Snyder [Wed, 19 Apr 2017 15:45:16 +0000 (11:45 -0400)]
Fix typo in HTTPConnection.set_tunnel description (#1179)

8 years agobpo-29943: Remove the PySlice_GetIndicesEx() macro. (#1050)
Serhiy Storchaka [Sun, 16 Apr 2017 07:08:47 +0000 (10:08 +0300)]
bpo-29943: Remove the PySlice_GetIndicesEx() macro. (#1050)

8 years agobpo-30074: Fix compile warnings of _PySlice_Unpack and convert missed (#1154)
Serhiy Storchaka [Sat, 15 Apr 2017 17:11:12 +0000 (20:11 +0300)]
bpo-30074: Fix compile warnings of _PySlice_Unpack and convert missed (#1154)

PySlice_GetIndicesEx in _ctypes.c.

8 years agobpo-30011: Fixed race condition in HTMLParser.unescape(). (#1140)
Serhiy Storchaka [Sat, 15 Apr 2017 15:35:46 +0000 (18:35 +0300)]
bpo-30011: Fixed race condition in HTMLParser.unescape(). (#1140)

8 years agobpo-30068: add missing iter(self) in _io._IOBase.readlines when hint is present ...
Xiang Zhang [Sat, 15 Apr 2017 05:18:22 +0000 (13:18 +0800)]
bpo-30068: add missing iter(self) in _io._IOBase.readlines when hint is present (#1152)

8 years ago[2.7] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1147)
Michael Seifert [Sat, 15 Apr 2017 02:04:22 +0000 (04:04 +0200)]
[2.7] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1147)

8 years ago[2.7] bpo-29738: Fix memory leak in _get_crl_dp (GH-526) (GH-1144)
Mariatta [Sat, 15 Apr 2017 01:24:22 +0000 (18:24 -0700)]
[2.7] bpo-29738: Fix memory leak in _get_crl_dp (GH-526) (GH-1144)

* Remove conditional on free of `dps`, since `dps` is now allocated for
all versions of OpenSSL
* Remove call to `x509_check_ca` since it was only used to cache
the `crldp` field of the certificate
CRL_DIST_POINTS_free is available in all supported versions of OpenSSL
(recent 0.9.8+) and LibreSSL.
(cherry picked from commit 2849cc34a8db93d448a62d69c462402347b50dcb)

8 years agobpo-30021: Add examples for re.escape(). (#1048) (#1118)
Serhiy Storchaka [Thu, 13 Apr 2017 16:47:18 +0000 (19:47 +0300)]
bpo-30021: Add examples for re.escape(). (#1048) (#1118)

And fix the parameter name.

(cherry picked from commit 8fc7bc2b7631ee819ee614e47b6f44bacebe1574)

8 years agobpo-30027: Fix Py3k warnings in test_xml_etree. (#1065)
Serhiy Storchaka [Wed, 12 Apr 2017 13:00:14 +0000 (16:00 +0300)]
bpo-30027: Fix Py3k warnings in test_xml_etree. (#1065)

8 years ago[2.7] bpo-29521: Fix two minor documentation build warnings (GH-41) (GH-670)
Mariatta [Mon, 10 Apr 2017 17:27:50 +0000 (10:27 -0700)]
[2.7] bpo-29521: Fix two minor documentation build warnings (GH-41) (GH-670)

(cherry picked from commit 3d707be950b387552585451071928e7b39cdfa53)

8 years ago[2.7] Correct typo in configparser.rst (GH-1012) (GH-1026)
Mariatta [Sun, 9 Apr 2017 22:16:06 +0000 (15:16 -0700)]
[2.7] Correct typo in configparser.rst (GH-1012) (GH-1026)

(cherry picked from commit 01fa9ae5460b00bf1ced500c797176ebd3fb060d)

8 years agobpo-29506: Clarify deep copy note in copy module
Nick Coghlan [Sun, 9 Apr 2017 10:57:29 +0000 (20:57 +1000)]
bpo-29506: Clarify deep copy note in copy module

The reference to administrative data was confusing to readers,
so this simplifies the note to explain that deep copying may copy
more then you intended, such as data that you expected to be
shared between copies.

Patch by Sanyam Khurana.

8 years agoIssue #29798: Handle git worktree in patchcheck (#1057)
Nick Coghlan [Sun, 9 Apr 2017 08:32:48 +0000 (18:32 +1000)]
Issue #29798: Handle git worktree in patchcheck (#1057)

The original attempted fix missed an `isdir()` call in
`get_base_branch()`.

8 years agobpo-27867: Expand the PySlice_GetIndicesEx macro. (#1023) (#1046)
Serhiy Storchaka [Sat, 8 Apr 2017 08:48:57 +0000 (11:48 +0300)]
bpo-27867: Expand the PySlice_GetIndicesEx macro. (#1023) (#1046)

(cherry picked from commit b879fe8)

8 years ago[2.7] bpo-19225: Lack of c api exceptions doc (#964)
cocoatomo [Sat, 8 Apr 2017 06:19:24 +0000 (15:19 +0900)]
[2.7] bpo-19225: Lack of c api exceptions doc (#964)

* Keep the c-api exception doc up-to-date

cherry-pick'ed from ec1f5df..e3d6db3 and fix conflict

8 years agoFix references within buffer protocol docs (#1016)
Eric Wieser [Thu, 6 Apr 2017 17:36:43 +0000 (18:36 +0100)]
Fix references within buffer protocol docs (#1016)

8 years agoremove merge=union attribute for Misc/NEWS (GH-460) (GH-989)
Mariatta [Tue, 4 Apr 2017 12:49:31 +0000 (14:49 +0200)]
remove merge=union attribute for Misc/NEWS (GH-460) (GH-989)

(cherry picked from commit 060d2d776a29341c079cce37220324f9775140ba)

8 years agobpo-28087: Skip test_asyncore and test_eintr poll failures on macOS. (#462) (#973)
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)

8 years agoFix socket leaks (#351)
Ivan Mokeev [Mon, 3 Apr 2017 11:06:34 +0000 (14:06 +0300)]
Fix socket leaks (#351)

* Fix socket leaks

* Fixed sockets leak

8 years agobpo-27863: Fixed multiple crashes in ElementTree. (#765) (#903) (#963)
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)

8 years agobpo-15083: Convert ElementTree doctests to unittests. (#906)
Serhiy Storchaka [Sun, 2 Apr 2017 13:55:43 +0000 (16:55 +0300)]
bpo-15083: Convert ElementTree doctests to unittests. (#906)

8 years agobpo-29952: Use usual terminology of dict (GH-924)
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)

8 years ago[2.7] bpo-22392: Improve documentation for __getinitargs__ (GH-899)
Mandeep Singh [Thu, 30 Mar 2017 20:39:06 +0000 (02:09 +0530)]
[2.7] bpo-22392: Improve documentation for __getinitargs__  (GH-899)

8 years agobpo-29942: Fix the use of recursion in itertools.chain.from_iterable. (#913)
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)

8 years agobpo-29935: Fixed error messages in the index() method of tuple and list (#887) (...
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)

8 years agobpo-29917: DOC: Remove link from PyMethodDef (#890) (#896)
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)

8 years agobpo-16011: clarify that 'in' always returns a boolean value (GH-152) (GH-883)
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)

8 years agobpo-29643: Fix check for --enable-optimizations (GH-873)
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)

8 years agoDrop the standard gcc test build on Travis (GH-853) (GH-861)
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)

8 years agobpo-29888: Fix the link referring to "Python download page" (GH-823)
cocoatomo [Mon, 27 Mar 2017 02:59:14 +0000 (11:59 +0900)]
bpo-29888: Fix the link referring to "Python download page" (GH-823)

8 years agobpo-29861: release references to multiprocessing Pool tasks (#743) (#803)
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 ?

8 years agoInsert a missing semicolon in sgmllib documentation (#772)
cocoatomo [Wed, 22 Mar 2017 19:12:36 +0000 (04:12 +0900)]
Insert a missing semicolon in sgmllib documentation (#772)

8 years agofix function name in tabnanny documentation (GH-764)
Xiang Zhang [Wed, 22 Mar 2017 07:22:44 +0000 (15:22 +0800)]
fix function name in tabnanny documentation (GH-764)

8 years agobpo-29876: fix DECREF for NULL value in subelement() (GH-760)
Xiang Zhang [Wed, 22 Mar 2017 06:32:52 +0000 (14:32 +0800)]
bpo-29876: fix DECREF for NULL value in subelement() (GH-760)

8 years agobpo-29874: fix INCREF for possible NULL values in select_select() (GH-758)
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)

8 years agobpo-29873: fix INCREF for possible NULL value in element_getattr() (GH-757)
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)

8 years agobpo-29856: Fix typo in curses documentation (GH-730) (GH-733)
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)

8 years agoDrop C++ header compatibility test (#718) (#721)
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)

8 years ago[2.7] Combine the C++ header CI build into the main C build (GH-697) (#706)
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)

8 years agobpo-27880: Fixed integer overflow in cPickle when pickle large strings or (#662)
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.

8 years agofix parameter names in ftplib documentation (GH-656)
Xiang Zhang [Mon, 13 Mar 2017 02:41:38 +0000 (10:41 +0800)]
fix parameter names in ftplib documentation (GH-656)

8 years agobpo-29798: Handle git worktree in `make patchcheck` (#629) (#635)
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)

8 years ago[2.7] bpo-29656: Handle PR branches in 'make patchcheck' (#302) (#628)
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)

8 years agoInsert the line which should not have been deleted (#581)
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)

8 years ago[2.7] bpo-29768: Fixed compile-time check for expat version. (#577)
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)

8 years agoIssue #29682:Possible missing NULL check in pyexpat (#573)
svelankar [Thu, 9 Mar 2017 05:27:48 +0000 (00:27 -0500)]
Issue #29682:Possible missing NULL check in pyexpat (#573)

8 years agobpo-29655: Fixed possible reference leaks in `import *`. (#301) (#510)
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)

8 years agoPCbuild: Add -q option to svn export (GH-539)
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)

8 years agobpo-27593: Updates Windows build to use information from git (#262) (#448)
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)

8 years agobpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-444)
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)

8 years agobpo-29709: Improve Boolean Operations documentation (#433) (#438)
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)

8 years agobpo-29697: Don't use OpenSSL <1.0.2 fallback on 1.1+ (GH-399)
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)

8 years agoDisable mention-bot for maintenance branches (GH-370)
Donald Stufft [Wed, 1 Mar 2017 11:13:21 +0000 (06:13 -0500)]
Disable mention-bot for maintenance branches (GH-370)

8 years agobpo-26867: Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix test. (GH-374)
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)

8 years agobpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting operatio...
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)

8 years agobpo-29110: Fix file object leak in aifc.open (GH-356)
INADA Naoki [Tue, 28 Feb 2017 11:39:30 +0000 (20:39 +0900)]
bpo-29110: Fix file object leak in aifc.open (GH-356)

8 years agobpo-22594: Add a link to the regex module in re documentation (GH-241) (GH-321)
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)

8 years agomark various test data binary (#233) (#303)
Benjamin Peterson [Sun, 26 Feb 2017 07:25:28 +0000 (23:25 -0800)]
mark various test data binary (#233) (#303)

8 years ago[2.7] bpo-28929: Add to Misc/NEWS (GH-286)
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

8 years agobpo-29165: doc: make extending/newtypes more Python 3 friendly (GH-211)
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.

8 years agoreinit the TLS before anything else (#130)
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.

8 years agobpo-29602: fix signed zero handling in complex constructor (#204)
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.

8 years agobpo-29347: Fix possibly dereferencing undefined pointers when creating weakref object...
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)

8 years ago[2.7] Change some mercurial/ hg.python.org references. (#8) (#183)
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)

8 years agobpo-29520: doc: fix deprecation warning from 'defindex' template (GH-180)
INADA Naoki [Mon, 20 Feb 2017 00:45:55 +0000 (09:45 +0900)]
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-180)

8 years agobpo-29529: Add .travis.yml to 2.7 branch (GH-27)
INADA Naoki [Mon, 20 Feb 2017 00:44:53 +0000 (09:44 +0900)]
bpo-29529: Add .travis.yml to 2.7 branch (GH-27)

8 years agoRemove redundant footnote (#181)
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.

8 years agoUpdate URL of Mersenne Twister Home Page (GH-116)
INADA Naoki [Wed, 15 Feb 2017 16:00:54 +0000 (01:00 +0900)]
Update URL of Mersenne Twister Home Page (GH-116)

8 years agobpo-28929: Link the documentation to its source file on GitHub (#38)
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.

8 years ago[backport to 2.7] Change documentation's `Show Source` link to GitHub (#44)
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-`

8 years agobpo-29474: Improve documentation for weakref.WeakValueDictionary (#11)
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.

8 years agoBackport test_gdb fixes for s390x buildbots
Victor Stinner [Fri, 10 Feb 2017 13:14:04 +0000 (14:14 +0100)]
Backport test_gdb fixes for s390x buildbots

8 years agoIssue #26355: Specify canonical URLs in docs pages
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.

8 years agoIssue #29371: Clarify bitwise OR operation in doctest option flags.
Mariatta Wijaya [Tue, 7 Feb 2017 04:30:10 +0000 (20:30 -0800)]
Issue #29371: Clarify bitwise OR operation in doctest option flags.

8 years agoIssue #27867: Fixed merging error.
Serhiy Storchaka [Sat, 4 Feb 2017 09:10:25 +0000 (11:10 +0200)]
Issue #27867: Fixed merging error.

8 years agoIssue #27867: Silenced may-be-used-uninitialized warnings after
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.

8 years agoIssue #14376: sys.exit now accepts longs as well as ints. Thanks Gareth Rees.
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.

8 years agoIssue #29329: Improve documentation for hex(). Patch by Ammar Askar
Mariatta Wijaya [Thu, 2 Feb 2017 06:27:02 +0000 (22:27 -0800)]
Issue #29329: Improve documentation for hex(). Patch by Ammar Askar

8 years agoIssue #29381: Clarify ordering of UNIX shebang line as source encoding line
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

8 years agoIssue #29354: Fixed inspect.getargs() for parameters which are cell
Serhiy Storchaka [Wed, 1 Feb 2017 20:53:03 +0000 (22:53 +0200)]
Issue #29354: Fixed inspect.getargs() for parameters which are cell
variables.

8 years agoIssue #29028: Fixed possible use-after-free bugs in the subscription of the
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.

8 years agoupdate zlib ChangeLog file
doko@ubuntu.com [Tue, 31 Jan 2017 12:56:50 +0000 (13:56 +0100)]
update zlib ChangeLog file

8 years ago- Issue #29169: Update zlib to 1.2.11.
doko@ubuntu.com [Tue, 31 Jan 2017 12:30:58 +0000 (13:30 +0100)]
- Issue #29169: Update zlib to 1.2.11.

8 years agoIssue #12067: Rewrite Comparisons section in the language reference
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.

8 years agoAdd clarity to the warning on certificate verification in urllib.
Senthil Kumaran [Sat, 28 Jan 2017 07:05:34 +0000 (23:05 -0800)]
Add clarity to the warning on certificate verification in urllib.

8 years agoMerge heads
Serhiy Storchaka [Wed, 25 Jan 2017 11:28:45 +0000 (13:28 +0200)]
Merge heads

8 years agoIssue #27867: Replaced function PySlice_GetIndicesEx() with a macro.
Serhiy Storchaka [Wed, 25 Jan 2017 11:22:06 +0000 (13:22 +0200)]
Issue #27867: Replaced function PySlice_GetIndicesEx() with a macro.

8 years agoissue26149 - Point to Wiki for Editors and Python IDEs on Unix.
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.

8 years agoIssue #29189: Fix indentation in RST markup
Martin Panter [Tue, 24 Jan 2017 00:22:45 +0000 (00:22 +0000)]
Issue #29189: Fix indentation in RST markup

8 years agoIssue #29335: Fix subprocess.Popen.wait() when the child process has
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).

8 years agoIssue #29274: tests cases → test cases
Martin Panter [Wed, 18 Jan 2017 12:14:29 +0000 (12:14 +0000)]
Issue #29274: tests cases → test cases

8 years agorevert dd13098a5dc2 (#29006, #10513)
Benjamin Peterson [Mon, 16 Jan 2017 08:07:27 +0000 (00:07 -0800)]
revert dd13098a5dc2 (#29006, #10513)

8 years agogenerate spaces instead of tabs into config.c
Benjamin Peterson [Mon, 16 Jan 2017 08:05:12 +0000 (00:05 -0800)]
generate spaces instead of tabs into config.c