summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* mergeRaymond Hettinger2012-03-161-0/+2
|\
| * closes issue10484 - Fix the http.server's cgi PATH_INFO handling problemSenthil Kumaran2012-03-161-0/+2
| |\
| | * closes issue10484 - Fix the http.server's cgi PATH_INFO handling problemSenthil Kumaran2012-03-161-0/+2
| | |
* | | Improve the memory utilization (and speed) of functools.lru_cache().Raymond Hettinger2012-03-161-0/+2
|/ /
* | - Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check inMatthias Klose2012-03-151-1/+1
| | | | | | | | config.{guess,sub}. Don't use uname calls for cross builds.
* | - Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check inMatthias Klose2012-03-151-0/+3
| | | | | | | | config.{guess,sub}.
* | port from 3.2 - Fix the urllib closing issue which hangs on particular ftp ↵Senthil Kumaran2012-03-151-0/+2
|\ \ | |/ | | | | urls/ftp servers. closes issue11199
| * closes Issue #11199: Fix the with urllib which hangs on particular ftp urls.Senthil Kumaran2012-03-151-0/+2
| |
* | - Issue #14324: Fix configure tests for cross builds.Matthias Klose2012-03-151-0/+2
| | | | | | | | when using gcc, use a compilation test for the cross build check for long long format.
* | - Issue #14321: Do not run pgen during the build if files are up to date.Matthias Klose2012-03-151-0/+5
| |
* | Issue #14222: Use the new time.steady() function instead of time.time() forVictor Stinner2012-03-151-0/+4
| | | | | | | | | | timeout in queue and threading modules to not be affected of system time update.
* | remove get_prefix and set_prefix (#13248)Benjamin Peterson2012-03-141-0/+2
| |
* | Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributesGregory P. Smith2012-03-141-0/+5
|\ \ | |/ | | | | | | | | 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.
| * Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributesGregory P. Smith2012-03-141-1/+14
| |\ | | | | | | | | | | | | | | | 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.
| | * Fixes issue #14234: CVE-2012-0876: Randomize hashes of xml attributesGregory P. Smith2012-03-141-0/+5
| | | | | | | | | | | | | | | | | | 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.
| | * version now 3.1.5rc1v3.1.5rc1Benjamin Peterson2012-02-232-2/+2
| | |
* | | Merge from tipAndrew Svetlov2012-03-141-0/+10
|\ \ \
| * | | #12818: remove escaping of () in quoted strings in formataddrR David Murray2012-03-141-0/+3
| | | | | | | | | | | | | | | | | | | | The quoting of ()s inside quoted strings is allowed by the RFC, but is not needed. There seems to be no reason to add needless escapes.
| * | | #14062: fix BytesParser handling of Header objectsR David Murray2012-03-141-0/+3
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | This is a different fix than the 3.2 fix, but the new tests are the same. This also affected smtplib.SMTP.send_message, which calls BytesParser.
| | * | #14062: fix BytesParser handling of linesep for Header objectsR David Murray2012-03-141-0/+3
| | | | | | | | | | | | | | | | This also affected smtplib.SMTP.send_message, which calls BytesParser.
| * | | Issue #13839: When invoked on the command-line, the pstats module now ↵Antoine Pitrou2012-03-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | accepts several filenames of profile stat files and merges them all. Patch by Matt Joiner.
* | | | Issue #14200: Idle shell crash on printing non-BMP unicode character.Andrew Svetlov2012-03-141-0/+2
|/ / / | | | | | | | | | | | | | | | UnicodeEncodeError is raised for strings contains non-BMP characters. For eval results unicode escaping is used, print() calls display exception with traceback as usual.
* | | Merge #14291: if a header has non-ascii unicode, default to CTE using utf-8R David Murray2012-03-142-0/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-142-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+2
| | | | | | | | | | | | Patch by Roger Serwy.
* | | Issue10050 - urlretrieve uses newer urlopen. reporthook of urlretrieve ↵Senthil Kumaran2012-03-141-0/+1
| | | | | | | | | | | | takes, block number, block read size, file_size
* | | Issue #989712: Support using Tk without a mainloop.Andrew Svetlov2012-03-141-0/+2
| | |
* | | Issue #14180: datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp()Victor Stinner2012-03-131-0/+4
| | | | | | | | | | | | | | | and datetime.datetime.utcfromtimestamp() now raise an OSError instead of ValueError if localtime() or gmtime() failed.
* | | #8315: add automatic unittest test discovery in test.test_emailR David Murray2012-03-131-0/+5
| | |
* | | Issue #5219: Prevent event handler cascade in IDLE.Martin v. Löwis2012-03-131-0/+2
| | | | | | | | | | | | Patch by Roger Serwy.
* | | Issue #3835: Refuse to use unthreaded Tcl in threaded Python.Martin v. Löwis2012-03-131-0/+2
| | | | | | | | | | | | Patch by Guilherme Polo and Andrew Svetlov.
* | | Issue #2843: Add new Tk API to Tkinter.Martin v. Löwis2012-03-131-0/+2
| | | | | | | | | | | | Patch by Guilherme Polo and Andrew Svetlov.
* | | Issue #14184: mergeNed Deily2012-03-131-0/+3
|\ \ \ | |/ /
| * | Issue #14184: Increase the default stack size for secondary threads onNed Deily2012-03-131-0/+3
| | | | | | | | | | | | Mac OS X to prevent interpreter crashes when compiled on 10.7.
* | | Close #14180: Factorize code to convert a number of seconds to time_t, ↵Victor Stinner2012-03-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | MergeMichael Foord2012-03-131-0/+2
|\ \ \ | |/ /
| * | Fix unittest test discovery for JythonMichael Foord2012-03-131-0/+2
| | |
* | | Issue #1178863: Separate initialisation from setting when initializingMartin v. Löwis2012-03-131-0/+4
| | | | | | | | | | | | | | | | | | 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/+3
| | | | | | | | | | | | | | | Contrary to the documentation, finditer() did not take pos and endpos keyword arguments.
* | | #14179: merge with 3.2.Ezio Melotti2012-03-121-0/+1
|\ \ \ | |/ /
| * | #14179: add tests for re.compile. Patch by Florian Mladitsch.Ezio Melotti2012-03-121-0/+1
| | |
* | | Issue #14104: Implement time.monotonic() on Mac OS X,Victor Stinner2012-03-121-0/+3
| | | | | | | | | | | | patch written by Nicholas Riley.
* | | str.format_map tests don't do what they say: fix to actually implement the ↵Eric V. Smith2012-03-121-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. Smith2012-03-121-0/+1
| | | | | | | | | | | | intent of the test. Closes #13450.
* | | #13394: add more tests for the aifc module and use warnings.warn instead of ↵Ezio Melotti2012-03-121-0/+2
|\ \ \ | |/ / | | | | | | print. Patch by Oleg Plakhotnyuk.
* | | Head merge.Łukasz Langa2012-03-121-0/+1
|\ \ \
| * | | Fixes #13842: cannot pickle Ellipsis or NotImplemented.Łukasz Langa2012-03-121-0/+1
| | | | | | | | | | | | | | | | Thanks for James Sanders for the bug report and the patch.
* | | | give the AST class a __dict__Benjamin Peterson2012-03-121-0/+2
|/ / /
* | | Make test_logging no longer fail if zlib not present. Closes #14256. Patch ↵Eric V. Smith2012-03-121-0/+1
| | | | | | | | | | | | by Pedro Kroger.
* | | Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under ↵Antoine Pitrou2012-03-111-0/+3
|\ \ \ | |/ / | | | | | | Windows when the child process has already exited.