]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Ned Deily [Tue, 19 Sep 2017 07:32:02 +0000 (03:32 -0400)]
Bump to 3.3.7
Ned Deily [Thu, 7 Sep 2017 03:35:18 +0000 (20:35 -0700)]
Link to generated changelog, not website.
Ned Deily [Thu, 7 Sep 2017 02:17:08 +0000 (19:17 -0700)]
Ensure Doc build has Misc/NEWS for changelog
Ned Deily [Wed, 6 Sep 2017 23:19:05 +0000 (16:19 -0700)]
Bump version for post 3.3.7rc1
Ned Deily [Wed, 6 Sep 2017 07:23:33 +0000 (00:23 -0700)]
Bump to 3.3.7rc1
Ned Deily [Wed, 6 Sep 2017 06:53:41 +0000 (23:53 -0700)]
Remove unused suspicious rules
Ned Deily [Fri, 28 Jul 2017 21:02:50 +0000 (17:02 -0400)]
Backport changes to pyspecific.py
Ned Deily [Wed, 6 Sep 2017 06:23:01 +0000 (23:23 -0700)]
Update pydoc topics for 3.3.7rc1
Ned Deily [Wed, 6 Sep 2017 06:19:21 +0000 (23:19 -0700)]
Update NEWS.d and suspicious doc filter
Victor Stinner [Wed, 6 Sep 2017 00:57:36 +0000 (02:57 +0200)]
[3.3] bpo-30947, bpo-31170: Update expat from 2.2.1 to 2.2.4 (#3352)
* bpo-30947, bpo-31170: Update expat from 2.2.1 to 2.2.4
* Upgrade libexpat embedded copy from version 2.2.1 to 2.2.3 to get security
fixes.
* Update libexpat from 2.2.3 to 2.2.4. Fix copying of partial
characters for UTF-8 input (libexpat bug 115):
https://github.com/libexpat/libexpat/issues/115
* Define XML_POOR_ENTROPY when compiling expat
Ned Deily [Mon, 4 Sep 2017 06:07:02 +0000 (23:07 -0700)]
Fix doc role typos in argparse.rst.
Dong-hee Na [Wed, 26 Jul 2017 04:58:22 +0000 (13:58 +0900)]
[3.3] bpo-30119: fix ftplib.FTP.putline() to throw an error for a illegal command (#1214) (#2885)
Victor Stinner [Wed, 26 Jul 2017 04:06:18 +0000 (06:06 +0200)]
bpo-26657: Fix Windows directory traversal vulnerability with http.server (#782) (#2860)
Based on patch by Philipp Hagemeister. This fixes a regression caused by
revision
f4377699fd47 .
(cherry picked from commit
d274b3f1f1e2d8811733fb952c9f18d7da3a376a )
(cherry picked from commit
6f6bc1da8aaae52664e7747e328d26eb59c0e74f )
Serhiy Storchaka [Wed, 26 Jul 2017 03:54:31 +0000 (06:54 +0300)]
[3.3] bpo-22928: Disabled HTTP header injections in http.client. (#2817)
Original patch by Demian Brecht..
(cherry picked from commit
a112a8ae47813f75aa8ad27ee8c42a7c2e937d13 )
Serhiy Storchaka [Wed, 26 Jul 2017 03:07:30 +0000 (06:07 +0300)]
[3.3] [3.5] bpo-27945: Fixed various segfaults with dict. (GH-1657) (GH-1678) (#2396)
Based on patches by Duane Griffin and Tim Mitchell.
(cherry picked from commit
753bca3934a7618a4fa96e107ad1c5c18633a683 ).
(cherry picked from commit
2f7f533cf6fb57fcedcbc7bd454ac59fbaf2c655 )
Victor Stinner [Wed, 26 Jul 2017 02:43:52 +0000 (04:43 +0200)]
[3.3] bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2292)
The current regex based splitting produces a wrong result. For example::
http://abc#@def
Web browsers parse that URL as ``http://abc/#@def``, that is, the host
is ``abc``, the path is ``/``, and the fragment is ``#@def``.
(cherry picked from commit
90e01e50ef8a9e6c91f30d965563c378a4ad26de )
(cherry picked from commit
cc54c1c0d2d05fe7404ba64c53df4b1352ed2262 )
Victor Stinner [Thu, 20 Jul 2017 18:04:49 +0000 (20:04 +0200)]
[3.3] Backport CI config from master and remove skipped imaplib tests (#2481)
* Backport Travis CI config from master
Add .travis.yml for Travis CI.
* bpo-30231: Remove skipped test_imaplib tests (#1419) (#2193)
The public cyrus.andrew.cmu.edu IMAP server (port 993) doesn't accept
TLS connection using our self-signed x509 certificate. Remove the two
tests which are already skipped.
(cherry picked from commit
7895a0585b4b6a1c8082d17227307c6ce2c8bb8b )
Serhiy Storchaka [Wed, 19 Jul 2017 02:40:10 +0000 (05:40 +0300)]
[security][3.3] bpo-30730: Prevent environment variables injection in subprocess on Windows. (GH-2325) (#2363)
Victor Stinner [Wed, 19 Jul 2017 00:44:38 +0000 (02:44 +0200)]
[3.3] bpo-30585: [security] raise an error when STARTTLS fails (#225)
(cherry picked from commit
46b32f307c48bcb999b22eebf65ffe8ed5cca544 )
Segev Finer [Tue, 11 Jul 2017 19:47:03 +0000 (22:47 +0300)]
Avoid _GNU_SOURCE redefined warning in xmlparse.c (#2670)
(cherry picked from commit
f52325598e7a9683787d76a42009fc16790a0089 )
Victor Stinner [Sun, 16 Jul 2017 08:48:03 +0000 (10:48 +0200)]
[3.3] bpo-29591, bpo-30694: Upgrade Modules/expat to libexpat 2.2.1 (#2164) (#2204)
* bpo-29591: Upgrade Modules/expat to libexpat 2.2 (#2164)
* bpo-29591: Upgrade Modules/expat to libexpat 2.2
* bpo-29591: Restore Python changes on expat
* bpo-29591: Remove expat config of unsupported platforms
Remove the configuration (Modules/expat/*config.h) of unsupported
platforms:
* Amiga
* MacOS Classic on PPC32
* Open Watcom
* bpo-29591: Remove useless XML_HAS_SET_HASH_SALT
The XML_HAS_SET_HASH_SALT define of Modules/expat/expat.h became
useless since our local expat copy was upgrade to expat 2.1 (it's now
expat 2.2.0).
(cherry picked from commit
23ec4b57e1359f9c539b8defc317542173ae087e )
* bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300)
New file: Modules/expat/siphash.h.
(cherry picked from commit
5ff7132313eb651107b179d20218dfe5d4e47f13 )
* bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348)
bpo-30726, bpo-29591: libexpat 2.2.1 of Modules/expat/ now uses
a winconfig.h configuration file which already defines:
* XML_NS
* XML_DTD
* BYTEORDER=1234
* XML_CONTEXT_BYTES=1024
* HAVE_MEMMOVE
Remove these defines from PCbuild/_elementtree.vcxproj to prevent
compiler warnings.
Co-Authored-By: Jeremy Kloth <jeremy.kloth@gmail.com>
(cherry picked from commit
c8fb58bd7917151e63398587a7fc2126db7c26de )
* bpo-30726: Fix elementtree warnings on Windows due to expat upgrade (#2319)
* bpo-30726: Fix elementtree warnings on Windows
Caused by usage of `getenv` which should be safe. And a few integer
truncations which should also be ok.
* bpo-30726: Don't ignore libexpat warnings which haypo intends to fix upstream
(cherry picked from commit
87c65550730a8f85ce339ba197bce4fb7e836619 )
Ned Deily [Sun, 16 Jul 2017 07:57:47 +0000 (03:57 -0400)]
bpo-23844: Fix test_dh_params failure
Ned Deily [Sun, 16 Jul 2017 07:34:27 +0000 (03:34 -0400)]
Fix test_site test_license_exists_at_url
Ned Deily [Sun, 16 Jul 2017 06:58:48 +0000 (02:58 -0400)]
Fix distutils test_upload failure
Ned Deily [Sun, 16 Jul 2017 05:51:01 +0000 (01:51 -0400)]
Bump PY_VERSION to 3.3.6+
larryhastings [Thu, 22 Jun 2017 23:00:32 +0000 (16:00 -0700)]
Add "Misc/NEWS.d" directory tree for "blurb". GH-2332
CPython workflow is changing! We're going to start using "blurb"
to manage Misc/NEWS entries:
https://github.com/python/core-workflow
(This will be a big win for release managers, honest.)
This checkin simply populates the "Misc/NEWS.d" subdirectory tree
so that people can start putting their news entries in there.
No other changes (yet).
Ned Deily [Mon, 2 Jan 2017 07:46:09 +0000 (02:46 -0500)]
ring IDLE.app into 2017, too
Benjamin Peterson [Mon, 2 Jan 2017 04:04:13 +0000 (22:04 -0600)]
ring in 2017 for Python
Serhiy Storchaka [Mon, 14 Nov 2016 17:22:12 +0000 (19:22 +0200)]
Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers. Django tests depend on this.
Serhiy Storchaka [Sat, 12 Nov 2016 12:28:06 +0000 (14:28 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.
Serhiy Storchaka [Tue, 8 Nov 2016 19:17:46 +0000 (21:17 +0200)]
Issue #28563: Fixed possible DoS and arbitrary code execution when handle
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
Berker Peksag [Wed, 14 Sep 2016 05:37:28 +0000 (08:37 +0300)]
Issue #26171: Prevent buffer overflow in get_data
Backport of
01ddd608b85c .
Benjamin Peterson [Wed, 17 Aug 2016 06:35:35 +0000 (23:35 -0700)]
rearrange methodcaller_new so that the main error case does not cause uninitialized memory usage (closes #27783)
Benjamin Peterson [Tue, 16 Aug 2016 05:01:41 +0000 (22:01 -0700)]
do not decref value borrowed from list (closes #27774)
Benjamin Peterson [Sun, 14 Aug 2016 01:33:33 +0000 (18:33 -0700)]
fix possible integer overflow in binascii.b2a_qp (closes #27760)
Reported by Thomas E. Hybel
Benjamin Peterson [Sun, 14 Aug 2016 00:17:06 +0000 (17:17 -0700)]
check for overflow in join_append_data (closes #27758)
Reported by Thomas E. Hybel
Vinay Sajip [Fri, 5 Aug 2016 20:24:27 +0000 (21:24 +0100)]
Issue #20160: Handled passing of large structs to callbacks correctly.
Donald Stufft [Wed, 3 Aug 2016 22:43:38 +0000 (18:43 -0400)]
Switch upload.pypi.io to upload.pypi.org
Senthil Kumaran [Sun, 31 Jul 2016 06:24:16 +0000 (23:24 -0700)]
Prevent HTTPoxy attack (CVE-2016-
1000110 )
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
Martin Panter [Thu, 14 Jul 2016 01:42:53 +0000 (01:42 +0000)]
Issue #27369: Merge test_pyexpat from 3.2 into 3.3
Martin Panter [Thu, 14 Jul 2016 01:31:46 +0000 (01:31 +0000)]
Issue #27369: Don’t test error message detail that changed in Expat 2.2.0
Martin Panter [Thu, 14 Jul 2016 01:17:03 +0000 (01:17 +0000)]
Issue #22758: Move NEWS entry to Library section
R David Murray [Sun, 10 Jul 2016 18:10:08 +0000 (14:10 -0400)]
#22758 null merge
R David Murray [Sun, 10 Jul 2016 17:32:43 +0000 (13:32 -0400)]
#22758: fix regression in handling of secure cookies.
This backports the fix from #16611, per discussion with the release
manager.
Donald Stufft [Wed, 6 Jul 2016 19:27:35 +0000 (15:27 -0400)]
Switch to the new upload url for PyPI
Martin Panter [Fri, 15 Jan 2016 01:16:41 +0000 (01:16 +0000)]
Issue #25940: On Windows, connecting to port 444 returns ETIMEDOUT
Martin Panter [Thu, 14 Jan 2016 09:36:00 +0000 (09:36 +0000)]
Issue #25940: Use self-signed.pythontest.net in SSL tests
This is instead of svn.python.org, whose certificate recently expired, and
whose new certificate uses a different root certificate.
The certificate used at the pythontest server was modifed to set the "basic
constraints" CA flag. This flag seems to be required for test_get_ca_certs_
capath() to work (in Python 3.4+).
Added the new self-signed certificate to capath with the following commands:
cp Lib/test/{selfsigned_pythontestdotnet.pem,capath/}
c_rehash -v Lib/test/capath/
c_rehash -v -old Lib/test/capath/
# Note the generated file names
cp Lib/test/capath/{selfsigned_pythontestdotnet.pem,
0e4015b9 .0}
mv Lib/test/capath/{selfsigned_pythontestdotnet.pem,
ce7b8643 .0}
The new server responds with "No route to host" when connecting to port 444.
Serhiy Storchaka [Wed, 2 Dec 2015 23:02:03 +0000 (01:02 +0200)]
Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache.
Martin Panter [Fri, 15 Jan 2016 02:08:13 +0000 (02:08 +0000)]
Issue #25940: Merge ETIMEDOUT fix from 3.2 into 3.3
Martin Panter [Thu, 14 Jan 2016 12:21:02 +0000 (12:21 +0000)]
Issue #25940: Merge self-signed.pythontest.net testing from 3.2 into 3.3
Benjamin Peterson [Fri, 1 Jan 2016 17:53:47 +0000 (11:53 -0600)]
remove some copyright notices supserseded by the toplevel ones
Benjamin Peterson [Fri, 1 Jan 2016 17:53:14 +0000 (11:53 -0600)]
add 2015 and 2016
Benjamin Peterson [Fri, 1 Jan 2016 17:12:44 +0000 (11:12 -0600)]
reflow
Benjamin Peterson [Fri, 1 Jan 2016 16:23:45 +0000 (10:23 -0600)]
2016 will be another year of writing copyrighted code
Benjamin Peterson [Sat, 5 Dec 2015 08:27:11 +0000 (00:27 -0800)]
fix reordering
Benjamin Peterson [Sat, 5 Dec 2015 08:21:12 +0000 (00:21 -0800)]
merge 3.2
Benjamin Peterson [Sat, 5 Dec 2015 08:17:57 +0000 (00:17 -0800)]
add CVE and issue number
Kristján Valur Jónsson [Sat, 12 Sep 2015 15:20:54 +0000 (15:20 +0000)]
Issue #25021: Correctly make sure that product.__setstate__ does not access
invalid memory.
Benjamin Peterson [Sun, 5 Jul 2015 00:55:16 +0000 (19:55 -0500)]
protect against mutation of the dict during insertion (closes #24407)
Benjamin Peterson [Sat, 27 Jun 2015 19:25:50 +0000 (14:25 -0500)]
add issue number
Benjamin Peterson [Sat, 27 Jun 2015 18:41:33 +0000 (13:41 -0500)]
use safe allocation and reallocation macros
Yury Selivanov [Tue, 2 Jun 2015 22:53:46 +0000 (18:53 -0400)]
Issue 24366: Indent code (thanks to li4ick for reporting).
Benjamin Peterson [Tue, 26 May 2015 02:24:26 +0000 (21:24 -0500)]
merge 3.2
Benjamin Peterson [Tue, 26 May 2015 02:24:00 +0000 (21:24 -0500)]
keep distutils version in sync with python version automatically
Benjamin Peterson [Sat, 23 May 2015 15:38:48 +0000 (10:38 -0500)]
merge 3.2 (#22931)
Benjamin Peterson [Sat, 23 May 2015 15:36:48 +0000 (10:36 -0500)]
allow square brackets in cookie values (closes #22931)
Benjamin Peterson [Sun, 3 May 2015 15:23:37 +0000 (11:23 -0400)]
be more robust against the filters list changing under us (closes #24096)
Benjamin Peterson [Sun, 3 May 2015 02:28:04 +0000 (22:28 -0400)]
just sort the items tuple directly (closes #24094)
Benjamin Peterson [Thu, 23 Apr 2015 21:05:07 +0000 (17:05 -0400)]
merge 3.2 (#24044)
Benjamin Peterson [Thu, 23 Apr 2015 21:04:36 +0000 (17:04 -0400)]
properly handle malloc failure (closes #24044)
Patch by Christian Heimes.
Christian Heimes [Sun, 19 Apr 2015 19:08:42 +0000 (21:08 +0200)]
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error
Benjamin Peterson [Mon, 2 Mar 2015 18:23:25 +0000 (13:23 -0500)]
use PyMem_NEW to detect overflow (closes #23362)
Benjamin Peterson [Mon, 2 Mar 2015 16:17:05 +0000 (11:17 -0500)]
fix possible overflow bugs in unicodedata (closes #23367)
Benjamin Peterson [Wed, 18 Feb 2015 13:54:22 +0000 (08:54 -0500)]
merge 3.2
Benjamin Peterson [Wed, 18 Feb 2015 13:52:46 +0000 (08:52 -0500)]
remove RPM, since it's unused and unmaintained
Benjamin Peterson [Tue, 10 Feb 2015 01:58:12 +0000 (20:58 -0500)]
add overflow checking (closes #23361)
Serhiy Storchaka [Mon, 2 Feb 2015 23:34:09 +0000 (01:34 +0200)]
Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
Used PyMem_New to check overflow.
Benjamin Peterson [Mon, 2 Feb 2015 22:47:07 +0000 (17:47 -0500)]
reduce memory usage of test (closes #23369)
Benjamin Peterson [Mon, 2 Feb 2015 02:34:07 +0000 (21:34 -0500)]
check for overflows in permutations() and product() (closes #23363, closes #23364)
Benjamin Peterson [Mon, 2 Feb 2015 02:10:47 +0000 (21:10 -0500)]
check for overflow in combinations_with_replacement (closes #23365)
Benjamin Peterson [Mon, 2 Feb 2015 01:59:00 +0000 (20:59 -0500)]
detect overflow in combinations (closes #23366)
Benjamin Peterson [Sun, 1 Feb 2015 23:02:09 +0000 (18:02 -0500)]
remove extra ws
Benjamin Peterson [Sun, 1 Feb 2015 22:53:53 +0000 (17:53 -0500)]
fix possible overflow in encode_basestring_ascii (closes #23369)
Serhiy Storchaka [Fri, 30 Jan 2015 23:15:48 +0000 (01:15 +0200)]
Issue #23055: Fixed read-past-the-end error in PyUnicode_FromFormatV.
Serhiy Storchaka [Tue, 27 Jan 2015 20:18:46 +0000 (22:18 +0200)]
Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. Analysis
and fix by Guido Vranken.
Serhiy Storchaka [Tue, 27 Jan 2015 20:18:34 +0000 (22:18 +0200)]
Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. Analysis
and fix by Guido Vranken.
Ethan Furman [Thu, 15 Jan 2015 05:56:10 +0000 (21:56 -0800)]
Issue20467: clarify __init__'s role
Benjamin Peterson [Sun, 4 Jan 2015 22:03:59 +0000 (16:03 -0600)]
merge 3.2 (closes #23165)
Benjamin Peterson [Sun, 4 Jan 2015 22:03:17 +0000 (16:03 -0600)]
add some overflow checks before multiplying (closes #23165)
Benjamin Peterson [Thu, 1 Jan 2015 00:10:13 +0000 (18:10 -0600)]
merge 3.2
Benjamin Peterson [Thu, 1 Jan 2015 00:09:36 +0000 (18:09 -0600)]
update for copyright for 2015
Benjamin Peterson [Tue, 30 Dec 2014 16:08:52 +0000 (10:08 -0600)]
merge 3.2 (#23130)
Benjamin Peterson [Tue, 30 Dec 2014 16:08:16 +0000 (10:08 -0600)]
delete old ftpmirror script, which now has security bugs (closes #23130)
Benjamin Peterson [Sat, 6 Dec 2014 01:30:54 +0000 (20:30 -0500)]
merge 3.2 (#16043)
Benjamin Peterson [Sat, 6 Dec 2014 01:15:15 +0000 (20:15 -0500)]
add a default limit for the amount of data xmlrpclib.gzip_decode will return (closes #16043)
Georg Brandl [Wed, 5 Nov 2014 19:37:40 +0000 (20:37 +0100)]
Issue #25940: Backport self-signed.pythontest.net testing for test_httplib
The svn.python.org server recently changed root certificate, causing the test
to fail. This backports revision
4985375db40f .
Benjamin Peterson [Wed, 5 Nov 2014 16:29:39 +0000 (11:29 -0500)]
merge 3.2
Benjamin Peterson [Wed, 5 Nov 2014 16:27:14 +0000 (11:27 -0500)]
use pythontest.net for url fragment test
Benjamin Peterson [Mon, 3 Nov 2014 20:11:53 +0000 (15:11 -0500)]
merge 3.2
Benjamin Peterson [Mon, 3 Nov 2014 20:10:47 +0000 (15:10 -0500)]
move idna test domain to pythontest.net