Skip to content
New issue

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

cython: better exception handling #606

Merged
merged 3 commits into from
May 5, 2024
Merged

cython: better exception handling #606

merged 3 commits into from
May 5, 2024

Conversation

methane
Copy link
Member

@methane methane commented May 5, 2024

  • use except -1 instead of manual error handling
  • use PyUnicode_AsUTF8AndSize()
  • use _pack() and _pack_inner() instead of while True:

@methane methane merged commit e106808 into main May 5, 2024
23 checks passed
@methane methane deleted the except branch May 5, 2024 17:13
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.

1 participant