Commit graph

49712 commits

Author SHA1 Message Date
Eli Bendersky
3fb05a90ce Issue #14202: Greatly enhance the documentation of xml.dom.pulldom.
Patch by Florian Mladitsch
2012-03-16 14:37:14 +02:00
Senthil Kumaran
be3f851411 closes issue10484 - Fix the http.server's cgi PATH_INFO handling problem 2012-03-16 01:13:50 -07:00
Eli Bendersky
604c4ff43d Issue #9257: clarify the events iterparse accepts 2012-03-16 08:41:30 +02:00
Senthil Kumaran
6b3434ae04 Explain the use of charset parameter with Content-Type header. Issue11082 2012-03-15 18:11:16 -07:00
Senthil Kumaran
73277fe0eb closes Issue #11199: Fix the with urllib which hangs on particular ftp urls. 2012-03-15 13:26:12 -07:00
R David Murray
38c2754652 #12758: removing confusing mention of UTC from time.time description
Patch by Dylan Sarber.
2012-03-15 03:06:15 -04:00
Gregory P. Smith
b7134998a5 merge heads 2012-03-14 18:14:26 -07:00
Gregory P. Smith
2522771e47 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.
2012-03-14 18:10:37 -07:00
Senthil Kumaran
87684e6eea Fix the wrong urllib exampls which use str for POST data. Closes Issue11261 2012-03-14 18:08:13 -07:00
Matthias Klose
4552b2eccc merge 3.1 2012-03-14 23:26:07 +01:00
Matthias Klose
51982ada81 merge heads 2012-03-14 23:24:32 +01:00
Matthias Klose
20b303ed85 merge heads 2012-03-14 23:24:11 +01:00
Matthias Klose
d83be23689 merge 3.1 2012-03-14 23:14:35 +01:00
Matthias Klose
0f4c16e29c - rename configure.in to configure.ac
- change references from configure.in to configure.ac
2012-03-14 23:10:15 +01:00
Gregory P. Smith
9439523c22 merge heads 2012-03-14 15:03:40 -07:00
Gregory P. Smith
0bca497721 merge (no change needed in 3.2) 2012-03-14 14:58:50 -07:00
Gregory P. Smith
1be7cd0a78 move the Misc/NEWS entry to the right section. 2012-03-14 14:58:22 -07:00
Gregory P. Smith
373c740924 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.
2012-03-14 14:41:00 -07:00
Georg Brandl
300a691026 Closes #14305: fix typo. 2012-03-14 22:40:08 +01:00
Gregory P. Smith
8e91cf6a5e 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.
2012-03-14 14:26:55 -07:00
R David Murray
9fd170e2d0 #14062: fix BytesParser handling of linesep for Header objects
This also affected smtplib.SMTP.send_message, which calls BytesParser.
2012-03-14 14:05:03 -04:00
Georg Brandl
525fd5447d Closes #14289: put a link to the CHM download page on the docs download page. 2012-03-14 08:18:47 +01:00
Georg Brandl
69c7a69cbe Closes #14283: match() and search() are regex methods, not match methods. 2012-03-14 08:02:43 +01:00
R David Murray
7441a7aedd #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.
2012-03-14 02:59:51 -04:00
Senthil Kumaran
21c71bac5f closes Issue12365 - Add an example explaining the context manager use case of urllib.urlopen 2012-03-13 19:47:51 -07:00
Benjamin Peterson
817dd91595 merge heads 2012-03-13 16:46:35 -05:00
Martin v. Löwis
eb945a938d Issue #5219: Prevent event handler cascade in IDLE.
Patch by Roger Serwy.
2012-03-13 14:32:29 -07:00
Benjamin Peterson
47930016ff merge heads 2012-03-13 16:13:21 -05:00
Benjamin Peterson
2354a7593f fix indentation 2012-03-13 16:13:09 -05:00
Ned Deily
7ca97d5208 Issue #14184: Increase the default stack size for secondary threads on
Mac OS X to prevent interpreter crashes when compiled on 10.7.
2012-03-13 11:18:18 -07:00
Vinay Sajip
69437da15f Merged upstream change. 2012-03-13 12:18:19 +00:00
Vinay Sajip
27f48979ca Closes #14267: Corrected computation of rollover filename. 2012-03-13 12:10:33 +00:00
Senthil Kumaran
47b5ddb9cf 3.2 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers 2012-03-13 01:50:27 -07:00
Senthil Kumaran
1732ab4f15 merge heads 2012-03-13 00:16:58 -07:00
Senthil Kumaran
784ddb08a6 merge heads 2012-03-13 00:14:59 -07:00
Michael Foord
e01c62cd6b Fix unittest test discovery for Jython 2012-03-13 00:09:54 -07:00
Ezio Melotti
df723e1e5e #14179: add tests for re.compile. Patch by Florian Mladitsch. 2012-03-13 01:29:48 +02:00
Eric V. Smith
1d4798cb93 Merge heads. 2012-03-12 15:18:30 -07:00
Eric V. Smith
edbb6ca084 str.format_map tests don't do what they say: fix to actually implement the intent of the test. Closes #13450. 2012-03-12 15:16:22 -07:00
Ezio Melotti
85769539a3 #13394: add more tests for the aifc module. Patch by Oleg Plakhotnyuk. 2012-03-12 23:52:40 +02:00
Benjamin Peterson
3f3584695e kill this disabled code 2012-03-12 11:15:48 -07:00
Benjamin Peterson
bc4665ebcb use correct naming convention 2012-03-12 11:00:41 -07:00
Senthil Kumaran
6080db7606 closes issue14257 - Grammatical fix 2012-03-12 10:05:34 -07:00
Benjamin Peterson
ef87f06798 allow AST objects to be like its subclasses 2012-03-12 09:43:09 -07:00
Benjamin Peterson
800b3aa57f merge heads 2012-03-12 09:28:26 -07:00
Benjamin Peterson
d279e286f2 every other ast object has a dict, so I think AST should, too 2012-03-12 09:27:36 -07:00
Senthil Kumaran
a7fccd8b14 closes issue14257 - 3.2 minor error in glossary wording regarding __hash__ 2012-03-11 21:04:56 -07:00
Antoine Pitrou
1f9a835400 Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited. 2012-03-11 19:29:12 +01:00
Mark Dickinson
328dd0d5f3 Closes #9574: Note that complex constructor doesn't allow whitespace around central operator. 2012-03-10 16:09:35 +00:00
Georg Brandl
e144c74e02 Closes #14244: add info about capturing groups and maxsplit to the docstring of re.split(). 2012-03-10 09:26:53 +01:00