Commit Graph

30 Commits

Author SHA1 Message Date
Mattia Giambirtone 6d089d7d5f Various fixes for I/O, timeouts, cancellation and more. Need to fix task_ipc2.py which is broken for some reason 2022-09-01 13:18:15 +02:00
Nocturn9x f7fbad931a (Hopefully) Fixed issues with blockinb I/O and timeouts 2022-02-04 11:56:15 +01:00
nocturn9x 9128cd9759 Breaking changes: do not use 2021-06-08 17:21:59 +02:00
nocturn9x 95a9300da8 Moved some code around, added more socket methods and fixed I/O for SSL sockets (hopefully) 2021-06-03 16:34:26 +02:00
nocturn9x 268745c552 Attempts to fix SSL 2021-05-31 22:56:03 +02:00
nocturn9x 668404b049 Minor fixes to SSL 2021-05-31 11:11:56 +02:00
nocturn9x ec721fafd8 Moved IOInterrupt to socket module 2021-04-29 15:58:46 +02:00
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 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 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 7a840d88be I/O seems to be working now, but further investigation is needed 2020-11-29 12:46:08 +01:00
nocturn9x 70646a4767 Added some exclude paths to gitignore 2020-11-17 10:54:18 +01:00
nocturn9x 497ef45307 Fixed events + Added some TODOs 2020-11-16 23:06:54 +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 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 daf727d67d Made the API a little bit cleaner 2020-11-12 23:25:51 +01:00
nocturn9x 3e4a87af21 Formatted code following black style 2020-07-13 22:02:31 +02:00
nocturn9x 979e9959c6 Added the Event class and related functionality, polished the loop code 2020-07-07 13:17:12 +00:00
nocturn9x 0725e8695d Fixed an issue with sockets 2020-07-06 20:38:54 +00:00
nocturn9x fbee6c6f96 Added various exceptions layers 2020-07-05 06:58:23 +00:00
nocturn9x 14c21b56de Fixed the giambio.socket.AsyncSocket.connect() method 2020-03-25 07:40:01 +00:00
nocturn9x 92835cf0d7 Fixed a recursive function call inside giambio.socket.AsyncSocket class 2020-03-24 08:41:23 +00:00
nocturn9x 1308135f12 Small refactoring to the sleep method that can now act as a checkpoint, added some docstrings 2020-03-24 08:42:29 +01:00
nocturn9x 91b2cfb9da Minor changes 2020-03-21 09:59:59 +00:00
nocturn9x 63b90dcfb0 Some minor fixes (though issues still persist), added the giambio.core.EventLoop.schedule() method 2020-03-21 09:42:52 +00:00
nocturn9x c30561b18c Added todos and comments 2020-03-20 18:13:04 +01:00
nocturn9x bf3c477b02 Moved AsyncSocket class into a dedicated file 2020-03-20 17:57:07 +01:00