MacroPy tracing not working for me...
Chris Angelico
rosuav at gmail.com
Wed Aug 20 08:03:58 EDT 2014
On Wed, Aug 20, 2014 at 12:18 AM, Skip Montanaro <skip at pobox.com> wrote:
> import macropy.tracing
> with macropy.tracing.trace:
> ... my broken code here ...
>
> (The first example is just "with trace: ..." and doesn't say where the
> trace object came from. I assumed it came from the tracing module.)
I'd say that's correct; there's an example here:
https://github.com/lihaoyi/macropy
from macropy.tracing import macros, trace
with trace:
sum = 0
for i in range(0, 5):
sum = sum + 5
And I'm seeing the same issue you are (even saving the exact example
to a file and running it). Sounds like something to raise as an issue.
ChrisA
More information about the Python-list
mailing list