]> granicus.if.org Git - python/log
python
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 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.

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 18:53:42 +0000 (14:53 -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:23:41 +0000 (13:23 +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:49:55 +0000 (16:49 +0100)]
Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr.

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

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

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

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

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

12 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

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

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:38:39 +0000 (16:38 -0400)]
#14333: fix test_queue so it can be run via standard unittest test discovery.

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

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

12 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

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

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

12 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

12 years ago#11780: s/throw/raise/
R David Murray [Sat, 17 Mar 2012 02:10:00 +0000 (22:10 -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:03:17 +0000 (22:03 -0400)]
#11780: document that email.encoders throw TypeError on multipart messages.

12 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

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

12 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

12 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

12 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

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

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

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

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

12 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

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

12 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

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

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

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

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

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 agomerge heads
Gregory P. Smith [Wed, 14 Mar 2012 22:03:40 +0000 (15:03 -0700)]
merge heads

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

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

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

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

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

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

12 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

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

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

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

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

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

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

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

12 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

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

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

12 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

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

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

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

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

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

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

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

12 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

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

12 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

12 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__

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 agoCloses #14244: add info about capturing groups and maxsplit to the docstring of re...
Georg Brandl [Sat, 10 Mar 2012 08:26:53 +0000 (09:26 +0100)]
Closes #14244: add info about capturing groups and maxsplit to the docstring of re.split().

12 years agoCloses #14186: add link to PEP 3107 (function annotations) to the function definition...
Georg Brandl [Sat, 10 Mar 2012 08:22:47 +0000 (09:22 +0100)]
Closes #14186: add link to PEP 3107 (function annotations) to the function definition section.

12 years agoFix closes Issue: 14217 - 3.2 branch
Senthil Kumaran [Fri, 9 Mar 2012 04:56:52 +0000 (20:56 -0800)]
Fix closes Issue: 14217 - 3.2 branch

12 years agothis stuff will actually be new in 3.2.4
Benjamin Peterson [Thu, 8 Mar 2012 00:49:43 +0000 (18:49 -0600)]
this stuff will actually be new in 3.2.4

12 years agoallow cycles throught the __dict__ slot to be cleared (closes #1469629)
Benjamin Peterson [Thu, 8 Mar 2012 00:41:11 +0000 (18:41 -0600)]
allow cycles throught the __dict__ slot to be cleared (closes #1469629)

Patch from Armin, test from me.

12 years agomerge heads
Benjamin Peterson [Wed, 7 Mar 2012 20:50:35 +0000 (14:50 -0600)]
merge heads

12 years agokeep the buffer object around while we're using it (closes #14212)
Benjamin Peterson [Wed, 7 Mar 2012 20:50:25 +0000 (14:50 -0600)]
keep the buffer object around while we're using it (closes #14212)

12 years agoBackout buggy patch committed for #13719
Éric Araujo [Wed, 7 Mar 2012 19:48:55 +0000 (20:48 +0100)]
Backout buggy patch committed for #13719

12 years agoUse PEP-8 style in logging example
Jason R. Coombs [Wed, 7 Mar 2012 15:26:08 +0000 (10:26 -0500)]
Use PEP-8 style in logging example

12 years agoFix NameError from #13719 fix
Éric Araujo [Mon, 5 Mar 2012 16:02:31 +0000 (17:02 +0100)]
Fix NameError from #13719 fix

12 years agoBackport minidom attribute tests from default (73c76466cf44).
Éric Araujo [Mon, 5 Mar 2012 15:11:41 +0000 (16:11 +0100)]
Backport minidom attribute tests from default (73c76466cf44).

Some minidom code changed between 3.2 and 3.3, so to be sure to avoid
differenced in behavior I’m backporting these tests added by MvL.

12 years agoMake distutils’ upload command work with bdist_msi products (#13719).
Éric Araujo [Mon, 5 Mar 2012 15:09:29 +0000 (16:09 +0100)]
Make distutils’ upload command work with bdist_msi products (#13719).

Patch by Ralf Schmitt.

12 years agoMove xml.etree higher and xml.parsers.expat lower in the markup ToC.
Éric Araujo [Mon, 5 Mar 2012 15:01:41 +0000 (16:01 +0100)]
Move xml.etree higher and xml.parsers.expat lower in the markup ToC.

I assume that most users looking at this page are looking for a library
to process XML, not a low-level parser.  First proposed in #11379.

12 years agoUse source reST role instead of file where it makes sense.
Éric Araujo [Mon, 5 Mar 2012 14:50:37 +0000 (15:50 +0100)]
Use source reST role instead of file where it makes sense.

source generates a nifty link to the Mercurial web viewer.

12 years agoRemove mention of defunct file.
Éric Araujo [Mon, 5 Mar 2012 14:47:32 +0000 (15:47 +0100)]
Remove mention of defunct file.

Misc/COPYRIGHT was renamed twelve years ago to LICENSE and later copied
to the main docs, to which there is already a link.

12 years agoUse raw string for a docstring that uses a backslash
Éric Araujo [Mon, 5 Mar 2012 14:45:08 +0000 (15:45 +0100)]
Use raw string for a docstring that uses a backslash

12 years agoIssue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.
Meador Inge [Mon, 5 Mar 2012 04:15:38 +0000 (22:15 -0600)]
Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.

12 years agoFix some set algebra methods of WeakSet objects.
Antoine Pitrou [Sun, 4 Mar 2012 19:47:05 +0000 (20:47 +0100)]
Fix some set algebra methods of WeakSet objects.

12 years agoPort 2.7 fix for sporadic failure in test_weakset.
Antoine Pitrou [Sun, 4 Mar 2012 19:20:34 +0000 (20:20 +0100)]
Port 2.7 fix for sporadic failure in test_weakset.

12 years agoIssue #14177: marshal.loads() now raises TypeError when given an unicode string.
Antoine Pitrou [Sat, 3 Mar 2012 01:35:32 +0000 (02:35 +0100)]
Issue #14177: marshal.loads() now raises TypeError when given an unicode string.
Patch by Guilherme Gonçalves.

12 years agoIssue #14172: Fix reference leak when marshalling a buffer-like object (other than...
Antoine Pitrou [Fri, 2 Mar 2012 17:12:43 +0000 (18:12 +0100)]
Issue #14172: Fix reference leak when marshalling a buffer-like object (other than a bytes object).