]> granicus.if.org Git - python/log
python
13 years agoadd 'safari' to webbrowser browsers table; thanks to Jonathan Eunice from docs@
Sandro Tosi [Sat, 31 Mar 2012 15:23:10 +0000 (17:23 +0200)]
add 'safari' to webbrowser browsers table; thanks to Jonathan Eunice from docs@

13 years agoupdate NEWS as Terry Reedy proposed
Andrew Svetlov [Sat, 31 Mar 2012 11:10:10 +0000 (14:10 +0300)]
update NEWS as Terry Reedy proposed

13 years ago#10423: clarify options vs args in argparse discussion of optparse
R David Murray [Fri, 30 Mar 2012 22:07:42 +0000 (18:07 -0400)]
#10423: clarify options vs args in argparse discussion of optparse

Patch by Sandro Tosi.

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

13 years agoIssue #14409: IDLE doesn't not execute commands from shell with default keybinding...
Andrew Svetlov [Thu, 29 Mar 2012 16:01:28 +0000 (19:01 +0300)]
Issue #14409: IDLE doesn't not execute commands from shell with default keybinding for <Return>.

Patch by Roger Serwy.

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

13 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.

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

13 years agoMinor documentation tweak.
Vinay Sajip [Mon, 26 Mar 2012 16:09:58 +0000 (17:09 +0100)]
Minor documentation tweak.

13 years agoIssue #3367: NULL-terminate argv[] copies to prevent an invalid access
Stefan Krah [Mon, 26 Mar 2012 13:05:22 +0000 (15:05 +0200)]
Issue #3367: NULL-terminate argv[] copies to prevent an invalid access
in sys_update_path().

13 years agomerge heads
Benjamin Peterson [Mon, 26 Mar 2012 02:41:06 +0000 (22:41 -0400)]
merge heads

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

13 years agoAdd missing files for new doc theme.
Georg Brandl [Sun, 25 Mar 2012 18:40:57 +0000 (20:40 +0200)]
Add missing files for new doc theme.

13 years agoSwitch to new "lighter" doc design.
Georg Brandl [Sun, 25 Mar 2012 18:31:57 +0000 (20:31 +0200)]
Switch to new "lighter" doc design.

13 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.

13 years agoIssue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due
Charles-François Natali [Sat, 24 Mar 2012 19:36:09 +0000 (20:36 +0100)]
Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due
to a known bug in pthread implementation on FreeBSD < 7).

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

13 years agoCloses #14314: backported fix.
Vinay Sajip [Fri, 23 Mar 2012 14:36:22 +0000 (14:36 +0000)]
Closes #14314: backported fix.

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

13 years agoFix typo when "PyObject*" was changed to "identifier"
Kristján Valur Jónsson [Fri, 23 Mar 2012 12:50:53 +0000 (12:50 +0000)]
Fix typo when "PyObject*" was changed to "identifier"

13 years agoIssue #14387 : undefine 'small' so that it doesn't clash with Windows headers.
Kristján Valur Jónsson [Thu, 22 Mar 2012 23:10:37 +0000 (23:10 +0000)]
Issue #14387 : undefine 'small' so that it doesn't clash with Windows headers.

13 years agoissue 10340 - forgot to update Misc/NEWS
Giampaolo Rodola' [Thu, 22 Mar 2012 15:22:06 +0000 (16:22 +0100)]
issue 10340 - forgot to update Misc/NEWS

13 years agofix #10340: properly handle EINVAL on OSX and also avoid to call handle_connect(...
Giampaolo Rodola' [Thu, 22 Mar 2012 15:17:43 +0000 (16:17 +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.

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

13 years agoIssue #14387: Do not include accu.h from Python.h.
Antoine Pitrou [Thu, 22 Mar 2012 13:38:16 +0000 (14:38 +0100)]
Issue #14387: Do not include accu.h from Python.h.

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

13 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)

13 years ago#12757: Make doctest skipping in -OO mode work with unittest/regrtest -v
R David Murray [Wed, 21 Mar 2012 18:53:42 +0000 (14:53 -0400)]
#12757: Make doctest skipping in -OO mode work with unittest/regrtest -v

