Ask Your Question

Revision history [back]

Since the answer is “Any workarounds?”, I'll document the one workaround that I found. However, the original problem persists; so I think that a bug report is due.

The workaround is to replace

%attach file.py

with

load("file.py")

Note that this workaround looses the automatic reloading feature; which is the point of attach in the first place. But at the very least, I can now load code and data from files.