You may try winpdb.
I find it to be a comfortable debugger that also can attach to running
programs. (You need to add a line in your code where the program should
stop and wait for the debugger to attach.)
I am satisfied with it, but I did not debug a multi theaded app.
However, it can handle threa
Can't adapt", , )
***
Or is my Duck code wrong ? Anybody knowing how to use an Interface ?
Thank you very much-
Nebur
Remark:There seems to be some windows stuff in PyProtocols ("C:\...") -
a bug ? (I re-installed PyProtocols with option --without-speedups but
nothing changed.)
--
http://mail.python.org/mailman/listinfo/python-list
Yes, I adapted the instance, and it's working.That's it.
Thank you !
Nebur
--
http://mail.python.org/mailman/listinfo/python-list
I'm using the contract.py library, running Python 2.4.4.
Now I'm confronted with the following exception backtrace:
(...)
File "/usr/lib/python2.4/site-packages/contract.py", line 1265, in
_check_preconditions
p = f.__assert_pre
AttributeError: 'function' object has no attribute '__assert_p
> However by being *VERY* perverse, I was able to reproduce the above
> error by overwriting AttributeError with some other exception class (say
> SyntaxError):
> AttributeError = SyntaxError
> Then your code will be will produce a real AttributeError, but miss it
> because (despite the spelli
>
> @Tijs: I think when re-raising, the backtrace will always point to the
> line where it was re-raised but not to line 1265. (Or can we re-raise
> an exception so that it preserves the backtrace of the "original"
> exception?)
@Tijs: Because of distrusting my own text above, I've checked re-
rai
Running the latest version of pydev (1.3.13).
I failed to figure out how to add a filter that excludes stuff like
*.pyc from the file navigator. The "Filters..." dialogue allows to
"Select All" and "Deselect All", but from an empty list :-(
What's the trick ? Thanks ...
--
http://mail.python.org/m
I've had a similar requiredment and made a small tool for direct
logging into databases (see:
http://sourceforge.net/projects/rrlog/
)
It's origins are somewhat older than the Python 2.3 standard logging
framework, so it can be used without that (but can also be simply
integrated with it.) It even
I've made an importer (experimental status) to load python modules
from archives, especially from AES encrypted ones.
( http://sourceforge.net/projects/py-archimporter )
I've followed the PEP 302 recipe (http://www.python.org/dev/peps/
pep-0302/).
The loader does set each modules __file__ attribut
nd seems to do nothing
else? Myself beeing schizophrenic ??)
Someone else already had this effect ?
Nebur
PS: Debian Etch 64Bit/JFS,Eclipse3.3,Pydev1.3.14.
--
http://mail.python.org/mailman/listinfo/python-list
) seem
unplausible because when simply removing the file from file system,
Eclipse would complain about the missing ressource.
So I have 2 ideas only: A _very_ strange bug inside the Eclipse/Plugin
process, or something with my brain ;-)
Nebur
--
http://mail.python.org/mailman/listinfo/python-list
Yes. Linux viruses are rare but useful :-)
Well, I don't think the problem a very dangerous one. The Pydev/
Eclipse was used for much more than a year nearly daily and
intensively. The strange effect is very rare,obviously (plus the
chance that it's in my brain, as I mentioned ;-D ) so you probably
opinion, and (aside from this mystery here) it is
perfectly stable for >>1 year now! This must be said, to correct any
potential misimpression.
Ciao,
Nebur
--
http://mail.python.org/mailman/listinfo/python-list
> Implement what? The virus? I haven't said that I'm interested in virus,
> I meant I'd like to know WHAT is this
No, this was a misunderstanding. What we meant was:
when you want to implement a virus, you should use a version control :-
D
Nebur
--
http://mail.python.org/ma
I started learning PEP 343 , and it made me feel unsure how much I
really comprehend.
Can somebody explain which benefit it provides, compared with usual
Aspect Orientation ?
The latter looks more generic to me (and doesn't need the "with"
keyword). Do I miss something apparent ?
, like rotation handling.)
Regards,
Nebur
--
http://mail.python.org/mailman/listinfo/python-list
16 matches
Mail list logo