- 23 May, 2015 17 kayıt (commit)
-
-
Serhiy Storchaka yazdı
patches by Matt Joiner and Alexey Kachayev.
-
Steve Dower yazdı
-
Raymond Hettinger yazdı
-
Steve Dower yazdı
-
Steve Dower yazdı
-
Steve Dower yazdı
-
Raymond Hettinger yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Nick Coghlan yazdı
- missing DECREF in PyModule_FromDefAndSpec2 - missing DECREF in PyType_FromSpecAndBases2 - missing DECREF in _testmultiphase module Patch by Petr Viktorin
-
Nick Coghlan yazdı
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.
-
Raymond Hettinger yazdı
-
Donald Stufft yazdı
-
Donald Stufft yazdı
-
Raymond Hettinger yazdı
-
- 22 May, 2015 20 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Steve Dower yazdı
-
Gregory P. Smith yazdı
parameters and returns bytes in such situations (matching the os module APIs).
-
Steve Dower yazdı
Issue #23955: Add pyvenv.cfg option to suppress registry/environment lookup for generating sys.path. Also cleans up and secures getpathp.c
-
Steve Dower yazdı
-
Yury Selivanov yazdı
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.
-
Yury Selivanov yazdı
-
Guido van Rossum yazdı
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.
-
Zachary Ware yazdı
That's what I get for using Notepad to make a quick edit...
-
Zachary Ware yazdı
The new private C function makes no permanent changes to the environment and is #ifdef'd out on non-Windows platforms.
-
Yury Selivanov yazdı
-
Yury Selivanov yazdı
Issue 22906.
-
Yury Selivanov yazdı
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.
-
Serhiy Storchaka yazdı
Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace.
-
Serhiy Storchaka yazdı
Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace.
-
Raymond Hettinger yazdı
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.
-
Donald Stufft yazdı
-
Donald Stufft yazdı
-
- 21 May, 2015 3 kayıt (commit)
-
-
Yury Selivanov yazdı
-
Berker Peksag yazdı
-
Yury Selivanov yazdı
-