Skip to content

user module deleter #40

Closed
wants to merge 2 commits into from

2 participants

@jonahkichwacoders

(One of many requests, all together at https://github.com/jonahkichwacoders/PyDev/tree/fabioz_all_requests if it is useful)

Pull in UMD from Spyder licensed with Spyder License Agreement (MIT license)

Spyder is http://code.google.com/p/spyderlib/
UMD is the User Module Deleter

To fully enable UMD we need to call the new method runfile instead of
execfile. EvaluateActionSetter is updated to call runfile.

@jonahkichwacoders jonahkichwacoders Pull in UMD from Spyder licensed with Spyder License Agreement (MIT L…
…icense)MIT license)

Spyder is http://code.google.com/p/spyderlib/
UMD is the User Module Deleter

To fully enable UMD we need to call the new method runfile instead of
execfile. EvaluateActionSetter is updated to call runfile.
690b039
@jonahkichwacoders jonahkichwacoders Merge branch 'development' into pullrequest/user_module_deleter 55550c0
@fabioz

Humm, I think that the sitecustomize is not the best place for this... that way it'll be added on all the runs a user does (even on regular python/jython/ironpython launches). I think that the UMD should only be loaded (along with those classes) if it's actually on the interactive console, so, it should probably be on its own module (i.e.: pydev_umd.py in org.python.pydev\pysrc) and should be added the same way that we provide an execfile on py3k (which is in org.python.pydev\pysrc\pydevconsole.py -- search for execfile there).

@jonahkichwacoders

OK, I will look at moving the code to pydev_umd.py.

@fabioz
Owner
fabioz commented Sep 9, 2013

Closing for now (waiting for changes commented before to merge pull request).

@fabioz fabioz closed this Sep 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.