13 years ago#3573: idle now doesn't hungs if launched as: idle -e <directory>
Andrew Svetlov [Wed, 21 Mar 2012 11:23:41 +0000 (13:23 +0200)]
#3573: idle now doesn't hungs if launched as: idle -e <directory>

Patch by Guilherme Polo.

13 years agoFix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr.
Giampaolo Rodola' [Tue, 20 Mar 2012 15:49:55 +0000 (16:49 +0100)]
Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr.

13 years agoIssue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.
Ross Lagerwall [Mon, 19 Mar 2012 04:08:43 +0000 (06:08 +0200)]
Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.

Based on patch from Hervé Coatanhay.

13 years ago#14355: remove obsolete doc reference to previously removed init_frozen.
R David Murray [Mon, 19 Mar 2012 00:50:03 +0000 (20:50 -0400)]
#14355: remove obsolete doc reference to previously removed init_frozen.

Patch by Eric Snow.

13 years agoFixes Issue #14331: Use significantly less stack space when importing modules by
Gregory P. Smith [Sun, 18 Mar 2012 23:06:53 +0000 (16:06 -0700)]
Fixes Issue #14331: Use significantly less stack space when importing modules by
allocating path buffers on the heap instead of the stack.

13 years agoMerge 3.2.3rc2 from release clone.
Georg Brandl [Sun, 18 Mar 2012 19:37:43 +0000 (20:37 +0100)]
Merge 3.2.3rc2 from release clone.

13 years agoPost-release updates for 3.2.3rc2.
Georg Brandl [Sun, 18 Mar 2012 07:36:53 +0000 (08:36 +0100)]
Post-release updates for 3.2.3rc2.

13 years agoAdded tag v3.2.3rc2 for changeset 428f05cb7277
Georg Brandl [Sun, 18 Mar 2012 06:35:01 +0000 (07:35 +0100)]
Added tag v3.2.3rc2 for changeset 428f05cb7277

13 years agoBump to 3.2.3rc2. v3.2.3rc2
Georg Brandl [Sun, 18 Mar 2012 06:34:49 +0000 (07:34 +0100)]
Bump to 3.2.3rc2.

13 years ago#14333: fix test_queue so it can be run via standard unittest test discovery.
R David Murray [Sat, 17 Mar 2012 20:38:39 +0000 (16:38 -0400)]
#14333: fix test_queue so it can be run via standard unittest test discovery.

13 years agoMove MANIFEST parsing change to the right position.
Georg Brandl [Sat, 17 Mar 2012 17:38:13 +0000 (18:38 +0100)]
Move MANIFEST parsing change to the right position.

13 years agoIssue #14346: Fix some typos in the Mac/README file.
Ned Deily [Sat, 17 Mar 2012 17:29:41 +0000 (10:29 -0700)]
Issue #14346: Fix some typos in the Mac/README file.
(Patch by Dionysios Kalofonos)

13 years agoCloses #14250: regex.flags has not only explicit flags but also implicit flags and...
Georg Brandl [Sat, 17 Mar 2012 16:29:27 +0000 (17:29 +0100)]
Closes #14250: regex.flags has not only explicit flags but also implicit flags and those from the pattern

13 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.

13 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.

13 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

13 years ago3.2 explain json.dumps for non-string keys in dicts. closes issue6566. Patch contribu...
Senthil Kumaran [Sat, 17 Mar 2012 07:40:34 +0000 (00:40 -0700)]
3.2 explain json.dumps for non-string keys in dicts. closes issue6566. Patch contributed Kirubakaran Athmanathan

13 years ago#11686: news entry.
R David Murray [Sat, 17 Mar 2012 02:49:54 +0000 (22:49 -0400)]
#11686: news entry.

13 years ago#11686: add missing entries to email __all__ lists.
R David Murray [Sat, 17 Mar 2012 02:43:05 +0000 (22:43 -0400)]
#11686: add missing entries to email __all__ lists.

Original patch by Steffen Daode Nurpmeso

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

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

13 years agoIssue #14202: some additional doc fixes
Eli Bendersky [Fri, 16 Mar 2012 14:49:58 +0000 (16:49 +0200)]
Issue #14202: some additional doc fixes

