Skip to content
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

Promote the constant for zope.Public from metaconfigure.py to interfaces.py #42

Merged
merged 1 commit into from
Sep 13, 2017

Conversation

jamadden
Copy link
Member

And use it consistently throughout this package.

On Python 2, sometimes we were comparing the string with unicode and sometimes with str. Now its consistent.

I didn't see anywhere that the extra LOAD_GLOBAL bytecode might be a performance issue.

This is a start to addressing #6

…ces.py

And use it consistently throughout this package.

On Python 2, sometimes we were comparing the string with unicode and
sometimes with str. Now its consistent.

This is a start to addressing #6
Copy link
Member

@mgedmin mgedmin left a comment

Choose a reason for hiding this comment

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

LGTM

@jamadden
Copy link
Member Author

Thank you!

@jamadden jamadden merged commit c192803 into master Sep 13, 2017
@jamadden jamadden deleted the public_permission_const branch September 13, 2017 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants