aboutsummaryrefslogtreecommitdiff
path: root/tests/basics/object_new.py
AgeCommit message (Collapse)Author
2017-08-30tests/object_new: Better messages, check user __new__() method.Paul Sokolovsky
Make messages more verbose and easier to follow and check that user class' __new__() is not called by object.__new__(user_class).
2017-06-10tests/basics: Convert "sys.exit()" to "raise SystemExit".Paul Sokolovsky
2017-02-15tests/basic/: Make various tests skippable.Paul Sokolovsky
To run the testsuite on small ports.
2015-05-04py: Check that arg to object.__new__ is a user-defined type.Damien George
Addresses issue #1203.
2014-05-22py: Initial attempts to actually allow implementing __new__ in Python.Paul Sokolovsky
Caveat is that __new__ should recurse to base class __new__, and ultimately, object.__new__ is what handles instance allocation.