Paul Sokolovsky
|
b565c36963
|
tests/object_new: Better messages, check user __new__() method.
Make messages more verbose and easier to follow and check that user class'
__new__() is not called by object.__new__(user_class).
|
2017-08-30 21:29:23 +03:00 |
|
Paul Sokolovsky
|
a2803b74f4
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
2017-06-10 20:03:01 +03:00 |
|
Paul Sokolovsky
|
f980c70997
|
tests/basic/: Make various tests skippable.
To run the testsuite on small ports.
|
2017-02-15 18:11:16 +03:00 |
|
Damien George
|
47b9809d23
|
py: Check that arg to object.__new__ is a user-defined type.
Addresses issue #1203.
|
2015-05-04 11:08:40 +01:00 |
|
Paul Sokolovsky
|
806ea1f6ca
|
py: Initial attempts to actually allow implementing __new__ in Python.
Caveat is that __new__ should recurse to base class __new__, and ultimately,
object.__new__ is what handles instance allocation.
|
2014-05-22 00:32:00 +03:00 |
|