Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes cast warning in bufferedio.c | Steve Dower | 2015-05-23 | 1 | -1/+1 |
| | |||||
* | Issue #24269: Minor doc fixups. | Raymond Hettinger | 2015-05-23 | 1 | -5/+6 |
| | |||||
* | merge 3.4 (#22931) | Benjamin Peterson | 2015-05-23 | 3 | -3/+19 |
|\ | |||||
| * | merge 3.3 (#22931) | Benjamin Peterson | 2015-05-23 | 3 | -3/+19 |
| |\ | |||||
| | * | merge 3.2 (#22931) | Benjamin Peterson | 2015-05-23 | 3 | -3/+19 |
| | |\ | |||||
| | | * | allow square brackets in cookie values (closes #22931) | Benjamin Peterson | 2015-05-23 | 3 | -3/+23 |
| | | | | |||||
* | | | | Issue #24268: Address some PEP 489 refleaks | Nick Coghlan | 2015-05-23 | 3 | -5/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - missing DECREF in PyModule_FromDefAndSpec2 - missing DECREF in PyType_FromSpecAndBases2 - missing DECREF in _testmultiphase module Patch by Petr Viktorin | ||||
* | | | | PEP 489: Multi-phase extension module initialization | Nick Coghlan | 2015-05-23 | 34 | -3113/+4451 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Known limitations of the current implementation: - documentation changes are incomplete - there's a reference leak I haven't tracked down yet The leak is most visible by running: ./python -m test -R3:3 test_importlib However, you can also see it by running: ./python -X showrefcount Importing the array or _testmultiphase modules, and then deleting them from both sys.modules and the local namespace shows significant increases in the total number of active references each cycle. By contrast, with _testcapi (which continues to use single-phase initialisation) the global refcounts stabilise after a couple of cycles. | ||||
* | | | | Issue #23086: Add start and stop arguments to the Sequence.index() mixin method. | Raymond Hettinger | 2015-05-23 | 5 | -5/+69 |
| | | | | |||||
* | | | | Merge 3.4 into default, upgrading pip to 7.0.1 | Donald Stufft | 2015-05-23 | 2 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | Upgrade pip to 7.0.1 | Donald Stufft | 2015-05-23 | 2 | -1/+1 |
| | | | | |||||
* | | | | Issue #21448: Improve performance of the email feedparser | Raymond Hettinger | 2015-05-23 | 1 | -8/+8 |
| | | | | |||||
* | | | | Issue 22189: Add missing methods to UserString | Raymond Hettinger | 2015-05-22 | 3 | -2/+37 |
| | | | | |||||
* | | | | merge | Raymond Hettinger | 2015-05-22 | 1 | -2/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #24219: Remove duplicate literal in docs. | Raymond Hettinger | 2015-05-22 | 1 | -2/+1 |
| | | | | |||||
* | | | | Removes lingering references to RAR now that make_zip.py actually makes a ZIP | Steve Dower | 2015-05-22 | 1 | -3/+0 |
| | | | | |||||
* | | | | Issue 24230: The tempfile module now accepts bytes for prefix, suffix and dir | Gregory P. Smith | 2015-05-22 | 5 | -50/+281 |
| | | | | | | | | | | | | | | | | parameters and returns bytes in such situations (matching the os module APIs). | ||||
* | | | | Issue #23955: Add pyvenv.cfg option to suppress registry/environment lookup ↵ | Steve Dower | 2015-05-22 | 4 | -78/+127 |
| | | | | | | | | | | | | | | | | | | | | | | | | for generating sys.path. Also cleans up and secures getpathp.c | ||||
* | | | | Issue 24244: Prevents termination when an invalid format string is ↵ | Steve Dower | 2015-05-22 | 2 | -7/+5 |
| | | | | | | | | | | | | | | | | encountered on Windows. | ||||
* | | | | Issue 20438: Add a note about deprecating old inspect APIs to whatsnew. | Yury Selivanov | 2015-05-22 | 2 | -2/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, deprecate formatargspec, formatargvalues, and getargvalues functions. Since we are deprecating 'getfullargspec' function in 3.5 (documentation only, no DeprecationWarning), it makes sense to also deprecate functions designed to be directly used with it. In 3.6 we will remove 'getargsspec' function (was deprecated since Python 3.0), and start raising DeprecationWarnings in other 'getarg*' family of functions. We can remove them in 3.7 or later. Also, it is worth noting, that Signature API does not provide 100% of functionality that deprecated APIs have. It is important to do a soft deprecation of outdated APIs in 3.5 to gather users feedback, and improve Signature object. | ||||
* | | | | Issue 20438: Adjust stacklevel of inspect.getargspec() warning. | Yury Selivanov | 2015-05-22 | 1 | -1/+2 |
| | | | | |||||
* | | | | Preliminary typing.py, anticipating provisional acceptance of PEP 484. | Guido van Rossum | 2015-05-22 | 4 | -0/+3104 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There area bunch of TODOs here, but the biggest (not mentioned in the file) is that I'm going to take out __instancecheck__ and __subclasscheck__. However my personal schedule is such that I probably won't have time for these before Larry tags beta 1. But I will try -- this commit is mostly to make sure that typing.py doesn't completely miss the train. PS. I'm tracking issues at https://github.com/ambv/typehinting/issues. | ||||
* | | | | Fix extraneous BOM in whatsnew. | Zachary Ware | 2015-05-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | That's what I get for using Notepad to make a quick edit... | ||||
* | | | | Issue #20035: Reimplement tkinter._fix module as a C function. | Zachary Ware | 2015-05-22 | 12 | -99/+134 |
| | | | | | | | | | | | | | | | | | | | | The new private C function makes no permanent changes to the environment and is #ifdef'd out on non-Windows platforms. | ||||
* | | | | Issue 20438: Deprecate inspect.getargspec() and friends. | Yury Selivanov | 2015-05-22 | 3 | -8/+13 |
| | | | | |||||
* | | | | docs: Mention PEP 479 in whatsnew. | Yury Selivanov | 2015-05-22 | 1 | -0/+21 |
| | | | | | | | | | | | | | | | | Issue 22906. | ||||
* | | | | Issue 24237: Raise PendingDeprecationWarning per PEP 479 | Yury Selivanov | 2015-05-22 | 5 | -29/+78 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Raise PendingDeprecationWarning when generator raises StopIteration and no __future__ import is used. Fix offenders in the stdlib and tests. See also issue 22906. Thanks to Nick Coghlan and Berker Peksag for reviews. | ||||
* | | | | Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). | Serhiy Storchaka | 2015-05-22 | 6 | -8/+36 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace. | ||||
| * | | | Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). | Serhiy Storchaka | 2015-05-22 | 6 | -8/+36 |
| | | | | | | | | | | | | | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace. | ||||
* | | | | Issue #24221: Small optimizations for heapq. | Raymond Hettinger | 2015-05-22 | 2 | -37/+44 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaces the PyList_GET_ITEM and PyList_SET_ITEM macros with normal array accesses. Replace the siftup unpredicatable branch with arithmetic. Replace the rc == -1 tests with rc < 0. Gives nicer looking assembly with both Clang and GCC-4.9. Also gives a small performance both for both. | ||||
* | | | | merge: Upgrade pip to 7.0 and setuptools to 16.0 | Donald Stufft | 2015-05-22 | 3 | -2/+2 |
|\ \ \ \ | |/ / / | |||||
| * | | | Upgrade pip to 7.0 and setuptools to 16.0 | Donald Stufft | 2015-05-22 | 3 | -2/+2 |
| | | | | |||||
* | | | | Issue 24180: Fixes by Berker Peksag. | Yury Selivanov | 2015-05-21 | 4 | -23/+7 |
| | | | | |||||
* | | | | Set stacklevel to 2 to get more accurate warning messages from deprecated ↵ | Berker Peksag | 2015-05-21 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | functions. | ||||
* | | | | Fix a misplaced NEWS entry. | Yury Selivanov | 2015-05-21 | 1 | -3/+3 |
| | | | | |||||
* | | | | Issue 23898: Fix inspect.classify_class_attrs() to work with __eq__ | Yury Selivanov | 2015-05-21 | 3 | -3/+21 |
|\ \ \ \ | |/ / / | | | | | | | | | Patch by Mike Bayer. | ||||
| * | | | Issue 23898: Fix inspect.classify_class_attrs() to work with __eq__ | Yury Selivanov | 2015-05-21 | 3 | -3/+21 |
| | | | | |||||
* | | | | Fixed issue number for issue #22939. | Serhiy Storchaka | 2015-05-21 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | Fixed issue number for issue #22939. | Serhiy Storchaka | 2015-05-21 | 1 | -1/+1 |
| | | | | |||||
* | | | | Issue #23985: Fixed integer overflow in iterator object. Patch by | Serhiy Storchaka | 2015-05-21 | 3 | -0/+33 |
|\ \ \ \ | |/ / / | | | | | | | | | Clement Rouault. | ||||
| * | | | Issue #23985: Fixed integer overflow in iterator object. Patch by | Serhiy Storchaka | 2015-05-21 | 4 | -0/+34 |
| | | | | | | | | | | | | | | | | Clement Rouault. | ||||
* | | | | Issue #15836: assertRaises(), assertRaisesRegex(), assertWarns() and | Serhiy Storchaka | 2015-05-21 | 5 | -1/+74 |
| | | | | | | | | | | | | | | | | | | | | assertWarnsRegex() assertments now check the type of the first argument to prevent possible user error. Based on patch by Daniel Wagner-Hall. | ||||
* | | | | Issue 24017: Use abc.Coroutine in inspect.iscoroutine() function | Yury Selivanov | 2015-05-21 | 1 | -2/+1 |
| | | | | |||||
* | | | | Issue 24180: Documentation for PEP 492 changes. | Yury Selivanov | 2015-05-21 | 11 | -8/+483 |
| | | | | |||||
* | | | | Issue #22955: Fixed reference leak in attrgetter.repr(). | Serhiy Storchaka | 2015-05-21 | 1 | -1/+3 |
| | | | | |||||
* | | | | improve wording | Benjamin Peterson | 2015-05-21 | 1 | -2/+2 |
| | | | | |||||
* | | | | Issue 24248: Deprecate inspect.Signature.from_function and .from_builtin | Yury Selivanov | 2015-05-21 | 4 | -12/+16 |
| | | | | |||||
* | | | | Issue #9858: Add missing method stubs to _io.RawIOBase. Patch by Laura ↵ | Antoine Pitrou | 2015-05-20 | 4 | -2/+22 |
| | | | | | | | | | | | | | | | | Rupprecht. | ||||
* | | | | Issue #22955: Fixed test_operator. It left Python implementation in | Serhiy Storchaka | 2015-05-20 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | | sys.modules and broke test_ipaddress. | ||||
* | | | | inspect.Signature: Factor out Signature.from_function to a private helper | Yury Selivanov | 2015-05-20 | 1 | -78/+83 |
| | | | |