summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14696: Merge from 3.2Mark Dickinson2012-04-291-0/+10
|\
| * Issue #14696: Fix parser module to understand 'nonlocal' declarations.Mark Dickinson2012-04-291-0/+10
| |
* | Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result nearAlexander Belopolsky2012-04-292-2/+38
|\ \ | |/ | | | | the DST transition. Patch by Joe Peterson.
| * Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result nearAlexander Belopolsky2012-04-292-2/+38
| | | | | | | | the DST transition. Patch by Joe Peterson.
* | Remove untests for non-existent functionality.Mark Dickinson2012-04-291-10/+0
| |
* | Issue #14428: Rewrite test_process_time_threads() testVictor Stinner2012-04-291-7/+40
| | | | | | | | time.process_time() is CPU time, not a number of seconds.
* | Issue #9154: Merge fix from 3.2.Mark Dickinson2012-04-291-0/+21
|\ \ | |/
| * Issue #9154: Fix parser module to understand function annotations.Mark Dickinson2012-04-291-0/+21
| |
* | Issue #13959: Re-implement imp.NullImporter in Lib/imp.py.Brett Cannon2012-04-291-3/+0
| |
* | Issue #14521: Make result of float('nan') and float('-nan') more consistent ↵Mark Dickinson2012-04-291-0/+13
| | | | | | | | across platforms. Further, don't rely on Py_HUGE_VAL for float('inf').
* | httplib test for early eof response. related to Issue13684Senthil Kumaran2012-04-291-0/+9
|\ \ | |/
| * httplib test for early eof response. related to Issue13684Senthil Kumaran2012-04-291-0/+9
| |
* | Issue #14428: Use the new time.perf_counter() and time.process_time() functionsVictor Stinner2012-04-292-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | * Replace "time.clock on windows, or time.time" with time.perf_counter() * profile module: only use time.process_time() instead of trying different functions providing the process time * timeit module: use time.perf_counter() by default, time.time() and time.clock() can still be used using --time and --clock options * pybench program: use time.perf_counter() by default, add support for the new time.process_time() and time.perf_counter() functions, but stay backward compatible. Use also time.get_clock_info() to display information of the timer.
* | Issue #14428, #14397: Implement the PEP 418Victor Stinner2012-04-291-12/+95
| | | | | | | | | | | | | | | | | | * Rename time.steady() to time.monotonic() * On Windows, time.monotonic() uses GetTickCount/GetTickCount64() instead of QueryPerformanceCounter() * time.monotonic() uses CLOCK_HIGHRES if available * Add time.get_clock_info(), time.perf_counter() and time.process_time() functions
* | Issue #14666: stop multiprocessing's resource-sharing thread after the tests ↵Antoine Pitrou2012-04-271-0/+5
| | | | | | | | | | | | | | | | are done. Also, block delivery of signals to that thread. Patch by Richard Oudkerk. This will hopefully fix sporadic freezes on the FreeBSD 9.0 buildbot.
* | Issue #14605: Insert to the front of sys.meta_path, don't append.Brett Cannon2012-04-271-1/+1
| |
* | Invalidate finder caches after creating a new script.Brett Cannon2012-04-271-0/+2
| |
* | Backing out 86dc014cdd74. Not ready yetJesus Cea2012-04-261-20/+0
| |
* | Close #10142: Support for SEEK_HOLE/SEEK_DATAJesus Cea2012-04-261-0/+20
| |
* | Issue #14605: Make explicit the entries on sys.path_hooks that used toBrett Cannon2012-04-261-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | be implicit. Added a warning for when sys.path_hooks is found to be empty. Also changed the meaning of None in sys.path_importer_cache to represent trying sys.path_hooks again (an interpretation of previous semantics). Also added a warning for when None was found. The long-term goal is for None in sys.path_importer_cache to represent the same as imp.NullImporter: no finder found for that sys.path entry.
* | Silence DeprecationWarning for cgi.escape() usage in test_cgi.Brett Cannon2012-04-261-3/+8
| |
* | MergeBrett Cannon2012-04-261-17/+17
|\ \
| * \ Merged fixed test from 3.2.Vinay Sajip2012-04-251-17/+17
| |\ \ | | |/
| | * Fixed test to work on Windows.Vinay Sajip2012-04-251-17/+17
| | |
* | | Issue #14605: Insert to the front of sys.path_hooks instead of appending.Brett Cannon2012-04-252-3/+3
|/ /
* | Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks ↵Vinay Sajip2012-04-241-5/+40
|\ \ | |/ | | | | to John Mulligan for the problem report and patch.
| * Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks ↵Vinay Sajip2012-04-241-4/+42
| | | | | | | | to John Mulligan for the problem report and patch.
* | Issue #4892: multiprocessing Connections can now be transferred over ↵Antoine Pitrou2012-04-241-34/+69
| | | | | | | | | | | | multiprocessing Connections. Patch by Richard Oudkerk (sbt).
* | Merge with 3.2: Issue #14160: TarFile.extractfile() failed to resolve symbolicLars Gustäbel2012-04-242-0/+3
|\ \ | |/ | | | | links when the links were not located in an archive subdirectory.
| * Issue #14160: TarFile.extractfile() failed to resolve symbolic linksLars Gustäbel2012-04-242-0/+3
| | | | | | | | when the links were not located in an archive subdirectory.
* | distiguish between refusing to creating shared keys and error (#13903)Benjamin Peterson2012-04-241-0/+7
| |
* | Account for shared keys in type's __sizeof__ (#13903).Martin v. Loewis2012-04-241-3/+9
| |
* | merge 3.2 (#14658)Benjamin Peterson2012-04-241-1/+9
|\ \ | |/
| * don't use a slot wrapper from a different special method (closes #14658)Benjamin Peterson2012-04-241-1/+9
| | | | | | | | | | | | | | This also alters the fix to #11603. Specifically, setting __repr__ to object.__str__ now raises a recursion RuntimeError when str() or repr() is called instead of silently bypassing the recursion. I believe this behavior is more correct.
* | Skip long repr tests when the cached pyc file's path length would exceed the ↵Antoine Pitrou2012-04-241-3/+25
| | | | | | | | | | | | maximum Win32 path length. This should fix a failure on one of the XP buildbots.
* | Close #14648: Compute correctly maxchar in str.format() for substrinVictor Stinner2012-04-231-2/+8
| |
* | merge headsBenjamin Peterson2012-04-231-0/+11
|\ \
| * \ merge #14638: pydoc now treats non-str __name__ as None instead of raisingR David Murray2012-04-231-0/+11
| |\ \ | | |/ | | | | | | Original patch by Peter Otten.
| | * #14638: pydoc now treats non-str __name__ as None instead of raisingR David Murray2012-04-231-0/+11
| | | | | | | | | | | | Original patch by Peter Otten.
* | | fix instance dicts with str subclasses (#13903)Benjamin Peterson2012-04-231-0/+10
|/ /
* | Implement PEP 412: Key-sharing dictionaries (closes #13903)Benjamin Peterson2012-04-233-3/+28
| | | | | | | | Patch from Mark Shannon.
* | inherit maxchar of field value where needed (closes #14648)Benjamin Peterson2012-04-231-0/+2
| |
* | merge 3.2Benjamin Peterson2012-04-231-1/+1
|\ \ | |/
| * sleep hereBenjamin Peterson2012-04-231-1/+1
| |
* | mergeBrett Cannon2012-04-221-1/+1
|\ \
| * | Issue #14644: Increased default timeout for SMTPHandler. Note: last commit ↵Vinay Sajip2012-04-221-1/+1
| | | | | | | | | | | | message referred to the wrong issue number.
* | | Change tests for imp.cache_from_source() to follow os.path.join/splitBrett Cannon2012-04-221-43/+32
|/ / | | | | | | semantics.
* | Resolve #14026 (Merge from 3.2)Nick Coghlan2012-04-221-3/+8
|\ \ | |/
| * Close issue #14026 by better testing sys.argv handling in ↵Nick Coghlan2012-04-221-3/+8
| | | | | | | | test_cmd_line_script (patch by Jason Yeo)
* | Fix Issue2193 - Allow ":" character in Cookie NAME valuesSenthil Kumaran2012-04-221-0/+9
| |