]>
granicus.if.org Git - python/log
Benjamin Peterson [Thu, 22 Mar 2012 14:39:16 +0000 (10:39 -0400)]
this should technicaly be identifier
Antoine Pitrou [Thu, 22 Mar 2012 13:38:16 +0000 (14:38 +0100)]
Issue #14387: Do not include accu.h from Python.h.
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 18:53:42 +0000 (14:53 -0400)]
#12757: Make doctest skipping in -OO mode work with unittest/regrtest -v
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.
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.
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.
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.
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.
Georg Brandl [Sun, 18 Mar 2012 19:37:43 +0000 (20:37 +0100)]
Merge 3.2.3rc2 from release clone.
Georg Brandl [Sun, 18 Mar 2012 07:36:53 +0000 (08:36 +0100)]
Post-release updates for 3.2.3rc2.
Georg Brandl [Sun, 18 Mar 2012 06:35:01 +0000 (07:35 +0100)]
Added tag v3.2.3rc2 for changeset
428f05cb7277
Georg Brandl [Sun, 18 Mar 2012 06:34:49 +0000 (07:34 +0100)]
Bump to 3.2.3rc2.
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.
Georg Brandl [Sat, 17 Mar 2012 17:38:13 +0000 (18:38 +0100)]
Move MANIFEST parsing change to the right position.
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)
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
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:40:34 +0000 (00:40 -0700)]
3.2 explain json.dumps for non-string keys in dicts. closes issue6566. Patch contributed Kirubakaran Athmanathan
R David Murray [Sat, 17 Mar 2012 02:49:54 +0000 (22:49 -0400)]
#11686: news entry.
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
R David Murray [Sat, 17 Mar 2012 02:10:00 +0000 (22:10 -0400)]
#11780: s/throw/raise/
R David Murray [Sat, 17 Mar 2012 02:03:17 +0000 (22:03 -0400)]
#11780: document that email.encoders throw TypeError on multipart messages.
Eli Bendersky [Fri, 16 Mar 2012 14:49:58 +0000 (16:49 +0200)]
Issue #14202: some additional doc fixes
Benjamin Peterson [Fri, 16 Mar 2012 14:32:59 +0000 (09:32 -0500)]
check to make sure the attribute is a string (#14334)
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
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
Eli Bendersky [Fri, 16 Mar 2012 06:41:30 +0000 (08:41 +0200)]
Issue #9257: clarify the events iterparse accepts
Senthil Kumaran [Fri, 16 Mar 2012 01:11:16 +0000 (18:11 -0700)]
Explain the use of charset parameter with Content-Type header. Issue11082
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.
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.
Gregory P. Smith [Thu, 15 Mar 2012 01:14:26 +0000 (18:14 -0700)]
merge heads
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.
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
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.
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
Matthias Klose [Wed, 14 Mar 2012 22:26:07 +0000 (23:26 +0100)]
merge 3.1
Matthias Klose [Wed, 14 Mar 2012 22:24:32 +0000 (23:24 +0100)]
merge heads
Matthias Klose [Wed, 14 Mar 2012 22:24:11 +0000 (23:24 +0100)]
merge heads
Matthias Klose [Wed, 14 Mar 2012 22:14:35 +0000 (23:14 +0100)]
merge 3.1
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
Gregory P. Smith [Wed, 14 Mar 2012 22:03:40 +0000 (15:03 -0700)]
merge heads
Gregory P. Smith [Wed, 14 Mar 2012 21:58:50 +0000 (14:58 -0700)]
merge (no change needed in 3.2)
Gregory P. Smith [Wed, 14 Mar 2012 21:58:22 +0000 (14:58 -0700)]
move the Misc/NEWS entry to the right section.
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.
Georg Brandl [Wed, 14 Mar 2012 21:40:08 +0000 (22:40 +0100)]
Closes #14305: fix typo.
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.
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.
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.
Georg Brandl [Wed, 14 Mar 2012 07:02:43 +0000 (08:02 +0100)]
Closes #14283: match() and search() are regex methods, not match methods.
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.
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
Benjamin Peterson [Tue, 13 Mar 2012 21:46:35 +0000 (16:46 -0500)]
merge heads
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.
Benjamin Peterson [Tue, 13 Mar 2012 21:13:21 +0000 (16:13 -0500)]
merge heads
Benjamin Peterson [Tue, 13 Mar 2012 21:13:09 +0000 (16:13 -0500)]
fix indentation
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.
Vinay Sajip [Tue, 13 Mar 2012 12:18:19 +0000 (12:18 +0000)]
Merged upstream change.
Vinay Sajip [Tue, 13 Mar 2012 12:10:33 +0000 (12:10 +0000)]
Closes #14267: Corrected computation of rollover filename.
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
Senthil Kumaran [Tue, 13 Mar 2012 07:16:58 +0000 (00:16 -0700)]
merge heads
Senthil Kumaran [Tue, 13 Mar 2012 07:14:59 +0000 (00:14 -0700)]
merge heads
Michael Foord [Tue, 13 Mar 2012 07:09:54 +0000 (00:09 -0700)]
Fix unittest test discovery for Jython
Ezio Melotti [Mon, 12 Mar 2012 23:29:48 +0000 (01:29 +0200)]
#14179: add tests for re.compile. Patch by Florian Mladitsch.
Eric V. Smith [Mon, 12 Mar 2012 22:18:30 +0000 (15:18 -0700)]
Merge heads.
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.
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.
Benjamin Peterson [Mon, 12 Mar 2012 18:15:48 +0000 (11:15 -0700)]
kill this disabled code
Benjamin Peterson [Mon, 12 Mar 2012 18:00:41 +0000 (11:00 -0700)]
use correct naming convention
Senthil Kumaran [Mon, 12 Mar 2012 17:05:34 +0000 (10:05 -0700)]
closes issue14257 - Grammatical fix
Benjamin Peterson [Mon, 12 Mar 2012 16:43:09 +0000 (09:43 -0700)]
allow AST objects to be like its subclasses
Benjamin Peterson [Mon, 12 Mar 2012 16:28:26 +0000 (09:28 -0700)]
merge heads
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
Senthil Kumaran [Mon, 12 Mar 2012 04:04:56 +0000 (21:04 -0700)]
closes issue14257 - 3.2 minor error in glossary wording regarding __hash__
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.
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().
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.
Senthil Kumaran [Fri, 9 Mar 2012 04:56:52 +0000 (20:56 -0800)]
Fix closes Issue: 14217 - 3.2 branch
Benjamin Peterson [Thu, 8 Mar 2012 00:49:43 +0000 (18:49 -0600)]
this stuff will actually be new in 3.2.4
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.
Benjamin Peterson [Wed, 7 Mar 2012 20:50:35 +0000 (14:50 -0600)]
merge heads
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)
Éric Araujo [Wed, 7 Mar 2012 19:48:55 +0000 (20:48 +0100)]
Backout buggy patch committed for #13719
Jason R. Coombs [Wed, 7 Mar 2012 15:26:08 +0000 (10:26 -0500)]
Use PEP-8 style in logging example
Éric Araujo [Mon, 5 Mar 2012 16:02:31 +0000 (17:02 +0100)]
Fix NameError from #13719 fix
É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.
É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.
É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.
É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.
É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.
Éric Araujo [Mon, 5 Mar 2012 14:45:08 +0000 (15:45 +0100)]
Use raw string for a docstring that uses a backslash
Meador Inge [Mon, 5 Mar 2012 04:15:38 +0000 (22:15 -0600)]
Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.
Antoine Pitrou [Sun, 4 Mar 2012 19:47:05 +0000 (20:47 +0100)]
Fix some set algebra methods of WeakSet objects.
Antoine Pitrou [Sun, 4 Mar 2012 19:20:34 +0000 (20:20 +0100)]
Port 2.7 fix for sporadic failure in test_weakset.
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.
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).