13 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)

13 years agoIssue #14202: Greatly enhance the documentation of xml.dom.pulldom.
Eli Bendersky [Fri, 16 Mar 2012 12:37:14 +0000 (14:37 +0200)]
Issue #14202: Greatly enhance the documentation of xml.dom.pulldom.
Patch by Florian Mladitsch

13 years agocloses issue10484 - Fix the http.server's cgi PATH_INFO handling problem
Senthil Kumaran [Fri, 16 Mar 2012 08:13:50 +0000 (01:13 -0700)]
closes issue10484 - Fix the http.server's cgi PATH_INFO handling problem

13 years agoIssue #9257: clarify the events iterparse accepts
Eli Bendersky [Fri, 16 Mar 2012 06:41:30 +0000 (08:41 +0200)]
Issue #9257: clarify the events iterparse accepts

13 years agoExplain the use of charset parameter with Content-Type header. Issue11082
Senthil Kumaran [Fri, 16 Mar 2012 01:11:16 +0000 (18:11 -0700)]
Explain the use of charset parameter with Content-Type header. Issue11082

13 years agocloses Issue #11199: Fix the with urllib which hangs on particular ftp urls.
Senthil Kumaran [Thu, 15 Mar 2012 20:26:12 +0000 (13:26 -0700)]
closes Issue #11199: Fix the with urllib which hangs on particular ftp urls.

13 years ago#12758: removing confusing mention of UTC from time.time description
R David Murray [Thu, 15 Mar 2012 07:06:15 +0000 (03:06 -0400)]
#12758: removing confusing mention of UTC from time.time description

Patch by Dylan Sarber.

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

