unasync
unasync copied to clipboard
The async transformation code.
Imports from the _async module seem to be unaffected: ```py from library._async.module import AsyncFoo ``` gets converted to ```py from library._async.module import SyncFoo ``` Expected result: ```py from library._sync.module import...
Addresses: #67 Adds unasync: remove feature.
1) trying to use this on Windows is producing bad EOL in output file. This is because the file is opened binary on read and pulls in '\r\n' but then...
Something like: ```python # unasync: ignore ``` and / or exclusion patterns.. See https://coverage.readthedocs.io/en/coverage-5.3/excluding.html
Hey 👋 I recently came across `unasync` and wanted to commend you on this incredibly promising & useful project. In that vein, I wanted to note that certain substitutions (notably...
JIT
Would it make sense to allow for just-in-time generation (and execution) of the synchronous code?
Many fixes for: * Running tests on Debian/Linux * Coverage reporting wrt Python 2 & 3 only code * Source code indented with tabs (like all of mine) * Type...
This was originally https://github.com/python-trio/urllib3/issues/35
Think this would be a generally very useful feature. Easy to structure your code so that various things have Async/Sync prefixes, and then you can just target them all with...
This is useful for workflows where everything gets a final once-over as part of testing. See: https://github.com/encode/httpcore/blob/0.11.1/unasync.py#L49