49739 Commits

Author SHA1 Message Date
Giampaolo Rodola'
7941736ddb Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr. 2012-03-20 16:49:55 +01:00
Ross Lagerwall
71faefc37e Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.
Based on patch from Hervé Coatanhay.
2012-03-19 06:08:43 +02:00
R David Murray
1623afff67 #14355: remove obsolete doc reference to previously removed init_frozen.
Patch by Eric Snow.
2012-03-18 20:50:03 -04:00
Gregory P. Smith
c809f98143 Fixes Issue #14331: Use significantly less stack space when importing modules by
allocating path buffers on the heap instead of the stack.
2012-03-18 16:06:53 -07:00
Georg Brandl
3187749646 Merge 3.2.3rc2 from release clone. 2012-03-18 20:37:43 +01:00
Georg Brandl
1eb0f9de99 Post-release updates for 3.2.3rc2. 2012-03-18 08:36:53 +01:00
Georg Brandl
ed77feb503 Added tag v3.2.3rc2 for changeset 428f05cb7277 2012-03-18 07:35:01 +01:00
Georg Brandl
226af70a59 Bump to 3.2.3rc2. v3.2.3rc2 2012-03-18 07:34:49 +01:00
R David Murray
c6bfce9871 #14333: fix test_queue so it can be run via standard unittest test discovery. 2012-03-17 16:38:39 -04:00
Georg Brandl
5ab88177a4 Move MANIFEST parsing change to the right position. 2012-03-17 18:38:13 +01:00
Ned Deily
e742adeb8f Issue #14346: Fix some typos in the Mac/README file.
(Patch by Dionysios Kalofonos)
2012-03-17 10:29:41 -07:00
Georg Brandl
3a19e542ff Closes #14250: regex.flags has not only explicit flags but also implicit flags and those from the pattern 2012-03-17 17:29:27 +01:00
Georg Brandl
557a3ec9bb Closes #14343: avoid shadowing builtin input() in example code. 2012-03-17 17:26:27 +01:00
Georg Brandl
5ec6fdb0f6 Closes #14342: remove out-of-date section about avoiding recursion errors. 2012-03-17 17:25:47 +01:00
Georg Brandl
12c3cd7c1f Closes #14306: clarify expensiveness of try-except and update code snippet 2012-03-17 16:58:05 +01:00
Senthil Kumaran
f2123d2db5 3.2 explain json.dumps for non-string keys in dicts. closes issue6566. Patch contributed Kirubakaran Athmanathan 2012-03-17 00:40:34 -07:00
R David Murray
eebe1112ff #11686: news entry. 2012-03-16 22:49:54 -04:00
R David Murray
1b6c724df0 #11686: add missing entries to email __all__ lists.
Original patch by Steffen Daode Nurpmeso
2012-03-16 22:43:05 -04:00
R David Murray
41914349ad #11780: s/throw/raise/ 2012-03-16 22:10:00 -04:00
R David Murray
69ebfe43b0 #11780: document that email.encoders throw TypeError on multipart messages. 2012-03-16 22:03:17 -04:00
Eli Bendersky
969b8daf5a Issue #14202: some additional doc fixes 2012-03-16 16:49:58 +02:00
Benjamin Peterson
16d84ac355 check to make sure the attribute is a string (#14334) 2012-03-16 09:32:59 -05:00
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
c73f6dab11 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
Georg Brandl
a5d729a7f7 Transplant from main repo d6c197edd99b: Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes 2012-03-15 08:31:00 +01: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