Skip to content

Conversation

petdance
Copy link
Contributor

@petdance petdance commented Apr 7, 2020

Also moved an auto variable that got consted into its innermost necessary scope.

https://bugs.python.org/issue39943

Also moved an auto variable that got consted into its innermost necessary scope.
@benjaminp benjaminp merged commit 38ada3b into python:master Apr 10, 2020
@@ -2892,7 +2891,7 @@ PyType_FromSpecWithBases(PyType_Spec *spec, PyObject *bases)
}

/* Set the type name and qualname */
s = strrchr(spec->name, '.');
const char *s = strrchr(spec->name, '.');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this. I'll keep an eye out for those.

@petdance petdance deleted the const-Objects-typeobject-C branch April 10, 2020 02:17
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.

4 participants