We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code crashes the interpreter by reading into freed memory.
import asyncio class MyTask(asyncio.Task): def __del__(self): print("MyTask.__del__") async def main(): task = MyTask(asyncio.sleep(1)) await task asyncio.run(main())
Output:
✦ ❯ ./python main.py MyTask.__del__ fish: Job 2, './python main.py' terminated by signal SIGSEGV (Address boundary error)
Supporting subclasses seems tricky with it, I propose to use fast implementation only with exact types.
The text was updated successfully, but these errors were encountered:
Interesting, which version of Python do you have?
Sorry, something went wrong.
which version of Python do you have?
Looks like a current main branch.
No branches or pull requests
Crash report
The following code crashes the interpreter by reading into freed memory.
Output:
Supporting subclasses seems tricky with it, I propose to use fast implementation only with exact types.
The text was updated successfully, but these errors were encountered: