Commit Graph

167 Commits

Author SHA1 Message Date
nocturn9x f55826d534 Moved socket functionality out of the loop and added some more functions to the socket module (updating examples) 2021-04-23 09:17:55 +02:00
nocturn9x 79cbba994c Removed AttributeError check 2021-04-23 08:10:31 +02:00
nocturn9x 0516ea4bd8 Fixed bug in socket destructor 2021-04-22 20:21:57 +02:00
nocturn9x d0394ed7d8 Added socket destructor to unregister the socket from the loop 2021-04-22 14:31:58 +02:00
nocturn9x dfcac651b4 Updated README with echo server example 2021-04-22 12:58:50 +02:00
nocturn9x 941464437d Some changes and fixes to exceptions behavior 2021-04-22 12:02:40 +02:00
nocturn9x dcd3cae674 Fixed minor socket bug on darwin kernel, nested pools now work as intended 2021-04-22 11:30:35 +02:00
nocturn9x 5b403703db Added some documentation, a test for timeouts and fixed some bugs with I/O 2020-12-20 15:58:53 +01:00
nocturn9x c8a1008646 Added some basic timeout functionality 2020-12-19 22:09:48 +01:00
nocturn9x 29683f9067 Fixed some bugs with exception propagation and other stuff. I/O is significantly broken on the exceptions' side 2020-12-19 15:18:12 +01:00
nocturn9x 98c9440115 Fixed lots of minor bugs (and created some new bugs, of course). Pool-level cancellation is broken, but everything else seems to work given the current tests 2020-12-05 17:09:59 +01:00
nocturn9x 40bcebbf5a Started to work on giambio.with_timeout and fixed a little bug with deferred cancellation 2020-11-29 20:16:08 +01:00
nocturn9x 435ca2e47c Removed some debugging code parts 2020-11-29 19:34:23 +01:00
nocturn9x 7a840d88be I/O seems to be working now, but further investigation is needed 2020-11-29 12:46:08 +01:00
nocturn9x 2661a153e9 Minor bug fixes, need to fix I/O 2020-11-29 12:06:09 +01:00
nocturn9x 899e12ead7 Added initial support for nested pools and added related tests. Added a couple more tests and separated the debugger class in a separate module. Unified want_read and want_write into a unique read_or_write method 2020-11-28 13:04:27 +01:00
nocturn9x 2429cbb863 Fixed some bugs with exceptions and propagations, I/O is broken 2020-11-27 21:52:45 +01:00
nocturn9x 4618c8cc79 Exceptions and cancellation seem to be working (except for server.py inside tests, investigation needed) 2020-11-26 16:57:20 +01:00
nocturn9x caee01977e Cancellation/Exceptions almost complete 2020-11-22 14:35:07 +01:00
nocturn9x 31fa71fd84 Fixed capitalized name in README title 2020-11-21 14:03:19 +01:00
nocturn9x 42828a8642 Minor fixes to README 2020-11-21 14:02:38 +01:00
nocturn9x 490b729804 Fixed some typos and errors 2020-11-18 20:48:32 +01:00
nocturn9x 3661e75eec Improved coroutines explanation 2020-11-18 13:09:04 +01:00
nocturn9x db2acb9613 Small fixes 2020-11-18 12:50:58 +01:00
nocturn9x 5a54f9402f Updated gitignore 2020-11-18 12:14:43 +01:00
nocturn9x d60a372af5 Updated README, added debugging utility and simplified example 2020-11-18 12:13:46 +01:00
nocturn9x a5764255ac Removed pyenv.cfg file 2020-11-17 10:54:50 +01:00
nocturn9x 70646a4767 Added some exclude paths to gitignore 2020-11-17 10:54:18 +01:00
nocturn9x e29eaf3862 Typos + some fixes 2020-11-17 10:20:50 +01:00
nocturn9x adbdfa1209 README almost complete, improved examples 2020-11-17 10:06:35 +01:00
nocturn9x 497ef45307 Fixed events + Added some TODOs 2020-11-16 23:06:54 +01:00
nocturn9x 10c1b33e20 join() partially fixed 2020-11-16 21:49:13 +01:00
nocturn9x 981a598ae7 Various improvements to async pools 2020-11-16 08:07:19 +01:00
nocturn9x cc9eccf027 Identified issue with task.cancel() 2020-11-14 12:59:58 +01:00
nocturn9x 7b4051f3b9 Starting to work on async pools 2020-11-14 10:42:46 +01:00
nocturn9x 5bfc12fc73 typo 2020-11-13 23:34:29 +01:00
nocturn9x acdf56c87f Small fixes 2020-11-13 22:53:54 +01:00
nocturn9x 8e77c40cc1 Fixed tests/events.py time calcs 2020-11-13 13:38:44 +01:00
nocturn9x 07bbffc556 typos 2020-11-13 13:03:46 +01:00
Mattia d522146de3
typo 2020-11-13 13:02:49 +01:00
nocturn9x 8986da1b98 Made the readme actually nice to read and easy to understand, some sections still need to be completed.
Updated examples and added some more safety checks at giambio.run and giambio.spawn
2020-11-13 13:01:40 +01:00
nocturn9x 0b1c5d75e7 Major library refactoring, made event loops thread-local (no need to carry scheduler objects around anymore) and fixed some bugs related to I/O. Made events simpler as they would overlap with a future implementation of channels 2020-11-13 10:44:47 +01:00
nocturn9x 3745886500 More polishing 2020-11-12 23:35:01 +01:00
nocturn9x daf727d67d Made the API a little bit cleaner 2020-11-12 23:25:51 +01:00
nocturn9x 3c9421c84c Fixed some stuff so the examples actually work 2020-11-12 23:10:54 +01:00
nocturn9x 8b095fbf72 Now exceptions sort of work 2020-11-12 22:45:00 +01:00
nocturn9x 5ff8d4a06e Updated README 2020-11-12 22:27:12 +01:00
nocturn9x 3e4a87af21 Formatted code following black style 2020-07-13 22:02:31 +02:00
nocturn9x 84f8ac5728 Fixed cancellation and added a few docstrings 2020-07-11 15:09:31 +00:00
nocturn9x d2a20a14fc stuff 2020-07-11 08:57:12 +00:00