summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge #14291: if a header has non-ascii unicode, default to CTE using utf-8R David Murray2012-03-143-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-8R David Murray2012-03-143-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öwis2012-03-131-1/+5
| | | | | | | | Patch by Roger Serwy.
| * Merged upstream change.Vinay Sajip2012-03-131-0/+5
| |\
* | | Issue10050 - urlretrieve uses newer urlopen. reporthook of urlretrieve ↵Senthil Kumaran2012-03-142-25/+89
| | | | | | | | | | | | takes, block number, block read size, file_size
* | | Issue #989712: Support using Tk without a mainloop.Andrew Svetlov2012-03-141-0/+16
| | |
* | | Issue #14180: TestDateTime.test_microsecond_rounding() handles localtime() andVictor Stinner2012-03-131-10/+15
| | | | | | | | | | | | gmtime() failure on Windows
* | | #8315: add automatic unittest test discovery in test.test_emailR David Murray2012-03-131-0/+10
| | |
* | | Issue #5219: Prevent event handler cascade in IDLE.Martin v. Löwis2012-03-131-1/+5
| | | | | | | | | | | | Patch by Roger Serwy.
* | | Issue #2843: Add new Tk API to Tkinter.Martin v. Löwis2012-03-131-1/+87
| | | | | | | | | | | | Patch by Guilherme Polo and Andrew Svetlov.
* | | Close #14180: Factorize code to convert a number of seconds to time_t, ↵Victor Stinner2012-03-133-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 Sajip2012-03-131-0/+5
|\ \ \
| * \ \ merge to 3.3 - Fix closes Issue14281 - Test for cgi.escape by Brian LandersSenthil Kumaran2012-03-131-0/+5
| |\ \ \ | | | |/ | | |/|
| | * | 3.2 - Fix closes Issue14281 - Test for cgi.escape by Brian LandersSenthil Kumaran2012-03-131-0/+5
| | | |
* | | | Closes #14267: Merged fix from 3.2.Vinay Sajip2012-03-131-6/+15
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | Closes #14267: Corrected computation of rollover filename.Vinay Sajip2012-03-131-6/+15
| |/
* | MergeMichael Foord2012-03-131-4/+9
|\ \ | |/
| * Fix unittest test discovery for JythonMichael Foord2012-03-131-4/+9
| |
* | #8942: add test for __path__ contents in zipimport testsR David Murray2012-03-131-0/+4
| | | | | | | | Patch by Tatiana Al-Chueyr.
* | Issue #1178863: Separate initialisation from setting when initializingMartin v. Löwis2012-03-132-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 Reifschneider2012-03-131-0/+20
| | | | | | | | | | Contrary to the documentation, finditer() did not take pos and endpos keyword arguments.
* | #14179: merge with 3.2.Ezio Melotti2012-03-121-0/+10
|\ \ | |/
| * #14179: add tests for re.compile. Patch by Florian Mladitsch.Ezio Melotti2012-03-121-0/+10
| |
* | Merge heads.Eric V. Smith2012-03-121-6/+9
|\ \
| * \ str.format_map tests don't do what they say: fix to actually implement the ↵Eric V. Smith2012-03-121-6/+9
| |\ \ | | |/ | | | | | | intent of the test. Closes #13450. Patch by Akira Li.
| | * Merge heads.Eric V. Smith2012-03-122-15/+154
| | |\
| | * | str.format_map tests don't do what they say: fix to actually implement the ↵Eric V. Smith2012-03-121-6/+9
| | | | | | | | | | | | | | | | intent of the test. Closes #13450.
* | | | MergeMichael Foord2012-03-122-15/+155
|\ \ \ \ | |/ / /
| * | | #13394: add more tests for the aifc module and use warnings.warn instead of ↵Ezio Melotti2012-03-122-15/+155
| |\ \ \ | | | |/ | | |/| | | | | print. Patch by Oleg Plakhotnyuk.
| | * | #13394: add more tests for the aifc module. Patch by Oleg Plakhotnyuk.Ezio Melotti2012-03-121-9/+154
| | | |
* | | | Move adding unittest test discovery command line options into their own method.Michael Foord2012-03-121-5/+7
|/ / /
* | | MergeMichael Foord2012-03-123-1/+21
|\ \ \
| * \ \ Head merge.Łukasz Langa2012-03-122-0/+20
| |\ \ \
| | * | | Fixes #13842: cannot pickle Ellipsis or NotImplemented.Łukasz Langa2012-03-122-0/+20
| | | | | | | | | | | | | | | | | | | | Thanks for James Sanders for the bug report and the patch.
| * | | | adjust for change in AST typeBenjamin Peterson2012-03-121-1/+1
| | | | |
* | | | | Refactor unittest command line handling to always use optparseMichael Foord2012-03-122-59/+32
|/ / / /
* | | | give the AST class a __dict__Benjamin Peterson2012-03-121-0/+3
| | | |
* | | | merge 3.2Benjamin Peterson2012-03-121-3/+0
|\ \ \ \ | | |/ / | |/| |
| * | | allow AST objects to be like its subclassesBenjamin Peterson2012-03-121-3/+0
| | | |
* | | | merge headsBenjamin Peterson2012-03-121-3/+7
|\ \ \ \ | | |/ / | |/| |
| * | | Make test_logging no longer fail if zlib not present. Closes #14256. Patch ↵Eric V. Smith2012-03-121-3/+7
| | | | | | | | | | | | | | | | by Pedro Kroger.
* | | | merge 3.2Benjamin Peterson2012-03-121-3/+0
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | every other ast object has a dict, so I think AST should, tooBenjamin Peterson2012-03-121-3/+0
| |/
* | Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under ↵Antoine Pitrou2012-03-112-1/+76
|\ \ | |/ | | | | Windows when the child process has already exited.
| * Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under ↵Antoine Pitrou2012-03-112-1/+78
| | | | | | | | Windows when the child process has already exited.
* | Close #14210: add command argument completion to pdb: complete file names, ↵Georg Brandl2012-03-101-0/+95
| | | | | | | | global/local variables, aliases
* | PEP8-ize test namesAntoine Pitrou2012-03-101-82/+54
| |
* | Remove useless failOnException() methodAntoine Pitrou2012-03-101-86/+32
| |
* | Merge with 3.2.Georg Brandl2012-03-101-3/+8
|\ \ | |/
| * Closes #14244: add info about capturing groups and maxsplit to the docstring ↵Georg Brandl2012-03-101-3/+8
| | | | | | | | of re.split().