Skip to content

Conversation

kumaraditya303
Copy link

@kumaraditya303 kumaraditya303 commented Oct 11, 2025

This adds free-threading support by adding freethreading_compatible=True in loop.pyx and also enables CI and wheels for 3.14t.

cc @fantix

self.assertEqual(await reader.readexactly(2), b'OK')

re = r'(a bytes-like object)|(must be byte-ish)'
re = r'(a bytes-like object)|(must be byte-ish)|(must be a bytes, bytearray, or memoryview object)'
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upstream change: python/cpython@0b21682

@Vizonex
Copy link

Vizonex commented Oct 11, 2025

Don’t mind by me asking but do you have the time to look into winloop as well? Or will I have to mirror everything and guess with blind faith?

@achimnol
Copy link
Contributor

👀 Also looking forward to MagicStack/asyncpg having free-threading support...

@Vizonex
Copy link

Vizonex commented Oct 12, 2025

👀 Also looking forward to MagicStack/asyncpg having free-threading support...

Same

@kumaraditya303
Copy link
Author

Don’t mind by me asking but do you have the time to look into winloop as well? Or will I have to mirror everything and guess with blind faith?

There isn't anything to guess with blind faith here, you can follow the guide at https://py-free-threading.github.io/ci/ to add free-threading CI to projects you wish. I have never looked at winloop before so I'll not have time for that atm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants