summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a name in an exampleBrett Cannon2016-02-211-1/+1
|
* Issue #26397: Update an importlib example to use util.module_from_spec() ↵Brett Cannon2016-02-211-1/+1
| | | | instead of create_module()
* Merge w/ 3.5Brett Cannon2016-02-211-1/+2
|\
| * List what classes from importlib.machinery don't work with ↵Brett Cannon2016-02-211-1/+2
| | | | | | | | importlib.util.LazyLoader
* | Merge for issue #26186Brett Cannon2016-02-214-6/+4
|\ \ | |/
| * Issue #26186: Remove an invalid type check inBrett Cannon2016-02-214-6/+3
| | | | | | | | | | | | | | | | | | | | | | importlib.util.LazyLoader. The class was checking its argument as to whether its implementation of create_module() came directly from importlib.abc.Loader. The problem is that the classes coming from imoprtlib.machinery do not directly inherit from the ABC as they come from _frozen_importlib. Because the documentation has always said that create_module() was ignored, the check has simply been removed.
* | Merge for issue #26367Brett Cannon2016-02-204-394/+410
|\ \ | |/
| * Issue #26367: Have importlib.__init__() raise RuntimeError whenBrett Cannon2016-02-204-371/+381
| | | | | | | | | | | | | | 'level' is specified but no __package__. This brings the function inline with builtins.__import__(). Thanks to Manuel Jacob for the patch.
* | Merged cookbook update from 3.5.Vinay Sajip2016-02-201-0/+55
|\ \ | |/
| * Added simple threading example to logging cookbook.Vinay Sajip2016-02-201-0/+55
| |
* | Issue #22468: Merge gettarinfo() doc from 3.5Martin Panter2016-02-192-20/+28
|\ \ | |/
| * Issues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usageMartin Panter2016-02-192-20/+28
| | | | | | | | | | | | | | | | * The Windows-specific binary notice was probably a Python 2 thing * Make it more obvious gettarinfo() is based on stat(), and that non-ordinary files may need special care * The file name must be text; suggest dummy arcname as a workaround * Indicate TarInfo may be used directly, not just via gettarinfo()
* | merge with 3.5Georg Brandl2016-02-191-6/+6
|\ \ | |/
| * Closes #20169: fix inner links random doc.Georg Brandl2016-02-191-6/+6
| |
* | Issue #15608: Merge socketserver doc from 3.5Martin Panter2016-02-191-154/+202
|\ \ | |/
| * Issue #15608: Improve socketserver module documentationMartin Panter2016-02-191-154/+202
| | | | | | | | | | | | | | | | | | | | | | * Add headings for each concrete and mix-in class and list methods and attributes under them * Fix class and method cross references * Changed RequestHandler to BaseRequestHandler and added class heading * Pull out Stream/DatagramRequestHandler definitions * Reordered the request handler setup(), handle(), finish() methods * Document constructor parameters for the server classes * Remove version 2.6 not relevant for Python 3 documentation
* | Issue #26309: Merge socketserver fix from 3.5Martin Panter2016-02-191-24/+21
|\ \ | |/
| * Issue #26309: Rewrite test in main thread and avoid race conditionMartin Panter2016-02-191-24/+21
| |
* | Issue #16915: Clarify that mode parameter of socket.makefile() does not acceptBerker Peksag2016-02-183-4/+19
|\ \ | |/ | | | | the same values as open().
| * Issue #16915: Clarify that mode parameter of socket.makefile() does not acceptBerker Peksag2016-02-183-4/+19
| | | | | | | | the same values as open().
* | Issue #26309: Merge socketserver fix from 3.5Martin Panter2016-02-183-0/+30
|\ \ | |/
| * Issue #26309: Shut down socketserver request if verify_request() is falseMartin Panter2016-02-183-0/+30
| | | | | | | | Patch by Aviv Palivoda.
* | merge 3.5 (#26378)Benjamin Peterson2016-02-181-1/+1
|\ \ | |/
| * fix typo (closes #26378)Benjamin Peterson2016-02-181-1/+1
| |
* | merge 3.5 (closes #25939)Benjamin Peterson2016-02-182-2/+8
|\ \ | |/
| * merge 3.4 (closes #25939)Benjamin Peterson2016-02-182-2/+8
| |\
| | * open the cert store readonlyBenjamin Peterson2016-02-182-2/+8
| | | | | | | | | | | | Patch from Chi Hsuan Yen.
* | | Issue #26368: fix typo in asynchio stream doc, reported by Ryan Stuart.Ned Deily2016-02-161-1/+1
|\ \ \ | |/ /
| * | Issue #26368: fix typo in asynchio stream doc, reported by Ryan Stuart.Ned Deily2016-02-161-1/+1
| | |
* | | Minor clarification in tutorial.Georg Brandl2016-02-151-0/+3
| | |
* | | Issue #25924: merge with 3.5Ned Deily2016-02-152-2/+21
|\ \ \ | |/ /
| * | Issue #25924: Avoid unnecessary serialization of getaddrinfo(3) calls on OS XNed Deily2016-02-152-2/+21
| | | | | | | | | | | | versions 10.5 or higher. Original patch by A. Jesse Jiryu Davis.
* | | Issue #26268: merge from 3.5Ned Deily2016-02-153-22/+8
|\ \ \ | |/ /
| * | Issue #26268: Update OS X 10.5+ installer build to use OpenSSL 1.0.2f.Ned Deily2016-02-153-22/+8
| | |
* | | The return type of a rich comparison is an intRaymond Hettinger2016-02-141-2/+4
| | |
* | | Issue #26316: Merge Arg Clinic fix from 3.5Martin Panter2016-02-142-1/+3
|\ \ \ | |/ /
| * | Issue #26316: Fix variable name typo in Argument ClinicMartin Panter2016-02-142-1/+7
| | |
* | | Merge 3.5 (issue #25887)Yury Selivanov2016-02-134-12/+169
|\ \ \ | |/ /
| * | Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once.Yury Selivanov2016-02-134-12/+169
| | |
* | | Fixes #26348: Merged fix from 3.5.Vinay Sajip2016-02-131-2/+2
|\ \ \ | |/ /
| * | Fixes #26348: Corrected typos in activate.fish script.Vinay Sajip2016-02-131-2/+2
| | |
* | | Issue #25179: Documentation for formatted string literals aka f-stringsMartin Panter2016-02-1310-21/+158
| | | | | | | | | | | | | | | Some of the inspiration and wording is taken from the text of PEP 498 by Eric V. Smith, and the existing str.format() documentation.
* | | Issues #26289 and #26315: Optimize floor/modulo div for single-digit longsYury Selivanov2016-02-113-0/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Microbenchmarks show 2-2.5x improvement. Built-in 'divmod' function is now also ~10% faster. -m timeit -s "x=22331" "x//2;x//-3;x//4;x//5;x//-6;x//7;x//8;x//-99;x//100;" with patch: 0.321 without patch: 0.633 -m timeit -s "x=22331" "x%2;x%3;x%-4;x%5;x%6;x%-7;x%8;x%99;x%-100;" with patch: 0.224 without patch: 0.66 Big thanks to Serhiy Storchaka, Mark Dickinson and Victor Stinner for thorow code reviews and algorithms improvements.
* | | Null mergeSerhiy Storchaka2016-02-110-0/+0
|\ \ \ | |/ /
| * | Issue #25995: os.walk() no longer uses FDs proportional to the tree depth.Serhiy Storchaka2016-02-112-11/+4
| | |
* | | Issue #25995: os.walk() no longer uses FDs proportional to the tree depth.Serhiy Storchaka2016-02-112-1/+7
| | | | | | | | | | | | Different solution from 3.5.
* | | Issue #25994: Added the close() method and the support of the context managerSerhiy Storchaka2016-02-116-49/+211
| | | | | | | | | | | | protocol for the os.scandir() iterator.
* | | Issue #26325: Added test.support.check_no_resource_warning() to check thatSerhiy Storchaka2016-02-115-20/+32
|\ \ \ | |/ / | | | | | | no ResourceWarning is emitted.
| * | Issue #26325: Added test.support.check_no_resource_warning() to check thatSerhiy Storchaka2016-02-115-20/+32
| | | | | | | | | | | | no ResourceWarning is emitted.
* | | Issue #25985: sys.version_info is now used instead of sys.versionSerhiy Storchaka2016-02-1124-52/+56
| | | | | | | | | | | | to format short Python version.