Skip to content

Upcoming breaking change to Trio private internals #922

@Zac-HD

Description

@Zac-HD

Things to check first

  • I have searched the existing issues and didn't find my bug already reported there

  • I have checked that my bug is still present in the latest release

AnyIO version

latest

Python version

any

What happened?

python-trio/trio#3256 adds some debug information to trio.Cancelled. I think it would be nice for AnyIO to have something similar, but the more important part is that this changes the private Cancelled._create constructor, which will break AnyIO-on-Trio at the upcoming Trio release.

How can we reproduce the bug?

Run any program involving cancellation, using Trio's main branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions