summaryrefslogtreecommitdiff
path: root/shared-bindings/os
AgeCommit message (Collapse)Author
2020-08-07Modify some Python stubsTaku Fukada
2020-07-27Fix several type hintsTaku Fukada
2020-07-24Add and correct some type hintsTaku Fukada
2020-07-22Add externs. GCC10 complains about duplicate definesScott Shawcroft
2020-07-17Merge branch 'main' into type_hintsdherrada
2020-07-06Add license to some obvious files.Diego Elio Pettenò
2020-07-03Added type hints to osdherrada
2020-05-12Swap sphinx to autoapi and the inline stubsScott Shawcroft
2020-05-08Did os, _pixelbuf, _pewdherrada
2020-02-14avoid os.stat() int overflow on smallint-only buildsDan Halbert
2020-01-08os: Don't require an on-stack bufferJeff Epler
This allows urandom requests of even 100k bytes to succeed on a fresh VM session on a Metro M4 express.
2018-08-16Compress all translated strings with Huffman coding.Scott Shawcroft
This saves code space in builds which use link-time optimization. The optimization drops the untranslated strings and replaces them with a compressed_string_t struct. It can then be decompressed to a c string. Builds without LTO work as well but include both untranslated strings and compressed strings. This work could be expanded to include QSTRs and loaded strings if a compress method is added to C. Its tracked in #531.
2018-06-15fix os.listdir() when current dir is '/'Dan Halbert
2017-08-27Modernize module and class static dicts; update freetouchDan Halbert
2017-08-25Initial merge of micropython v1.9.2 into circuitpython 2.0.0 (in ↵Dan Halbert
development) master. cpx build compiles and loads and works in repl; test suite not run yet esp8266 not tested yet
2017-06-27Introduce a random module that is a subset of CPython's random. ItScott Shawcroft
also initializes in the same way where it takes from a true random source when available through os.urandom(). After initializing, it produces deterministic results until the seed is set. This replaces urandom! Fixes #139.
2017-06-27Split uos module into os and storage.Scott Shawcroft
os is a subset of CPython's os. storage contains additional file system mounting functionality based on UNIX's mount management. Fixes #140