Stavros, Stavros Ntentos <[email protected]> writes: > Hello there, > > I am trying to debug a single program, and I am interactively executing this: > > ``` >>>> test = 'ab\r\nc\r\n\r\nde\r\nf' >>>> re.split(r'(?:\r?\n){2}', test) > ['ab\r\nc', 'de\r\nf'] >>>> [re.sub(r'\r?\n', ' ', x.strip()) for x in re.split(r'(?:\r?\n){2}', test)] > Traceback (most recent call last): > File "<pudb command line>", line 1, in <module> > File "<pudb command line>", line 1, in <listcomp> > NameError: name 're' is not defined >>>> > ``` > > Program already does `import re` and I did it myself. No luck. Working > on "python console" works as expected
This sounds much like https://github.com/inducer/pudb/issues/103 and may in fact be an easier way to reproduce this issue. Could you please add a comment there describing your issue? Thanks! Andreas
signature.asc
Description: PGP signature
_______________________________________________ Pudb mailing list -- [email protected] To unsubscribe send an email to [email protected]
