Skip to content
Snippets Groups Projects
Commit b809f95b authored by Mike Bayer's avatar Mike Bayer
Browse files

- [bug] Change default for compile()->reserved_names

  from tuple to frozenset, as this is expected to be
  a set by default.  [ticket:208]
parent b15b13ab
No related branches found
No related tags found
No related merge requests found
0.7.4 0.7.4
- [bug] Change default for compile()->reserved_names
from tuple to frozenset, as this is expected to be
a set by default. [ticket:208]
- [feature] Code has been reworked to support Python 2.4-> - [feature] Code has been reworked to support Python 2.4->
Python 3.xx in place. 2to3 no longer needed. Python 3.xx in place. 2to3 no longer needed.
......
...@@ -33,7 +33,7 @@ def compile(node, ...@@ -33,7 +33,7 @@ def compile(node,
disable_unicode=False, disable_unicode=False,
strict_undefined=False, strict_undefined=False,
enable_loop=True, enable_loop=True,
reserved_names=()): reserved_names=frozenset()):
"""Generate module source code given a parsetree node, """Generate module source code given a parsetree node,
uri, and optional source filename""" uri, and optional source filename"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment