Andrew Svetlov [Sat, 31 Mar 2012 11:34:16 +0000 (14:34 +0300)]
update NEWS for 2.7 as Terry Reedy proposed
R David Murray [Fri, 30 Mar 2012 22:09:07 +0000 (18:09 -0400)]
#10423: clarify options vs args in argparse discussion of optparse
Patch by Sandro Tosi.
Alex Gaynor [Fri, 30 Mar 2012 12:45:25 +0000 (08:45 -0400)]
Added a new crasher that targets mutating the underlying storage of a buffer. All work done by Armin Rigo.
Vinay Sajip [Thu, 29 Mar 2012 19:11:20 +0000 (20:11 +0100)]
Closes #14436: Convert msg + args to string before pickling.
Andrew Svetlov [Thu, 29 Mar 2012 16:54:58 +0000 (19:54 +0300)]
Backport of Issue #14409 to 2.7
IDLE doesn't not execute commands from shell with default keybinding
for <Return>.
Patch by Roger Serwy.
R David Murray [Thu, 29 Mar 2012 10:47:59 +0000 (06:47 -0400)]
#14416: add missing LOG_SYSLOG facility to syslog docs.
Georg Brandl [Tue, 27 Mar 2012 05:46:46 +0000 (07:46 +0200)]
Closes #14411: remove outdated comment in rlcompleter docstring.
R David Murray [Tue, 27 Mar 2012 01:06:04 +0000 (21:06 -0400)]
#5301: re-add image/vnd.microsoft.icon per discussion
We concluded that adding registered mimetypes present in most systems' mime
databases can be considered a bug fix.
Sandro Tosi [Mon, 26 Mar 2012 17:35:52 +0000 (19:35 +0200)]
Issue #14410: fix typo in argparse doc; patch by Tshepang Lekhonkhobe
Vinay Sajip [Mon, 26 Mar 2012 16:06:44 +0000 (17:06 +0100)]
Minor documentation tweak.
Benjamin Peterson [Mon, 26 Mar 2012 02:40:54 +0000 (22:40 -0400)]
kill this terribly outdated comment
Georg Brandl [Sun, 25 Mar 2012 06:43:22 +0000 (08:43 +0200)]
Closes #14401: fix typos in curses howto.
Martin v. Löwis [Sat, 24 Mar 2012 16:38:29 +0000 (17:38 +0100)]
Issue #14400: Fix typo.
Vinay Sajip [Fri, 23 Mar 2012 14:33:00 +0000 (14:33 +0000)]
Closes #14314: backported fix.
Giampaolo Rodola' [Fri, 23 Mar 2012 14:04:27 +0000 (15:04 +0100)]
attempt to fix asyncore buildbot failure
krisvale [Thu, 22 Mar 2012 20:17:42 +0000 (20:17 +0000)]
Issue #10538 - Update Misc/NEWS
Kristján Valur Jónsson [Thu, 22 Mar 2012 16:35:37 +0000 (16:35 +0000)]
Issue #10538. Put a reference to the source object in the Py_buffer when
converting the old buffer for PyArgs_ParseTuple with *s
Giampaolo Rodola' [Thu, 22 Mar 2012 15:06:43 +0000 (16:06 +0100)]
fix #10340: properly handle EINVAL on OSX and also avoid to call handle_connect() in case of a disconnetected socket which is not meant to connect.
Benjamin Peterson [Thu, 22 Mar 2012 14:39:16 +0000 (10:39 -0400)]
this should technicaly be identifier
Benjamin Peterson [Thu, 22 Mar 2012 12:57:56 +0000 (08:57 -0400)]
merge heads
Benjamin Peterson [Thu, 22 Mar 2012 12:56:15 +0000 (08:56 -0400)]
check for NULL
Benjamin Peterson [Thu, 22 Mar 2012 12:19:04 +0000 (08:19 -0400)]
check by equality for __future__ not identity (closes #14378)
R David Murray [Wed, 21 Mar 2012 19:02:30 +0000 (15:02 -0400)]
#12757: Make doctest skipping in -OO mode work with unittest/regrtest -v
Andrew Svetlov [Wed, 21 Mar 2012 11:35:08 +0000 (13:35 +0200)]
#3573: idle now doesn't hungs if launched as: idle -e <directory>
Patch by Guilherme Polo.
Giampaolo Rodola' [Tue, 20 Mar 2012 15:46:57 +0000 (16:46 +0100)]
Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr.
Benjamin Peterson [Tue, 20 Mar 2012 14:40:55 +0000 (10:40 -0400)]
merge from release branch
Benjamin Peterson [Tue, 20 Mar 2012 14:40:26 +0000 (10:40 -0400)]
merge tag
Benjamin Peterson [Mon, 19 Mar 2012 01:23:22 +0000 (21:23 -0400)]
merge heads
Benjamin Peterson [Mon, 19 Mar 2012 01:22:45 +0000 (21:22 -0400)]
merge 2.7.3 release branch
Gregory P. Smith [Sun, 18 Mar 2012 23:07:10 +0000 (16:07 -0700)]
Fixes Issue #14331: Use significantly less stack space when importing modules by
allocating path buffers on the heap instead of the stack.
Martin v. Löwis [Sun, 18 Mar 2012 22:46:56 +0000 (23:46 +0100)]
Add 2.7.3rc2 uuid
Martin v. Löwis [Sun, 18 Mar 2012 22:46:56 +0000 (23:46 +0100)]
Add 2.7.3rc2 uuid
Georg Brandl [Sun, 18 Mar 2012 06:32:22 +0000 (07:32 +0100)]
Merge 2.6.8rc tags into 2.7.
Georg Brandl [Sun, 18 Mar 2012 06:31:17 +0000 (07:31 +0100)]
Remove duplicate hgtags entries for 2.6.8rc{1,2}.
Barry Warsaw [Sat, 17 Mar 2012 22:34:05 +0000 (18:34 -0400)]
Added tag v2.6.8rc2 for changeset
bd9e1a02e3e3
Barry Warsaw [Sat, 17 Mar 2012 22:24:09 +0000 (18:24 -0400)]
null merge
Barry Warsaw [Sat, 17 Mar 2012 22:23:22 +0000 (18:23 -0400)]
null merge from 2.6
Barry Warsaw [Sat, 17 Mar 2012 22:19:42 +0000 (18:19 -0400)]
Added tag v2.6.8rc2 for changeset
1d1b7b9fad48
Barry Warsaw [Sat, 17 Mar 2012 22:19:15 +0000 (18:19 -0400)]
Bump to 2.6.8rc2
Barry Warsaw [Sat, 17 Mar 2012 22:16:58 +0000 (18:16 -0400)]
Update Docs and NEWS for 2.6.8rc2.
R David Murray [Sat, 17 Mar 2012 20:44:16 +0000 (16:44 -0400)]
#14333: fix test_queue so it can be run via standard unittest test discovery.
Ned Deily [Sat, 17 Mar 2012 17:25:27 +0000 (10:25 -0700)]
Issue #14346: Fix some typos in the Mac/README file.
(Patch by Dionysios Kalofonos)
Georg Brandl [Sat, 17 Mar 2012 16:31:32 +0000 (17:31 +0100)]
Closes #14250: regex.flags has not only explicit flags but also those from the pattern
Georg Brandl [Sat, 17 Mar 2012 16:26:27 +0000 (17:26 +0100)]
Closes #14343: avoid shadowing builtin input() in example code.
Georg Brandl [Sat, 17 Mar 2012 16:25:47 +0000 (17:25 +0100)]
Closes #14342: remove out-of-date section about avoiding recursion errors.
Georg Brandl [Sat, 17 Mar 2012 15:58:05 +0000 (16:58 +0100)]
Closes #14306: clarify expensiveness of try-except and update code snippet
Senthil Kumaran [Sat, 17 Mar 2012 07:37:38 +0000 (00:37 -0700)]
explain json.dumps for non-string keys in dicts. closes issue6566. Patch contributed Kirubakaran Athmanathan
R David Murray [Sat, 17 Mar 2012 02:11:22 +0000 (22:11 -0400)]
#11780: s/throw/raise/
R David Murray [Sat, 17 Mar 2012 02:06:08 +0000 (22:06 -0400)]
#11780: document that email.encoders throw TypeError on multipart messages.
Benjamin Peterson [Fri, 16 Mar 2012 15:58:46 +0000 (10:58 -0500)]
check for string attribute names in old-style classes (closes #14334)
Benjamin Peterson [Fri, 16 Mar 2012 14:32:59 +0000 (09:32 -0500)]
check to make sure the attribute is a string (#14334)
Senthil Kumaran [Fri, 16 Mar 2012 08:07:16 +0000 (01:07 -0700)]
2.7 - Issue #10484: Fix the CGIHTTPServer's PATH_INFO handling problem
Senthil Kumaran [Thu, 15 Mar 2012 20:24:40 +0000 (13:24 -0700)]
Fix the urllib closing issue which hangs on particular ftp urls/ftp servers. closes issue11199
Benjamin Peterson [Thu, 15 Mar 2012 18:01:04 +0000 (13:01 -0500)]
merge from 2.7 release branch
Benjamin Peterson [Thu, 15 Mar 2012 17:59:07 +0000 (12:59 -0500)]
Added tag v2.7.3rc2 for changeset
d46c1973d3c4
Benjamin Peterson [Thu, 15 Mar 2012 17:25:54 +0000 (12:25 -0500)]
bump to 2.7.3rc2
R David Murray [Thu, 15 Mar 2012 07:05:01 +0000 (03:05 -0400)]
#12758: removing confusing mention of UTC from time.time description
Patch by Dylan Sarber.
Benjamin Peterson [Thu, 15 Mar 2012 02:07:00 +0000 (21:07 -0500)]
merge heads
Gregory P. Smith [Thu, 15 Mar 2012 01:13:25 +0000 (18:13 -0700)]
merge heads.
Gregory P. Smith [Thu, 15 Mar 2012 01:12:23 +0000 (18:12 -0700)]
Fixes Issue 14234: fix for the previous commit, keep compilation when
using --with-system-expat working when the system expat does not have
salted hash support.
Gregory P. Smith [Thu, 15 Mar 2012 01:12:23 +0000 (18:12 -0700)]
Fixes Issue 14234: fix for the previous commit, keep compilation when
using --with-system-expat working when the system expat does not have
salted hash support.
Barry Warsaw [Thu, 15 Mar 2012 00:18:46 +0000 (17:18 -0700)]
merge 2.6
Barry Warsaw [Thu, 15 Mar 2012 00:10:41 +0000 (17:10 -0700)]
- 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.
Matthias Klose [Wed, 14 Mar 2012 22:39:33 +0000 (23:39 +0100)]
- rename configure.in to configure.ac
- change references from configure.in to configure.ac
Gregory P. Smith [Wed, 14 Mar 2012 22:28:10 +0000 (15:28 -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.
Gregory P. Smith [Wed, 14 Mar 2012 22:28:10 +0000 (15:28 -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.
Georg Brandl [Wed, 14 Mar 2012 07:18:47 +0000 (08:18 +0100)]
Closes #14289: put a link to the CHM download page on the docs download page.
Martin v. Löwis [Tue, 13 Mar 2012 21:46:22 +0000 (14:46 -0700)]
Issue #5219: Prevent event handler cascade in IDLE.
Patch by Roger Serwy.
Vinay Sajip [Tue, 13 Mar 2012 12:18:55 +0000 (12:18 +0000)]
Merged upstream change.
Vinay Sajip [Tue, 13 Mar 2012 12:06:35 +0000 (12:06 +0000)]
Closes #14267: Corrected computation of rollover filename.
Senthil Kumaran [Tue, 13 Mar 2012 08:48:41 +0000 (01:48 -0700)]
Fix closes Issue14281 - Test for cgi.escape by Brian Landers
Senthil Kumaran [Tue, 13 Mar 2012 07:15:15 +0000 (00:15 -0700)]
merge heads
Ezio Melotti [Mon, 12 Mar 2012 23:25:40 +0000 (01:25 +0200)]
#14179: add tests for re.compile. Patch by Florian Mladitsch.
Senthil Kumaran [Mon, 12 Mar 2012 17:05:04 +0000 (10:05 -0700)]
closes issue14257 - Grammatical fix
Senthil Kumaran [Mon, 12 Mar 2012 04:04:05 +0000 (21:04 -0700)]
closes issue14257 minor error in glossary wording regarding __hash__
Senthil Kumaran [Mon, 12 Mar 2012 03:37:39 +0000 (20:37 -0700)]
Fix closes issue14258 - added clarification to \W and \S flags
Ezio Melotti [Mon, 12 Mar 2012 00:09:02 +0000 (02:09 +0200)]
#14161: fix test failures on Windows.
Ezio Melotti [Sun, 11 Mar 2012 23:28:45 +0000 (01:28 +0200)]
#14161: fix compile error under Windows.
Ezio Melotti [Sun, 11 Mar 2012 23:17:02 +0000 (01:17 +0200)]
#14161: fix the __repr__ of file objects to escape the file name.
Antoine Pitrou [Sun, 11 Mar 2012 18:29:12 +0000 (19:29 +0100)]
Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.
Mark Dickinson [Sat, 10 Mar 2012 16:09:35 +0000 (16:09 +0000)]
Closes #9574: Note that complex constructor doesn't allow whitespace around central operator.
Jason R. Coombs [Thu, 8 Mar 2012 23:28:08 +0000 (18:28 -0500)]
Moved symlink support into its own module. Ported can_symlink from Python 3.2, skipping symlink test when it cannot be invoked (such as when the symlink privilege is not present).
Jason R. Coombs [Thu, 8 Mar 2012 15:31:29 +0000 (10:31 -0500)]
Improve the test case to avoid spurious errors about already existing symlinks.
Jason R. Coombs [Thu, 8 Mar 2012 14:56:00 +0000 (09:56 -0500)]
Test in
6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again.
Ezio Melotti [Sat, 25 Feb 2012 17:24:24 +0000 (19:24 +0200)]
#14114: don't include copybutton.js in the htmlhelp output.
Ezio Melotti [Sat, 25 Feb 2012 17:24:24 +0000 (19:24 +0200)]
#14114: don't include copybutton.js in the htmlhelp output.
Georg Brandl [Sat, 3 Mar 2012 20:25:42 +0000 (21:25 +0100)]
Fix link to global module index.
Martin v. Löwis [Sat, 25 Feb 2012 09:37:41 +0000 (10:37 +0100)]
Add 2.7.3 and 2.7.4 UUIDs
Benjamin Peterson [Thu, 23 Feb 2012 20:18:13 +0000 (15:18 -0500)]
update pydoc-topics
Barry Warsaw [Thu, 23 Feb 2012 16:10:31 +0000 (11:10 -0500)]
Added tag v2.6.8rc1 for changeset
5356b6c7fd66
Barry Warsaw [Thu, 23 Feb 2012 15:59:50 +0000 (10:59 -0500)]
Added tag v2.6.8rc1 for changeset
caab08cd2b3e
Barry Warsaw [Thu, 23 Feb 2012 15:59:38 +0000 (10:59 -0500)]
Bump some more copyright years (as per PEP 101), since this is the first
release of 2.6 for 2012.
Barry Warsaw [Thu, 23 Feb 2012 15:55:57 +0000 (10:55 -0500)]
Bump to version 2.6.8rc1.
Benjamin Peterson [Thu, 23 Feb 2012 15:52:23 +0000 (10:52 -0500)]
Added tag v2.7.3rc1 for changeset
b2c6aff96e12
Benjamin Peterson [Thu, 23 Feb 2012 15:52:17 +0000 (10:52 -0500)]
bump to 2.7.3rc1
Barry Warsaw [Wed, 22 Feb 2012 22:27:47 +0000 (17:27 -0500)]
null merge from 2.6
Barry Warsaw [Wed, 22 Feb 2012 22:26:50 +0000 (17:26 -0500)]
Back port from 2.7:
http://hg.python.org/cpython/rev/
48705250232c
changeset: 75187:
48705250232c
branch: 2.7
parent: 75184:
9a1d902714ae
user: Antoine Pitrou <solipsis@pitrou.net>
date: Wed Feb 22 22:16:25 2012 +0100
Antoine Pitrou [Wed, 22 Feb 2012 21:16:25 +0000 (22:16 +0100)]
Fix sporadic test_os failure under Windows
Barry Warsaw [Wed, 22 Feb 2012 19:27:53 +0000 (14:27 -0500)]
null merge from 2.6
Barry Warsaw [Wed, 22 Feb 2012 18:50:04 +0000 (13:50 -0500)]
Backport from 2.7:
changeset: 75153:
9b7c6dd19e25
branch: 2.7
parent: 75151:
b1a02c17b327
user: Antoine Pitrou <solipsis@pitrou.net>
date: Tue Feb 21 22:02:04 2012 +0100
files: Lib/test/test_os.py