Skip to content

[3.6] bpo-33954: Rewrite FILL() macro of unicodeobject.c #10740

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

Merged
merged 1 commit into from
Nov 27, 2018
Merged

[3.6] bpo-33954: Rewrite FILL() macro of unicodeobject.c #10740

merged 1 commit into from
Nov 27, 2018

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Nov 27, 2018

Copy code from master: add assertions on start and value, replace 'i'
iterator with 'end' pointer for the loop stop condition.

_PyUnicode_FastFill(): fix type of 'data', it must not be constant,
since data is modified by FILL().

https://bugs.python.org/issue33954

Copy code from master: add assertions on start and value, replace 'i'
iterator with 'end' pointer for the loop stop condition.

_PyUnicode_FastFill(): fix type of 'data', it must not be constant,
since data is modified by FILL().
@vstinner vstinner merged commit 54fa83e into python:3.6 Nov 27, 2018
@vstinner vstinner deleted the fix_fill_warning36 branch November 27, 2018 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants