]> granicus.if.org Git - python/log
python
8 years agofail when negative values are passed to instr()
Benjamin Peterson [Tue, 16 Aug 2016 04:40:14 +0000 (21:40 -0700)]
fail when negative values are passed to instr()

8 years agoUpdate setuptools/pip to 25.2.0/8.1.2
Donald Stufft [Sun, 14 Aug 2016 20:09:56 +0000 (16:09 -0400)]
Update setuptools/pip to 25.2.0/8.1.2

8 years agomerge 3.3 (closes #27760)
Benjamin Peterson [Sun, 14 Aug 2016 01:36:55 +0000 (18:36 -0700)]
merge 3.3 (closes #27760)

8 years agofix possible integer overflow in binascii.b2a_qp (closes #27760)
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

8 years agodo not allow reading negative values with getstr()
Benjamin Peterson [Sun, 14 Aug 2016 01:15:28 +0000 (18:15 -0700)]
do not allow reading negative values with getstr()

8 years agomerge 3.3 (#27758)
Benjamin Peterson [Sun, 14 Aug 2016 00:21:22 +0000 (17:21 -0700)]
merge 3.3 (#27758)

8 years agocheck for overflow in join_append_data (closes #27758)
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

8 years agoIssue #20160: Merged fix from 3.3.
Vinay Sajip [Fri, 5 Aug 2016 20:43:25 +0000 (21:43 +0100)]
Issue #20160: Merged fix from 3.3.

8 years agoIssue #20160: Handled passing of large structs to callbacks correctly.
Vinay Sajip [Fri, 5 Aug 2016 20:24:27 +0000 (21:24 +0100)]
Issue #20160: Handled passing of large structs to callbacks correctly.

8 years agoMerge 3.3
Donald Stufft [Wed, 3 Aug 2016 22:48:17 +0000 (18:48 -0400)]
Merge 3.3

8 years agoSwitch upload.pypi.io to upload.pypi.org
Donald Stufft [Wed, 3 Aug 2016 22:43:38 +0000 (18:43 -0400)]
Switch upload.pypi.io to upload.pypi.org

8 years ago[merge from 3.3] Prevent HTTPoxy attack (CVE-2016-1000110)
Senthil Kumaran [Sun, 31 Jul 2016 06:34:34 +0000 (23:34 -0700)]
[merge from 3.3] 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.

8 years agoPrevent HTTPoxy attack (CVE-2016-1000110)
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.

8 years agoIssue #27369: Merge test_pyexpat from 3.3 into 3.4
Martin Panter [Thu, 14 Jul 2016 02:09:17 +0000 (02:09 +0000)]
Issue #27369: Merge test_pyexpat from 3.3 into 3.4

8 years agoIssue #27369: Merge test_pyexpat from 3.2 into 3.3
Martin Panter [Thu, 14 Jul 2016 01:42:53 +0000 (01:42 +0000)]
Issue #27369: Merge test_pyexpat from 3.2 into 3.3

8 years agoIssue #27369: Don’t test error message detail that changed in Expat 2.2.0 3.2
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

8 years agoIssue #22758: Move NEWS entry to Library section
Martin Panter [Thu, 14 Jul 2016 01:17:03 +0000 (01:17 +0000)]
Issue #22758: Move NEWS entry to Library section

8 years ago#22758 null merge
R David Murray [Sun, 10 Jul 2016 18:10:56 +0000 (14:10 -0400)]
#22758 null merge

8 years ago#22758 null merge
R David Murray [Sun, 10 Jul 2016 18:10:08 +0000 (14:10 -0400)]
#22758 null merge

8 years ago#22758: fix regression in handling of secure cookies.
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.

8 years agomerge 3.3
Benjamin Peterson [Wed, 6 Jul 2016 21:04:11 +0000 (14:04 -0700)]
merge 3.3

8 years agoSwitch to the new upload url for PyPI
Donald Stufft [Wed, 6 Jul 2016 20:18:39 +0000 (16:18 -0400)]
Switch to the new upload url for PyPI

8 years agoSwitch to the new upload url for PyPI
Donald Stufft [Wed, 6 Jul 2016 19:27:35 +0000 (15:27 -0400)]
Switch to the new upload url for PyPI

8 years agoMerge.
Larry Hastings [Mon, 27 Jun 2016 02:43:00 +0000 (19:43 -0700)]
Merge.

8 years agoPost-release fixups for Python 3.4.5.
Larry Hastings [Mon, 27 Jun 2016 02:41:21 +0000 (19:41 -0700)]
Post-release fixups for Python 3.4.5.

8 years agoAdded tag v3.4.5 for changeset 619b61e505d0
Larry Hastings [Sat, 25 Jun 2016 21:44:49 +0000 (14:44 -0700)]
Added tag v3.4.5 for changeset 619b61e505d0

8 years agoVersion bump for 3.4.5 final. v3.4.5
Larry Hastings [Sat, 25 Jun 2016 21:44:30 +0000 (14:44 -0700)]
Version bump for 3.4.5 final.

8 years agoRegenerate pydoc topics for 3.4.5 final.
Larry Hastings [Sat, 25 Jun 2016 21:42:04 +0000 (14:42 -0700)]
Regenerate pydoc topics for 3.4.5 final.

8 years agoDocs: add html-stable autobuild variant
Georg Brandl [Wed, 15 Jun 2016 06:57:32 +0000 (08:57 +0200)]
Docs: add html-stable autobuild variant

8 years agosync ordering of stddef.h includes with expat 2.1.1
Benjamin Peterson [Tue, 14 Jun 2016 06:41:19 +0000 (23:41 -0700)]
sync ordering of stddef.h includes with expat 2.1.1

8 years agoIssue #26867: Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix test.
Matthias Klose [Mon, 13 Jun 2016 06:40:00 +0000 (23:40 -0700)]
Issue #26867: Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix test.

8 years agoAdded tag v3.4.5rc1 for changeset 3631bb4a2490
Larry Hastings [Sun, 12 Jun 2016 05:25:43 +0000 (22:25 -0700)]
Added tag v3.4.5rc1 for changeset 3631bb4a2490

8 years agoRelease bump for 3.4.5rc1. v3.4.5rc1
Larry Hastings [Sun, 12 Jun 2016 05:24:03 +0000 (22:24 -0700)]
Release bump for 3.4.5rc1.

8 years agoRegenerate pydoc topics for 3.4.5rc1.
Larry Hastings [Sun, 12 Jun 2016 05:22:07 +0000 (22:22 -0700)]
Regenerate pydoc topics for 3.4.5rc1.

8 years agoupgrade expt to 2.1.1 (closes #26556)
Benjamin Peterson [Sat, 11 Jun 2016 20:28:56 +0000 (13:28 -0700)]
upgrade expt to 2.1.1 (closes #26556)

8 years agoraise an error when STARTTLS fails
Benjamin Peterson [Sat, 11 Jun 2016 20:16:42 +0000 (13:16 -0700)]
raise an error when STARTTLS fails

8 years agoBack out 7e9605697dfc, 2e3c31ab586a, 759b2cecc289.
Guido van Rossum [Thu, 19 May 2016 20:00:21 +0000 (13:00 -0700)]
Back out 7e9605697dfc2e3c31ab586a759b2cecc289.

These added a path attribute to pathlib.Path objects, and docs.
Instead, we're going to use PEP 519.

(Starting in the 3.4 branch and merging forward from there since that's what I did originally.)

8 years agoUpgrade ensurepip bundled setuptools to 20.10.1
Donald Stufft [Mon, 2 May 2016 11:03:46 +0000 (07:03 -0400)]
Upgrade ensurepip bundled setuptools to 20.10.1

8 years agoIssue26748: Enum classes should evaluate as True
Ethan Furman [Thu, 14 Apr 2016 06:52:09 +0000 (23:52 -0700)]
Issue26748: Enum classes should evaluate as True

8 years agoremove useless $ keyword (closes #17167)
Benjamin Peterson [Tue, 22 Mar 2016 05:31:02 +0000 (22:31 -0700)]
remove useless $ keyword (closes #17167)

8 years agoUpgrade ensurepip._bundled pip to 8.1.1 and setuptools to 20.3
Donald Stufft [Thu, 17 Mar 2016 15:00:08 +0000 (11:00 -0400)]
Upgrade ensurepip._bundled pip to 8.1.1 and setuptools to 20.3

8 years agoBacked out changeset 19a3e0e664af
Serhiy Storchaka [Tue, 8 Mar 2016 19:13:35 +0000 (21:13 +0200)]
Backed out changeset 19a3e0e664af

8 years agoIssues #23808, #25911: Trying to fix walk tests on Windows.
Serhiy Storchaka [Tue, 8 Mar 2016 14:11:26 +0000 (16:11 +0200)]
Issues #23808, #25911: Trying to fix walk tests on Windows.

On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag.

8 years agoproperly use the ObjArgs variant of CallMethod in dictview binary operations (closes...
Benjamin Peterson [Fri, 4 Mar 2016 06:05:36 +0000 (22:05 -0800)]
properly use the ObjArgs variant of CallMethod in dictview binary operations (closes #26478)

8 years agoIssue #26246: Set initial value of the hidden attr when creating copy button.
Berker Peksag [Wed, 2 Mar 2016 17:40:08 +0000 (19:40 +0200)]
Issue #26246: Set initial value of the hidden attr when creating copy button.

Patch by Liang-Bo Wang.

8 years agoasyncio: Update 3.4 asyncio/test_tasks to upstream version
Yury Selivanov [Wed, 2 Mar 2016 15:33:22 +0000 (10:33 -0500)]
asyncio: Update 3.4 asyncio/test_tasks to upstream version

8 years ago#26246: update copybutton.js after JQuery update. Patch by Liang-Bo Wang.
Ezio Melotti [Sat, 27 Feb 2016 06:39:36 +0000 (08:39 +0200)]
#26246: update copybutton.js after JQuery update.  Patch by Liang-Bo Wang.

8 years agoopen the cert store readonly
Benjamin Peterson [Thu, 18 Feb 2016 06:13:19 +0000 (22:13 -0800)]
open the cert store readonly

Patch from Chi Hsuan Yen.

8 years agoreject negative data_size
Benjamin Peterson [Fri, 22 Jan 2016 06:02:46 +0000 (22:02 -0800)]
reject negative data_size

8 years agoUpgrade pip to 8.0.2
Donald Stufft [Fri, 22 Jan 2016 02:55:32 +0000 (21:55 -0500)]
Upgrade pip to 8.0.2

8 years agoprevent buffer overflow in get_data (closes #26171)
Benjamin Peterson [Thu, 21 Jan 2016 06:23:44 +0000 (22:23 -0800)]
prevent buffer overflow in get_data (closes #26171)

8 years agofix refleak in error condition
Benjamin Peterson [Thu, 21 Jan 2016 06:06:43 +0000 (22:06 -0800)]
fix refleak in error condition

8 years agoremove script from epub (closes #26172)
Benjamin Peterson [Thu, 21 Jan 2016 06:02:30 +0000 (22:02 -0800)]
remove script from epub (closes #26172)

8 years agoUpdate pip to 8.0.0 and setuptools to 19.4
Donald Stufft [Wed, 20 Jan 2016 01:13:51 +0000 (20:13 -0500)]
Update pip to 8.0.0 and setuptools to 19.4

8 years agoMake the error message regex more lenient so that it matches both
Gregory P. Smith [Sat, 16 Jan 2016 01:29:45 +0000 (17:29 -0800)]
Make the error message regex more lenient so that it matches both
"certificate verify failed " and "CERTIFICATE_VERIFY_FAILED " as
some SSL libraries use different text than OpenSSL.

8 years agoIssue #25940: Merge ETIMEDOUT fix from 3.3 into 3.4
Martin Panter [Fri, 15 Jan 2016 02:18:31 +0000 (02:18 +0000)]
Issue #25940: Merge ETIMEDOUT fix from 3.3 into 3.4

8 years agoIssue #25940: Merge ETIMEDOUT fix from 3.2 into 3.3
Martin Panter [Fri, 15 Jan 2016 02:08:13 +0000 (02:08 +0000)]
Issue #25940: Merge ETIMEDOUT fix from 3.2 into 3.3

8 years agoIssue #25940: On Windows, connecting to port 444 returns ETIMEDOUT
Martin Panter [Fri, 15 Jan 2016 01:16:41 +0000 (01:16 +0000)]
Issue #25940: On Windows, connecting to port 444 returns ETIMEDOUT

8 years agoIssue #25940: Update new SSL tests for self-signed.pythontest.net
Martin Panter [Thu, 14 Jan 2016 12:53:56 +0000 (12:53 +0000)]
Issue #25940: Update new SSL tests for self-signed.pythontest.net

8 years agoIssue #25940: Merge self-signed.pythontest.net testing from 3.3 into 3.4
Martin Panter [Thu, 14 Jan 2016 12:46:49 +0000 (12:46 +0000)]
Issue #25940: Merge self-signed.pythontest.net testing from 3.3 into 3.4

8 years agoIssue #25940: Merge self-signed.pythontest.net testing 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

8 years agoIssue #25940: Use self-signed.pythontest.net in SSL tests
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.

8 years agoIssue #26050: Add asyncio.StreamReader.readuntil() method.
Yury Selivanov [Mon, 11 Jan 2016 17:28:19 +0000 (12:28 -0500)]
Issue #26050: Add asyncio.StreamReader.readuntil() method.

Patch by Марк Коренберг.

8 years agoDocument asyncio.timeout()
Andrew Svetlov [Mon, 11 Jan 2016 12:40:35 +0000 (14:40 +0200)]
Document asyncio.timeout()

8 years agoSync with asyncio
Andrew Svetlov [Mon, 11 Jan 2016 10:25:23 +0000 (12:25 +0200)]
Sync with asyncio

8 years agoSync with asyncio repo
Andrew Svetlov [Mon, 11 Jan 2016 06:42:49 +0000 (08:42 +0200)]
Sync with asyncio repo

8 years agodelete old crypto prose (closes #26066)
Benjamin Peterson [Sun, 10 Jan 2016 07:55:47 +0000 (23:55 -0800)]
delete old crypto prose (closes #26066)

8 years agofix typo in unittest docs (closes #26046)
Benjamin Peterson [Fri, 8 Jan 2016 06:01:26 +0000 (22:01 -0800)]
fix typo in unittest docs (closes #26046)

Patch from Upendra Kumar.

8 years agoHopeful fix for test_rglob_common on Windows without symlinks.
Guido van Rossum [Thu, 7 Jan 2016 21:12:34 +0000 (13:12 -0800)]
Hopeful fix for test_rglob_common on Windows without symlinks.

8 years agoAdd another try/except PermissionError to avoid depending on listdir order. Fix issue...
Guido van Rossum [Thu, 7 Jan 2016 18:56:36 +0000 (10:56 -0800)]
Add another try/except PermissionError to avoid depending on listdir order. Fix issues #24120 and #26012.

8 years agoIssue16544 - Add a link to an external documentation resource in ast module docs.
Senthil Kumaran [Thu, 7 Jan 2016 05:26:53 +0000 (21:26 -0800)]
Issue16544 - Add a link to an external documentation resource in ast module docs.

8 years agoAdd versionadded (3.4.5) to docs for issue #22570.
Guido van Rossum [Wed, 6 Jan 2016 19:23:31 +0000 (11:23 -0800)]
Add versionadded (3.4.5) to docs for issue #22570.

8 years agoDocs for issue #22570.
Guido van Rossum [Wed, 6 Jan 2016 19:15:52 +0000 (11:15 -0800)]
Docs for issue #22570.

8 years agoIssue #22570: Add 'path' attribute to pathlib.Path objects.
Guido van Rossum [Wed, 6 Jan 2016 19:01:42 +0000 (11:01 -0800)]
Issue #22570: Add 'path' attribute to pathlib.Path objects.

8 years agoIssue #26012: Don't traverse into symlinks for ** pattern in pathlib.Path.[r]glob().
Guido van Rossum [Wed, 6 Jan 2016 18:31:33 +0000 (10:31 -0800)]
Issue #26012: Don't traverse into symlinks for ** pattern in pathlib.Path.[r]glob().

8 years agoIssue #24120: Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich Petri.
Guido van Rossum [Wed, 6 Jan 2016 17:42:07 +0000 (09:42 -0800)]
Issue #24120: Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich Petri.

8 years agoIssue24898 - Improve str.find documentation.
Senthil Kumaran [Mon, 4 Jan 2016 01:57:10 +0000 (17:57 -0800)]
Issue24898 - Improve str.find documentation.

Simplify str.find explaination as per Georg Brandl's suggestion.

8 years agoIssue21221 - Explain the usage of tm_isdst attribute of mktime, with valid
Senthil Kumaran [Sun, 3 Jan 2016 08:40:03 +0000 (00:40 -0800)]
Issue21221 - Explain the usage of tm_isdst attribute of mktime, with valid
values and meaning.

Patch contributed by Andrew Scheller.

9 years agoIssue25917 : Fix howto links in docs. Point the reference documentation instead of...
Senthil Kumaran [Sat, 2 Jan 2016 07:25:58 +0000 (23:25 -0800)]
Issue25917 : Fix howto links in docs. Point the reference documentation instead of wiki.

9 years agoUpdate copyrights for 2016.
Ned Deily [Fri, 1 Jan 2016 22:42:39 +0000 (17:42 -0500)]
Update copyrights for 2016.

9 years agomerge 3.3
Benjamin Peterson [Fri, 1 Jan 2016 17:55:47 +0000 (11:55 -0600)]
merge 3.3

9 years agoremove some copyright notices supserseded by the toplevel ones
Benjamin Peterson [Fri, 1 Jan 2016 17:53:47 +0000 (11:53 -0600)]
remove some copyright notices supserseded by the toplevel ones

9 years agoadd 2015 and 2016
Benjamin Peterson [Fri, 1 Jan 2016 17:53:14 +0000 (11:53 -0600)]
add 2015 and 2016

9 years agomerge 3.3
Benjamin Peterson [Fri, 1 Jan 2016 17:12:49 +0000 (11:12 -0600)]
merge 3.3

9 years agoreflow
Benjamin Peterson [Fri, 1 Jan 2016 17:12:44 +0000 (11:12 -0600)]
reflow

9 years agomerge 3.3
Benjamin Peterson [Fri, 1 Jan 2016 16:24:21 +0000 (10:24 -0600)]
merge 3.3

9 years ago2016 will be another year of writing copyrighted code
Benjamin Peterson [Fri, 1 Jan 2016 16:23:45 +0000 (10:23 -0600)]
2016 will be another year of writing copyrighted code

9 years agoMerge.
Larry Hastings [Mon, 21 Dec 2015 06:44:06 +0000 (22:44 -0800)]
Merge.

9 years agoPost-release touchups for Python 3.4.4 final.
Larry Hastings [Mon, 21 Dec 2015 06:42:47 +0000 (22:42 -0800)]
Post-release touchups for Python 3.4.4 final.

9 years agoAdded tag v3.4.4 for changeset 737efcadf5a6
Larry Hastings [Sun, 20 Dec 2015 03:31:20 +0000 (19:31 -0800)]
Added tag v3.4.4 for changeset 737efcadf5a6

9 years agoRelease bump for Python 3.4.4 final. v3.4.4
Larry Hastings [Sun, 20 Dec 2015 03:31:10 +0000 (19:31 -0800)]
Release bump for Python 3.4.4 final.

9 years agoRebuild pydoc topics for Python 3.4.4 final.
Larry Hastings [Sun, 20 Dec 2015 03:28:52 +0000 (19:28 -0800)]
Rebuild pydoc topics for Python 3.4.4 final.

9 years agoIssue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK.
Terry Jan Reedy [Fri, 18 Dec 2015 20:46:57 +0000 (15:46 -0500)]
Issue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK.

9 years agoFixes #25844: Corrected =/== typo potentially leading to crash in launcher.
Vinay Sajip [Sun, 13 Dec 2015 09:41:29 +0000 (09:41 +0000)]
Fixes #25844: Corrected =/== typo potentially leading to crash in launcher.

9 years agoIssue #25809: Skip testing platform-dependent French thousands separator
Martin Panter [Sat, 12 Dec 2015 06:53:34 +0000 (06:53 +0000)]
Issue #25809: Skip testing platform-dependent French thousands separator

9 years agodocs/asyncio: Twek sections names per Nick Coghlan suggestion
Yury Selivanov [Thu, 17 Dec 2015 02:30:52 +0000 (21:30 -0500)]
docs/asyncio: Twek sections names per Nick Coghlan suggestion

9 years agoasyncio/tests: Fix a ResourceWarning due to unclosed loop
Yury Selivanov [Thu, 17 Dec 2015 01:41:11 +0000 (20:41 -0500)]
asyncio/tests: Fix a ResourceWarning due to unclosed loop

9 years agoasyncio/tests: Fix ResourceWarnings related to unclosed transports
Yury Selivanov [Thu, 17 Dec 2015 01:23:26 +0000 (20:23 -0500)]
asyncio/tests: Fix ResourceWarnings related to unclosed transports

9 years agoasyncio/tests: Fix some ResourceWarnings
Yury Selivanov [Thu, 17 Dec 2015 00:51:09 +0000 (19:51 -0500)]
asyncio/tests: Fix some ResourceWarnings

9 years agoasyncio/tests: Fix deprecation warning
Yury Selivanov [Thu, 17 Dec 2015 00:40:03 +0000 (19:40 -0500)]
asyncio/tests: Fix deprecation warning