2461 Commits (0d8c22b122cf044e9bbb561d84ef614150a176e5)

Author SHA1 Message Date
Damien George b1533c4366 py/parse: Treat constants that start with underscore as private. 9 years ago
Damien George 33168081f4 extmod/machine: Add MICROPY_PY_MACHINE_PULSE config for time_pulse_us. 9 years ago
Damien George 4940bee62a extmod: Add machine time_pulse_us function (at C and Python level). 9 years ago
Damien George 715ee9d925 py/modstruct: Allow to have "0s" in struct format. 9 years ago
Paul Sokolovsky 2ec0ee082a py/moduerrno: Add ECONNREFUSED, one of frequent networking errors. 9 years ago
Paul Sokolovsky 751e3b7a82 extmod/virtpin: Initial implementation of open-ended C-level Pin interface. 9 years ago
Paul Sokolovsky c76acd8c23 py/moduerrno: Add EEXIST, EISDIR. 9 years ago
Antonin ENFRUN ca41dc2750 py/objnamedtuple: Allow passing field names as a tuple. 9 years ago
Damien George 202d5acd06 py/makeqstrdata.py: Allow to have double-quote characters in qstrs. 9 years ago
Damien George 274952a117 py: Allow to stat and import frozen mpy files using new frozen "VFS". 9 years ago
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