You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was testing the following import: import ipynb.fs.defs.utils.testfoo
and got the following exception:
... ipynb/fs/defs/__init__.py in <listcomp>(.0)
39 if isinstance(node, ast.Assign):
---> 40 return all([t.id.isupper() for t in node.targets])
AttributeError: 'Subscript' object has no attribute 'id'
So I modified the _filter_ast_node to include a couple of try/excepts to see where it was failing:
…python#38)
* Simplify the way we handle exceptions
* Add tests for capture_output and partial
* Add Lazy to the top level API
* Include a notebook parameterization module (ipython#37)
I was testing the following import:
import ipynb.fs.defs.utils.testfoo
and got the following exception:
So I modified the
_filter_ast_node
to include a couple of try/excepts to see where it was failing:ast.dump(node)
:ast.dump(t)
:Looks like it's occurring on the following line of my notebook:
One possible solution:
The text was updated successfully, but these errors were encountered: