py/objgenerator: Allow to hash generators and generator instances.

Adds nothing to the code size, since it uses existing empty slots in the
type structures.
This commit is contained in:
Damien George
2017-07-07 11:47:38 +10:00
parent 145796f037
commit f69ab79ec8
3 changed files with 10 additions and 0 deletions

View File

@@ -323,6 +323,7 @@ def run_tests(pyb, tests, args, base_path="."):
skip_tests.update({'basics/%s.py' % t for t in 'with_break with_continue with_return'.split()}) # require complete with support
skip_tests.add('basics/array_construct2.py') # requires generators
skip_tests.add('basics/bool1.py') # seems to randomly fail
skip_tests.add('basics/builtin_hash_gen.py') # requires yield
skip_tests.add('basics/class_bind_self.py') # requires yield
skip_tests.add('basics/del_deref.py') # requires checking for unbound local
skip_tests.add('basics/del_local.py') # requires checking for unbound local