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

Pure python cython #1547

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

abderrahim
Copy link
Contributor

A proof of concept for #1412

@abderrahim abderrahim force-pushed the pure-python-cython branch 2 times, most recently from 605f430 to 11b5894 Compare December 19, 2021 13:16
Fix lint and formatting errors in the process
Fix lint and formatting errors in the process
@@ -72,11 +73,11 @@ def set_values(mcs, kls, data):

type.__setattr__(kls, "_value_to_entry", value_to_entry)

def __repr__(self):
return "<fastenum '{}'>".format(self.__name__)
def __repr__(cls):
Copy link
Contributor

@nanonyme nanonyme Feb 17, 2022

Choose a reason for hiding this comment

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

Looks weird. This looks like it assumes it's a class method but there's no classmethod decorator. Is this change because it's a metaclass?

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