- 22 May, 2015 19 commits
-
-
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...
-
Zachary Ware authored
The new private C function makes no permanent changes to the environment and is #ifdef'd out on non-Windows platforms.
-
Yury Selivanov authored
-
Yury Selivanov authored
Issue 22906.
-
Yury Selivanov authored
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 authored
Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace.
-
Serhiy Storchaka authored
Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace.
-
Raymond Hettinger authored
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 authored
-
Donald Stufft authored
-
- 21 May, 2015 15 commits
-
-
Yury Selivanov authored
-
Berker Peksag authored
-
Yury Selivanov authored
-
Yury Selivanov authored
Patch by Mike Bayer.
-
Yury Selivanov authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Clement Rouault.
-
Serhiy Storchaka authored
Clement Rouault.
-
Serhiy Storchaka authored
assertWarnsRegex() assertments now check the type of the first argument to prevent possible user error. Based on patch by Daniel Wagner-Hall.
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Serhiy Storchaka authored
-
Benjamin Peterson authored
-
Yury Selivanov authored
-
- 20 May, 2015 6 commits
-
-
Antoine Pitrou authored
-
Serhiy Storchaka authored
sys.modules and broke test_ipaddress.
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Serhiy Storchaka authored
Made test_pprint and test_trace discoverable.
-
Serhiy Storchaka authored
Made test_pprint and test_trace discoverable.
-