bpo-36346: Make unicodeobject.h C89 compatible by methane · Pull Request #20934 · python/cpython
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. But I suggest to change the commit title to "Make unicodeobject.h C89 compatible".
| Py_UNICODE_FILL(Py_UNICODE *target, Py_UNICODE value, Py_ssize_t length) { | ||
| for (Py_ssize_t i = 0; i < length; i++) { | ||
| Py_ssize_t i; | ||
| for (i = 0; i < length; i++) { |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change makes me sad :-( But well, as I wrote in the issue, I think that it's a good practice to try to keep C89 support for the public C API.
methane
changed the title
bpo-36346: Fix buildbots
bpo-36346: Make unicodeobject.h C89 compatible
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters