Wykres commitów

303 Commity (d71c6a3a0bc270865a4d16a174b8ed635f77f7ef)

Autor SHA1 Wiadomość Data
Dave Hylands d71c6a3a0b cmd: Original version of cmd.py from Python 3.4 2014-08-13 00:48:34 +03:00
Paul Sokolovsky 8274c56925 select: Work around epoll_event field alignment variation. 2014-08-10 23:10:48 +03:00
Paul Sokolovsky 104471e208 README: Quotes really weren't intended here. 2014-08-10 17:35:43 +03:00
Paul Sokolovsky e375a91fa1 Merge pull request #5 from willingc/patch-1
Documentation edits to README.md
2014-08-10 17:34:16 +03:00
Carol Willing 4b70d46de3 Documentation edits to README.md
Proposed edits to increase user readability and ease of use of the README page.
2014-08-04 18:15:00 -07:00
Paul Sokolovsky ad7b1ad64e sqlite3: Less obtrusive debug output. 2014-07-21 01:33:46 +03:00
Paul Sokolovsky bf811614cf heapq: Import itertools only for functions which really require it. 2014-07-21 00:29:33 +03:00
Paul Sokolovsky 3de140698c os: Don't use legacy getwd() libc function, not available in all libc's.
For example, not available in uclibc.
2014-07-11 02:20:04 +03:00
Paul Sokolovsky 38448bb955 os: Depends on stat. 2014-07-11 02:12:18 +03:00
Paul Sokolovsky a759b94b22 os: Depends on errno. 2014-07-11 02:07:14 +03:00
Paul Sokolovsky 27da05f2ac os: Add chdir(), rename(). 2014-07-05 02:42:11 +03:00
Paul Sokolovsky 4e3154ba21 os: Add system(). 2014-07-04 23:48:50 +03:00
Paul Sokolovsky d32312e2d8 select: Depend on _libc. 2014-06-21 14:59:35 +03:00
Paul Sokolovsky 50cdc4d93a fcntl: Depend on _libc. 2014-06-21 14:52:03 +03:00
Paul Sokolovsky 1eff635223 os: Depend on _libc. 2014-06-21 14:50:09 +03:00
Paul Sokolovsky a6dee730f3 _libc: Helper FFI module to find and load proper libc for the system.
It's needed because different LIBC implementation use different shared
library names, so this module abstracts operation of finding the correct
one.

Default search order:

1. libc.so. This is usually doesn't exist, but user can create such symlink,
and it will be used fast.
2. libc.so.0, as used by current uClibc versions.
3. libc.so.6, as used by current Glibc versions.

uClibc is tried first because system where it is used are usually
underpowered to do array of attempts.

User can also override default search names by calling _libc.set_names(),
(which should be called before importing any other modules).
2014-06-21 04:09:22 +03:00
Paul Sokolovsky 41e738f1b0 make_metadata.py: Allow to override dist_name in metadata.txt. 2014-06-21 04:05:20 +03:00
Paul Sokolovsky 294c5e4eda mailbox: Add dummy module. 2014-06-21 03:24:14 +03:00
Paul Sokolovsky a5bb585d3e mimetypes: Add dummy module. 2014-06-21 03:23:37 +03:00
Paul Sokolovsky f9d69bf919 sched: Add dummy module. 2014-06-21 03:22:49 +03:00
Paul Sokolovsky 903f5e1df8 reprlib: Add dummy module. 2014-06-21 03:22:19 +03:00
Paul Sokolovsky b99b0c8a82 pty: Add dummy module. 2014-06-21 03:21:48 +03:00
Paul Sokolovsky d638be6cb4 optparse: Add dummy module. 2014-06-21 03:21:13 +03:00
Paul Sokolovsky 269f1f217f ipaddress: Add dummy module. 2014-06-21 03:20:16 +03:00
Paul Sokolovsky 93dd060559 getpass: Add dummy module. 2014-06-21 03:19:23 +03:00
Paul Sokolovsky d47d5e7036 timeit: Add dummy module. 2014-06-21 03:07:46 +03:00
Paul Sokolovsky 3372aba411 zipfile: Add dummy module. 2014-06-21 03:07:35 +03:00
Paul Sokolovsky f38885b3bb tarfile: Add dummy module. 2014-06-21 03:07:17 +03:00
Paul Sokolovsky 719d2b2081 sqlite3: Add metadata. 2014-06-21 03:04:29 +03:00
Paul Sokolovsky 1d7842eace io: As MicroPython builtin module is now _io, add dummy io wrapper. 2014-06-21 02:52:41 +03:00
Paul Sokolovsky 804527c3fb sqlite3: Implement cursor.lastrowid . 2014-06-17 02:22:16 +03:00
Paul Sokolovsky b2aa759384 sqlite3: Reliably detect data query vs modification SQL statements. 2014-06-17 00:50:08 +03:00
Paul Sokolovsky 98bb48b3e1 README: More instructions. 2014-06-14 19:39:14 +03:00
Paul Sokolovsky 5a8a8fd849 Add a basic docs as a stopgap measure against user confusion.
TODO: elaborate.
2014-06-11 00:20:11 +03:00
Paul Sokolovsky 10c51e681a os: Add name, environ vars (last - as dummy). 2014-06-11 00:09:23 +03:00
Paul Sokolovsky 1d842f4152 sqlite3: Auto-execute non-select statements in execute(). 2014-06-09 01:59:02 +03:00
Paul Sokolovsky 9ec5ef871a sqlite3: Add params args for execute() method. 2014-06-09 01:53:21 +03:00
Paul Sokolovsky 51e06be476 sqlite3: Add .close() methods, better error checking and reporting. 2014-06-09 00:53:55 +03:00
Paul Sokolovsky d4a7fda960 functools: Add dummy update_wrapper(), wraps(). 2014-06-08 00:26:17 +03:00
Paul Sokolovsky 5262fb8237 re-pcre: Implement count arg to re.sub(). 2014-06-08 00:16:34 +03:00
Paul Sokolovsky c4c29b4f57 os: Add urandom(). 2014-06-07 23:16:36 +03:00
Paul Sokolovsky 8bc5ac5b75 http.client: Add metadata. 2014-06-07 23:15:03 +03:00
Paul Sokolovsky c07404dab3 http.client: Add basic example. 2014-06-07 22:21:44 +03:00
Paul Sokolovsky bd3ceb4513 http.client: Comment out io.RawIOBase, as uPy lacks complete io hierarchy. 2014-06-07 22:20:10 +03:00
Paul Sokolovsky 471d805b45 http.client: Explicitly check for str type instead of "encode" method.
MicroPython string type shares setup with bytes, and thus both have entries
for "encode" and "decode" (but only one valid for a type really works).
2014-06-07 22:17:28 +03:00
Paul Sokolovsky 5fb6c52c1f http.client: Add pristine from CPython 3.3.3. 2014-06-07 22:15:47 +03:00
Paul Sokolovsky cf4c27a885 make_metadata.py: Allow to have module name != distribution name.
Like, micropython-re-pcre hosts re.py.
2014-06-07 05:04:00 +03:00
Paul Sokolovsky f1201bdce9 re-pcre: sub(): If suffix of string matched, None was returned. 2014-06-07 05:04:00 +03:00
Paul Sokolovsky 62240137d4 make_metadata.py: Remove current dir from sys.path.
Otherwise MicroPython will pick up glob as an empty namespace package from
the current dir otherwise.
2014-06-06 23:22:44 +03:00
Paul Sokolovsky c6ef480ad0 glob: Explicitly import os.path. 2014-06-06 22:53:30 +03:00