Package: pymacs Version: 0.22-3 Severity: normal Under @subsection Python handles:
(setq matcher (pymacs-eval "re.compile('pattern').match")) Debugger entered--Lisp error: (error "Python: Traceback (most recent call last): File \"/usr/lib/python2.3/site-packages/Pymacs/pymacs.py\", line 95, in loop argument = eval(text) File \"<string>\", line 0, in ? File \"<string>\", line 0, in ? NameError: name 're' is not defined ") signal(error ("Python: Traceback (most recent call last):\n File \"/usr/lib/python2.3/site-packages/Pymacs/pymacs.py\", line 95, in loop\n argument = eval(text)\n File \"<string>\", line 0, in ?\n File \"<string>\", line 0, in ?\nNameError: name 're' is not defined\n")) error("Python: %s" "Traceback (most recent call last):\n File \"/usr/lib/python2.3/site-packages/Pymacs/pymacs.py\", line 95, in loop\n argument = eval(text)\n File \"<string>\", line 0, in ?\n File \"<string>\", line 0, in ?\nNameError: name 're' is not defined\n") pymacs-serve-until-reply((pymacs-print-for-apply (quote "eval") (quote ("re.compile('pattern').match")))) pymacs-call("eval" "re.compile('pattern').match") pymacs-eval("re.compile('pattern').match") (setq matcher (pymacs-eval "re.compile('pattern').match")) eval((setq matcher (pymacs-eval "re.compile('pattern').match"))) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp) Performing a "m-x pymacs-load RET re RET RET" first doesn't help. Oddly, having done the pymacs-load, m-x pymacs-eval RET sys.modules.keys() RET *does* include re (or if you want a more obvious example, try it with urllib.) Suggestions? I'm at least partly curious if this works for anyone else :-) -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.4.27 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages pymacs depends on: ii python 2.3.5-1 An interactive high-level object-o ii python2.3-pymacs 0.22-3 interface between Emacs Lisp and P -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]