]> granicus.if.org Git - python/log
python
10 years agomake sure length is unsigned
Benjamin Peterson [Wed, 15 Oct 2014 15:51:05 +0000 (11:51 -0400)]
make sure length is unsigned

10 years agofix integer overflow in unicode case operations (closes #22643)
Benjamin Peterson [Wed, 15 Oct 2014 15:47:36 +0000 (11:47 -0400)]
fix integer overflow in unicode case operations (closes #22643)

10 years agonote xmlrpclib doesn't verify certs (yet)
Benjamin Peterson [Mon, 13 Oct 2014 15:54:50 +0000 (11:54 -0400)]
note xmlrpclib doesn't verify certs (yet)

10 years agoMerge 3.2 into 3.3.
Georg Brandl [Sun, 12 Oct 2014 07:29:19 +0000 (09:29 +0200)]
Merge 3.2 into 3.3.

10 years agoAdded tag v3.3.6 for changeset 971fec30da1f
Georg Brandl [Sun, 12 Oct 2014 07:03:47 +0000 (09:03 +0200)]
Added tag v3.3.6 for changeset 971fec30da1f

10 years agoBump to 3.3.6 v3.3.6
Georg Brandl [Sun, 12 Oct 2014 07:03:40 +0000 (09:03 +0200)]
Bump to 3.3.6

10 years agoAdded tag v3.2.6 for changeset 0bd5f4f14de9
Georg Brandl [Sun, 12 Oct 2014 06:51:30 +0000 (08:51 +0200)]
Added tag v3.2.6 for changeset 0bd5f4f14de9

10 years agoBump to 3.2.6 v3.2.6
Georg Brandl [Sun, 12 Oct 2014 06:50:38 +0000 (08:50 +0200)]
Bump to 3.2.6

10 years ago#16040: fix unlimited read from connection in nntplib.
Georg Brandl [Sun, 12 Oct 2014 06:50:11 +0000 (08:50 +0200)]
#16040: fix unlimited read from connection in nntplib.

10 years agoAdded tag v3.3.6rc1 for changeset 51317c9786f5
Georg Brandl [Sat, 4 Oct 2014 12:33:05 +0000 (14:33 +0200)]
Added tag v3.3.6rc1 for changeset 51317c9786f5

10 years agoAdded tag v3.2.6rc1 for changeset 51382a5598ec
Georg Brandl [Sat, 4 Oct 2014 12:17:10 +0000 (14:17 +0200)]
Added tag v3.2.6rc1 for changeset 51382a5598ec

10 years agoCopyright year update, add version to licenses. v3.2.6rc1
Georg Brandl [Sat, 4 Oct 2014 12:16:59 +0000 (14:16 +0200)]
Copyright year update, add version to licenses.

10 years agoBump to 3.2.6rc1
Georg Brandl [Sat, 4 Oct 2014 12:15:42 +0000 (14:15 +0200)]
Bump to 3.2.6rc1

10 years agoIssue #22518: Fixed integer overflow issues in "backslashreplace", v3.3.6rc1
Serhiy Storchaka [Sat, 4 Oct 2014 11:15:49 +0000 (14:15 +0300)]
Issue #22518: Fixed integer overflow issues in "backslashreplace",
"xmlcharrefreplace", and "surrogatepass" error handlers.

10 years agoBump to 3.3.6rc1
Georg Brandl [Sat, 4 Oct 2014 12:22:11 +0000 (14:22 +0200)]
Bump to 3.3.6rc1

10 years agoref #19855: skip uuid test_find_mac on non-Posix as in later branches
Georg Brandl [Wed, 1 Oct 2014 20:31:04 +0000 (22:31 +0200)]
ref #19855: skip uuid test_find_mac on non-Posix as in later branches

10 years agoFix unicode_aswidechar() for 4b unicode and 2b wchar_t (AIX).
Georg Brandl [Wed, 1 Oct 2014 17:15:11 +0000 (19:15 +0200)]
Fix unicode_aswidechar() for 4b unicode and 2b wchar_t (AIX).

10 years agoIssue #19855: uuid.getnode() on Unix now looks on the PATH for the
Georg Brandl [Tue, 30 Sep 2014 17:34:19 +0000 (19:34 +0200)]
Issue #19855: uuid.getnode() on Unix now looks on the PATH for the
executables used to find the mac address, with /sbin and /usr/sbin as
fallbacks.

Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with
virtual interface.  Original patch by Kent Frazier.

Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL,
if all necessary functions are already found in libuuid.
Patch by Evgeny Sologubov.

Issue #16102: Make uuid._netbios_getnode() work again on Python 3.

10 years agoBackport b533cc11d114 to fix intermittent test_urllibnet failures.
Georg Brandl [Tue, 30 Sep 2014 15:30:18 +0000 (17:30 +0200)]
Backport b533cc11d114 to fix intermittent test_urllibnet failures.

10 years agoAdd a dummy "touch" target to the Makefile so that the custom buildbots can test...
Georg Brandl [Tue, 30 Sep 2014 14:41:11 +0000 (16:41 +0200)]
Add a dummy "touch" target to the Makefile so that the custom buildbots can test this branch.

10 years agoFix-up for 0f362676460d: add missing size argument to SSLFakeFile.readline(), as...
Georg Brandl [Tue, 30 Sep 2014 14:31:21 +0000 (16:31 +0200)]
Fix-up for 0f362676460d: add missing size argument to SSLFakeFile.readline(), as in 2.6 backport 8a6def3add5b

10 years agoprevent overflow in unicode_repr (closes #22520)
Benjamin Peterson [Tue, 30 Sep 2014 03:02:15 +0000 (23:02 -0400)]
prevent overflow in unicode_repr (closes #22520)

10 years agoclear BufferedRWPair weakrefs on deallocation (closes #22517)
Benjamin Peterson [Tue, 30 Sep 2014 02:46:57 +0000 (22:46 -0400)]
clear BufferedRWPair weakrefs on deallocation (closes #22517)

10 years agothese variables ought to be Py_ssize_t
Benjamin Peterson [Mon, 29 Sep 2014 23:12:26 +0000 (19:12 -0400)]
these variables ought to be Py_ssize_t

10 years agofix overflow checking in PyBytes_Repr (closes #22519)
Benjamin Peterson [Mon, 29 Sep 2014 23:01:18 +0000 (19:01 -0400)]
fix overflow checking in PyBytes_Repr (closes #22519)

10 years agoNEWS issue for #22518
Benjamin Peterson [Mon, 29 Sep 2014 22:42:35 +0000 (18:42 -0400)]
NEWS issue for #22518

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 #20939: Use www.example.com instead of www.python.org to avoid test
Ned Deily [Thu, 27 Mar 2014 06:31:39 +0000 (23:31 -0700)]
Issue #20939: Use www.example.com instead of www.python.org to avoid test
failures when ssl is not present.

10 years agoIssue #16039: CVE-2013-1752: Change use of readline in imaplib module to limit
Georg Brandl [Tue, 30 Sep 2014 14:00:09 +0000 (16:00 +0200)]
Issue #16039: CVE-2013-1752: Change use of readline in imaplib module to limit
line length.  Patch by Emil Lind.

10 years agoIssue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces.
Georg Brandl [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 #22419: Limit the length of incoming HTTP request in wsgiref server to
Georg Brandl [Tue, 30 Sep 2014 12:56:46 +0000 (14:56 +0200)]
Issue #22419: Limit the length of incoming HTTP request in wsgiref server to
65536 bytes and send a 414 error code for higher lengths. Patch contributed
by Devin Cook.

10 years agoIssue #22517: When a io.BufferedRWPair object is deallocated, clear its
Georg Brandl [Tue, 30 Sep 2014 12:54:39 +0000 (14:54 +0200)]
Issue #22517: When a io.BufferedRWPair object is deallocated, clear its
weakrefs.

10 years agoIssue #16041: CVE-2013-1752: poplib: Limit maximum line lengths to 2048 to
Georg Brandl [Tue, 30 Sep 2014 12:45:39 +0000 (14:45 +0200)]
Issue #16041: CVE-2013-1752: poplib: Limit maximum line lengths to 2048 to
prevent readline() calls from consuming too much memory.  Patch by Jyrki
Pulliainen.

10 years agoIssue #16042: CVE-2013-1752: smtplib: Limit amount of data read by
Georg Brandl [Tue, 30 Sep 2014 12:18:02 +0000 (14:18 +0200)]
Issue #16042: CVE-2013-1752: smtplib: Limit amount of data read by
limiting the call to readline().  Original patch by Christian Heimes.

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)