]> granicus.if.org Git - python/log
python
10 years agocleanup overflowing handling in unicode_decode_call_errorhandler and unicode_encode_u...
Benjamin Peterson [Mon, 29 Sep 2014 22:18:57 +0000 (18:18 -0400)]
cleanup overflowing handling in unicode_decode_call_errorhandler and unicode_encode_ucs1 (closes #22518)

10 years agoIssue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536...
Senthil Kumaran [Wed, 17 Sep 2014 08:29:29 +0000 (16:29 +0800)]
Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.

10 years agoIssue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces.
Senthil Kumaran [Wed, 17 Sep 2014 05:17:58 +0000 (13:17 +0800)]
Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces.

10 years agoLax cookie parsing in http.cookies could be a security issue when combined
Antoine Pitrou [Tue, 16 Sep 2014 22:23:55 +0000 (00:23 +0200)]
Lax cookie parsing in http.cookies could be a security issue when combined
with non-standard cookie handling in some Web browsers.

Reported by Sergey Bobrov.

10 years agoIssue #13540: Merge changes from 3.2
Jason R. Coombs [Sun, 3 Aug 2014 19:26:32 +0000 (15:26 -0400)]
Issue #13540: Merge changes from 3.2

10 years agoIssue #13540: Update references to Action class to match syntax used for other classe...
Jason R. Coombs [Sun, 3 Aug 2014 18:54:11 +0000 (14:54 -0400)]
Issue #13540: Update references to Action class to match syntax used for other classes in this file.

10 years agoIssue #13540: Removed redundant documentation about Action instance attributes. Updat...
Jason R. Coombs [Sun, 20 Jul 2014 14:52:46 +0000 (10:52 -0400)]
Issue #13540: Removed redundant documentation about Action instance attributes. Updated example and documentation per recommendations by Steven Bethard in msg149524.

10 years agoIssue #21323: Fix http.server to again handle scripts in CGI subdirectories,
Ned Deily [Sun, 13 Jul 2014 05:12:39 +0000 (22:12 -0700)]
Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,
broken by the fix for security issue #19435.  Patch by Zach Byrne.

10 years agoIssue #21323: Fix http.server to again handle scripts in CGI subdirectories,
Ned Deily [Sun, 13 Jul 2014 05:06:26 +0000 (22:06 -0700)]
Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,
broken by the fix for security issue #19435.  Patch by Zach Byrne.

10 years agoCloses #20872: dbm/gdbm/ndbm close methods are not documented
Jesus Cea [Wed, 25 Jun 2014 11:05:31 +0000 (13:05 +0200)]
Closes #20872: dbm/gdbm/ndbm close methods are not documented

10 years agoCloses #21441: Reorder elements in documentation to match actual order in the code
Jesus Cea [Wed, 25 Jun 2014 03:37:17 +0000 (05:37 +0200)]
Closes #21441: Reorder elements in documentation to match actual order in the code

10 years agomerge 3.2
Benjamin Peterson [Tue, 17 Jun 2014 06:16:06 +0000 (23:16 -0700)]
merge 3.2

10 years agoexpect the correct platform-dependent linesep
Benjamin Peterson [Tue, 17 Jun 2014 06:15:50 +0000 (23:15 -0700)]
expect the correct platform-dependent linesep

10 years agomerge 3.2 (#21766)
Benjamin Peterson [Sun, 15 Jun 2014 01:40:10 +0000 (18:40 -0700)]
merge 3.2 (#21766)

10 years agourl unquote the path before checking if it refers to a CGI script (closes #21766)
Benjamin Peterson [Sun, 15 Jun 2014 01:36:29 +0000 (18:36 -0700)]
url unquote the path before checking if it refers to a CGI script (closes #21766)

10 years agoUpdate docs to reflect resurrection of Setuptools over Distribute
Jason R. Coombs [Tue, 13 May 2014 02:40:49 +0000 (22:40 -0400)]
Update docs to reflect resurrection of Setuptools over Distribute

10 years agoThe PyCOND_TIMEDWAIT must use microseconds for the timeout argument
Kristján Valur Jónsson [Thu, 8 May 2014 10:36:27 +0000 (10:36 +0000)]
The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
in order to have the same resolution as pthreads condition variables.
At the same time, it must be large enough to accept 31 bits of
milliseconds, which is the maximum timeout value in the windows API.
A PY_LONG_LONG of microseconds fullfills both requirements.
This closes issue #20737

10 years ago- Issue #17752: Fix distutils tests when run from the installed location.
doko@ubuntu.com [Wed, 7 May 2014 02:44:42 +0000 (04:44 +0200)]
- Issue #17752: Fix distutils tests when run from the installed location.

10 years agoDocument the subprocess Popen.args attribute (issue21353)
Gregory P. Smith [Tue, 29 Apr 2014 18:33:23 +0000 (11:33 -0700)]
Document the subprocess Popen.args attribute (issue21353)

10 years agomerge 3.2
Benjamin Peterson [Mon, 14 Apr 2014 16:15:58 +0000 (12:15 -0400)]
merge 3.2

10 years agofix poor spelling
Benjamin Peterson [Mon, 14 Apr 2014 16:15:28 +0000 (12:15 -0400)]
fix poor spelling

10 years agomerge 3.2
Benjamin Peterson [Mon, 14 Apr 2014 15:46:51 +0000 (11:46 -0400)]
merge 3.2

10 years agodisallow a negative idx parameter
Benjamin Peterson [Mon, 14 Apr 2014 15:45:21 +0000 (11:45 -0400)]
disallow a negative idx parameter

10 years agomerge 3.2
Benjamin Peterson [Mon, 14 Apr 2014 02:28:16 +0000 (22:28 -0400)]
merge 3.2

10 years agoin scan_once, prevent the reading of arbitrary memory when passed a negative index
Benjamin Peterson [Mon, 14 Apr 2014 02:10:38 +0000 (22:10 -0400)]
in scan_once, prevent the reading of arbitrary memory when passed a negative index

Bug reported by Guido Vranken.

10 years agominor docfix (reported at docs@python.org) trace.py argument is --count not --counts
Senthil Kumaran [Sun, 6 Apr 2014 17:59:47 +0000 (10:59 -0700)]
minor docfix (reported at docs@python.org) trace.py argument is --count not --counts

10 years agomerge 3.2
Benjamin Peterson [Fri, 4 Apr 2014 13:51:45 +0000 (09:51 -0400)]
merge 3.2

10 years agofix versionchanged version
Benjamin Peterson [Fri, 4 Apr 2014 13:50:35 +0000 (09:50 -0400)]
fix versionchanged version

10 years agomerge 3.2 (#21082)
Benjamin Peterson [Tue, 1 Apr 2014 23:17:57 +0000 (19:17 -0400)]
merge 3.2 (#21082)

10 years agoremove directory mode check from makedirs (closes #21082)
Benjamin Peterson [Tue, 1 Apr 2014 23:13:18 +0000 (19:13 -0400)]
remove directory mode check from makedirs (closes #21082)

10 years agomerge 3.2
Benjamin Peterson [Mon, 31 Mar 2014 17:46:26 +0000 (13:46 -0400)]
merge 3.2

10 years agouse https docs url (#21115)
Benjamin Peterson [Mon, 31 Mar 2014 17:44:53 +0000 (13:44 -0400)]
use https docs url (#21115)

10 years agomerge 3.2
Benjamin Peterson [Mon, 31 Mar 2014 00:34:05 +0000 (20:34 -0400)]
merge 3.2

10 years agoadd Ian Beer
Benjamin Peterson [Mon, 31 Mar 2014 00:33:47 +0000 (20:33 -0400)]
add Ian Beer

10 years agomerge 3.2
Benjamin Peterson [Sun, 30 Mar 2014 23:52:22 +0000 (19:52 -0400)]
merge 3.2

10 years agofix expandtabs overflow detection to be consistent and not rely on signed overflow
Benjamin Peterson [Sun, 30 Mar 2014 23:47:57 +0000 (19:47 -0400)]
fix expandtabs overflow detection to be consistent and not rely on signed overflow

10 years agoIssue #20633: Replace relative import by absolute import.
Richard Oudkerk [Sun, 23 Mar 2014 12:42:28 +0000 (12:42 +0000)]
Issue #20633: Replace relative import by absolute import.

10 years agoUpdate doc version switcher for 3.4/3.5.
Georg Brandl [Mon, 17 Mar 2014 06:36:45 +0000 (07:36 +0100)]
Update doc version switcher for 3.4/3.5.

10 years agoimprove set_tunnel docs (closes #11448)
Benjamin Peterson [Sun, 16 Mar 2014 20:55:39 +0000 (15:55 -0500)]
improve set_tunnel docs (closes #11448)

Patch by Ryan Kelly, karl, and Nikolaus Rath.

10 years agofix ctypes test alignment assumptions (closes #20946)
Benjamin Peterson [Sun, 16 Mar 2014 09:07:26 +0000 (10:07 +0100)]
fix ctypes test alignment assumptions (closes #20946)

Patch by Andreas Schwab.

10 years agoClose #16665: improve documentation for hex(). Patch by Jessica McKellar.
Antoine Pitrou [Sun, 16 Mar 2014 01:12:20 +0000 (02:12 +0100)]
Close #16665: improve documentation for hex().  Patch by Jessica McKellar.

10 years agosend people to the right editors page (#20938)
Benjamin Peterson [Sat, 15 Mar 2014 20:23:32 +0000 (15:23 -0500)]
send people to the right editors page (#20938)

10 years agoIssue #20939: Fix test_geturl failure in test_urllibnet due to
Ned Deily [Sat, 15 Mar 2014 20:15:31 +0000 (13:15 -0700)]
Issue #20939: Fix test_geturl failure in test_urllibnet due to
new redirect of http://www.python.org/ to https://www.python.org.

10 years agoremove runtime_library_dirs for _sqlite; it isn't needed
Benjamin Peterson [Sat, 15 Mar 2014 17:29:04 +0000 (12:29 -0500)]
remove runtime_library_dirs for _sqlite; it isn't needed

10 years agoavoid referencing past the bounds of an array
Benjamin Peterson [Sat, 15 Mar 2014 17:21:28 +0000 (12:21 -0500)]
avoid referencing past the bounds of an array

10 years agoonly define zero constant when it is used
Benjamin Peterson [Sat, 15 Mar 2014 16:50:00 +0000 (11:50 -0500)]
only define zero constant when it is used

10 years agoremove unused zero constants
Benjamin Peterson [Sat, 15 Mar 2014 16:49:49 +0000 (11:49 -0500)]
remove unused zero constants

10 years ago#20933: At least one place maps 'test' to 'localhost'...fix test.
R David Murray [Sat, 15 Mar 2014 16:00:14 +0000 (12:00 -0400)]
#20933: At least one place maps 'test' to 'localhost'...fix test.

Discovery and patch by Wenzhu Man.  University of Waterloo apparently
maps the local name 'test' to localhost, which is in the bypass list,
causing the test to fail.  So change 'test' to a name unlikely to get
mapped to localhost.

10 years agoavoid referencing out-of-bounds memory
Benjamin Peterson [Sat, 15 Mar 2014 02:54:31 +0000 (21:54 -0500)]
avoid referencing out-of-bounds memory

10 years agofix c89 declaration order
Benjamin Peterson [Sat, 15 Mar 2014 02:53:51 +0000 (21:53 -0500)]
fix c89 declaration order

10 years agodon't do pointer arithmetic with signed numbers
Benjamin Peterson [Sat, 15 Mar 2014 02:47:23 +0000 (21:47 -0500)]
don't do pointer arithmetic with signed numbers

10 years ago#7475: Remove references to '.transform' from transform codec docstrings.
R David Murray [Fri, 14 Mar 2014 00:54:30 +0000 (20:54 -0400)]
#7475: Remove references to '.transform' from transform codec docstrings.

10 years agoClarify distutils’ clean command (ref #6142)
Éric Araujo [Thu, 13 Mar 2014 20:17:11 +0000 (16:17 -0400)]
Clarify distutils’ clean command (ref #6142)

10 years agoCloses #20908: Memory leak in Reg2Py()
Jesus Cea [Thu, 13 Mar 2014 16:35:32 +0000 (17:35 +0100)]
Closes #20908: Memory leak in Reg2Py()

10 years agoMake distutils error messages more helpful (#11599).
Éric Araujo [Thu, 13 Mar 2014 08:55:35 +0000 (04:55 -0400)]
Make distutils error messages more helpful (#11599).

When running external programs such as a C compiler and getting an
error code, distutils only prints the program name.  With this change,
one can get the full command line by setting the DISTUTILS_DEBUG
environment variable.

This should have no compatibility issues, unless there are tools
that depend on the exact format of distutils debug messages.

10 years agoweaken callback count inequality (closes #20901)
Benjamin Peterson [Thu, 13 Mar 2014 02:51:52 +0000 (21:51 -0500)]
weaken callback count inequality (closes #20901)

10 years agoremove unnecessary word (closes #19060)
Benjamin Peterson [Thu, 13 Mar 2014 02:41:35 +0000 (21:41 -0500)]
remove unnecessary word (closes #19060)

Patch by Anastasia Filatova.

10 years agoFix note markup (#16805).
Éric Araujo [Wed, 12 Mar 2014 23:51:00 +0000 (19:51 -0400)]
Fix note markup (#16805).

Patch by Tshepang Lekhonkhobe, reviewed by Georg Brandl.

10 years agomerge 3.2 (#20896)
Benjamin Peterson [Wed, 12 Mar 2014 23:10:47 +0000 (18:10 -0500)]
merge 3.2 (#20896)

10 years agouse ssl.PROTOCOL_SSLv23 for maximum compatibility (closes #20896)
Benjamin Peterson [Wed, 12 Mar 2014 23:05:53 +0000 (18:05 -0500)]
use ssl.PROTOCOL_SSLv23 for maximum compatibility (closes #20896)

10 years agoadd Sean Rodman
Benjamin Peterson [Wed, 12 Mar 2014 20:08:43 +0000 (15:08 -0500)]
add Sean Rodman

10 years agouse support.rmtree instead of shutil (closes #19614)
Benjamin Peterson [Wed, 12 Mar 2014 20:07:01 +0000 (15:07 -0500)]
use support.rmtree instead of shutil (closes #19614)

Patch by Sean Rodman.

10 years agoAvoid “error: None” messages from distutils (#4931).
Éric Araujo [Wed, 12 Mar 2014 07:34:02 +0000 (03:34 -0400)]
Avoid “error: None” messages from distutils (#4931).

Thanks to Amaury Forgeot d’Arc and Philip J. Eby.

10 years ago#20030: doc that TestLoader.discover returns a TestSuite.
R David Murray [Tue, 11 Mar 2014 22:46:00 +0000 (18:46 -0400)]
#20030: doc that TestLoader.discover returns a TestSuite.

Patch by Lita Cho.

10 years agoimprove algorithms_* documentation
Benjamin Peterson [Tue, 11 Mar 2014 19:26:12 +0000 (14:26 -0500)]
improve algorithms_* documentation

10 years agofix typo (closes #20892)
Benjamin Peterson [Tue, 11 Mar 2014 18:59:37 +0000 (13:59 -0500)]
fix typo (closes #20892)

10 years agoCloses #20090: update Doc/README and the error message in sphinx-build.py to make
Georg Brandl [Mon, 10 Mar 2014 18:26:57 +0000 (19:26 +0100)]
Closes #20090: update Doc/README and the error message in sphinx-build.py to make
it clear that any Python 3.x is not usable with the checked out Sphinx.

10 years ago#19953: Clarify the wording of the augmented assignment discussion.
R David Murray [Sun, 9 Mar 2014 22:51:16 +0000 (18:51 -0400)]
#19953: Clarify the wording of the augmented assignment discussion.

Patch by Priya Pappachan, based on suggestions from Terry Reedy
and myself.

10 years agoIssue #20875: Prevent possible gzip "'read' is not defined" NameError.
Ned Deily [Sun, 9 Mar 2014 21:44:34 +0000 (14:44 -0700)]
Issue #20875: Prevent possible gzip "'read' is not defined" NameError.
Patch by Claudiu Popa.

10 years agomerge with 3.3.5 release repo
Georg Brandl [Sun, 9 Mar 2014 10:17:23 +0000 (11:17 +0100)]
merge with 3.3.5 release repo

10 years agoPost-release update.
Georg Brandl [Sun, 9 Mar 2014 10:01:14 +0000 (11:01 +0100)]
Post-release update.

10 years agohgtouch: remove meta-variable from option spec
Georg Brandl [Sun, 9 Mar 2014 09:22:10 +0000 (10:22 +0100)]
hgtouch: remove meta-variable from option spec

This fifth tuple element is unsupported in an old hg version still used on
one buildbot, and it is not really necessary (only used in touch --help).

10 years agoAdded tag v3.3.5 for changeset 62cf4e77f785
Georg Brandl [Sun, 9 Mar 2014 08:37:32 +0000 (09:37 +0100)]
Added tag v3.3.5 for changeset 62cf4e77f785

10 years agoBump to 3.3.5 final. v3.3.5
Georg Brandl [Sun, 9 Mar 2014 08:37:14 +0000 (09:37 +0100)]
Bump to 3.3.5 final.

10 years ago#10197: Update get[status]output versionchanged with actual version.
R David Murray [Sat, 8 Mar 2014 01:04:17 +0000 (20:04 -0500)]
#10197: Update get[status]output versionchanged with actual version.

This was perhaps on the border between a bug fix and a feature since
the Python3 docs did not originally say it was unix only.  However, the
functions never worked anywhere but unix, and the docs were changed to
say it was unix only well before the windows support was added.

Unfortunately, windows support was added in 3.3.4 as well as 3.4.
That leaves us in the uncomfortable position of needing the tag to say
"version changed: 3.3.4" :(

10 years agoIssue #20813: Backport Python 2/3 HOWTO updates
Brett Cannon [Fri, 7 Mar 2014 17:28:35 +0000 (12:28 -0500)]
Issue #20813: Backport Python 2/3 HOWTO updates

10 years agoMake pywlauncher.vcxproj depend on make_versioninfo.vcxproj.
Zachary Ware [Thu, 6 Mar 2014 19:21:45 +0000 (13:21 -0600)]
Make pywlauncher.vcxproj depend on make_versioninfo.vcxproj.

pylauncher.vcxproj already has the same dependency, and adding it to
the pywlauncher project eliminates the possibility of the pywlauncher
build failing when building the solution in parallel.  In particular,
pywlauncher may fail to build when doing a "Rebuild Solution" from the
VS Build menu.

10 years agoIssue #20283: RE pattern methods now accept the string keyword parameters
Serhiy Storchaka [Thu, 6 Mar 2014 09:28:32 +0000 (11:28 +0200)]
Issue #20283: RE pattern methods now accept the string keyword parameters
as documented.  The pattern and source keyword parameters are left as
deprecated aliases.

10 years agoMake the various iterators' "setstate" sliently and consistently clip the
Kristján Valur Jónsson [Wed, 5 Mar 2014 13:47:57 +0000 (13:47 +0000)]
Make the various iterators' "setstate" sliently and consistently clip the
index.  This avoids the possibility of setting an iterator to an invalid
state.

10 years agoFix pickling of rangeiter. rangeiter_setstate would not allow setting it
Kristján Valur Jónsson [Tue, 4 Mar 2014 23:19:24 +0000 (23:19 +0000)]
Fix pickling of rangeiter.  rangeiter_setstate would not allow setting it
to the exhausted state.

10 years agoCorrect comments and improve failure reports in test_fileinput (closes #20501).
Serhiy Storchaka [Mon, 3 Mar 2014 19:17:17 +0000 (21:17 +0200)]
Correct comments and improve failure reports in test_fileinput (closes #20501).
Thanks Vajrasky Kok and Zachary Ware.

10 years agoAdded tag v3.3.5rc2 for changeset ca5635efe090
Georg Brandl [Sun, 2 Mar 2014 08:29:00 +0000 (09:29 +0100)]
Added tag v3.3.5rc2 for changeset ca5635efe090

10 years agoBump to 3.3.5rc2. v3.3.5rc2
Georg Brandl [Sun, 2 Mar 2014 08:19:03 +0000 (09:19 +0100)]
Bump to 3.3.5rc2.

10 years agoUpdate NEWS for 3.3.5rc2.
Georg Brandl [Sun, 2 Mar 2014 08:18:41 +0000 (09:18 +0100)]
Update NEWS for 3.3.5rc2.

10 years agoIssue #20404: reject non-text encodings early in TextIOWrapper.
Georg Brandl [Sun, 2 Mar 2014 08:18:31 +0000 (09:18 +0100)]
Issue #20404: reject non-text encodings early in TextIOWrapper.

10 years agomerge 3.3.5rc1 release commits with 3.3 branch
Georg Brandl [Sun, 2 Mar 2014 07:54:15 +0000 (08:54 +0100)]
merge 3.3.5rc1 release commits with 3.3 branch

10 years agoadd Chris Angelico
Benjamin Peterson [Sun, 2 Mar 2014 00:16:12 +0000 (19:16 -0500)]
add Chris Angelico

10 years agofix test_posix.test_initgroups to work without supplemental groups (closes #20249)
Benjamin Peterson [Sun, 2 Mar 2014 00:14:12 +0000 (19:14 -0500)]
fix test_posix.test_initgroups to work without supplemental groups (closes #20249)

10 years agofix test on debug builds (closes #20731)
Benjamin Peterson [Sat, 1 Mar 2014 15:31:36 +0000 (10:31 -0500)]
fix test on debug builds (closes #20731)

10 years agomerge 3.2
Benjamin Peterson [Sat, 1 Mar 2014 07:03:57 +0000 (02:03 -0500)]
merge 3.2

10 years agoIssue #20778: Fix modulefinder to work with bytecode-only modules.
Brett Cannon [Fri, 28 Feb 2014 15:44:45 +0000 (10:44 -0500)]
Issue #20778: Fix modulefinder to work with bytecode-only modules.

Bug filed and initial attempt at a patch by Bohuslav Kabrda.

10 years agoIssue #20731: Properly position in source code files even if they
Martin v. Löwis [Fri, 28 Feb 2014 14:27:29 +0000 (15:27 +0100)]
Issue #20731: Properly position in source code files even if they
are opened in text mode. Patch by Serhiy Storchaka.

10 years agoIssue #20567: Delete class attribute gui widgets in idle tests.
Terry Jan Reedy [Thu, 27 Feb 2014 23:47:49 +0000 (18:47 -0500)]
Issue #20567: Delete class attribute gui widgets in idle tests.
Code patch by Serhiy Storchaka

10 years agoIssue #20791: copy.copy() now doesn't make a copy when the input is a bytes object...
Antoine Pitrou [Thu, 27 Feb 2014 21:14:31 +0000 (22:14 +0100)]
Issue #20791: copy.copy() now doesn't make a copy when the input is a bytes object.  Initial patch by Peter Otten.

10 years agofix importlib test failure when bytecode writing is disabled (closes #20796)
Benjamin Peterson [Thu, 27 Feb 2014 18:49:34 +0000 (13:49 -0500)]
fix importlib test failure when bytecode writing is disabled (closes #20796)

Patch by Berker Peksag.

10 years agoAdded tests for issue #20501.
Serhiy Storchaka [Wed, 26 Feb 2014 18:59:43 +0000 (20:59 +0200)]
Added tests for issue #20501.

10 years agoFix several C-API doc typos caught by tomo cocoa on docs@.
Zachary Ware [Wed, 26 Feb 2014 16:40:38 +0000 (10:40 -0600)]
Fix several C-API doc typos caught by tomo cocoa on docs@.

The signature and description of PyException_SetCause now use "cause"
rather than "ctx" to match the code.

10 years agoIssue #20759: Fix some typos in the mock docs.
Zachary Ware [Wed, 26 Feb 2014 15:34:43 +0000 (09:34 -0600)]
Issue #20759: Fix some typos in the mock docs.

10 years agoMention issue 20621 fix in the NEWS file for 3.3.5rc1.
Gregory P. Smith [Wed, 26 Feb 2014 00:45:55 +0000 (16:45 -0800)]
Mention issue 20621 fix in the NEWS file for 3.3.5rc1.
This bug was of the major reasons for the release.

10 years agoFix typo (issue #19619).
Serhiy Storchaka [Tue, 25 Feb 2014 18:00:48 +0000 (20:00 +0200)]
Fix typo (issue #19619).