2451 Commits (3e33aeb0db428a312725f4dc4c242200e8e5f9a0)

Author SHA1 Message Date
Paul Sokolovsky 9dde6062cc py/objstr: Fix mix-signed comparison in str.center(). 9 years ago
Dave Hylands 6a60fb3cf4 py/objstr*: Properly ifdef str.center(). 9 years ago
Paul Sokolovsky 1b5abfcaae py/objstr: Implement str.center(). 9 years ago
Paul Sokolovsky 2c573f00b8 py/builtinimport: Unbreak bare-arm build. 9 years ago
Paul Sokolovsky 8a2970e136 py/builtinimport: Unbreak minimal build. 9 years ago
Paul Sokolovsky fb742cdc12 py/{builtinimport,frozenmod}: Rework frozen modules support to support packages. 9 years ago
Paul Sokolovsky 5a2a4e9452 py/mphal.h: Provide default prototypes for mp_hal_delay_us/mp_hal_ticks_us. 9 years ago
Paul Sokolovsky 497660fcda py/stream: Add mp_stream_close() helper function. 9 years ago
Damien George 3ff16ff52e py: Declare constant data as properly constant. 9 years ago
Paul Sokolovsky 7f7c84b10a py/stream: Support both "exact size" and "one underlying call" operations. 9 years ago
Paul Sokolovsky e53fb1bf03 py/modstruct: Raise ValueError on unsupported format char. 9 years ago
Paul Sokolovsky 2ae6697300 py/objstringio: Add TODO comment about avoiding copying on .getvalue(). 9 years ago
Damien George cc80c4dd59 py/objstr: Make dedicated splitlines function, supporting diff newlines. 9 years ago
Paul Sokolovsky 68a7a92cec py/gc: gc_dump_alloc_table(): Dump heap offset instead of actual address. 9 years ago
Paul Sokolovsky 9a8751b006 gc: gc_dump_alloc_table(): Use '=' char for tail blocks. 9 years ago
Paul Sokolovsky 10503f3534 py/moduerrno: Add EACCES, pretty common error on Unix. 9 years ago
Damien George 9a92499641 py/objexcept: Don't convert errno to str in constructor, do it in print. 9 years ago
Paul Sokolovsky a314b842bb py/emitglue: Fix build on AArch64 (ARMv8, etc.) related to loading .mpy files. 9 years ago
Colin Hogben a896951a9a py/objfloat, py/modmath: Ensure M_PI and M_E defined. 9 years ago
Damien George d45e5f8c35 py: Add mp_errno_to_str() and use it to provide nicer OSError msgs. 9 years ago
Damien George 47bf6ba61a py/moduerrno: Add more constants to the errno module. 9 years ago
Damien George c9a7430dbe py/mperrno: Add some more MP_Exxx constants, related to networking. 9 years ago
Paul Sokolovsky bc04dc277e py/gc: Make (byte)array type dumping conditional on these types being enabled. 9 years ago
Paul Sokolovsky 3d7f3f00e0 py/gc: gc_dump_alloc_table(): Show byte/str and (byte)array objects. 9 years ago
Damien George 80a8d473f6 py/repl: Fix handling of backslash in quotes when checking continuation. 9 years ago
Damien George 83a9a723b9 py/mperrno: Add EAFNOSUPPORT definition. 9 years ago
Damien George e36ff98c80 py/parse: Add uerrno to list of modules to look for constants in. 9 years ago
Damien George 596a3feb8f py: Add uerrno module, with errno constants and dict. 9 years ago
Damien George 3f56fd64b8 py: Add mperrno.h file with uPy defined errno constants. 9 years ago
Paul Sokolovsky 6f34e138f1 py/vstr: Change allocation policy, +16 to requested size, instead of *2. 9 years ago
Paul Sokolovsky 40f0096ee7 Revert "py/objstr: .format(): Avoid call to vstr_null_terminated_str()." 9 years ago
Paul Sokolovsky a1f2245a81 py/vstr: vstr_null_terminated_str(): Extend string by at most one byte. 9 years ago
Paul Sokolovsky 6de8dbb488 py/objstr: .format(): Avoid call to vstr_null_terminated_str(). 9 years ago
Damien George 460b086333 py/mpz: Fix mpn_div so that it doesn't modify memory of denominator. 9 years ago
Damien George 65402ab1ec py/mpz: Do Python style division/modulo within bignum divmod routine. 9 years ago
Damien George dc3faea040 py/mpz: Fix bug with overflowing C-shift in division routine. 9 years ago
Paul Sokolovsky d59c2e5e45 py/repl: If there're no better alternatives, try to complete "import". 9 years ago
Damien George 470c429ee1 py/runtime: Properly handle passing user mappings to ** keyword args. 9 years ago
Damien George 12dd8df375 py/objstr: Binary type of str/bytes for buffer protocol is 'B'. 9 years ago
Damien George eb54e4d065 py/obj: Add warning note about get_array return value and GC blocks. 9 years ago
Paul Sokolovsky 9549590fc6 py/modcollections: Rename module name have "u" prefix for consistency. 9 years ago
Paul Sokolovsky ddb9dba2f7 py/modio: Rename module name to "uio" for consistency with other modules. 9 years ago
Paul Sokolovsky 25d0f7d59d extmod/modwebrepl: Module to handle WebREPL protocol. 9 years ago
Paul Sokolovsky eff85bb1dc py/vm: "yield from" didn't handle MP_OBJ_STOP_ITERATION optimization. 9 years ago
Paul Sokolovsky 51cee4495e py/mkrules.mk: Typo fixes in comments. 9 years ago
Damien George 23df4b08fb py/emitnative: Use MP_OBJ_NEW_SMALL_INT instead of manual bit shifting. 9 years ago
Damien George 2bddfd4922 py/obj.h: When constructing a small-int cast to mp_uint_t for bit-shift. 9 years ago
stijn 9264d42e2a py/makeqstrdefs.py: Windows compatibility. 9 years ago
stijn b2b771ca02 py/makeqstrdefs.py: Remove unused function/variable/import. 9 years ago
Paul Sokolovsky bababce6de py/runtime_utils: Fix nanbox build. 9 years ago