Skip to content

Conversation

@hutcheb
Copy link

@hutcheb hutcheb commented Aug 5, 2025

#32 Provides a consistent way to handle the NoneType. Now even when using pypy it creates a local attribute in the _common module, this is imported in the init.py, where if we don't have attribute but it is declared in the slots then it freaks out.

try:
NoneType
except NameError:
NoneType = type(None)

try:
NoneType = NoneType
except NameError:
NoneType = type(None)

@hutcheb
Copy link
Author

hutcheb commented Aug 5, 2025

There are then some other issue with the tests when using pypy, but they don't seem to be related to this.

It looks like it might be related to the ordering of the R,W,X attributes in the Perm test Flag class. Looks like pypy orders them differently.

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.

1 participant