Wykres commitów

99 Commity (asyncio-segfault)

Autor SHA1 Wiadomość Data
Paul Sokolovsky dbc45a241b Add changes to expose uPy segfault. 2014-04-24 02:45:39 +03:00
Paul Sokolovsky 18c0b2c2f0 asyncio: Add basic asyncio stream interface test. 2014-04-24 02:31:17 +03:00
Paul Sokolovsky 916eb33727 asyncio: Handle end of stream condition properly.
By removing any IO watches for associated file handle. The way it's
implemented tries to preserve OS-like separation between event loop and
tasks. So, stream to finish watching fd for IO also issues syscall,
instead of calling methods on loop instance directly. Calling method on
loop would be more efficient, but will require storing reference to loop
in each stream. And those separation matters...
2014-04-24 02:31:17 +03:00
Paul Sokolovsky efc5bac0dd asyncio: Add basic loop.call_soon() test. 2014-04-24 02:31:17 +03:00
Paul Sokolovsky d63d73d9fb asyncio: Add asyncio.async() dummy factory function.
Not Task bloat implemented (so far?), so just identity function for CPython
compatibility.
2014-04-24 02:31:17 +03:00
Paul Sokolovsky aff251b129 asyncio: Add remove_reader()/remove_writer(). 2014-04-24 02:31:17 +03:00
Paul Sokolovsky 9301c152bd asyncio: Use logging and errno modules. 2014-04-24 02:31:17 +03:00
Paul Sokolovsky 56ff510f9d asyncio: Add dumb debug output. 2014-04-24 01:07:22 +03:00
Paul Sokolovsky a0a699ecda asyncio: Start adding asyncio stream interface. 2014-04-24 01:07:22 +03:00
Paul Sokolovsky ca9ea0d1b8 asyncio: Support read/write syscalls, and route vals both ways between coros. 2014-04-24 01:07:22 +03:00
Paul Sokolovsky 65f0a05f2a asyncio: EpollEventLoop.wait(): support infinite wait. 2014-04-24 01:07:22 +03:00
Paul Sokolovsky e2403bde0a asyncio: Make run_forever() actually run forever. 2014-04-24 01:07:22 +03:00
Paul Sokolovsky 25bcef1b0d 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-04-24 01:07:22 +03:00
Paul Sokolovsky 78fef25eea asyncio: Implement subclass implementing filedes watching interface. 2014-04-24 01:07:22 +03:00
Paul Sokolovsky 80ecd3b822 asyncio: Initial prototype implementation. 2014-04-24 01:07:22 +03:00
Paul Sokolovsky 84f3cbb7cc select: Add epoll.unregister() method. 2014-04-24 01:04:32 +03:00
Paul Sokolovsky 808b492612 errno: Add EINPROGRESS. 2014-04-22 02:35:48 +03:00
Paul Sokolovsky fb3300974f make install: Bunch more shell magic for cleaner installs. 2014-04-22 01:12:02 +03:00
Paul Sokolovsky 56454eba33 all: Tighten up typecodes for FFI module. 2014-04-22 00:39:21 +03:00
Paul Sokolovsky 4016f0664c select: Use symbolic constant from errno module. 2014-04-22 00:33:13 +03:00
Paul Sokolovsky 1d69a4a0d5 errno: Add setup metadata. 2014-04-22 00:28:58 +03:00
Paul Sokolovsky 21be3939b6 errno: Capture basic errors, based on Linux headers. 2014-04-22 00:27:52 +03:00
Paul Sokolovsky a7bea0674c logging: Add very basic implementation. 2014-04-21 00:07:12 +03:00
Paul Sokolovsky 52ac4308f7 select: epoll.register(): Handle case of fd have been already registered.
Is this correct enough? Certainly, Python's epoll should not be fire-once?
2014-04-20 06:20:57 +03:00
Paul Sokolovsky 1cc01656f7 select: Actually implement extended arg to epoll.register().
Allow to pass arbitrary Python objects as "callback data" to epoll, which
will be then returned when activity on fd detected.
2014-04-20 06:20:57 +03:00
Paul Sokolovsky b149831264 select: epoll: Accept sizehint param. 2014-04-20 06:20:57 +03:00
Paul Sokolovsky d122838151 json: Add simple test. 2014-04-19 21:39:13 +03:00
Paul Sokolovsky 904cfd2e9b heapq: Add setup metadata. 2014-04-19 21:08:35 +03:00
Paul Sokolovsky 1867507154 heapq: Add simple test. 2014-04-19 21:08:16 +03:00
Paul Sokolovsky 1d8811514f heapq: Add pristine from Python-3.3.3 tarball. 2014-04-19 21:06:33 +03:00
Paul Sokolovsky 6cac26f078 select: Add setup metadata. 2014-04-19 21:01:44 +03:00
Paul Sokolovsky 7251b8f820 select: Add simple epoll test. 2014-04-19 20:37:00 +03:00
Paul Sokolovsky d8e0383f55 select: Add initial epoll implementation.
epoll is chosen as most efficient on Linux and FFI-friendly.
2014-04-19 20:36:23 +03:00
Paul Sokolovsky ef8aa989d7 os: Add simple read/write test. 2014-04-19 20:35:25 +03:00
Paul Sokolovsky effbf07c9e os: Version bump. 2014-04-19 20:30:31 +03:00
Paul Sokolovsky 4d76c904a2 os: Add read & write functions. 2014-04-19 20:29:59 +03:00
Paul Sokolovsky 221f769fdf os: Factor out error checking to a separate function. 2014-04-19 18:56:03 +03:00
Paul Sokolovsky 488d248819 collections: Import independent defaultdict and deque modules into namespace. 2014-04-18 04:35:08 +03:00
Paul Sokolovsky fc01d606ba itertools: Add setup metadata. 2014-04-18 04:32:11 +03:00
Paul Sokolovsky 01892e8a47 itertools: Add basic test. 2014-04-18 04:30:29 +03:00
Paul Sokolovsky 50f37fe01a itertools: Add partial implementation. 2014-04-18 04:29:57 +03:00
Paul Sokolovsky 312377620b collections.deque: Add setup metadata. 2014-04-18 03:38:43 +03:00
Paul Sokolovsky 607c28092b collections.deque: Add initial implementation. 2014-04-18 03:06:20 +03:00
Paul Sokolovsky f099ae22cb sqlite3: Add simple test. 2014-04-17 03:37:53 +03:00
Paul Sokolovsky 62508429a6 sqlite3: Start with FFI bindings for SQLite3. 2014-04-17 03:35:29 +03:00
Paul Sokolovsky 966b6c1b80 traceback: Add setup metadata. 2014-04-17 01:37:14 +03:00
Paul Sokolovsky ed99e022a8 logging: Add setup metadata. 2014-04-17 01:37:14 +03:00
Paul Sokolovsky 3def1345fa warnings: Add setup metadata. 2014-04-17 01:36:26 +03:00
Paul Sokolovsky ac2ae5831e collections.defaultdict: Add implementation.
In a namespace package.
2014-04-14 21:20:31 +03:00
Paul Sokolovsky 813082a16b collections: Add dummy implementation. 2014-04-14 20:31:46 +03:00