Wykres commitów

324 Commity (02daa74b245867dff5d51abb70ce89a9cfefa1e5)

Autor SHA1 Wiadomość Data
Paul Sokolovsky 02daa74b24 asyncio: Start adding asyncio stream interface. 2014-10-21 01:31:56 +03:00
Paul Sokolovsky ac0038f9a7 asyncio: Support read/write syscalls, and route vals both ways between coros. 2014-10-21 01:31:56 +03:00
Paul Sokolovsky 85071250f1 asyncio: EpollEventLoop.wait(): support infinite wait. 2014-10-21 01:31:56 +03:00
Paul Sokolovsky a71d4f45c1 asyncio: Make run_forever() actually run forever. 2014-10-21 01:31:56 +03:00
Paul Sokolovsky ee495b3807 asyncio: Recover eventloop's ability to work with callbacks.
Actually, coroutine support for call_soon() is a hack, in big asyncio coroutine
should be wrapped in Task object.
2014-10-21 01:31:56 +03:00
Paul Sokolovsky b42f8e383b asyncio: Implement subclass implementing filedes watching interface. 2014-10-21 01:31:56 +03:00
Paul Sokolovsky 80cea91b98 asyncio: Initial prototype implementation. 2014-10-21 01:31:56 +03:00
Paul Sokolovsky b45774b85b README.md: Tweak a bit. 2014-10-19 14:29:10 +03:00
Paul Sokolovsky e42b955c1d socket: Update for rename microsocket -> usocket. 2014-10-11 05:18:49 +03:00
Paul Sokolovsky d33f35334b _libc: Release 0.2.1. 2014-10-11 05:17:14 +03:00
blmorris 814071f45b _libc: Add support for MacOS X (using "libc.dylib"). 2014-10-06 23:39:22 +03:00
Damien George f2cb007ce5 sqlite3: Change return type of column_double from "f" to "d".
ffi now works properly with double return type, so this function can
return the correct type.  Can confirm that sqlite3_column_double now
works correctly on 32-bit and 64-bit x86.
2014-09-10 21:06:54 +01:00
Paul Sokolovsky bc1ea4fc21 _libc: Version 0.2. 2014-09-08 20:02:42 +03:00
Paul Sokolovsky 165fbbd768 select: Add yet another workaround for struct epoll_event, this time for x86_64.
So, it's now clear that dealing with this struct should be rather moved on C side.
2014-09-06 19:36:28 +03:00
Paul Sokolovsky 22da54bc83 os: Version 0.1.9. 2014-09-06 17:13:28 +03:00
Paul Sokolovsky a9fd762b81 os: listdir(), walk(): Handle unicode strings properly.
CPython lib reference specifies that listdir() should accept both bytes and
str argument, and return value type should match the argument. But no such
stipulation is made for walk(), so we just return strings.
2014-09-06 17:06:07 +03:00
Paul Sokolovsky a3495c40bf os: Fix 64-bit Linux support.
ino_t and off_t types (d_ino and d_off fields) appear to be defined as unsigned
long on Linux.

TODO: Move readdir wrapper function to C, because DIRENT layout is inherently
OS-specific.
2014-09-06 17:04:05 +03:00
Paul Sokolovsky 46ede279d8 os: Implement open(). 2014-08-23 05:57:00 +03:00
Paul Sokolovsky 6f1823b60e LICENSE: Add concatenation of licensing terms used. 2014-08-18 21:32:04 +03:00
Paul Sokolovsky 7bc0c0a458 select: Version 0.0.8. 2014-08-13 00:56:23 +03:00
Dave Hylands eac000342e cmd: Customize to work with MicroPython. 2014-08-13 00:49:28 +03:00
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