Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Try to make command line error messages from runpy easier to understand (and ↵ | Nick Coghlan | 2008-02-22 | 1 | -1/+17 |
| | | | | suppress traceback cruft from the implicitly invoked runpy machinery) | ||||
* | Implement PEP 366 | Nick Coghlan | 2007-12-03 | 1 | -8/+12 |
| | |||||
* | Fix bug 1764407 - the -i switch now does the right thing when using the -m ↵ | Nick Coghlan | 2007-08-25 | 1 | -35/+56 |
| | | | | switch | ||||
* | Revert misguided attempt at fixing incompatibility between -m and -i ↵ | Nick Coghlan | 2007-08-25 | 1 | -9/+24 |
| | | | | switches (better fix coming soon) | ||||
* | Fix an incompatibility between the -i and -m command line switches as ↵ | Nick Coghlan | 2007-07-24 | 1 | -24/+9 |
| | | | | reported on python-dev by PJE - runpy.run_module now leaves any changes it makes to the sys module intact after the function terminates | ||||
* | Correctly cleanup sys.modules after executing runpy relative import | Nick Coghlan | 2007-07-23 | 1 | -2/+5 |
| | | | | | | tests Restore Python 2.4 ImportError when attempting to execute a package (as imports cannot be guaranteed to work properly if you try it) | ||||
* | Revert the __module_name__ changes made in rev 47142. We'll revisit this in ↵ | Nick Coghlan | 2006-07-06 | 1 | -21/+13 |
| | | | | Python 2.6 | ||||
* | Make full module name available as __module_name__ even when __name__ is set ↵ | Nick Coghlan | 2006-06-28 | 1 | -13/+21 |
| | | | | to something else (like '__main__') | ||||
* | First phase of refactoring for runpy, pkgutil, pydoc, and setuptools | Phillip J. Eby | 2006-04-17 | 1 | -339/+16 |
| | | | | | | | | | | | | | | | | to share common PEP 302 support code, as described here: http://mail.python.org/pipermail/python-dev/2006-April/063724.html This revision strips all the PEP 302 emulation code from runpy, replacing it with published API classes and functions in pkgutil, mostly using setuptools' implementation of common functionality, but adding features from runpy, and doing some refactoring to make the layer pydoc needs easier to implement on top of this. One step down, four to go, although step #4 (adding C versions of the new APIs to 'imp') may not be able to make it in time for alpha 2. We'll see how that goes. | ||||
* | Whitespace normalization. | Tim Peters | 2006-03-25 | 1 | -2/+2 |
| | |||||
* | run_module shouldn't hold the import lock when running a script | Nick Coghlan | 2006-03-24 | 1 | -13/+9 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-03-15 | 1 | -5/+5 |
| | |||||
* | Implement PEP 338 which has been marked as accepted by GvR | Nick Coghlan | 2006-03-15 | 1 | -0/+431 |