- 05 Apr, 2014 32 commits
-
-
Damien George authored
This makes isinstance(X, object) and issubclass(X, object) true for all X.
-
Damien George authored
Finishes addressing issue #424. In the end this was a very neat refactor that now makes things a lot more consistent across the py code base. It allowed some simplifications in certain places, now that everything is a dict object. Also converted builtins tables to dictionaries. This will be useful when we need to turn builtins into a proper module.
-
Damien George authored
Towards addressing issue #424. Had a small increase to ROM usage (order 60 bytes).
-
Damien George authored
-
Damien George authored
-
Damien George authored
Implement del
-
Damien George authored
This does not affect code size or performance when debugging turned off. To address issue #420.
-
Damien George authored
-
Damien George authored
Change pfenv_print_int to take machine_uint_t rather than unsinged in
-
Damien George authored
Allow floating point arguments with %d,i,u,o,x,X formats
-
Damien George authored
py: Support 3-arg getattr() builtin (with default value).
-
Dave Hylands authored
With this change, the following works: >>> print('%#x' % 0x1234567890abcdef) 0x1234567890abcdef
-
Damien George authored
-
Damien George authored
Hash table can now be completely full (ie now NULL entry) before a resize is triggered. Use sentinel value to indicate delete entry in the table.
-
Damien George authored
-
Dave Hylands authored
-
Paul Sokolovsky authored
-
mux authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
map: When removing a key, don't NULL the entry, but mark as deleted.
-
Paul Sokolovsky authored
-
Damien George authored
-
Paul Sokolovsky authored
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Quite natural to have d[int] = handle_int .
-
Paul Sokolovsky authored
That's how CPython has it, in particular, "import __main__" should work.
-
Paul Sokolovsky authored
When searching next time, such entry should be just skipped, not terminate the search. It's known that marking techique is not efficient at the presense of many removes, but namespace usage should not require many deletes, and as for user dictionaries - well, open addressing map table with linear rehashing and load factor of ~1 is not particularly efficient at all ;-). TODO: May consider "shift other entries in cluster" approach as an alternative.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 04 Apr, 2014 8 commits
-
-
Paul Sokolovsky authored
Which are ESC O H, ESC O F.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
Add the git version and build-date to the banner
-
Paul Sokolovsky authored
Otherwise we have mixup between system and GC alloc.
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-