summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge with 3.5Terry Jan Reedy2016-08-251-22/+21
|\ \ \ | |/ /
| * | Issue #25564: Mention exec and __builtins__ in IDLE-console difference section.Terry Jan Reedy2016-08-251-22/+21
| | |
* | | Issue #27821: Fix bug in idlelib.comfig function and add new tests.Terry Jan Reedy2016-08-252-23/+85
| | |
* | | Fix typo in test nameBerker Peksag2016-08-241-1/+1
| | | | | | | | | | | | Noticed by Xiang Zhang.
* | | Issue #12319: Support for chunked encoding of HTTP request bodiesMartin Panter2016-08-244-99/+396
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the body object is a file, its size is no longer determined with fstat(), since that can report the wrong result (e.g. reading from a pipe). Instead, determine the size using seek(), or fall back to chunked encoding for unseekable files. Also, change the logic for detecting text files to check for TextIOBase inheritance, rather than inspecting the “mode” attribute, which may not exist (e.g. BytesIO and StringIO). The Content-Length for text files is no longer determined ahead of time, because the original logic could have been wrong depending on the codec and newline translation settings. Patch by Demian Brecht and Rolf Krahl, with a few tweaks by me.
* | | Remove expected failure from test of _product internal function.Steven D'Aprano2016-08-241-2/+2
| | |
* | | Remove support for nth root of negative numbers with odd powers.Steven D'Aprano2016-08-242-28/+8
| | | | | | | | | | | | | | | | | | | | | Although nth roots of negative numbers are real for odd n, the statistics module doesn't make use of this. Remove support for negative roots from the private _nth_root function, which simplifies the test suite.
* | | Add geometric_mean to __all__Steven D'Aprano2016-08-241-1/+2
| | |
* | | Backed out changeset 1017215f5492Mark Dickinson2016-08-231-141/+0
| | |
* | | Issue #27834: Avoid overflow error in ZoneInfo.invert().Alexander Belopolsky2016-08-231-3/+3
| | |
* | | Issue #27787: No longer call deleted test_main().Terry Jan Reedy2016-08-231-1/+1
| | |
* | | A new version of typing.py from https://github.com/python/typing. (Merge ↵Guido van Rossum2016-08-232-26/+55
|\ \ \ | |/ / | | | | | | 3.5->3.6)
| * | A new version of typing.py from https://github.com/python/typing.Guido van Rossum2016-08-232-26/+55
| | |
* | | Issue 27598: Add Collections to collections.abc.Guido van Rossum2016-08-233-12/+112
| | | | | | | | | | | | Patch by Ivan Levkivskyi, docs by Neil Girdhar.
* | | Automated merge with ssh://hg.python.org/cpythonSteven D'Aprano2016-08-233-21/+33
|\ \ \
| * | | Re-licence statistics.py under the standard Python licence.Steven D'Aprano2016-08-231-17/+0
| | | |
| * | | Issue #27573 make the exit message configurable.Steven D'Aprano2016-08-232-4/+33
| | | |
* | | | In asyncio.locks.Lock.acquire(): Avoid deadlock when a cancelled future is ↵Guido van Rossum2016-08-231-1/+1
|\ \ \ \ | | |/ / | |/| | | | | | in self._waiters. (Merge 3.5->3.6)
| * | | In asyncio.locks.Lock.acquire(): Avoid deadlock when a cancelled future is ↵Guido van Rossum2016-08-231-1/+1
| | | | | | | | | | | | | | | | in self._waiters.
* | | | Issue #26040 (part 1): add new testcases to cmath_testcases.txt. Thanks Jeff ↵Mark Dickinson2016-08-231-0/+141
| | | | | | | | | | | | | | | | Allen.
* | | | Issue #27832: Make _normalize parameter to Fraction.__init__ keyword-only.Mark Dickinson2016-08-232-1/+2
| |/ / |/| |
* | | Issue #27787: Remove test_main() and hard-coded list of test classesMartin Panter2016-08-231-9/+2
| | | | | | | | | | | | | | | | | | The @reap_threads decorator made the test wait (for up to 1 s) until background threads have finished. Calling join() with a timeout should be equivalent.
* | | Issue #12713: reverted fix pending further discussion.Vinay Sajip2016-08-232-83/+32
| | |
* | | Issue #27829: libregrtest.save_env: flush stderrVictor Stinner2016-08-221-6/+4
| | | | | | | | | | | | | | | | | | Use flush=True to try to get a warning which is missing in buildbots. Use also f-string to make the code shorter.
* | | Cleanup libregrtestVictor Stinner2016-08-222-37/+20
| | | | | | | | | | | | | | | * main.py: remove unused import * runtest: simplify runtest_inner() parameters, reuse ns parameter
* | | Issue #27792: force int return type for modulo operations involving bools.Mark Dickinson2016-08-221-0/+7
| | |
* | | Issue #27539: Merge from 3.5.Mark Dickinson2016-08-222-1/+18
|\ \ \ | |/ /
| * | Issue #27539: Fix unnormalised Fraction.__pow__ result for negative exponent ↵Mark Dickinson2016-08-222-1/+18
| | | | | | | | | | | | and base. Thanks Vedran Čačić.
* | | Remove main section that was only used during testing and developmentRaymond Hettinger2016-08-221-38/+0
| | |
* | | Issue #26984: int() now always returns an instance of exact int.Serhiy Storchaka2016-08-211-1/+4
| | |
* | | Issue #21718: Merge from 3.5Berker Peksag2016-08-211-1/+41
|\ \ \ | |/ /
| * | Issue #21718: cursor.description is now available for queries using CTEsBerker Peksag2016-08-211-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to PEP 249, cursor.description must be available for any SELECT statements, such as those that use CTEs. Backported from https://github.com/ghaering/pysqlite/commit/f67fa9c898a4713850e16934046f0fe2cba8c44c Additional test cases added by me.
* | | Merge #27782 fix from 3.5Nick Coghlan2016-08-211-0/+9
|\ \ \ | |/ /
| * | Issue #27782: Fix m_methods handling in multiphase initNick Coghlan2016-08-211-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | Multi-phase extension module import now correctly allows the ``m_methods`` field to be used to add module level functions to instances of non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang.
* | | Issue #27487: Merge runpy warning from 3.5Martin Panter2016-08-213-11/+48
|\ \ \ | |/ /
| * | Issue #27487: Warn if submodule already imported before runpy executionMartin Panter2016-08-213-11/+48
| | | | | | | | | | | | Also try to clarify the find_spec() error message.
* | | Fix typo in IDLE News.Terry Jan Reedy2016-08-211-3/+3
|\ \ \ | |/ /
| * | Fix typo in IDLE News.Terry Jan Reedy2016-08-211-1/+1
| | |
* | | Add 3.6.0a4 IDLE NEWS and idlelib/NEWS.txt items.Terry Jan Reedy2016-08-211-0/+26
|\ \ \ | |/ /
| * | Add 3.5.3 IDLE NEWS and idlelib/NEWS.txt items.Terry Jan Reedy2016-08-211-0/+9
| | |
* | | Issue #27714: Remove unneeded non-idempotent call that fails on retest.Terry Jan Reedy2016-08-211-2/+0
|\ \ \ | |/ /
| * | Issue #27714: Remove unneeded non-idempotent call that fails on retest.Terry Jan Reedy2016-08-211-2/+0
| | |
* | | Issue #27819: Simply default to gztar for sdist formats by default on all ↵Jason R. Coombs2016-08-201-11/+1
| | | | | | | | | | | | platforms.
* | | issue26981: add _order_ compatibility shim to enum.EnumEthan Furman2016-08-202-2/+77
| | |
* | | Issue #27614: Merge test_docxmlrpc from 3.5Martin Panter2016-08-201-30/+11
|\ \ \ | |/ /
| * | Issue #27614: Avoid race in test_docxmlrpc server setupMartin Panter2016-08-201-30/+11
| | |
* | | Issue #27787: Merge regrtest fixup from 3.5Martin Panter2016-08-201-0/+1
|\ \ \ | |/ /
| * | Issue #27787: Clean up weak references before checking for dangling threadsMartin Panter2016-08-201-0/+1
| | |
* | | Issue26988: remove AutoEnumEthan Furman2016-08-202-445/+14
| | |
* | | regrtest: replace "Result:" with "Tests result:"Victor Stinner2016-08-192-2/+2
| | |