Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented Jan 27, 2025

It's convenient to be able to call PyLongWriter_Discard(NULL) in error handling code.


📚 Documentation preview 📚: https://cpython-previews--129339.org.readthedocs.build/

It's convenient to be able to call PyLongWriter_Discard(NULL) in error handling code.
@vstinner
Copy link
MemberAuthor

cc @skirpichev

Make PyLongWriter_Discard(NULL) similar to PyUnicodeWriter_Discard(NULL): do nothing.

@vstinnervstinner enabled auto-merge (squash) January 27, 2025 10:44
@vstinnervstinner merged commit 7ec1742 into python:mainJan 27, 2025
46 checks passed
@vstinnervstinner deleted the long_discard branch January 27, 2025 10:51
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner@skirpichev