Native subclasses crash with asyncio
Open
Nobody has claimed this yet.
PyO3
- Dominant language
- Python
- Stars
- 1.6k
- Forks
- 155
- Avg merge
- 9h 42m
- Merged PRs (30d)
- 36
Description
I am currently disabling a test in PyO3:
https://github.com/PyO3/pyo3/blob/ee0d6edb6d96e88a9e46d29338ae621f7cd911f2/pytests/tests/test_awaitable.py#L9
When running it we crash with a Java stacktrace and an ArrayIndexOutOfBoundsException
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure from PyO3's pytests/tests/test_awaitable.py test referenced in the issue, with the test no longer disabled. Inspect the resulting Java stacktrace and the native-subclass asyncio interaction. Done means the test runs without the ArrayIndexOutOfBoundsException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, python, rust
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100