]> granicus.if.org Git - python/log
python
11 years agouse the collapsed path in the run_cgi method (closes #19435)
Benjamin Peterson [Wed, 30 Oct 2013 16:43:09 +0000 (12:43 -0400)]
use the collapsed path in the run_cgi method (closes #19435)

11 years ago#14984: only import pwd on POSIX.
R David Murray [Wed, 18 Sep 2013 12:52:38 +0000 (08:52 -0400)]
#14984: only import pwd on POSIX.

11 years ago#14984: On POSIX, enforce permissions when reading default .netrc.
R David Murray [Wed, 18 Sep 2013 00:30:02 +0000 (20:30 -0400)]
#14984: On POSIX, enforce permissions when reading default .netrc.

Initial patch by Bruno Piguet.

This is implemented as if a useful .netrc file could exist without passwords,
which is possible in the general case; but in fact our netrc implementation
does not support it.  Fixing that issue will be an enhancement.

11 years agoFix tkinter regression introduced by the security fix in #16248.
Georg Brandl [Sat, 14 Sep 2013 07:08:09 +0000 (09:08 +0200)]
Fix tkinter regression introduced by the security fix in #16248.

12 years agoDon't DECREF the ctypes error_object without the GIL held.
Kristjan Valur Jonsson [Fri, 21 Dec 2012 09:41:25 +0000 (09:41 +0000)]
Don't DECREF the ctypes error_object without the GIL held.

12 years agoIssue #16248: Disable code execution from the user's home directory by tkinter when...
Antoine Pitrou [Sun, 9 Dec 2012 13:46:18 +0000 (14:46 +0100)]
Issue #16248: Disable code execution from the user's home directory by tkinter when the -E flag is passed to Python.
Patch by Zachary Ware.

12 years agoafter 3.1.5
Benjamin Peterson [Wed, 11 Apr 2012 20:46:54 +0000 (16:46 -0400)]
after 3.1.5

12 years agofix build without Py_DEBUG and DNDEBUG (closes #14509)
Benjamin Peterson [Mon, 9 Apr 2012 18:53:07 +0000 (14:53 -0400)]
fix build without Py_DEBUG and DNDEBUG (closes #14509)

12 years agoAdded tag v3.1.5 for changeset 7395330e495e
Benjamin Peterson [Fri, 6 Apr 2012 17:17:30 +0000 (13:17 -0400)]
Added tag v3.1.5 for changeset 7395330e495e

12 years agobump to 3.1.5 final v3.1.5
Benjamin Peterson [Fri, 6 Apr 2012 17:17:25 +0000 (13:17 -0400)]
bump to 3.1.5 final

12 years agoAdded tag v3.1.5rc2 for changeset 75db2bc69fc9
Benjamin Peterson [Thu, 15 Mar 2012 18:58:31 +0000 (13:58 -0500)]
Added tag v3.1.5rc2 for changeset 75db2bc69fc9

12 years agomerge heads v3.1.5rc2
Benjamin Peterson [Thu, 15 Mar 2012 18:57:38 +0000 (13:57 -0500)]
merge heads

12 years agobump to 3.1.5rc2
Benjamin Peterson [Thu, 15 Mar 2012 18:57:27 +0000 (13:57 -0500)]
bump to 3.1.5rc2

12 years agomerge heads
Matthias Klose [Wed, 14 Mar 2012 22:24:11 +0000 (23:24 +0100)]
merge heads

12 years ago- rename configure.in to configure.ac
Matthias Klose [Wed, 14 Mar 2012 22:10:15 +0000 (23:10 +0100)]
- rename configure.in to configure.ac
- change references from configure.in to configure.ac

12 years agomove the Misc/NEWS entry to the right section.
Gregory P. Smith [Wed, 14 Mar 2012 21:58:22 +0000 (14:58 -0700)]
move the Misc/NEWS entry to the right section.

12 years agoFixes issue #14234: CVE-2012-0876: Randomize hashes of xml attributes
Gregory P. Smith [Wed, 14 Mar 2012 21:26:55 +0000 (14:26 -0700)]
Fixes issue #14234: CVE-2012-0876: Randomize hashes of xml attributes
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.

12 years agoupdate copyright year
Benjamin Peterson [Thu, 23 Feb 2012 15:53:44 +0000 (10:53 -0500)]
update copyright year

12 years agoAdded tag v3.1.5rc1 for changeset ee26aca3219c
Benjamin Peterson [Thu, 23 Feb 2012 15:46:00 +0000 (10:46 -0500)]
Added tag v3.1.5rc1 for changeset ee26aca3219c

12 years agoversion now 3.1.5rc1 v3.1.5rc1
Benjamin Peterson [Thu, 23 Feb 2012 15:45:48 +0000 (10:45 -0500)]
version now 3.1.5rc1

12 years agoRemove reST markup from --help output. Also: O(n**2) is dict construction, not singl...
Georg Brandl [Tue, 21 Feb 2012 21:36:27 +0000 (22:36 +0100)]
Remove reST markup from --help output.  Also: O(n**2) is dict construction, not single insertion.

12 years agoensure no one tries to hash things before the random seed is found
Benjamin Peterson [Tue, 21 Feb 2012 16:08:50 +0000 (11:08 -0500)]
ensure no one tries to hash things before the random seed is found

12 years agoRemove setting hash seed to regrtest's random seed and re-execv()ing: this doesn...
Georg Brandl [Mon, 20 Feb 2012 21:06:02 +0000 (22:06 +0100)]
Remove setting hash seed to regrtest's random seed and re-execv()ing: this doesn't preserve Python flags and fails from a temp directory.

12 years agoFix dbm_gnu test relying on set order.
Georg Brandl [Mon, 20 Feb 2012 21:48:06 +0000 (22:48 +0100)]
Fix dbm_gnu test relying on set order.

12 years agoFix typo.
Georg Brandl [Mon, 20 Feb 2012 22:09:59 +0000 (23:09 +0100)]
Fix typo.

12 years agoFix typo in conditional.
Georg Brandl [Mon, 20 Feb 2012 22:49:29 +0000 (23:49 +0100)]
Fix typo in conditional.

12 years agodon't rely on the order of module clearing
Benjamin Peterson [Mon, 20 Feb 2012 20:20:37 +0000 (15:20 -0500)]
don't rely on the order of module clearing

12 years agoIssue #13703: add a way to randomize the hash values of basic types (str, bytes,...
Georg Brandl [Mon, 20 Feb 2012 18:54:16 +0000 (19:54 +0100)]
Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.

The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.

12 years agoIssue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
Charles-François Natali [Sat, 18 Feb 2012 13:42:57 +0000 (14:42 +0100)]
Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
upon malformed POST request.

12 years agoRevert fix for #13807 mistakenly applied in this branch.
Vinay Sajip [Fri, 3 Feb 2012 18:23:05 +0000 (18:23 +0000)]
Revert fix for #13807 mistakenly applied in this branch.

12 years agoIssue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV attack...
Antoine Pitrou [Fri, 27 Jan 2012 08:48:47 +0000 (09:48 +0100)]
Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV attack countermeasure.

12 years agoCloses #13807: Now checks for sys.stderr being there before writing to it.
Vinay Sajip [Fri, 20 Jan 2012 11:23:02 +0000 (11:23 +0000)]
Closes #13807: Now checks for sys.stderr being there before writing to it.

13 years agofix this to not depend on dictionary order
Benjamin Peterson [Tue, 3 Jan 2012 22:23:11 +0000 (16:23 -0600)]
fix this to not depend on dictionary order

13 years agoRemove mentions of previous license in profile module docs (#12417 followup).
Éric Araujo [Thu, 28 Jul 2011 20:56:24 +0000 (22:56 +0200)]
Remove mentions of previous license in profile module docs (#12417 followup).

Also remove an extra docstring.

13 years agoIssue #11603: Fix a crash when __str__ is rebound as __repr__.
Antoine Pitrou [Fri, 15 Jul 2011 19:15:07 +0000 (21:15 +0200)]
Issue #11603: Fix a crash when __str__ is rebound as __repr__.
Patch by Andreas Stührk.

13 years agoIssue #12502: asyncore: fix polling loop with AF_UNIX sockets.
Charles-François Natali [Thu, 14 Jul 2011 17:53:38 +0000 (19:53 +0200)]
Issue #12502: asyncore: fix polling loop with AF_UNIX sockets.

13 years agoIssue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed by
Charles-François Natali [Sat, 2 Jul 2011 12:35:49 +0000 (14:35 +0200)]
Issue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed by
the garbage collector while the Heap lock is held.

13 years agoupdate profile license (closes #12417)
Benjamin Peterson [Mon, 27 Jun 2011 14:14:34 +0000 (09:14 -0500)]
update profile license (closes #12417)

13 years agoIssue #12228: Fix exchanged flag descriptions in stat.rst. Thanks Sandro Tosi.
Mark Dickinson [Sat, 25 Jun 2011 10:03:33 +0000 (12:03 +0200)]
Issue #12228: Fix exchanged flag descriptions in stat.rst.  Thanks Sandro Tosi.

13 years agoFix closes issue12261 - Minor documention changes in the urllib.parse.rst
Senthil Kumaran [Sun, 19 Jun 2011 20:52:49 +0000 (13:52 -0700)]
Fix closes issue12261 - Minor documention changes in the urllib.parse.rst

13 years agoonto 3.1.5
Benjamin Peterson [Sat, 11 Jun 2011 16:33:01 +0000 (11:33 -0500)]
onto 3.1.5

13 years agoAdded tag v3.1.4 for changeset c918ec9f3a76
Benjamin Peterson [Sat, 11 Jun 2011 14:59:17 +0000 (09:59 -0500)]
Added tag v3.1.4 for changeset c918ec9f3a76

13 years agobump to 3.1.4 v3.1.4
Benjamin Peterson [Sat, 11 Jun 2011 14:58:58 +0000 (09:58 -0500)]
bump to 3.1.4

13 years agofix regression in netrc comment handling (closes #12009)
Benjamin Peterson [Fri, 10 Jun 2011 16:32:52 +0000 (11:32 -0500)]
fix regression in netrc comment handling (closes #12009)

13 years agoIssue #10801: Fix test_unicode_filenames() of test_zipfile
Victor Stinner [Fri, 10 Jun 2011 14:32:54 +0000 (16:32 +0200)]
Issue #10801: Fix test_unicode_filenames() of test_zipfile

Just try to open files from the ZIP for reading, don't extract them to avoid
UnicodeEncodeError if the filename is not encodable to the filesystem encoding
(e.g. ASCII locale encoding).

13 years agoAdd 3.1.4 UUIDs.
Martin v. Löwis [Sun, 5 Jun 2011 08:56:44 +0000 (10:56 +0200)]
Add 3.1.4 UUIDs.

13 years agoDo not add txt files twice.
Martin v. Löwis [Sun, 5 Jun 2011 08:55:57 +0000 (10:55 +0200)]
Do not add txt files twice.

13 years agoreturn NULL on error
Benjamin Peterson [Wed, 1 Jun 2011 02:38:15 +0000 (21:38 -0500)]
return NULL on error

13 years agosimply use the Python version for pyexpat.__version__ #12221
Benjamin Peterson [Tue, 31 May 2011 23:59:49 +0000 (18:59 -0500)]
simply use the Python version for pyexpat.__version__ #12221

13 years agoAdded tag v3.1.4rc1 for changeset 32fcb9e94985
Benjamin Peterson [Sun, 29 May 2011 21:10:15 +0000 (16:10 -0500)]
Added tag v3.1.4rc1 for changeset 32fcb9e94985

13 years agoupdate pydoc-topics v3.1.4rc1
Benjamin Peterson [Sun, 29 May 2011 21:09:08 +0000 (16:09 -0500)]
update pydoc-topics

13 years agobump to 3.1.4rc1
Benjamin Peterson [Sun, 29 May 2011 21:06:00 +0000 (16:06 -0500)]
bump to 3.1.4rc1

13 years agoBranch merge
Éric Araujo [Sun, 29 May 2011 15:56:20 +0000 (17:56 +0200)]
Branch merge

13 years agoIssue #12205: Fix test_subprocess failure due to uninstalled test data.
Ned Deily [Sun, 29 May 2011 09:39:02 +0000 (02:39 -0700)]
Issue #12205: Fix test_subprocess failure due to uninstalled test data.

13 years agoFix typo in 0311f62714f7
Éric Araujo [Sun, 29 May 2011 01:48:49 +0000 (03:48 +0200)]
Fix typo in 0311f62714f7

13 years agoDon’t misuse “package data” in pprint example
Éric Araujo [Sun, 29 May 2011 01:46:31 +0000 (03:46 +0200)]
Don’t misuse “package data” in pprint example

13 years agoRe-add missing doc stub for the distutils check command
Éric Araujo [Sat, 28 May 2011 22:22:06 +0000 (00:22 +0200)]
Re-add missing doc stub for the distutils check command

13 years agoMinor touch-ups in distutils.cmd.Command doc
Éric Araujo [Sat, 28 May 2011 22:14:45 +0000 (00:14 +0200)]
Minor touch-ups in distutils.cmd.Command doc

13 years agoFix test_build_py when sys.dont_write_bytecode is true (#9831).
Éric Araujo [Sat, 28 May 2011 21:32:50 +0000 (23:32 +0200)]
Fix test_build_py when sys.dont_write_bytecode is true (#9831).

The tests now pass all combinations of -O/-OO and -B.  See also #7071
and #6292 for previous variations on the same theme.

test_versionpredicate needs a skip when sys.flags.optimize is true, but
I don’t know how to make that work with a DocTestSuite.

13 years agoIssue #985064: Make plistlib more resilient to faulty input plists.
Ned Deily [Sat, 28 May 2011 09:19:19 +0000 (02:19 -0700)]
Issue #985064: Make plistlib more resilient to faulty input plists.
Patch by Mher Movsisyan.

13 years agoIssue #9670: Increase the default stack size for secondary threads on
Ned Deily [Sat, 28 May 2011 07:19:56 +0000 (00:19 -0700)]
Issue #9670: Increase the default stack size for secondary threads on
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(patch by Ronald Oussoren)

13 years agofix spacing
Benjamin Peterson [Fri, 27 May 2011 19:17:04 +0000 (14:17 -0500)]
fix spacing

13 years agofix indentation
Benjamin Peterson [Fri, 27 May 2011 19:10:24 +0000 (14:10 -0500)]
fix indentation

13 years agoMinor doc addition for clarity
Éric Araujo [Fri, 27 May 2011 02:42:47 +0000 (04:42 +0200)]
Minor doc addition for clarity

13 years agoAdd missing closing paren
Éric Araujo [Fri, 27 May 2011 02:36:52 +0000 (04:36 +0200)]
Add missing closing paren

13 years agoBranch merge
Éric Araujo [Thu, 26 May 2011 14:49:59 +0000 (16:49 +0200)]
Branch merge

13 years agoIssue #12175: RawIOBase.readall() now returns None if read() returns None.
Victor Stinner [Wed, 25 May 2011 20:47:16 +0000 (22:47 +0200)]
Issue #12175: RawIOBase.readall() now returns None if read() returns None.

13 years agoIssue #12175: FileIO.readall() now raises a ValueError instead of an IOError if
Victor Stinner [Wed, 25 May 2011 20:09:03 +0000 (22:09 +0200)]
Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError if
the file is closed.

13 years agoBranch merge
Éric Araujo [Wed, 25 May 2011 16:12:22 +0000 (18:12 +0200)]
Branch merge

13 years agoIssue #12057: Add cjkencodings directory to the Makefile and Tools/msi/msi.py
Victor Stinner [Tue, 24 May 2011 23:13:59 +0000 (01:13 +0200)]
Issue #12057: Add cjkencodings directory to the Makefile and Tools/msi/msi.py

13 years agoIssue #12057: Add tests for the HZ encoding
Victor Stinner [Tue, 24 May 2011 22:06:51 +0000 (00:06 +0200)]
Issue #12057: Add tests for the HZ encoding

13 years agoIssue #12100: Don't reset incremental encoders of CJK codecs at each call to
Victor Stinner [Tue, 24 May 2011 20:17:55 +0000 (22:17 +0200)]
Issue #12100: Don't reset incremental encoders of CJK codecs at each call to
their encode() method anymore, but continue to call the reset() method if the
final argument is True.

13 years agobackout 8b384de4e780, so a proper fix can be considered (#5715)
Benjamin Peterson [Tue, 24 May 2011 17:50:34 +0000 (12:50 -0500)]
backout 8b384de4e780, so a proper fix can be considered (#5715)

13 years agouse '->' to indicate return values
Benjamin Peterson [Tue, 24 May 2011 17:42:51 +0000 (12:42 -0500)]
use '->' to indicate return values

13 years agogenerally, sockets should be closed after they're used
Benjamin Peterson [Tue, 24 May 2011 17:06:31 +0000 (12:06 -0500)]
generally, sockets should be closed after they're used

13 years agoIssue #5715: In socketserver, close the server socket in the child process.
Charles-François Natali [Tue, 24 May 2011 16:23:15 +0000 (18:23 +0200)]
Issue #5715: In socketserver, close the server socket in the child process.

13 years agocorrectly lookup __dir__
Benjamin Peterson [Mon, 23 May 2011 21:11:05 +0000 (16:11 -0500)]
correctly lookup __dir__

13 years agotest_codecs now removes the temporay file (created by the test)
Victor Stinner [Mon, 23 May 2011 12:51:42 +0000 (14:51 +0200)]
test_codecs now removes the temporay file (created by the test)

13 years agoIssue #10801: Remove a debug print() from test_zipfile
Victor Stinner [Sun, 22 May 2011 20:12:27 +0000 (22:12 +0200)]
Issue #10801: Remove a debug print() from test_zipfile

13 years agoIssue 12126: removing incorrect claim about return value of select
Eli Bendersky [Sun, 22 May 2011 03:56:15 +0000 (06:56 +0300)]
Issue 12126: removing incorrect claim about return value of select

13 years agothis should actually be an IOError
Benjamin Peterson [Fri, 20 May 2011 16:49:06 +0000 (11:49 -0500)]
this should actually be an IOError

13 years agoadd example for not using access
Benjamin Peterson [Fri, 20 May 2011 16:41:13 +0000 (11:41 -0500)]
add example for not using access

13 years ago#12072: add missing parenthesis in the doc. Patch by Sandro Tosi.
Ezio Melotti [Fri, 20 May 2011 12:04:38 +0000 (15:04 +0300)]
#12072: add missing parenthesis in the doc.  Patch by Sandro Tosi.

13 years agoIssue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore
Victor Stinner [Thu, 19 May 2011 22:16:09 +0000 (00:16 +0200)]
Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore
to be able to unload the module.

13 years agoOoops, add the missing file of the backport of commit 33543b4e0e5d from Python
Victor Stinner [Wed, 18 May 2011 11:48:41 +0000 (13:48 +0200)]
Ooops, add the missing file of the backport of commit 33543b4e0e5d from Python
3.2 (#10801: In zipfile, support different encodings for the header and the
filenames.  Patch by MvL, test by Eli Bendersky.)

13 years agoBackport commit 33543b4e0e5d from Python 3.2: #10801: In zipfile, support
Victor Stinner [Wed, 18 May 2011 11:43:23 +0000 (13:43 +0200)]
Backport commit 33543b4e0e5d from Python 3.2: #10801: In zipfile, support
different encodings for the header and the filenames.  Patch by MvL, test by
Eli Bendersky.

13 years agoFix #10154 and #10090: locale normalizes the UTF-8 encoding to "UTF-8" instead of...
Ronald Oussoren [Tue, 17 May 2011 10:44:54 +0000 (12:44 +0200)]
Fix #10154 and #10090: locale normalizes the UTF-8 encoding to "UTF-8" instead of "UTF8"

On MacOSX and OpenBSD (and possibly other BSDs) "en_US.UTF-8" is a valid locale
while "en_US.UTF8" is not. As the former works on Linux as well it is better
to normalize to that value.

13 years agoIssue #11614: Fix test_linecache, cjkencodings_test.py doesn't exist anymore
Victor Stinner [Mon, 16 May 2011 15:18:51 +0000 (17:18 +0200)]
Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't exist anymore

13 years agoIssue #11614: Fix importlib tests for the new __hello__ module
Victor Stinner [Mon, 16 May 2011 14:57:18 +0000 (16:57 +0200)]
Issue #11614: Fix importlib tests for the new __hello__ module

13 years agoIssue #12057: Convert CJK encoding testcase BLOB into multiple text files
Victor Stinner [Mon, 16 May 2011 14:43:38 +0000 (16:43 +0200)]
Issue #12057: Convert CJK encoding testcase BLOB into multiple text files

13 years agoIssue #11614: import __hello__ prints "Hello World!". Patch written by Andreas
Victor Stinner [Mon, 16 May 2011 14:29:35 +0000 (16:29 +0200)]
Issue #11614: import __hello__ prints "Hello World!". Patch written by Andreas
Stührk.

13 years agoIssue #10756: atexit normalizes the exception before displaying it. Patch by
Victor Stinner [Sun, 15 May 2011 16:57:44 +0000 (18:57 +0200)]
Issue #10756: atexit normalizes the exception before displaying it. Patch by
Andreas Stührk.

Backport a fix already applied to Python 3.2+ (4a82be47a948 + 5060a92a8597).

13 years agoIssue #12060: Use sig_atomic_t type and volatile keyword in the signal module.
Victor Stinner [Sun, 15 May 2011 08:21:59 +0000 (10:21 +0200)]
Issue #12060: Use sig_atomic_t type and volatile keyword in the signal module.
Patch written by Charles-François Natali.

13 years agoCloses #6498: fix several misspellings of "SystemExit" as "SystemError".
Georg Brandl [Sun, 15 May 2011 06:49:12 +0000 (08:49 +0200)]
Closes #6498: fix several misspellings of "SystemExit" as "SystemError".

13 years agoFix copy-paste mistake in new zlib test.
Nadeem Vawda [Sat, 14 May 2011 22:48:24 +0000 (00:48 +0200)]
Fix copy-paste mistake in new zlib test.

13 years agoIssue #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.
Nadeem Vawda [Sat, 14 May 2011 22:19:50 +0000 (00:19 +0200)]
Issue #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.

Raise an OverflowError if the input data is too large, instead of silently
truncating the input and returning an incorrect result.

13 years agoMerge heads
Kurt B. Kaiser [Sat, 14 May 2011 21:30:58 +0000 (17:30 -0400)]
Merge heads

13 years agoIssue #6378: Further adjust idle.bat to start associated Python
Kurt B. Kaiser [Sat, 14 May 2011 21:20:09 +0000 (17:20 -0400)]
Issue #6378: Further adjust idle.bat to start associated Python

13 years agopprint usage example rethought.
Łukasz Langa [Sat, 14 May 2011 20:43:44 +0000 (22:43 +0200)]
pprint usage example rethought.

13 years agoIssue #8650: Backport 64-bit safety fixes for compress() and decompress().
Nadeem Vawda [Sat, 14 May 2011 20:26:55 +0000 (22:26 +0200)]
Issue #8650: Backport 64-bit safety fixes for compress() and decompress().