Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #26186: Remove an invalid type check in | Brett Cannon | 2016-02-21 | 3 | -6/+1 |
| | | | | | | | | | | | 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. | ||||
* | Issue #26367: Have importlib.__init__() raise RuntimeError when | Brett Cannon | 2016-02-20 | 2 | -1/+6 |
| | | | | | | | 'level' is specified but no __package__. This brings the function inline with builtins.__import__(). Thanks to Manuel Jacob for the patch. | ||||
* | Issues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usage | Martin Panter | 2016-02-19 | 1 | -10/+11 |
| | | | | | | | | * 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() | ||||
* | 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 | 2 | -3/+17 |
| | | | | the same values as open(). | ||||
* | Issue #26309: Shut down socketserver request if verify_request() is false | Martin Panter | 2016-02-18 | 2 | -0/+26 |
| | | | | Patch by Aviv Palivoda. | ||||
* | Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once. | Yury Selivanov | 2016-02-13 | 1 | -0/+141 |
| | |||||
* | Fixes #26348: Corrected typos in activate.fish script. | Vinay Sajip | 2016-02-13 | 1 | -2/+2 |
| | |||||
* | Issue #25995: os.walk() no longer uses FDs proportional to the tree depth. | Serhiy Storchaka | 2016-02-11 | 1 | -11/+2 |
| | |||||
* | Issue #26325: Added test.support.check_no_resource_warning() to check that | Serhiy Storchaka | 2016-02-11 | 4 | -20/+29 |
| | | | | no ResourceWarning is emitted. | ||||
* | Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar | Martin Panter | 2016-02-10 | 7 | -9/+9 |
| | | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear. | ||||
* | Issues #26310, #26311: Fix typos in the documentation and code comments | Martin Panter | 2016-02-10 | 4 | -4/+4 |
| | |||||
* | Issue #25983: Added tests for multi-argument type(). | Serhiy Storchaka | 2016-02-08 | 1 | -0/+155 |
| | |||||
* | Issue #25911: Restored support of bytes paths in os.walk() on Windows. | Serhiy Storchaka | 2016-02-08 | 2 | -10/+39 |
| | |||||
* | Issue #26045: Add UTF-8 suggestion to error in http.client | Martin Panter | 2016-02-09 | 2 | -2/+17 |
| | | | | Based on patch by Guido van Rossum. | ||||
* | Issue #26198: Make datetime error tests more lenient. | Serhiy Storchaka | 2016-02-08 | 1 | -3/+3 |
| | |||||
* | Issue #26198: Fixed error messages for some argument parsing errors. | Serhiy Storchaka | 2016-02-07 | 1 | -1/+1 |
| | | | | | Fixed the documented about buffer overflow error for "es#" and "et#" format units. | ||||
* | Issue #12923: Reset FancyURLopener's redirect counter even on exception | Martin Panter | 2016-02-04 | 2 | -17/+38 |
| | | | | Based on patches by Brian Brazil and Daniel Rocco. | ||||
* | Issue #25660: Fix a unittest and rlcompleter when readline isn't available | Yury Selivanov | 2016-02-04 | 2 | -4/+10 |
| | |||||
* | Issue #25660: Fix TAB key behaviour in REPL. | Yury Selivanov | 2016-02-04 | 1 | -1/+3 |
| | |||||
* | Issue #25945: Fixed bugs in functools.partial. | Serhiy Storchaka | 2016-02-02 | 1 | -6/+87 |
| | | | | | | | Fixed a crash when unpickle the functools.partial object with wrong state. Fixed a leak in failed functools.partial constructor. "args" and "keywords" attributes of functools.partial have now always types tuple and dict correspondingly. | ||||
* | Issue #26194: Inserting into a full deque to raise an IndexError | Raymond Hettinger | 2016-02-02 | 1 | -11/+12 |
| | |||||
* | Fix error message in asyncio.selector_events. | Victor Stinner | 2016-02-01 | 1 | -6/+6 |
| | | | | Patch written by Carlo Beccarini <hackdiablo.cb@gmail.com>. | ||||
* | test_asyncio: fix test_timeout_time() | Victor Stinner | 2016-02-01 | 1 | -1/+2 |
| | | | | | Accept time delta up to 0.12 second, instead of 0.11, for the "AMD64 FreeBSD 9.x" buildbot slave. | ||||
* | Issue #19587: Remove masked and redundant tests in test_bytes | Martin Panter | 2016-02-02 | 3 | -63/+6 |
| | | | | | | | | * test_contains() did not override anything * test_expandtabs/upper/lower() in FixedStringTest were masking usable tests in string_tests. These tests now get run for bytearray() and bytes(). * test_expandtabs/upper/lower() in buffer_tests were only run on bytearray() and are redundant with string_tests | ||||
* | Issue #26173: Separate bad cert file tests and client rejection test | Martin Panter | 2016-02-01 | 1 | -40/+54 |
| | | | | | | | | | Test test_wrong_cert() runs a server that rejects the client's certificate, so ECONNRESET is reasonable in addition to SSLError. On the other hand, the other three tests don't even need to run a server because they are just testing the parsing of invalid certificate files. Also fix a ResourceWarning by closing the wrapped socket. | ||||
* | Issue #23076: Path.glob() now raises a ValueError if it's called with an | Berker Peksag | 2016-01-30 | 2 | -0/+7 |
| | | | | | | invalid pattern. Patch by Thomas Nyberg. | ||||
* | Issue #4806: Avoid masking original TypeError in call with * unpacking | Martin Panter | 2016-01-31 | 1 | -5/+44 |
| | | | | Based on patch by Hagen Fürstenau and Daniel Urban. | ||||
* | Issue #26173: Fix test_ssl confusion with non-existing cert and wrongcert.pem | Martin Panter | 2016-01-30 | 2 | -14/+43 |
| | | | | | | Testing for a non-existing certificate file is already done in test_errors(). Copy wrongcert.pem from Python 2 and use it to test the behaviour with a mismatched certificate. | ||||
* | Issue #26202: copy.deepcopy() now correctly copies range() objects with | Serhiy Storchaka | 2016-01-28 | 2 | -2/+12 |
| | | | | non-atomic attributes. | ||||
* | Merge heads | Serhiy Storchaka | 2016-01-28 | 4 | -11/+35 |
|\ | |||||
| * | Backport fixes on test_eintr | Victor Stinner | 2016-01-28 | 1 | -5/+17 |
| | | | | | | | | | | | | | | * Issue #25234: Skip test_eintr.test_open() under OS X to avoid hanging * Issue #25868: Try to make test_eintr.test_sigwaitinfo() more reliable especially on slow buildbots. Use a pipe to synchronize the parent and the child processes. | ||||
| * | Issue #24705: Add a test case for ef84d21f5292 | Berker Peksag | 2016-01-28 | 1 | -0/+3 |
| | | |||||
| * | Issue #19023: Document ctypes array and pointer classes | Martin Panter | 2016-01-29 | 2 | -6/+15 |
| | | | | | | | | Also add some more tests. Based on patch by Sye van der Veen. | ||||
* | | Issue #26198: Added tests for "es", "et", "es#", "et#" and "C" format units | Serhiy Storchaka | 2016-01-28 | 1 | -42/+135 |
|/ | | | | of PyArg_Parse*() functions. | ||||
* | Issue #26034: Improve wording of clear parameter | Berker Peksag | 2016-01-28 | 1 | -4/+4 |
| | |||||
* | Issue #26034: Sync documentation of --clear with its behavior | Berker Peksag | 2016-01-28 | 1 | -9/+6 |
| | | | | Most of the docs has already been updated in c3c188a0325a. | ||||
* | Issue #25507: revert incorrect movement of idleConf import in c548ad75160c. | Terry Jan Reedy | 2016-01-27 | 2 | -1/+13 |
| | | | | Augment htest to include all major IOBinding functions. | ||||
* | Issue #26194: Fix undefined behavior for deque.insert() when len(d) == maxlen | Raymond Hettinger | 2016-01-27 | 1 | -0/+14 |
| | |||||
* | Remove unnecessary test case comment in urllib.parse.py. These are asserted ↵ | Senthil Kumaran | 2016-01-26 | 1 | -15/+0 |
| | | | | as test cases. | ||||
* | code_richcompare() now uses the constants types | Victor Stinner | 2016-01-22 | 1 | -0/+82 |
| | | | | | | | | | Issue #25843: When compiling code, don't merge constants if they are equal but have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now correctly compiled to two different functions: f1() returns 1 (int) and f2() returns 1.0 (int), even if 1 and 1.0 are equal. Add a new _PyCode_ConstantKey() private function. | ||||
* | Merge update to pip | Donald Stufft | 2016-01-22 | 2 | -1/+1 |
|\ | |||||
| * | Upgrade pip to 8.0.2 | Donald Stufft | 2016-01-22 | 2 | -1/+1 |
| | | |||||
* | | Issue #26147: xmlrpc now works with strings not encodable with used | Serhiy Storchaka | 2016-01-20 | 3 | -11/+27 |
| | | | | | | | | non-UTF-8 encoding. | ||||
* | | Merge update to pip/setuptools | Donald Stufft | 2016-01-20 | 3 | -2/+2 |
|\ \ | |/ | |||||
| * | Update pip to 8.0.0 and setuptools to 19.4 | Donald Stufft | 2016-01-20 | 3 | -2/+2 |
| | | |||||
* | | Issue #25935: Garbage collector now breaks reference loops with OrderedDict. | Serhiy Storchaka | 2016-01-19 | 1 | -0/+13 |
| | | |||||
* | | Issue #16620: Fixed AttributeError in msilib.Directory.glob(). | Serhiy Storchaka | 2016-01-19 | 1 | -1/+5 |
| | | |||||
* | | Fix BytecodeTestCase.assertNotInBytecode() | Victor Stinner | 2016-01-19 | 1 | -2/+2 |
| | | | | | | | | | | Issue #11816: Fix bytecode_helper to handle correctly errors. Don't use unassigned variables. | ||||
* | | set tp_new from the class in the hierarchy that actually owns the descriptor ↵ | Benjamin Peterson | 2016-01-19 | 1 | -0/+8 |
| | | | | | | | | | | | | (closes #25731) Debugging by Eryk Sun. |