summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/class_new.py
Commit message (Collapse)AuthorAge
* tests/class_new: Add another testcase for __new__/__init__ interaction.Paul Sokolovsky2017-09-01
| | | | | | Similar to the existing testcase, but test that returning both value of native type and instance of another user class from __new__ lead to __init__ not being called, for better coverage.
* tests/class_new: Add checks for __init__ being called and other improvements.Paul Sokolovsky2017-08-30
|
* tests/basics: Convert "sys.exit()" to "raise SystemExit".Paul Sokolovsky2017-06-10
|
* tests/basic/[a-f]*: Make skippable.Paul Sokolovsky2017-02-15
| | | | For small ports which don't have all features enabled.
* tests: Add more tests to improve coverage, mostly testing exceptions.Damien George2015-08-21
|
* py: Automatically ake __new__ a staticmethod.Damien George2014-07-05
| | | | Addresses issue #622.
* py: Initial attempts to actually allow implementing __new__ in Python.Paul Sokolovsky2014-05-22
Caveat is that __new__ should recurse to base class __new__, and ultimately, object.__new__ is what handles instance allocation.