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

More tests tmp #355

Merged
merged 14 commits into from
Jul 27, 2022
Merged

More tests tmp #355

merged 14 commits into from
Jul 27, 2022

Conversation

dours
Copy link
Collaborator

@dours dours commented Jul 26, 2022

No description provided.

dours added 14 commits July 25, 2022 17:12
each object, which supports `is` should have both `__contains__`, which is a regular python method and `contains-hack`, which does the same but is just a EO method. This is needed because currently it is only possible to use an identifier to address a python method. That is, calling "sring literal".__contains__(...) does not work now because of a limitation of a pass, which adds `self` to each method call. On the other hand, calling EO method is possible in any context, like `(pystring "sring literal").contains-hack ...` is ok.
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

2 participants