summaryrefslogtreecommitdiffstatshomepage
path: root/py/objobject.c
Commit message (Collapse)AuthorAge
* py: Check that arg to object.__new__ is a user-defined type.Damien George2015-05-04
| | | | Addresses issue #1203.
* py: Use mp_arg_check_num in some _make_new functions.Damien George2015-01-20
| | | | Reduces stmhal code size by about 250 bytes.
* py, unix: Allow to compile with -Wunused-parameter.Damien George2015-01-20
| | | | See issue #699.
* py: Move to guarded includes, everywhere in py/ core.Damien George2015-01-01
| | | | Addresses issue #1022.
* Change some parts of the core API to use mp_uint_t instead of uint/int.Damien George2014-08-30
| | | | Addressing issue #50, still some way to go yet.
* 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.
* objobject: Fix arguments to __init__().Paul Sokolovsky2014-05-21
|
* objtype: super: Fall back to "object" lookup as last resort.Paul Sokolovsky2014-05-21
| | | | | Also, define object.__init__() (semantically empty, purely CPython compat measure). Addresses #520.
* Add license header to (almost) all files.Damien George2014-05-03
| | | | | | | Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
* py, unix: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky2014-05-02
| | | | Specifically, nlr.h does.
* py: Make all objects and instances derive from object.Damien George2014-04-05
| | | | | This makes isinstance(X, object) and issubclass(X, object) true for all X.
* py: Change nlr_jump to nlr_raise, to aid in debugging.Damien George2014-04-05
| | | | | | This does not affect code size or performance when debugging turned off. To address issue #420.
* py: Add 'object' object.Damien George2014-03-22