Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #14291: if a header has non-ascii unicode, default to CTE using utf-8 | R David Murray | 2012-03-14 | 3 | -7/+29 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 3 | -7/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Issue #5219: Prevent event handler cascade in IDLE. | Martin v. Löwis | 2012-03-13 | 1 | -1/+5 |
| | | | | | | | | Patch by Roger Serwy. | ||||
| * | Merged upstream change. | Vinay Sajip | 2012-03-13 | 1 | -0/+5 |
| |\ | |||||
* | | | Issue10050 - urlretrieve uses newer urlopen. reporthook of urlretrieve ↵ | Senthil Kumaran | 2012-03-14 | 2 | -25/+89 |
| | | | | | | | | | | | | takes, block number, block read size, file_size | ||||
* | | | Issue #989712: Support using Tk without a mainloop. | Andrew Svetlov | 2012-03-14 | 1 | -0/+16 |
| | | | |||||
* | | | Issue #14180: TestDateTime.test_microsecond_rounding() handles localtime() and | Victor Stinner | 2012-03-13 | 1 | -10/+15 |
| | | | | | | | | | | | | gmtime() failure on Windows | ||||
* | | | #8315: add automatic unittest test discovery in test.test_email | R David Murray | 2012-03-13 | 1 | -0/+10 |
| | | | |||||
* | | | Issue #5219: Prevent event handler cascade in IDLE. | Martin v. Löwis | 2012-03-13 | 1 | -1/+5 |
| | | | | | | | | | | | | Patch by Roger Serwy. | ||||
* | | | Issue #2843: Add new Tk API to Tkinter. | Martin v. Löwis | 2012-03-13 | 1 | -1/+87 |
| | | | | | | | | | | | | Patch by Guilherme Polo and Andrew Svetlov. | ||||
* | | | Close #14180: Factorize code to convert a number of seconds to time_t, ↵ | Victor Stinner | 2012-03-13 | 3 | -17/+78 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | timeval or timespec 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. | ||||
* | | | Merged upstream change. | Vinay Sajip | 2012-03-13 | 1 | -0/+5 |
|\ \ \ | |||||
| * \ \ | merge to 3.3 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers | Senthil Kumaran | 2012-03-13 | 1 | -0/+5 |
| |\ \ \ | | | |/ | | |/| | |||||
| | * | | 3.2 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers | Senthil Kumaran | 2012-03-13 | 1 | -0/+5 |
| | | | | |||||
* | | | | Closes #14267: Merged fix from 3.2. | Vinay Sajip | 2012-03-13 | 1 | -6/+15 |
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | |||||
| * | | Closes #14267: Corrected computation of rollover filename. | Vinay Sajip | 2012-03-13 | 1 | -6/+15 |
| |/ | |||||
* | | Merge | Michael Foord | 2012-03-13 | 1 | -4/+9 |
|\ \ | |/ | |||||
| * | Fix unittest test discovery for Jython | Michael Foord | 2012-03-13 | 1 | -4/+9 |
| | | |||||
* | | #8942: add test for __path__ contents in zipimport tests | R David Murray | 2012-03-13 | 1 | -0/+4 |
| | | | | | | | | Patch by Tatiana Al-Chueyr. | ||||
* | | Issue #1178863: Separate initialisation from setting when initializing | Martin v. Löwis | 2012-03-13 | 2 | -12/+189 |
| | | | | | | | | | | | | Tkinter.Variables; harmonize exceptions to ValueError; only delete variables that have not been deleted; assert that variable names are strings Patch by Andrew Svetlov. | ||||
* | | closes #14259 re.finditer() now takes keyword arguments: pos, endpos. | Sean Reifschneider | 2012-03-13 | 1 | -0/+20 |
| | | | | | | | | | | Contrary to the documentation, finditer() did not take pos and endpos keyword arguments. | ||||
* | | #14179: merge with 3.2. | Ezio Melotti | 2012-03-12 | 1 | -0/+10 |
|\ \ | |/ | |||||
| * | #14179: add tests for re.compile. Patch by Florian Mladitsch. | Ezio Melotti | 2012-03-12 | 1 | -0/+10 |
| | | |||||
* | | Merge heads. | Eric V. Smith | 2012-03-12 | 1 | -6/+9 |
|\ \ | |||||
| * \ | str.format_map tests don't do what they say: fix to actually implement the ↵ | Eric V. Smith | 2012-03-12 | 1 | -6/+9 |
| |\ \ | | |/ | | | | | | | intent of the test. Closes #13450. Patch by Akira Li. | ||||
| | * | Merge heads. | Eric V. Smith | 2012-03-12 | 2 | -15/+154 |
| | |\ | |||||
| | * | | str.format_map tests don't do what they say: fix to actually implement the ↵ | Eric V. Smith | 2012-03-12 | 1 | -6/+9 |
| | | | | | | | | | | | | | | | | intent of the test. Closes #13450. | ||||
* | | | | Merge | Michael Foord | 2012-03-12 | 2 | -15/+155 |
|\ \ \ \ | |/ / / | |||||
| * | | | #13394: add more tests for the aifc module and use warnings.warn instead of ↵ | Ezio Melotti | 2012-03-12 | 2 | -15/+155 |
| |\ \ \ | | | |/ | | |/| | | | | | print. Patch by Oleg Plakhotnyuk. | ||||
| | * | | #13394: add more tests for the aifc module. Patch by Oleg Plakhotnyuk. | Ezio Melotti | 2012-03-12 | 1 | -9/+154 |
| | | | | |||||
* | | | | Move adding unittest test discovery command line options into their own method. | Michael Foord | 2012-03-12 | 1 | -5/+7 |
|/ / / | |||||
* | | | Merge | Michael Foord | 2012-03-12 | 3 | -1/+21 |
|\ \ \ | |||||
| * \ \ | Head merge. | Łukasz Langa | 2012-03-12 | 2 | -0/+20 |
| |\ \ \ | |||||
| | * | | | Fixes #13842: cannot pickle Ellipsis or NotImplemented. | Łukasz Langa | 2012-03-12 | 2 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | Thanks for James Sanders for the bug report and the patch. | ||||
| * | | | | adjust for change in AST type | Benjamin Peterson | 2012-03-12 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Refactor unittest command line handling to always use optparse | Michael Foord | 2012-03-12 | 2 | -59/+32 |
|/ / / / | |||||
* | | | | give the AST class a __dict__ | Benjamin Peterson | 2012-03-12 | 1 | -0/+3 |
| | | | | |||||
* | | | | merge 3.2 | Benjamin Peterson | 2012-03-12 | 1 | -3/+0 |
|\ \ \ \ | | |/ / | |/| | | |||||
| * | | | allow AST objects to be like its subclasses | Benjamin Peterson | 2012-03-12 | 1 | -3/+0 |
| | | | | |||||
* | | | | merge heads | Benjamin Peterson | 2012-03-12 | 1 | -3/+7 |
|\ \ \ \ | | |/ / | |/| | | |||||
| * | | | Make test_logging no longer fail if zlib not present. Closes #14256. Patch ↵ | Eric V. Smith | 2012-03-12 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | | by Pedro Kroger. | ||||
* | | | | merge 3.2 | Benjamin Peterson | 2012-03-12 | 1 | -3/+0 |
|\ \ \ \ | |/ / / |/| / / | |/ / | |||||
| * | | every other ast object has a dict, so I think AST should, too | Benjamin Peterson | 2012-03-12 | 1 | -3/+0 |
| |/ | |||||
* | | Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under ↵ | Antoine Pitrou | 2012-03-11 | 2 | -1/+76 |
|\ \ | |/ | | | | | Windows when the child process has already exited. | ||||
| * | Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under ↵ | Antoine Pitrou | 2012-03-11 | 2 | -1/+78 |
| | | | | | | | | Windows when the child process has already exited. | ||||
* | | Close #14210: add command argument completion to pdb: complete file names, ↵ | Georg Brandl | 2012-03-10 | 1 | -0/+95 |
| | | | | | | | | global/local variables, aliases | ||||
* | | PEP8-ize test names | Antoine Pitrou | 2012-03-10 | 1 | -82/+54 |
| | | |||||
* | | Remove useless failOnException() method | Antoine Pitrou | 2012-03-10 | 1 | -86/+32 |
| | | |||||
* | | Merge with 3.2. | Georg Brandl | 2012-03-10 | 1 | -3/+8 |
|\ \ | |/ | |||||
| * | Closes #14244: add info about capturing groups and maxsplit to the docstring ↵ | Georg Brandl | 2012-03-10 | 1 | -3/+8 |
| | | | | | | | | of re.split(). |