Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-04-15 | Merge pull request #493 from aitjcize/patch | Damien George | |
Move entry_table to separated header file. | |||
2014-04-15 | Rename header file. | AZ Huang | |
2014-04-15 | py: Fix builtin hex to print prefix. | Damien George | |
I was too hasty. Still a one-liner though. | |||
2014-04-15 | py: Add hex builtin function. | Damien George | |
A one-liner, added especially for @pfalcon :) | |||
2014-04-15 | Move entry_table to separated header file. | AZ Huang | |
2014-04-14 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
2014-04-14 | py: Clean up and add comments to makeqstrdata. | Damien George | |
2014-04-15 | builtinimport: Add basic support for namespace packages. | Paul Sokolovsky | |
That was easy - just avoid erroring out on seeing candidate dir for namespace package. That's far from being complete though - namespace packages should support importing portions of package from different sys.path entries, here we require first matching entry to contain all namespace package's portions. And yet, that's a way to put parts of the same Python package into multiple installable package - something we really need for *Micro*Python. | |||
2014-04-15 | py: Implement __delitem__ method for classes. | Paul Sokolovsky | |
2014-04-14 | Merge pull request #479 from lurch/patch-1 | Damien George | |
Don't allow both ENDIANNESSes to be set | |||
2014-04-14 | Make USE_COMPUTED_GOTO a config option in mpconfig.h. | Damien George | |
Disabled by default. Enabled in unix port. | |||
2014-04-15 | Use computed goto instead of switching op-codes. | AZ Huang | |
2014-04-15 | Fix parallel build. | AZ Huang | |
2014-04-14 | Don't allow both ENDIANNESSes to be set | Andrew Scheller | |
See discussion on https://github.com/micropython/micropython/commit/2da81fa80c4cd965f05ad237d81d9764322fde20 Explicitly set `MP_ENDIANNESS_LITTLE` because that's the #define that is used in code elsewhere. | |||
2014-04-14 | modsys: Implement sys.version. | Paul Sokolovsky | |
The logic appears to be that (at least beginning of) sys.versions is the version of reference Python language implemented, not version of particular implementation. Also, bump set versions at 3.4.0, based on @dpgeorge preference. | |||
2014-04-14 | objstr: Allow to define statically allocated str objects. | Paul Sokolovsky | |
Similar to tuples, lists, dicts. Statically allocated strings don't have hash computed. | |||
2014-04-14 | qstr, objstr: Make sure that valid hash != 0, treat 0 as "not computed". | Paul Sokolovsky | |
This feature was proposed with initial hashing RFC, and is prerequisite for seamless static str object definition. | |||
2014-04-13 | objdict: Add __delitem__. | Paul Sokolovsky | |
2014-04-13 | objdict: Add __setitem__. | Paul Sokolovsky | |
2014-04-13 | py: Add property object, with basic functionality. | Damien George | |
Enabled by MICROPY_ENABLE_PROPERTY. | |||
2014-04-13 | py: Detect ZeroDivisionError properly for floats. | Damien George | |
2014-04-13 | py: Fix SyntaxError exception: don't have a block name, so pass NULL. | Damien George | |
2014-04-13 | py: Fix up source-line calculation. | Damien George | |
Should address issue #475. | |||
2014-04-13 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
2014-04-13 | py: Adjust #includes in lexerunix.c. | Damien George | |
2014-04-13 | modsys: Implement sys.byteorder. | Paul Sokolovsky | |
2014-04-13 | modsys: Implement basic sys.version_info. | Paul Sokolovsky | |
2014-04-13 | Merge pull request #470 from errordeveloper/misc_fix/lexerunix | Damien George | |
py: don't look for any additional headers when lexerunix is disabled | |||
2014-04-13 | Merge pull request #471 from errordeveloper/misc_fix/unistd | Damien George | |
py: the entire `<unistd.h>` shouldn't be needed | |||
2014-04-13 | py: Modify makeqstrdata to recognise better the output of CPP. | Damien George | |
2014-04-13 | py: Add more #if's for configurable MOD_SYS. | Damien George | |
2014-04-13 | Merge pull request #476 from pfalcon/static-sys | Damien George | |
Convert sys module to static allocation | |||
2014-04-13 | Merge pull request #473 from pfalcon/list-extend-iter | Damien George | |
objlist: Make .extend accept arbitrary iterable. | |||
2014-04-13 | py: Oops, fix int.from_bytes to correctly convert bytes! | Damien George | |
2014-04-13 | py: Make int.from_bytes a classmethod; support arbitrary length buf. | Damien George | |
2014-04-13 | py: Fix mp_get_buffer, and use it in more places. | Damien George | |
Must use mp_obj_get_type to get the type of an object. Can't assume mp_obj_t is castable to mp_obj_base_t. | |||
2014-04-13 | py: Add traceback info to syntax errors. | Damien George | |
Should fix issue #463. | |||
2014-04-13 | py: Update showbc to decode ptrs for MAKE_FUNCTION ops. | Damien George | |
2014-04-13 | py: Remove unique_codes from emitglue.c. Replace with pointers. | Damien George | |
Attempt to address issue #386. unique_code_id's have been removed and replaced with a pointer to the "raw code" information. This pointer is stored in the actual byte code (aligned, so the GC can trace it), so that raw code (ie byte code, native code and inline assembler) is kept only for as long as it is needed. In memory it's now like a tree: the outer module's byte code points directly to its children's raw code. So when the outer code gets freed, if there are no remaining functions that need the raw code, then the children's code gets freed as well. This is pretty much like CPython does it, except that CPython stores indexes in the byte code rather than machine pointers. These indices index the per-function constant table in order to find the relevant code. | |||
2014-04-13 | py: Factor out impl of special methods for builtin types into opmethods.c | Paul Sokolovsky | |
2014-04-13 | objset: Implement __contains__() op-method. | Paul Sokolovsky | |
2014-04-13 | py: Provide more details for too few and too much args for Python fun calls. | Paul Sokolovsky | |
2014-04-13 | py: Rename collections module to _collections. | Paul Sokolovsky | |
We're not going to implement all the plethora of types in there in C. Funnily, CPython implements defaultdict in C, and namedtuple in Python. | |||
2014-04-13 | stmhal: Update for static mod sys. | Paul Sokolovsky | |
2014-04-13 | py: Move sys attribute qstrs's to core. | Paul Sokolovsky | |
2014-04-13 | py, unix: Convert sys module to static representation. | Paul Sokolovsky | |
2014-04-13 | objlist: Add support for statically allocated lists. | Paul Sokolovsky | |
Similar to similar support for lists. | |||
2014-04-13 | py: Make bytes type hashable. | Paul Sokolovsky | |
2014-04-13 | objstr: Add str.encode() and bytes.decode() methods. | Paul Sokolovsky | |
These largely duplicate str() & bytes() constructors' functionality, but can be used to achieve Python2 compatibility. | |||
2014-04-13 | objlist: Make .extend accept arbitrary iterable. | Paul Sokolovsky | |