Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a name in an example | Brett Cannon | 2016-02-21 | 1 | -1/+1 |
| | |||||
* | Issue #26397: Update an importlib example to use util.module_from_spec() ↵ | Brett Cannon | 2016-02-21 | 1 | -1/+1 |
| | | | | instead of create_module() | ||||
* | Merge w/ 3.5 | Brett Cannon | 2016-02-21 | 1 | -1/+2 |
|\ | |||||
| * | List what classes from importlib.machinery don't work with ↵ | Brett Cannon | 2016-02-21 | 1 | -1/+2 |
| | | | | | | | | importlib.util.LazyLoader | ||||
* | | Merge for issue #26186 | Brett Cannon | 2016-02-21 | 4 | -6/+4 |
|\ \ | |/ | |||||
| * | Issue #26186: Remove an invalid type check in | Brett Cannon | 2016-02-21 | 4 | -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 #26367 | Brett Cannon | 2016-02-20 | 4 | -394/+410 |
|\ \ | |/ | |||||
| * | Issue #26367: Have importlib.__init__() raise RuntimeError when | Brett Cannon | 2016-02-20 | 4 | -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 Sajip | 2016-02-20 | 1 | -0/+55 |
|\ \ | |/ | |||||
| * | Added simple threading example to logging cookbook. | Vinay Sajip | 2016-02-20 | 1 | -0/+55 |
| | | |||||
* | | Issue #22468: Merge gettarinfo() doc from 3.5 | Martin Panter | 2016-02-19 | 2 | -20/+28 |
|\ \ | |/ | |||||
| * | Issues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usage | Martin Panter | 2016-02-19 | 2 | -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.5 | Georg Brandl | 2016-02-19 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | Closes #20169: fix inner links random doc. | Georg Brandl | 2016-02-19 | 1 | -6/+6 |
| | | |||||
* | | Issue #15608: Merge socketserver doc from 3.5 | Martin Panter | 2016-02-19 | 1 | -154/+202 |
|\ \ | |/ | |||||
| * | Issue #15608: Improve socketserver module documentation | Martin Panter | 2016-02-19 | 1 | -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.5 | Martin Panter | 2016-02-19 | 1 | -24/+21 |
|\ \ | |/ | |||||
| * | Issue #26309: Rewrite test in main thread and avoid race condition | Martin Panter | 2016-02-19 | 1 | -24/+21 |
| | | |||||
* | | Issue #16915: Clarify that mode parameter of socket.makefile() does not accept | Berker Peksag | 2016-02-18 | 3 | -4/+19 |
|\ \ | |/ | | | | | the same values as open(). | ||||
| * | Issue #16915: Clarify that mode parameter of socket.makefile() does not accept | Berker Peksag | 2016-02-18 | 3 | -4/+19 |
| | | | | | | | | the same values as open(). | ||||
* | | Issue #26309: Merge socketserver fix from 3.5 | Martin Panter | 2016-02-18 | 3 | -0/+30 |
|\ \ | |/ | |||||
| * | Issue #26309: Shut down socketserver request if verify_request() is false | Martin Panter | 2016-02-18 | 3 | -0/+30 |
| | | | | | | | | Patch by Aviv Palivoda. | ||||
* | | merge 3.5 (#26378) | Benjamin Peterson | 2016-02-18 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix typo (closes #26378) | Benjamin Peterson | 2016-02-18 | 1 | -1/+1 |
| | | |||||
* | | merge 3.5 (closes #25939) | Benjamin Peterson | 2016-02-18 | 2 | -2/+8 |
|\ \ | |/ | |||||
| * | merge 3.4 (closes #25939) | Benjamin Peterson | 2016-02-18 | 2 | -2/+8 |
| |\ | |||||
| | * | open the cert store readonly | Benjamin Peterson | 2016-02-18 | 2 | -2/+8 |
| | | | | | | | | | | | | Patch from Chi Hsuan Yen. | ||||
* | | | Issue #26368: fix typo in asynchio stream doc, reported by Ryan Stuart. | Ned Deily | 2016-02-16 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #26368: fix typo in asynchio stream doc, reported by Ryan Stuart. | Ned Deily | 2016-02-16 | 1 | -1/+1 |
| | | | |||||
* | | | Minor clarification in tutorial. | Georg Brandl | 2016-02-15 | 1 | -0/+3 |
| | | | |||||
* | | | Issue #25924: merge with 3.5 | Ned Deily | 2016-02-15 | 2 | -2/+21 |
|\ \ \ | |/ / | |||||
| * | | Issue #25924: Avoid unnecessary serialization of getaddrinfo(3) calls on OS X | Ned Deily | 2016-02-15 | 2 | -2/+21 |
| | | | | | | | | | | | | versions 10.5 or higher. Original patch by A. Jesse Jiryu Davis. | ||||
* | | | Issue #26268: merge from 3.5 | Ned Deily | 2016-02-15 | 3 | -22/+8 |
|\ \ \ | |/ / | |||||
| * | | Issue #26268: Update OS X 10.5+ installer build to use OpenSSL 1.0.2f. | Ned Deily | 2016-02-15 | 3 | -22/+8 |
| | | | |||||
* | | | The return type of a rich comparison is an int | Raymond Hettinger | 2016-02-14 | 1 | -2/+4 |
| | | | |||||
* | | | Issue #26316: Merge Arg Clinic fix from 3.5 | Martin Panter | 2016-02-14 | 2 | -1/+3 |
|\ \ \ | |/ / | |||||
| * | | Issue #26316: Fix variable name typo in Argument Clinic | Martin Panter | 2016-02-14 | 2 | -1/+7 |
| | | | |||||
* | | | Merge 3.5 (issue #25887) | Yury Selivanov | 2016-02-13 | 4 | -12/+169 |
|\ \ \ | |/ / | |||||
| * | | Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once. | Yury Selivanov | 2016-02-13 | 4 | -12/+169 |
| | | | |||||
* | | | Fixes #26348: Merged fix from 3.5. | Vinay Sajip | 2016-02-13 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Fixes #26348: Corrected typos in activate.fish script. | Vinay Sajip | 2016-02-13 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #25179: Documentation for formatted string literals aka f-strings | Martin Panter | 2016-02-13 | 10 | -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 longs | Yury Selivanov | 2016-02-11 | 3 | -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 merge | Serhiy Storchaka | 2016-02-11 | 0 | -0/+0 |
|\ \ \ | |/ / | |||||
| * | | Issue #25995: os.walk() no longer uses FDs proportional to the tree depth. | Serhiy Storchaka | 2016-02-11 | 2 | -11/+4 |
| | | | |||||
* | | | Issue #25995: os.walk() no longer uses FDs proportional to the tree depth. | Serhiy Storchaka | 2016-02-11 | 2 | -1/+7 |
| | | | | | | | | | | | | Different solution from 3.5. | ||||
* | | | Issue #25994: Added the close() method and the support of the context manager | Serhiy Storchaka | 2016-02-11 | 6 | -49/+211 |
| | | | | | | | | | | | | protocol for the os.scandir() iterator. | ||||
* | | | Issue #26325: Added test.support.check_no_resource_warning() to check that | Serhiy Storchaka | 2016-02-11 | 5 | -20/+32 |
|\ \ \ | |/ / | | | | | | | no ResourceWarning is emitted. | ||||
| * | | Issue #26325: Added test.support.check_no_resource_warning() to check that | Serhiy Storchaka | 2016-02-11 | 5 | -20/+32 |
| | | | | | | | | | | | | no ResourceWarning is emitted. | ||||
* | | | Issue #25985: sys.version_info is now used instead of sys.version | Serhiy Storchaka | 2016-02-11 | 24 | -52/+56 |
| | | | | | | | | | | | | to format short Python version. |