Commit Graph

73 Commits

Author SHA1 Message Date
Mattia Giambirtone 4d50130d53
Minor fix to timeout test and added timed_out field 2024-02-23 13:13:44 +01:00
Mattia Giambirtone 351a212ccd
Fixed issue with silent timeouts in scopes 2024-02-23 13:13:44 +01:00
Mattia Giambirtone 09ad7e12e3
Changed order of operations to ensure speedy cancellation 2024-02-23 13:13:44 +01:00
Mattia Giambirtone 4c969d7827
More fixes to Ctrl+C 2024-02-23 13:13:44 +01:00
Mattia Giambirtone 993cb118e3
Fixed bugs with scope tracking and various minor fixes 2024-02-23 13:13:44 +01:00
Mattia Giambirtone 4f2c4979fd
Kernel state is now properly reset across runs. Improved https test 2024-02-23 13:13:44 +01:00
Mattia Giambirtone fd6037ba88
Various bug fixes and simplifications 2024-02-23 13:13:44 +01:00
Mattia Giambirtone 9e6ee1e104
Many fixes to nested scope handling, added stress test and scope tree test 2024-02-23 13:13:43 +01:00
Mattia Giambirtone e0f2e87cad
Signal handlers and deliveries are now reset across calls to run() 2024-02-23 13:13:43 +01:00
Mattia Giambirtone e452ab4a25
Minor fixes 2024-02-23 13:13:43 +01:00
Mattia Giambirtone e2f2abf026
Experimental async signal support 2024-02-23 13:13:43 +01:00
Mattia Giambirtone f4c72e40e2
Funny README 2024-02-23 13:13:43 +01:00
Mattia Giambirtone dd6cb509e7
Bug fixes and improvements to task handling 2024-02-23 13:13:43 +01:00
Mattia Giambirtone 28c8b01554
Added bidirectional test to threaded event example 2024-02-23 13:13:43 +01:00
Mattia Giambirtone 140a1bca8f
Switch to using set_wakeup_fd as a notification only 2024-02-23 13:13:43 +01:00
Mattia Giambirtone cd2d810b5a
Control-C delivery is now handled via set_wakeup_fd. Premilinary work on async signal handling 2024-02-23 13:13:42 +01:00
Mattia Giambirtone ee7451014b
Fixed bug with resource de-registration 2024-02-23 13:13:42 +01:00
Mattia Giambirtone a09babae53
Fixed issues with I/O manager sleeping for the wrong time 2024-02-23 13:13:42 +01:00
Mattia Giambirtone 81bdd64a7e
Simplified https test 2024-02-23 13:13:42 +01:00
Mattia Giambirtone a91fb8eb8f
Fixed bugs in the socket module. Various improvements, TLS support and new test 2024-02-23 13:13:42 +01:00
Mattia Giambirtone 0c3cc11f79
Changed minimum required Python to 3.10 and added minor fix to scope cancellation 2024-02-23 13:13:42 +01:00
Mattia Giambirtone 50de381033
Ahem. Oops. Again. Should probably stop to debug with print 2024-02-23 13:13:42 +01:00
Mattia Giambirtone 5910d8574b
Ahem. Oops 2024-02-23 13:13:41 +01:00
Mattia Giambirtone b51d91b11c
Fixed bug with scope cancellation and added connect_socket function 2024-02-23 13:13:41 +01:00
Mattia Giambirtone 8d22b348e0
Change library name to publish on pypi 2024-02-23 13:13:41 +01:00
Mattia Giambirtone 6f3394d7d6
sniffio support 2024-02-23 13:13:41 +01:00
Mattia Giambirtone 422304fcd9
Added nicer repr to async files 2024-02-23 13:13:41 +01:00
Mattia Giambirtone 5aad2f666e
Closing a channel multiple times now doesn't raise an error 2024-02-23 13:13:41 +01:00
Mattia Giambirtone 156b3c6fc8
Various bug fixes and simplifications, added multiprocessing support and new tests 2024-02-23 13:13:41 +01:00
Mattia Giambirtone f9e56cffc4
Further work on streams and multiprocessing 2024-02-23 13:13:41 +01:00
Mattia Giambirtone 2da89cf138
Fixed bug in recursive lock 2024-02-23 13:13:40 +01:00
Mattia Giambirtone 77df81fa4b
Fixed typo 2024-02-23 13:13:40 +01:00
Mattia Giambirtone 382f6993cc
Use current_task() instead of current_loop().current_task 2024-02-23 13:13:40 +01:00
Mattia Giambirtone fb0881ae0f
Fixed bug with I/O scheduling 2024-02-23 13:13:40 +01:00
Mattia Giambirtone 26ee910ba0
Typo 2024-02-23 13:13:40 +01:00
Mattia Giambirtone 26a43d5f84
Ported old aiosched sockets and streams and added related tests 2024-02-23 13:13:40 +01:00
Mattia Giambirtone 3ea159c858
Stuff :P 2024-02-23 13:13:40 +01:00
Mattia Giambirtone e77c154bcd
Added unregister_event and test for smart events 2024-02-23 13:13:40 +01:00
Mattia Giambirtone feda2708ef
Fixed bug with scopes and added 'smart' events 2024-02-23 13:13:39 +01:00
Mattia Giambirtone 2f0f6f82bd
Minor changes 2024-02-23 13:13:39 +01:00
Mattia Giambirtone 9cec11dcc6
Loop now uses the clock's deadline method 2024-02-23 13:13:39 +01:00
Mattia Giambirtone 4d35957d17
Added test for pathlib wrapper 2024-02-23 13:13:39 +01:00
Mattia Giambirtone e3f7af28f2
Initial work on a pathlib clone 2024-02-23 13:13:39 +01:00
Mattia Giambirtone 59096f34b8
Initial work on sockets and added file I/O test 2024-02-23 13:13:39 +01:00
Mattia Giambirtone f1a20be126
Added a bunch of comments and docs and other things 2024-02-23 13:13:39 +01:00
Mattia Giambirtone 1819ef844c
More bugfixes. Exported current_loop() and current_task() 2024-02-23 13:13:39 +01:00
Mattia Giambirtone 7904afb985
Bugfixes 2024-02-23 13:13:38 +01:00
Mattia Giambirtone 400b0fa04c
Preparation for I/O layer 2024-02-23 13:13:38 +01:00
Mattia Giambirtone 3e49f71f00
Refactoring and initial work on multiprocessing support 2024-02-23 13:13:38 +01:00
Mattia Giambirtone 45d3e308d9
Simplified ainput() and added file I/O test 2024-02-23 13:13:38 +01:00