Skip to content
Snippets Groups Projects
Commit d5c7db797a98 authored by Serhiy Storchaka's avatar Serhiy Storchaka
Browse files

Clean up the C code.

* Define less version-specific macros.
* Remove redundant version checks and code inside version-specific code.
* Always check `PyUnicode_READY()` for external unicode objects.
* Use `PyUnicode_Join()`.
* Use `PyUnicode_FromOrdinal()`.
* All Python string constants are now allocated only once.
parent cf2935b3dfbd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment