- 14 Mar, 2012 7 commits
-
-
R David Murray authored
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.
-
R David Murray authored
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.
-
Georg Brandl authored
-
Senthil Kumaran authored
default: closes Issue12365 - Add an example explaining the context manager use case of urllib.urlopen
-
Senthil Kumaran authored
-
Senthil Kumaran authored
Issue10050 - urlretrieve uses newer urlopen. reporthook of urlretrieve takes, block number, block read size, file_size
-
Andrew Svetlov authored
-
- 13 Mar, 2012 33 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
structure. timeval.tv_sec is a long on Windows, not time_t.
-
Victor Stinner authored
gmtime() failure on Windows
-
Victor Stinner authored
and datetime.datetime.utcfromtimestamp() now raise an OSError instead of ValueError if localtime() or gmtime() failed.
-
R David Murray authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
Patch by Roger Serwy.
-
Martin v. Löwis authored
Patch by Roger Serwy.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Martin v. Löwis authored
Patch by Guilherme Polo and Andrew Svetlov.
-
Martin v. Löwis authored
Patch by Guilherme Polo and Andrew Svetlov.
-
Ned Deily authored
-
Ned Deily authored
Mac OS X to prevent interpreter crashes when compiled on 10.7.
-
Victor Stinner authored
Use volatile keyword to disable localy unsafe float optimizations.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now raises an OverflowError, instead of a ValueError, if the timestamp does not fit in time_t. datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now round microseconds towards zero instead of rounding to nearest with ties going away from zero.
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-