Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #8739: upgrade smtpd to RFC 5321 and 1870. | R David Murray | 2012-05-26 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | smtpd now handles EHLO and has infrastructure for extended smtp command mode. The SIZE extension is also implemented. In order to support parameters on MAIL FROM, the RFC 5322 parser from the email package is used to parse the address "token". Logging subclasses things and overrides __init__, so it was necessary to update those __init__ functions in the logging tests to make the logging tests pass. The original suggestion and patch were by Alberto Trevino. Juhana Jauhiainen added the --size argument and SIZE parameter support. Michele Orrù improved the patch and added more tests. Dan Boswell conditionalized various bits of code on whether or not we are in HELO or EHLO mode, as well as some other improvements and tests. I finalized the patch and added the address parsing. | ||||
* | #665194: Add a localtime function to email.utils. | R David Murray | 2012-05-26 | 1 | -0/+1 |
| | | | | | | | | Without this function people would be tempted to use the other date functions in email.utils to compute an aware localtime, and those functions are not as good for that purpose as this code. The code is Alexander Belopolsy's from his proposed patch for issue 9527, with a fix (and additional tests) by Brian K. Jones. | ||||
* | #14472: Update .gitignore | Petri Lehtinen | 2012-05-22 | 1 | -0/+1 |
| | | | | Patch by Matej Cepl. | ||||
* | Issue #14814: addition of the ipaddress module (stage 1 - code and tests) | Nick Coghlan | 2012-05-20 | 1 | -0/+1 |
| | |||||
* | #14798: pyclbr now raises ImportError instead of KeyError for missing packages | Petri Lehtinen | 2012-05-18 | 1 | -0/+1 |
|\ | |||||
| * | #14798: pyclbr now raises ImportError instead of KeyError for missing packages | Petri Lehtinen | 2012-05-18 | 1 | -0/+1 |
| | | |||||
| * | Issue #14245: Improve floating-point entry in FAQ. Thanks Zbyszek ↵ | Mark Dickinson | 2012-05-13 | 1 | -0/+1 |
| | | | | | | | | Jędrzejewski-Szmek for some of the wording. | ||||
* | | Issue #13031: Small speed-up for tarfile when unzipping tarfiles. | Ross Lagerwall | 2012-05-17 | 1 | -0/+1 |
| | | | | | | | | Patch by Justin Peel. | ||||
* | | Issue #14780: urllib.request.urlopen() now has a `cadefault` argument to use ↵ | Antoine Pitrou | 2012-05-16 | 1 | -0/+1 |
| | | | | | | | | | | | | the default certificate store. Initial patch by James Oakley. | ||||
* | | Issue #14732: The _csv module now uses PEP 3121 module initialization. | Antoine Pitrou | 2012-05-16 | 1 | -0/+1 |
| | | | | | | | | Patch by Robin Schreiber. | ||||
* | | #14809: Add HTTP status codes from RFC 6585 to http.server and http.client | Hynek Schlawack | 2012-05-16 | 1 | -0/+1 |
| | | | | | | | | Patch by EungJun Yi. | ||||
* | | Issue #14532: Add a secure_compare() helper to the hmac module, to mitigate | Charles-François Natali | 2012-05-13 | 1 | -0/+1 |
| | | | | | | | | timing attacks. Patch by Jon Oberheide. | ||||
* | | MERGE: Closes #14768: os.path.expanduser('~/a') doesn't works correctly when ↵ | Jesus Cea | 2012-05-10 | 1 | -0/+1 |
|\ \ | |/ | | | | | HOME is '/' | ||||
| * | Closes #14768: os.path.expanduser('~/a') doesn't works correctly when HOME ↵ | Jesus Cea | 2012-05-10 | 1 | -0/+1 |
| | | | | | | | | is '/' | ||||
| * | Issue #14761: Fix potential leak on an error case in the import machinery. | Antoine Pitrou | 2012-05-09 | 1 | -0/+1 |
| | | |||||
| * | #14034: added the argparse tutorial. Patch by Tshepang Lekhonkhobe. | Ezio Melotti | 2012-05-06 | 1 | -0/+1 |
| | | |||||
* | | Add John Regehr to Misc/ACKS for his help with finding integer overflows ↵ | Mark Dickinson | 2012-05-07 | 1 | -0/+1 |
| | | | | | | | | (issue #9530). | ||||
* | | Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result near | Alexander Belopolsky | 2012-04-29 | 1 | -0/+1 |
|\ \ | |/ | | | | | the DST transition. Patch by Joe Peterson. | ||||
| * | Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result near | Alexander Belopolsky | 2012-04-29 | 1 | -0/+1 |
| | | | | | | | | the DST transition. Patch by Joe Peterson. | ||||
* | | merge 3.2 | Benjamin Peterson | 2012-04-23 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | add Mark Shannon | Benjamin Peterson | 2012-04-23 | 1 | -0/+1 |
| | | |||||
* | | Merge from 3.2 | Nick Coghlan | 2012-04-19 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Close #14032: fix incorrect variable reference in test_cmd_line_script | Nick Coghlan | 2012-04-19 | 1 | -0/+1 |
| | | |||||
| * | #14399: zipfile now correctly handles comments added to empty zipfiles. | R David Murray | 2012-04-12 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | Patch by Serhiy Storchaka. This also moves the TypeError that results from trying to use a unicode comment from the 'close' step to the point at which the comment is added to the zipfile. | ||||
* | | Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. | Charles-François Natali | 2012-04-12 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. | Charles-François Natali | 2012-04-12 | 1 | -0/+1 |
| | | |||||
* | | Issue #7978: socketserver now restarts the select() call when EINTR is returned. | Antoine Pitrou | 2012-04-08 | 1 | -0/+1 |
|\ \ | |/ | | | | | | | This avoids crashing the server loop when a signal is received. Patch by Jerzy Kozera. | ||||
| * | Issue #7978: socketserver now restarts the select() call when EINTR is returned. | Antoine Pitrou | 2012-04-08 | 1 | -0/+1 |
| | | | | | | | | | | This avoids crashing the server loop when a signal is received. Patch by Jerzy Kozera. | ||||
* | | Close #14249: Use bit shifts instead of an union, it's more efficient. | Victor Stinner | 2012-04-05 | 1 | -0/+1 |
| | | | | | | | | Patch written by Serhiy Storchaka | ||||
* | | Issue #8515: Set __file__ when run file in IDLE. | Andrew Svetlov | 2012-04-05 | 1 | -0/+1 |
| | | |||||
* | | Issue #14435: Add Misc/NEWS and Misc/ACKS | Kristján Valur Jónsson | 2012-03-31 | 1 | -0/+1 |
| | | |||||
* | | #14416: conditionally add LOG_AUTHPRIV facility and LOG_ODELAY to syslog. | R David Murray | 2012-03-29 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | Unlike the other facilities, we don't use a fallback for AUTHPRIV if it doesn't exist. Because it is intended for logging sensitive log messages, it is better that a program trying to log such messages fail than that it log them insecurely. Initial patch by Federico Reghenzani. | ||||
* | | #14380: Have MIMEText defaults to utf-8 when passed non-ASCII unicode | R David Murray | 2012-03-23 | 1 | -0/+1 |
| | | | | | | | | | | | | | | Previously it would just accept the unicode, which would wind up as unicode in the transfer-encoded message object, which is just wrong. Patch by Jeff Knupp. | ||||
* | | Issue #14204: The ssl module now has support for the Next Protocol ↵ | Antoine Pitrou | 2012-03-21 | 1 | -0/+1 |
| | | | | | | | | | | | | Negotiation extension, if available in the underlying OpenSSL library. Patch by Colin Marc. | ||||
* | | #14269: smtpd now conforms to the RFC and requires HELO before MAIL. | R David Murray | 2012-03-20 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | This is a backward incompatible change, but since it is an RFC conformance bug and all real mail servers that I know of do conform to the RFC in this regard, I believe it is an acceptable change for a feature release. Patch by Jason Killen. | ||||
* | | Merge with 3.2 for #14359. | Ross Lagerwall | 2012-03-19 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined. | Ross Lagerwall | 2012-03-19 | 1 | -0/+1 |
| | | | | | | | | Based on patch from Hervé Coatanhay. | ||||
* | | Merge #14291: if a header has non-ascii unicode, default to CTE using utf-8 | R David Murray | 2012-03-14 | 1 | -0/+1 |
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | #14291: if a header has non-ascii unicode, default to CTE using utf-8 | R David Murray | 2012-03-14 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Issue10050 - urlretrieve uses newer urlopen. reporthook of urlretrieve ↵ | Senthil Kumaran | 2012-03-14 | 1 | -0/+1 |
| | | | | | | | | takes, block number, block read size, file_size | ||||
* | | #14179: merge with 3.2. | Ezio Melotti | 2012-03-12 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | #14179: add tests for re.compile. Patch by Florian Mladitsch. | Ezio Melotti | 2012-03-12 | 1 | -0/+1 |
| | | |||||
* | | str.format_map tests don't do what they say: fix to actually implement the ↵ | Eric V. Smith | 2012-03-12 | 1 | -0/+1 |
|\ \ | |/ | | | | | intent of the test. Closes #13450. Patch by Akira Li. | ||||
| * | str.format_map tests don't do what they say: fix to actually implement the ↵ | Eric V. Smith | 2012-03-12 | 1 | -0/+1 |
| | | | | | | | | intent of the test. Closes #13450. | ||||
* | | Fixes #13842: cannot pickle Ellipsis or NotImplemented. | Łukasz Langa | 2012-03-12 | 1 | -0/+1 |
| | | | | | | | | Thanks for James Sanders for the bug report and the patch. | ||||
* | | Make test_logging no longer fail if zlib not present. Closes #14256. Patch ↵ | Eric V. Smith | 2012-03-12 | 1 | -0/+1 |
| | | | | | | | | by Pedro Kroger. | ||||
* | | - Issue #14177: marshal.loads() now raises TypeError when given an unicode | Antoine Pitrou | 2012-03-03 | 1 | -0/+1 |
|\ \ | |/ | | | | | string. Patch by Guilherme Gonçalves. | ||||
| * | Issue #14177: marshal.loads() now raises TypeError when given an unicode string. | Antoine Pitrou | 2012-03-03 | 1 | -0/+1 |
| | | | | | | | | Patch by Guilherme Gonçalves. | ||||
* | | Issue #13125: Silence spurious test_lib2to3 output when in non-verbose mode. | Antoine Pitrou | 2012-02-27 | 1 | -0/+1 |
|\ \ | |/ | | | | | Patch by Mikhail Novikov. | ||||
| * | Issue #13125: Silence spurious test_lib2to3 output when in non-verbose mode. | Antoine Pitrou | 2012-02-27 | 1 | -0/+1 |
| | | | | | | | | Patch by Mikhail Novikov. |