1486 Commits (86de21b810693bccdd88d53aacb6d8acf26f09e0)

Author SHA1 Message Date
Damien George 86de21b810 py: Viper can call functions with native types, and raise exceptions. 10 years ago
Damien George 8f81b5cb4b py: Put SystemExit in builtin namespace. 10 years ago
Damien George e6c0dff967 py: Viper can now store to global. 10 years ago
Damien George a5190a7dac py: Fix typing of viper locals; allow default types in annotation. 10 years ago
Damien George 2ac4af6946 py: Allow viper to have type annotations. 10 years ago
Damien George 6be0b0a8ec py: Clean up and simplify functions in scope; add STATIC in compiler. 10 years ago
Damien George 9b7a8ee8f1 py: Fix mult by negative number of tuple, list, str, bytes. 10 years ago
Paul Sokolovsky 510296f25a modzlibd: Decompress part of "zlib" module, based on miniz tinfl.c . 10 years ago
Damien George 75ec22bf11 py: #if guard qstrs that are optional. 10 years ago
Damien George f20375eedd py: Add .real and .imag attributes to complex numbers. 10 years ago
Damien George bb91f1195a py: Improve range: add len, subscr, proper print. 10 years ago
Damien George 4c03b3a899 py: Implement builtin reversed() function. 10 years ago
Damien George 69c5fe1df6 py: Make a function static; replace NULL with MP_OBJ_NULL. 10 years ago
Damien George 2eb1f604ee py, objstr: Optimise bytes subscr when unicode is enabled. 10 years ago
Damien George 7703d71938 py, modcmath: Fix doc comment, and add some more of them. 10 years ago
Paul Sokolovsky 9749b2fb0d objstr: Make sure that bytes are indexed as bytes, not as unicode. 10 years ago
Paul Sokolovsky 0c5498540b objstr: split(): check arg type consistency (str vs bytes). 10 years ago
Paul Sokolovsky ecca53bd34 py: binary.c: Properly implement alignment for native unpacked structs. 10 years ago
Damien George 4ef26c14b1 doc: Fix up a few docs in sys module. 10 years ago
Damien George 30dd23aa7f doc: Document gc, sys, math, cmath. 10 years ago
Paul Sokolovsky 5f930337bc objarray: Implement equality testing between arrays and other buffers. 10 years ago
Paul Sokolovsky 7133d91773 py: mp_buffer_info_t::buf may be valid, but NULL for empty objects. 10 years ago
Damien George a1d3ee376c py: Fix bug where GC finaliser table was not completely zeroed out. 10 years ago
Damien George 5d9b816449 py: Fix bug in mpn_shl (multi-prec int shift left). 10 years ago
Damien George 8dbbbbc793 Put call to qstr_init and mp_init_emergency_exc_buf in mp_init. 10 years ago
Damien George 4747becc64 py: Improve encoding scheme for line-number to bytecode map. 10 years ago
Damien George c9aa58e638 py: Improve handling of long-int overflow. 10 years ago
Damien George bb4c6f35c6 py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 10 years ago
Damien George 5f27a7e811 py: Add mp_obj_str_builder_end_with_len. 10 years ago
Damien George 94fbe9711a py: Change lexer stream API to return bytes not chars. 10 years ago
Paul Sokolovsky d0f5e61ab5 py: Implement __file__ attribute for modules. 10 years ago
Paul Sokolovsky 645582fe14 py: Make id() return small int for the most common address space mapping. 10 years ago
Damien George adf0f2ae1a py: Change stream protocol API: fns return uint; is_text for text. 10 years ago
Dave Hylands 5b7fd20fea Add support for storing args during an exception raised by an irq. 11 years ago
Damien George ffe911d228 py: Make long ints hashable. 10 years ago
Paul Sokolovsky 4ecb700fe3 streams: Treat non-error output size as unsigned. 10 years ago
Paul Sokolovsky e1b1abc1e8 stream: Revert to checking for the correct error value. 10 years ago
Dave Hylands 1d8816c36b Deal with reading a buffer less than what was allocated. 10 years ago
Paul Sokolovsky cb66f41ebc py: Make print() accept "file" argument, and actually print to stream. 10 years ago
Damien George 1694bc733d py: Add stream reading of n unicode chars; unicode support by default. 10 years ago
Damien George 5467186b0e py: Remove unnecessary argument in bytearray print. 10 years ago
Paul Sokolovsky e3737b858a formatfloat.c: Typo fix in comment. 10 years ago
Damien George a4022c92f0 py, inline asm: Change "and" op name to "and_" to avoid keyword clash. 10 years ago
Paul Sokolovsky ac736f15c9 stream: Factor out mp_stream_write() method to write a memstring to stream. 10 years ago
Paul Sokolovsky 564e46452d py: Add generic helper to align a pointer. 10 years ago
Paul Sokolovsky 58c9586c34 emitbc: Fix structure field alignment issue. 10 years ago
Paul Sokolovsky 2097c8b1e1 moductypes: Add symbolic constants to specify bitfield position/length. 10 years ago
Paul Sokolovsky 8215847b4d moductypes: Foreign data interface module, roughly based on ctype ideas. 11 years ago
Paul Sokolovsky 5fa5ca40e6 binary: Factor out mp_binary_set_int(). 10 years ago
Damien George 0182385ab0 py: Automatically ake __new__ a staticmethod. 10 years ago