- 23 May, 2015 29 commits
-
-
Larry Hastings authored
-
Larry Hastings authored
-
Steve Dower authored
-
Berker Peksag authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Steve Dower authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Serhiy Storchaka authored
patches by Matt Joiner and Alexey Kachayev.
-
Steve Dower authored
-
Raymond Hettinger authored
-
Steve Dower authored
-
Steve Dower authored
-
Steve Dower authored
-
Raymond Hettinger authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Nick Coghlan authored
- missing DECREF in PyModule_FromDefAndSpec2 - missing DECREF in PyType_FromSpecAndBases2 - missing DECREF in _testmultiphase module Patch by Petr Viktorin
-
Nick Coghlan authored
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 authored
-
Donald Stufft authored
-
Donald Stufft authored
-
Raymond Hettinger authored
-
- 22 May, 2015 11 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Steve Dower authored
-
Gregory P. Smith authored
parameters and returns bytes in such situations (matching the os module APIs).
-
Steve Dower authored
Issue #23955: Add pyvenv.cfg option to suppress registry/environment lookup for generating sys.path. Also cleans up and secures getpathp.c
-
Steve Dower authored
-
Yury Selivanov authored
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 authored
-
Guido van Rossum authored
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 authored
That's what I get for using Notepad to make a quick edit...
-