Thomas Grainger
Thomas Grainger
We could have two async wrappers for cython, one protected and one unprotected, and use the KI protected-ness of the coro.cr_frame.co_code to pick which one you use This would not...
The other option is for enable_ki_protection to detect cython functions and wrap them with an extra (async, generator,asyncgenerater)function
> I wonder though if keeping those exceptions around might cause more memory to be used than expected? Keeping the exceptions alive keeps the tracebacks alive which keeps all the...
objgraph is great for this https://objgraph.readthedocs.io/en/stable/#memory-leak-example
It's bizarre that get_coro() can return None when the eager task has a reference to the coro
MRE is: ```python import socket import uvloop import asyncio async def main(): s1, s2 = socket.socketpair() with s1, s2: reader, writer = await asyncio.open_connection(sock=s1) writer.write(b"\x00") s2.recv(1) asyncio.run(main()) print("asyncio...
> Removing / adding lines in examples could break the line annotations in the docs. Can we avoid modifying SVGs entirely? yep! I've excluded SVGs from end-of-file-fixer
@TomJGooding thanks for this, I tried to apply the patches directly but they failed - I applied them line by line manually instead - could you check if they are...
> @graingert No problem - sorry you had to update this manually! > > Looks good to me apart from missing the update for `outline01.py` on line 292. Ok pushed...
This will need @willmcgugan to enable pre-commit.ci after merging