Re: Debugging python in emacs isn't working.

2009-11-09 Thread menomnon
On Nov 8, 6:36 pm, menomnon wrote: > Hi, > > Emacs 22.3, python 2.6.4 > > Put the following into my .emacs: > > (setq pdb-path 'c:\\python26\\lib\\pdb.py >       gud-pdb-command-name (symbol-name pdb-path)) > (defadvice pdb (before gud-query-cmdline activate) >

Debugging python in emacs isn't working.

2009-11-09 Thread menomnon
Hi, Emacs 22.3, python 2.6.4 Put the following into my .emacs: (setq pdb-path 'c:\\python26\\lib\\pdb.py gud-pdb-command-name (symbol-name pdb-path)) (defadvice pdb (before gud-query-cmdline activate) "Provide a better default command line when called interactively." (interactive (l

'Once' properties.

2009-10-05 Thread menomnon
Does python have a ‘once’ (per class) feature? ‘Once’, as I’ve know it is in Eiffel. May be in Java don’t. The first time you instantiate a given class into an object it constructs, say, a dictionary containing static information. In my case static is information that may change once a week at