13 years agoFixes Issue 14234: fix for the previous commit, keep compilation when
Gregory P. Smith [Thu, 15 Mar 2012 01:10:37 +0000 (18:10 -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.

13 years agoTransplant from main repo d6c197edd99b: Fixes Issue #14234: CVE-2012-0876: Randomize...
Georg Brandl [Thu, 15 Mar 2012 07:31:00 +0000 (08:31 +0100)]
Transplant from main repo d6c197edd99b: Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes

13 years agoFixes Issue 14234: fix for the previous commit, keep compilation when
Gregory P. Smith [Thu, 15 Mar 2012 01:10:37 +0000 (18:10 -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.

13 years agoFix the wrong urllib exampls which use str for POST data. Closes Issue11261
Senthil Kumaran [Thu, 15 Mar 2012 01:08:13 +0000 (18:08 -0700)]
Fix the wrong urllib exampls which use str for POST data. Closes Issue11261

13 years agomerge 3.1
Matthias Klose [Wed, 14 Mar 2012 22:26:07 +0000 (23:26 +0100)]
merge 3.1

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

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

13 years agomerge 3.1
Matthias Klose [Wed, 14 Mar 2012 22:14:35 +0000 (23:14 +0100)]
merge 3.1

13 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

13 years agomerge heads
Gregory P. Smith [Wed, 14 Mar 2012 22:03:40 +0000 (15:03 -0700)]
merge heads

13 years agomerge (no change needed in 3.2)
Gregory P. Smith [Wed, 14 Mar 2012 21:58:50 +0000 (14:58 -0700)]
merge (no change needed in 3.2)

13 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.

13 years agoFixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes
Gregory P. Smith [Wed, 14 Mar 2012 21:41:00 +0000 (14:41 -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.

13 years agoCloses #14305: fix typo.
Georg Brandl [Wed, 14 Mar 2012 21:40:08 +0000 (22:40 +0100)]
Closes #14305: fix typo.

13 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.

13 years ago#14062: fix BytesParser handling of linesep for Header objects
R David Murray [Wed, 14 Mar 2012 18:05:03 +0000 (14:05 -0400)]
#14062: fix BytesParser handling of linesep for Header objects

This also affected smtplib.SMTP.send_message, which calls BytesParser.

13 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.

13 years agoCloses #14283: match() and search() are regex methods, not match methods.
Georg Brandl [Wed, 14 Mar 2012 07:02:43 +0000 (08:02 +0100)]
Closes #14283: match() and search() are regex methods, not match methods.

13 years ago#14291: if a header has non-ascii unicode, default to CTE using utf-8
R David Murray [Wed, 14 Mar 2012 06:59:51 +0000 (02:59 -0400)]
#14291: if a header has non-ascii unicode, default to CTE using utf-8

In Python2, if a unicode string was assigned as the value of a header,
email would automatically CTE encode it using the UTF8 charset.
This capability was lost in the Python3 translation, and this patch
restores it.

Patch by Ali Ikinci, assisted by R. David Murray.

I also added a fix for the mailbox test that was depending (with a comment
that it was a bad idea to so depend) on non-ASCII causing message_from_string
to raise an error.  It now uses support.patch to induce an error during
message serialization.

13 years agocloses Issue12365 - Add an example explaining the context manager use case of urllib...
Senthil Kumaran [Wed, 14 Mar 2012 02:47:51 +0000 (19:47 -0700)]
closes Issue12365 - Add an example explaining the context manager use case of urllib.urlopen

13 years agomerge heads
Benjamin Peterson [Tue, 13 Mar 2012 21:46:35 +0000 (16:46 -0500)]
merge heads

13 years agoIssue #5219: Prevent event handler cascade in IDLE.
Martin v. Löwis [Tue, 13 Mar 2012 21:32:29 +0000 (14:32 -0700)]
Issue #5219: Prevent event handler cascade in IDLE.
Patch by Roger Serwy.

13 years agomerge heads
Benjamin Peterson [Tue, 13 Mar 2012 21:13:21 +0000 (16:13 -0500)]
merge heads

13 years agofix indentation
Benjamin Peterson [Tue, 13 Mar 2012 21:13:09 +0000 (16:13 -0500)]
fix indentation

13 years agoIssue #14184: Increase the default stack size for secondary threads on
Ned Deily [Tue, 13 Mar 2012 18:18:18 +0000 (11:18 -0700)]
Issue #14184: Increase the default stack size for secondary threads on
Mac OS X to prevent interpreter crashes when compiled on 10.7.

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

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

13 years ago3.2 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers
Senthil Kumaran [Tue, 13 Mar 2012 08:50:27 +0000 (01:50 -0700)]
3.2 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers

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

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

13 years agoFix unittest test discovery for Jython
Michael Foord [Tue, 13 Mar 2012 07:09:54 +0000 (00:09 -0700)]
Fix unittest test discovery for Jython

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

13 years agoMerge heads.
Eric V. Smith [Mon, 12 Mar 2012 22:18:30 +0000 (15:18 -0700)]
Merge heads.

13 years agostr.format_map tests don't do what they say: fix to actually implement the intent...
Eric V. Smith [Mon, 12 Mar 2012 22:16:22 +0000 (15:16 -0700)]
str.format_map tests don't do what they say: fix to actually implement the intent of the test. Closes #13450.

13 years ago#13394: add more tests for the aifc module. Patch by Oleg Plakhotnyuk.
Ezio Melotti [Mon, 12 Mar 2012 21:52:40 +0000 (23:52 +0200)]
#13394: add more tests for the aifc module.  Patch by Oleg Plakhotnyuk.

13 years agokill this disabled code
Benjamin Peterson [Mon, 12 Mar 2012 18:15:48 +0000 (11:15 -0700)]
kill this disabled code

13 years agouse correct naming convention
Benjamin Peterson [Mon, 12 Mar 2012 18:00:41 +0000 (11:00 -0700)]
use correct naming convention

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

13 years agoallow AST objects to be like its subclasses
Benjamin Peterson [Mon, 12 Mar 2012 16:43:09 +0000 (09:43 -0700)]
allow AST objects to be like its subclasses

13 years agomerge heads
Benjamin Peterson [Mon, 12 Mar 2012 16:28:26 +0000 (09:28 -0700)]
merge heads

13 years agoevery other ast object has a dict, so I think AST should, too
Benjamin Peterson [Mon, 12 Mar 2012 16:27:36 +0000 (09:27 -0700)]
every other ast object has a dict, so I think AST should, too

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