-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 It is puzzling for me why this is easier to replicate than e.g. this https://github.com/inducer/pudb/issues/103#issue-26850370
However, as requested, here is my issue comment: https://github.com/inducer/pudb/issues/103#issuecomment-471732111 On 11/3/2019 9:24 μ.μ., Andreas Kloeckner wrote: > 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 > - -- Yours faithfully, Ntentos Stavros -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEE+BFMOzMTydy0IIzz1sEL4kkZi7oFAlyGz8YACgkQ1sEL4kkZ i7pE6xAAuHHTimqKWUeJpfpA8/BOyd1dvdBda7nP5RAM5ztUKaPtzIrwlcKw5rx1 O8FUO46dtWVTOWVwDY4d6hyQwukhzbaDjYet4TvlQBPdTT6/hiZukfwWwsTgon7I mKLeAOPMUizbq8zn3pjGbsoxOdV+c/5XVg2SfDEn3KwceNz3Uy9C9vTvnLbXJAAR K1F1+HY81KLHzkz268SdTPEAJcTE4s1PITjnRE7c8yd8dFFWJZSSgX8OWLRKxjfc YtfEvkS7HsVbcx0pKIrPAxBr4Ih6iMT22VRcPFL52/qqt6oF8c21Pqo7/Euatc5L j/MOI+ZfF7h0GJRHlwgTuTpN+Gh9xLQ/rOr5vo2aXOkdds3c95/vj+2YrfRGPBDP OIQ4bp4tmcUcBkB2OWw78qA/bnh7wsnTUJYidoQ2c5r7BJXR2QW5AnO2KHvIr5aS jyJ3i/WQu+1SZ56kDIif233MTRox9MMkfuSVs9Fbmgh8OOZdNzzSKqUOT84XnLmU ZwHYAQwDsAvrGQtPnSzAdAbahLsfVsqqDNLZDzeq8UGB2ZN21d0ejXHAZIw+Ip3e /ILe1d9xtSdp9euBsLlY9njtWE7jj7qFKqjc585FWwEP+2TJH8dPig7+Dw8SQk8m L02Sa6VPsI163qFP/qBcQemOoIHraBfRbLDUI+ohyKmztZHwIIs= =st7c -----END PGP SIGNATURE----- --- Αυτό το e-mail ελέγχθηκε για ιούς από το πρόγραμμα Avast antivirus. https://www.avast.com/antivirus _______________________________________________ Pudb mailing list -- [email protected] To unsubscribe send an email to [email protected]
