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

to_include doesn't work on non-iterable objects #27

Open
gi11es opened this issue Jun 22, 2016 · 0 comments
Open

to_include doesn't work on non-iterable objects #27

gi11es opened this issue Jun 22, 2016 · 0 comments

Comments

@gi11es
Copy link

gi11es commented Jun 22, 2016

See heynemann/pyvows#130

This is a regression caused by 9fe7ba2

Inclusion should be about objects that implement "in" (contains), not objects that have to be iterable. As it stands, to_include cannot be used with classes like argpase.Namespace

@gi11es gi11es changed the title to_include doesn't work on non-iteratable objects to_include doesn't work on non-iterable objects Jun 22, 2016
gi11es pushed a commit to gi11es/preggy that referenced this issue Jun 22, 2016
gi11es pushed a commit to gi11es/preggy that referenced this issue Jun 22, 2016
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

No branches or pull requests

1 participant