Gabriel Genellina wrote:
> In Python, the usual way of saying "don't play with me" is prepending
> an underscore: _private
Thanks, I am familiar with that.
> BTW, have you *ever* tested your code?
Yes, we have a QA process. The problem is not that the code doesn't
work, it does. It was developed
Python has no inherent provision for a restrictive API that blocks
accesses to methods and variables outside an allowed set.
Inexperienced Python programmers may fail to adhere to an agreed-upon
API, directly accessing the private internals of a class. Adherence to
defined APIs is a good thing. Thi
libdl.so.2 => /lib/libdl.so.2 (0xb7f56000)
libutil.so.1 => /lib/libutil.so.1 (0xb7f52000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7f2d000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7dff000)
/lib/ld-linux.so.2 (0xb7f86000)
What stupid thing am I doing wrong?
TIA for any adv
anybody
know if I am correct in my conclusion that most of the program's time
is being spent in some getattr function in PyOpenGL?
Thanks
Will Ware
--
http://mail.python.org/mailman/listinfo/python-list
In case anybody else has this problem, the solution is to add "-O" in
extra_compile_args, which will override the "-O3" normally used. This
is done in the setup.py file.
--
http://mail.python.org/mailman/listinfo/python-list
st an approach to debugging this? I'm comfortable on
Linux but I can't find my way out of a paper bag on a Mac.
Also, is there a Pyrex or distutils option for limiting the compiler
optimization level, ideally on a per-platform basis?
Thanks much
Will Ware
--
http://mail.python.org/m
I needed to generate some C code for a fast lookup table using
piecewise-cubic interpolation. If anybody else needs this, the Python
code for it is at http://tinyurl.com/92zcs (alt.source, Google Groups).
Will Ware
--
http://mail.python.org/mailman/listinfo/python-list
Oh. Never mind, then.
--
http://mail.python.org/mailman/listinfo/python-list
I was fooling with some Python code, and starting to miss the
Exception.printStackTrace() feature in Java. Here is a stab at
something roughly analogous, which puts together a stacktrace
as an XML document.
import xml.dom.minidom
class Stacktrace(xml.dom.minidom.Document):
def __init__(self):