Commit Graph
13 Commits
Author SHA1 Message Date
Andrey Vlasovskikh 4395f1ef16 Make BaseException inherit from object in PY2 (#1123)
>>> object in BaseException.mro()
True
2017-03-31 09:21:39 -07:00
Andrey Vlasovskikh 8b26422b95 Added missing attributes of typing.Generator and typing.AsyncGenerator (#886) 2017-03-29 11:09:24 -07:00
Andrey Vlasovskikh 295788b672 Missing special attributes of class instances inherited from object (#943)
* Missing special attributes of class instances inherited from object
* object.__reduce__ returns a tuple

It's up to its inheritors to return either a tuple or a string.
2017-02-20 11:50:14 -08:00
Andrey Vlasovskikh 77f21e415b Ignore PyCharm project files (#926) 2017-02-10 07:28:40 -08:00
Andrey Vlasovskikh 92534805b5 Added missing special attributes for PY3 functions (#875) 2017-01-29 20:34:35 -08:00
Andrey Vlasovskikh 2d46679da8 Added attributes present in inheritors of types.InstanceType (#885) 2017-01-29 11:26:30 -08:00
Andrey Vlasovskikh bb33cb0119 Added __instancecheck__ and __subclasscheck__ to type (#887) 2017-01-29 11:17:01 -08:00
Andrey Vlasovskikh 8ce64ce782 Updates to slice built-in (#891)
Makes args and attributes optional.
2017-01-29 11:16:23 -08:00
Andrey Vlasovskikh 2b25b3ef6d Argument of input() is not restricted to str (#890) 2017-01-29 10:34:32 -08:00
Andrey Vlasovskikh c8435f4315 Added object.__sizeof__ (#865)
* Added object.__sizeof__

* Removed __sizeof__ inherited from object

* Made sqlite3 classes for Python 2 inherit from object

* Removed __sizeof__ inherited from object
2017-01-26 12:05:53 -08:00
Andrey Vlasovskikh 025f31dcc9 Added class super to builtins (#867) 2017-01-26 11:53:59 -08:00
Andrey Vlasovskikh 1d1a2e458c Added methods of typing.NamedTuple (#864) 2017-01-26 11:52:59 -08:00
Andrey Vlasovskikh 39df0d0725 Added object as the base class of type (#866) 2017-01-26 11:46:15 -08:00