Different cache filename

2013-04-19 Thread Fabian PyDEV
Hi, when load a module "mymodule.py" with importlib.machinery.SourceFileLoader a bytecode file is created as mymodule.cpython-33.pyc. If I load a module "mymodule.ext.py" the same way the same bytecode file is created as mymodule.cpython-33.pyc. Is there any way I could tell python to generate

extending class static members and inheritance

2013-04-02 Thread Fabian PyDEV
Hi All, I have a question. Let says I have the following two classes: class Base(object): __mylist__ = ["value1", "value2"] def somemethod(self): pass class Derived(Base): __mylist__ = ["value3", "value4"] def anothermethod(self):

Python Forum

2010-06-02 Thread pyDev
Hello, I would like to let the community know that there is a new web-based forum for Python enthusiasts over at PythonForum.org (http:// pythonforum.org). Web-based forums is a preferred method by Python newcomers to get help in exploring the world of Python and programming overall. The main goal

multi-threaded c++ callback problem

2006-05-11 Thread pydev
hi all, i'm building a wrapper for a multi-threaded c++ library to use it in python. everything works fine except the callback. the c++ code to call the python function: //---// void pyCallEventCallback( CALL hCall,