Hi Andreas,

It should be possible to do, but I don't have plans to do this right now, so, can you provide a pull request for that?

Also, the PYDEV_MODULES_OBSERVER extension call should be probably put inside the lock in the CompiledModule constructor and it should be called even if we get it from the cache (which it doesn't at this time).



On Tue, Feb 11, 2014 at 12:44 PM, Andreas Pakulat <andreas@froglogic.com> wrote:

for our next release of the PyDev-bundling Squish IDE I was looking in
how far forward compatible our code is. That is wether the latest PyDev
release is compatible with our extension to PyDev.

Unfortunately it turns out that PyDev 3.2.0 removed the addTokens
function from CompiledModule. We've been using that to dynamically
inject functions into the compiled modules known by PyDev.

Looking at the current API of CompiledModule I do not see a way of
changing this, could the function be added back to re-enable the feature
of adding functions and modules to compiled modules during runtime?


Andreas Pakulat squish@froglogic.com
froglogic GmbH - Automated UI and Web Testing

Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
pydev-code mailing list