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

Cython port: handle Disallow #313

Merged
merged 4 commits into from Jun 14, 2016
Merged

Conversation

jvkersch
Copy link
Contributor

closes #312.

@dpinte
Copy link
Member

dpinte commented Jun 14, 2016

@jvkersch 👍

@@ -157,6 +157,25 @@ cdef object invalid_attribute_error():

raise TypeError('Attribute name must be a string.')

cdef object unknown_attribute_error(obj, name):
Copy link
Member

Choose a reason for hiding this comment

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

It looks like you're adjusting the code to (roughly) follow PEP8. If that's the case, there should probably be an extra blank line above.

@mdickinson
Copy link
Member

Changes LGTM. One nit, and one discussion point w.r.t. ctraits.c. The latter should probably be broken out into a separate issue.

@jvkersch
Copy link
Contributor Author

@dpinte @mdickinson Thanks for the review. I've added the PEP8 blank line and opened an issue for the ctraits.c issue. I'll merge when Travis goes green.

@jvkersch jvkersch merged commit 5705222 into enh/cython-port Jun 14, 2016
@jvkersch jvkersch deleted the enh/cython-disallow-getattr branch June 14, 2016 11:50
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.

None yet

3 participants