Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | Merged revisions 85398 via svnmerge from | Benjamin Peterson | 2010-10-13 | 1 | -1/+1 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85398 | benjamin.peterson | 2010-10-12 20:04:36 -0500 (Tue, 12 Oct 2010) | 1 line account for the module __dict__ being cleared when its module is ........ | ||||
* | remove the svn:executable property from files that don't have shebang lines | Benjamin Peterson | 2010-03-05 | 1 | -0/+0 |
| | |||||
* | Fix comment typo. | R. David Murray | 2009-12-20 | 1 | -1/+1 |
| | |||||
* | Issue #6816: expose the zipfile and directory execution mechanism to Python ↵ | Nick Coghlan | 2009-11-15 | 1 | -35/+152 |
| | | | | code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation. | ||||
* | Some minor cleanups to private runpy code and docstrings | Nick Coghlan | 2009-11-07 | 1 | -7/+13 |
| | |||||
* | Issue 4195: Restore the ability to execute packages with the -m switch (but ↵ | Nick Coghlan | 2009-02-08 | 1 | -6/+12 |
| | | | | this time in a way that leaves the import machinery in a valid state). (Original patch by Andi Vajda) | ||||
* | Fix several issues relating to access to source code inside zipfiles. ↵ | Nick Coghlan | 2008-12-14 | 1 | -6/+7 |
| | | | | Initial work by Alexander Belopolsky. See Misc/NEWS in this checkin for details. | ||||
* | 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 |