Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76659 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2014-08-20 22:03 +1000 |
| Last post | 2014-08-20 22:03 +1000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: MacroPy tracing not working for me... Chris Angelico <rosuav@gmail.com> - 2014-08-20 22:03 +1000
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2014-08-20 22:03 +1000 |
| Subject | Re: MacroPy tracing not working for me... |
| Message-ID | <mailman.13202.1408536247.18130.python-list@python.org> |
On Wed, Aug 20, 2014 at 12:18 AM, Skip Montanaro <skip@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
Back to top | Article view | comp.lang.python
csiph-web