]> granicus.if.org Git - python/log
python
12 years agoprevent writing to stderr from messing up the exception state (closes #14474)
Benjamin Peterson [Mon, 2 Apr 2012 15:15:17 +0000 (11:15 -0400)]
prevent writing to stderr from messing up the exception state (closes #14474)

12 years agoIssue #13019: Fix potential reference leaks in bytearray.extend().
Antoine Pitrou [Sun, 1 Apr 2012 14:05:46 +0000 (16:05 +0200)]
Issue #13019: Fix potential reference leaks in bytearray.extend().
Patch by Suman Saha.

12 years agofix typo; thanks to Robert Bardos from docs@
Sandro Tosi [Sat, 31 Mar 2012 23:49:46 +0000 (01:49 +0200)]
fix typo; thanks to Robert Bardos from docs@

12 years agoIssue #14437: Fix building the _io module under Cygwin.
Antoine Pitrou [Sat, 31 Mar 2012 21:53:07 +0000 (23:53 +0200)]
Issue #14437: Fix building the _io module under Cygwin.

12 years agouse unittest.skip; thanks to Chang Min Jeon from docs@
Sandro Tosi [Sat, 31 Mar 2012 16:34:42 +0000 (18:34 +0200)]
use unittest.skip; thanks to Chang Min Jeon from docs@

12 years ago#14434: make tutorial link in 'help' banner version-specific
R David Murray [Sat, 31 Mar 2012 16:10:48 +0000 (12:10 -0400)]
#14434: make tutorial link in 'help' banner version-specific

Without this fix, both 2.7 and 3.x would always point to the "current"
docs...which means that before this fix python 3.2 'help' pointed to the 2.7
tutorial, and without this fix when we switch over to the 3.x docs being
current, 2.7 would have pointed to the python3 tutorial.

12 years agoadd 'safari' to webbrowser browsers table; thanks to Jonathan Eunice from docs@
Sandro Tosi [Sat, 31 Mar 2012 15:22:47 +0000 (17:22 +0200)]
add 'safari' to webbrowser browsers table; thanks to Jonathan Eunice from docs@

12 years agoupdate NEWS for 2.7 as Terry Reedy proposed
Andrew Svetlov [Sat, 31 Mar 2012 11:34:16 +0000 (14:34 +0300)]
update NEWS for 2.7 as Terry Reedy proposed

12 years ago#10423: clarify options vs args in argparse discussion of optparse
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.

12 years agoAdded a new crasher that targets mutating the underlying storage of a buffer. All...
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.

12 years agoCloses #14436: Convert msg + args to string before pickling.
Vinay Sajip [Thu, 29 Mar 2012 19:11:20 +0000 (20:11 +0100)]
Closes #14436: Convert msg + args to string before pickling.

12 years agoBackport of Issue #14409 to 2.7
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.

12 years ago#14416: add missing LOG_SYSLOG facility to syslog docs.
R David Murray [Thu, 29 Mar 2012 10:47:59 +0000 (06:47 -0400)]
#14416: add missing LOG_SYSLOG facility to syslog docs.

12 years agoCloses #14411: remove outdated comment in rlcompleter docstring.
Georg Brandl [Tue, 27 Mar 2012 05:46:46 +0000 (07:46 +0200)]
Closes #14411: remove outdated comment in rlcompleter docstring.

12 years ago#5301: re-add image/vnd.microsoft.icon per discussion
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.

12 years agoIssue #14410: fix typo in argparse doc; patch by Tshepang Lekhonkhobe
Sandro Tosi [Mon, 26 Mar 2012 17:35:52 +0000 (19:35 +0200)]
Issue #14410: fix typo in argparse doc; patch by Tshepang Lekhonkhobe

12 years agoMinor documentation tweak.
Vinay Sajip [Mon, 26 Mar 2012 16:06:44 +0000 (17:06 +0100)]
Minor documentation tweak.

12 years agokill this terribly outdated comment
Benjamin Peterson [Mon, 26 Mar 2012 02:40:54 +0000 (22:40 -0400)]
kill this terribly outdated comment

12 years agoCloses #14401: fix typos in curses howto.
Georg Brandl [Sun, 25 Mar 2012 06:43:22 +0000 (08:43 +0200)]
Closes #14401: fix typos in curses howto.

12 years agoIssue #14400: Fix typo.
Martin v. Löwis [Sat, 24 Mar 2012 16:38:29 +0000 (17:38 +0100)]
Issue #14400: Fix typo.

12 years agoCloses #14314: backported fix.
Vinay Sajip [Fri, 23 Mar 2012 14:33:00 +0000 (14:33 +0000)]
Closes #14314: backported fix.

12 years agoattempt to fix asyncore buildbot failure
Giampaolo Rodola' [Fri, 23 Mar 2012 14:04:27 +0000 (15:04 +0100)]
attempt to fix asyncore buildbot failure

12 years agoIssue #10538 - Update Misc/NEWS
krisvale [Thu, 22 Mar 2012 20:17:42 +0000 (20:17 +0000)]
Issue #10538 - Update Misc/NEWS

12 years agoIssue #10538. Put a reference to the source object in the Py_buffer when
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

12 years agofix #10340: properly handle EINVAL on OSX and also avoid to call handle_connect(...
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.

12 years agothis should technicaly be identifier
Benjamin Peterson [Thu, 22 Mar 2012 14:39:16 +0000 (10:39 -0400)]
this should technicaly be identifier

12 years agomerge heads
Benjamin Peterson [Thu, 22 Mar 2012 12:57:56 +0000 (08:57 -0400)]
merge heads

12 years agocheck for NULL
Benjamin Peterson [Thu, 22 Mar 2012 12:56:15 +0000 (08:56 -0400)]
check for NULL

12 years agocheck by equality for __future__ not identity (closes #14378)
Benjamin Peterson [Thu, 22 Mar 2012 12:19:04 +0000 (08:19 -0400)]
check by equality for __future__ not identity (closes #14378)

12 years ago#12757: Make doctest skipping in -OO mode work with unittest/regrtest -v
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

12 years ago#3573: idle now doesn't hungs if launched as: idle -e <directory>
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.

12 years agoFix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr.
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.

12 years agomerge from release branch
Benjamin Peterson [Tue, 20 Mar 2012 14:40:55 +0000 (10:40 -0400)]
merge from release branch

12 years agomerge tag
Benjamin Peterson [Tue, 20 Mar 2012 14:40:26 +0000 (10:40 -0400)]
merge tag

12 years agomerge heads
Benjamin Peterson [Mon, 19 Mar 2012 01:23:22 +0000 (21:23 -0400)]
merge heads

12 years agomerge 2.7.3 release branch
Benjamin Peterson [Mon, 19 Mar 2012 01:22:45 +0000 (21:22 -0400)]
merge 2.7.3 release branch

12 years agoFixes Issue #14331: Use significantly less stack space when importing modules by
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.

12 years agoAdd 2.7.3rc2 uuid
Martin v. Löwis [Sun, 18 Mar 2012 22:46:56 +0000 (23:46 +0100)]
Add 2.7.3rc2 uuid

12 years agoAdd 2.7.3rc2 uuid
Martin v. Löwis [Sun, 18 Mar 2012 22:46:56 +0000 (23:46 +0100)]
Add 2.7.3rc2 uuid

12 years agoMerge 2.6.8rc tags into 2.7.
Georg Brandl [Sun, 18 Mar 2012 06:32:22 +0000 (07:32 +0100)]
Merge 2.6.8rc tags into 2.7.

12 years agoRemove duplicate hgtags entries for 2.6.8rc{1,2}.
Georg Brandl [Sun, 18 Mar 2012 06:31:17 +0000 (07:31 +0100)]
Remove duplicate hgtags entries for 2.6.8rc{1,2}.

12 years agoAdded tag v2.6.8rc2 for changeset bd9e1a02e3e3
Barry Warsaw [Sat, 17 Mar 2012 22:34:05 +0000 (18:34 -0400)]
Added tag v2.6.8rc2 for changeset bd9e1a02e3e3

12 years agonull merge
Barry Warsaw [Sat, 17 Mar 2012 22:24:09 +0000 (18:24 -0400)]
null merge

12 years agonull merge from 2.6
Barry Warsaw [Sat, 17 Mar 2012 22:23:22 +0000 (18:23 -0400)]
null merge from 2.6

12 years agoAdded tag v2.6.8rc2 for changeset 1d1b7b9fad48
Barry Warsaw [Sat, 17 Mar 2012 22:19:42 +0000 (18:19 -0400)]
Added tag v2.6.8rc2 for changeset 1d1b7b9fad48

12 years agoBump to 2.6.8rc2 v2.6.8rc2
Barry Warsaw [Sat, 17 Mar 2012 22:19:15 +0000 (18:19 -0400)]
Bump to 2.6.8rc2

12 years agoUpdate Docs and NEWS for 2.6.8rc2.
Barry Warsaw [Sat, 17 Mar 2012 22:16:58 +0000 (18:16 -0400)]
Update Docs and NEWS for 2.6.8rc2.

12 years ago#14333: fix test_queue so it can be run via standard unittest test discovery.
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.

12 years agoIssue #14346: Fix some typos in the Mac/README file.
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)

12 years agoCloses #14250: regex.flags has not only explicit flags but also those from the pattern
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

12 years agoCloses #14343: avoid shadowing builtin input() in example code.
Georg Brandl [Sat, 17 Mar 2012 16:26:27 +0000 (17:26 +0100)]
Closes #14343: avoid shadowing builtin input() in example code.

12 years agoCloses #14342: remove out-of-date section about avoiding recursion errors.
Georg Brandl [Sat, 17 Mar 2012 16:25:47 +0000 (17:25 +0100)]
Closes #14342: remove out-of-date section about avoiding recursion errors.

12 years agoCloses #14306: clarify expensiveness of try-except and update code snippet
Georg Brandl [Sat, 17 Mar 2012 15:58:05 +0000 (16:58 +0100)]
Closes #14306: clarify expensiveness of try-except and update code snippet

12 years ago explain json.dumps for non-string keys in dicts. closes issue6566. Patch contributed...
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

12 years ago#11780: s/throw/raise/
R David Murray [Sat, 17 Mar 2012 02:11:22 +0000 (22:11 -0400)]
#11780: s/throw/raise/

12 years ago#11780: document that email.encoders throw TypeError on multipart messages.
R David Murray [Sat, 17 Mar 2012 02:06:08 +0000 (22:06 -0400)]
#11780: document that email.encoders throw TypeError on multipart messages.

12 years agocheck for string attribute names in old-style classes (closes #14334)
Benjamin Peterson [Fri, 16 Mar 2012 15:58:46 +0000 (10:58 -0500)]
check for string attribute names in old-style classes (closes #14334)

12 years agocheck to make sure the attribute is a string (#14334)
Benjamin Peterson [Fri, 16 Mar 2012 14:32:59 +0000 (09:32 -0500)]
check to make sure the attribute is a string (#14334)

12 years ago2.7 - Issue #10484: Fix the CGIHTTPServer's PATH_INFO handling problem
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

12 years agoFix the urllib closing issue which hangs on particular ftp urls/ftp servers. closes...
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

12 years agomerge from 2.7 release branch
Benjamin Peterson [Thu, 15 Mar 2012 18:01:04 +0000 (13:01 -0500)]
merge from 2.7 release branch

12 years agoAdded tag v2.7.3rc2 for changeset d46c1973d3c4
Benjamin Peterson [Thu, 15 Mar 2012 17:59:07 +0000 (12:59 -0500)]
Added tag v2.7.3rc2 for changeset d46c1973d3c4

12 years agobump to 2.7.3rc2 v2.7.3rc2
Benjamin Peterson [Thu, 15 Mar 2012 17:25:54 +0000 (12:25 -0500)]
bump to 2.7.3rc2

12 years ago#12758: removing confusing mention of UTC from time.time description
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.

12 years agomerge heads
Benjamin Peterson [Thu, 15 Mar 2012 02:07:00 +0000 (21:07 -0500)]
merge heads

12 years agomerge heads.
Gregory P. Smith [Thu, 15 Mar 2012 01:13:25 +0000 (18:13 -0700)]
merge heads.

12 years agoFixes Issue 14234: fix for the previous commit, keep compilation when
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.

12 years agoFixes Issue 14234: fix for the previous commit, keep compilation when
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.

12 years agomerge 2.6
Barry Warsaw [Thu, 15 Mar 2012 00:18:46 +0000 (17:18 -0700)]
merge 2.6

12 years ago- Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes in the hash
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.

12 years ago- rename configure.in to configure.ac
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

12 years agoFixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes
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.

12 years agoFixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes
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.

12 years agoCloses #14289: put a link to the CHM download page on the docs download page.
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.

12 years agoIssue #5219: Prevent event handler cascade in IDLE.
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.

12 years agoMerged upstream change.
Vinay Sajip [Tue, 13 Mar 2012 12:18:55 +0000 (12:18 +0000)]
Merged upstream change.

12 years agoCloses #14267: Corrected computation of rollover filename.
Vinay Sajip [Tue, 13 Mar 2012 12:06:35 +0000 (12:06 +0000)]
Closes #14267: Corrected computation of rollover filename.

12 years agoFix closes Issue14281 - Test for cgi.escape by Brian Landers
Senthil Kumaran [Tue, 13 Mar 2012 08:48:41 +0000 (01:48 -0700)]
Fix closes Issue14281 - Test for cgi.escape by Brian Landers

12 years agomerge heads
Senthil Kumaran [Tue, 13 Mar 2012 07:15:15 +0000 (00:15 -0700)]
merge heads

12 years ago#14179: add tests for re.compile. Patch by Florian Mladitsch.
Ezio Melotti [Mon, 12 Mar 2012 23:25:40 +0000 (01:25 +0200)]
#14179: add tests for re.compile.  Patch by Florian Mladitsch.

12 years agocloses issue14257 - Grammatical fix
Senthil Kumaran [Mon, 12 Mar 2012 17:05:04 +0000 (10:05 -0700)]
closes issue14257 - Grammatical fix

12 years agocloses issue14257 minor error in glossary wording regarding __hash__
Senthil Kumaran [Mon, 12 Mar 2012 04:04:05 +0000 (21:04 -0700)]
closes issue14257 minor error in glossary wording regarding __hash__

12 years agoFix closes issue14258 - added clarification to \W and \S flags
Senthil Kumaran [Mon, 12 Mar 2012 03:37:39 +0000 (20:37 -0700)]
Fix closes issue14258 - added clarification to \W and \S flags

12 years ago#14161: fix test failures on Windows.
Ezio Melotti [Mon, 12 Mar 2012 00:09:02 +0000 (02:09 +0200)]
#14161: fix test failures on Windows.

12 years ago#14161: fix compile error under Windows.
Ezio Melotti [Sun, 11 Mar 2012 23:28:45 +0000 (01:28 +0200)]
#14161: fix compile error under Windows.

12 years ago#14161: fix the __repr__ of file objects to escape the file name.
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.

12 years agoIssue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows...
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.

12 years agoCloses #9574: Note that complex constructor doesn't allow whitespace around central...
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.

12 years agoMoved symlink support into its own module. Ported can_symlink from Python 3.2, skippi...
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).

12 years agoImprove the test case to avoid spurious errors about already existing symlinks.
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.

12 years agoTest in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again.
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.

12 years ago#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.

12 years ago#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.

12 years agoFix link to global module index.
Georg Brandl [Sat, 3 Mar 2012 20:25:42 +0000 (21:25 +0100)]
Fix link to global module index.

12 years agoAdd 2.7.3 and 2.7.4 UUIDs
Martin v. Löwis [Sat, 25 Feb 2012 09:37:41 +0000 (10:37 +0100)]
Add 2.7.3 and 2.7.4 UUIDs

12 years agoupdate pydoc-topics
Benjamin Peterson [Thu, 23 Feb 2012 20:18:13 +0000 (15:18 -0500)]
update pydoc-topics

12 years agoAdded tag v2.6.8rc1 for changeset 5356b6c7fd66
Barry Warsaw [Thu, 23 Feb 2012 16:10:31 +0000 (11:10 -0500)]
Added tag v2.6.8rc1 for changeset 5356b6c7fd66

12 years agoAdded tag v2.6.8rc1 for changeset caab08cd2b3e
Barry Warsaw [Thu, 23 Feb 2012 15:59:50 +0000 (10:59 -0500)]
Added tag v2.6.8rc1 for changeset caab08cd2b3e

12 years agoBump some more copyright years (as per PEP 101), since this is the first v2.6.8rc1
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.

12 years agoBump to version 2.6.8rc1.
Barry Warsaw [Thu, 23 Feb 2012 15:55:57 +0000 (10:55 -0500)]
Bump to version 2.6.8rc1.