Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add license mention to the top of all files. #313. | Ned Batchelder | 2015-07-24 | 1 | -0/+3 |
| | |||||
* | All Python source is Unicode internally. | Ned Batchelder | 2015-05-17 | 1 | -1/+2 |
| | | | | | Unfortunately, this meant hacking around a silly Python 2 restriction (can't compile a Unicode string containing an encoding declaration). | ||||
* | Move python source understanding into python.py | Ned Batchelder | 2015-01-01 | 1 | -1/+1 |
| | |||||
* | A few more filenames as %s instead of %r | Ned Batchelder | 2014-12-28 | 1 | -1/+1 |
| | |||||
* | Don't use %r for filenames, on windows, the backslashes go nuts. | Ned Batchelder | 2014-12-28 | 1 | -1/+1 |
| | |||||
* | Further consolidation of code reading Python source. | Ned Batchelder | 2014-12-28 | 1 | -8/+3 |
| | |||||
* | Unify and clarify reading Python source. Probably broke .pyw files | Ned Batchelder | 2014-12-26 | 1 | -5/+2 |
| | |||||
* | Move some code, and fix pep8 things | Ned Batchelder | 2014-12-14 | 1 | -3/+6 |
| | |||||
* | For some reason, lowercase 'python' suddenly struck me as odd-looking. Fix ↵ | Ned Batchelder | 2014-12-12 | 1 | -2/+2 |
| | | | | them. | ||||
* | Cleanups from pull request 42 | Ned Batchelder | 2014-11-24 | 1 | -8/+8 |
| | |||||
* | Merged pull request 42, fixing issue #328. | Ned Batchelder | 2014-11-24 | 1 | -2/+20 |
|\ | |||||
| * | they changed the way __loader__ looks in 3.3 | Buck Golemon | 2014-11-14 | 1 | -1/+7 |
| | | | | | | | | | | | | --HG-- branch : __main__-support extra : amend_source : 7abd8465667b4bd4b3eeac24391c27c68edf9a95 | ||||
| * | shim for pep302 __loader__ | Buck Golemon | 2014-11-14 | 1 | -2/+14 |
| | | | | | | | | | | | | --HG-- branch : __main__-support extra : histedit_source : f07b26f0cfc575d81972546f1b7ae2ece84e2d87 | ||||
* | | Upgraded pylint to 1.4, removed useless suppressions | Ned Batchelder | 2014-11-23 | 1 | -1/+0 |
|/ | |||||
* | Fix a weird PyPy3 problem with a weird PyPy3 fix. | Ned Batchelder | 2014-10-28 | 1 | -0/+7 |
| | |||||
* | Avoid a bunch of deprecated functions. | Ned Batchelder | 2014-05-17 | 1 | -4/+4 |
| | |||||
* | Remove an unneeded backward function, and move BUILTINS into backward | Ned Batchelder | 2014-05-17 | 1 | -16/+2 |
| | |||||
* | Refactor execfile to avoid imp to avoid deprecation warnings | Ned Batchelder | 2014-05-16 | 1 | -37/+79 |
| | |||||
* | Refactoring, asymptotically approaching multi-language | Ned Batchelder | 2014-05-04 | 1 | -2/+2 |
| | |||||
* | No need for paren-less exec any more. | Ned Batchelder | 2013-12-14 | 1 | -4/+4 |
| | |||||
* | Except clause can now use 'as', no need for lots of sys.exc_info | Ned Batchelder | 2013-10-20 | 1 | -2/+1 |
| | | | | | --HG-- branch : 4.0 | ||||
* | try/except/finally is ok now. | Ned Batchelder | 2013-10-20 | 1 | -28/+27 |
| | | | | | --HG-- branch : 4.0 | ||||
* | with statements: no more finally close | Ned Batchelder | 2013-10-20 | 1 | -6/+2 |
| | | | | | --HG-- branch : 4.0 | ||||
* | Now I can use tuples with startswith and endswith. | Ned Batchelder | 2013-10-19 | 1 | -1/+1 |
| | | | | | --HG-- branch : 4.0 | ||||
* | Line too long. | Ned Batchelder | 2013-09-28 | 1 | -2/+2 |
| | |||||
* | Thanks, Windows, for reminding me to close my files! | Ned Batchelder | 2013-09-28 | 1 | -14/+18 |
| | |||||
* | Now we can run .pyc files directly. Closes #264. | Ned Batchelder | 2013-09-28 | 1 | -19/+53 |
| | |||||
* | Get sys.path right when running modules with -m, fixes #207 and #242. | Ned Batchelder | 2013-04-20 | 1 | -7/+2 |
| | |||||
* | A work-in-progress for #207, a minor improvement, and a commented-out test ↵ | Ned Batchelder | 2012-11-08 | 1 | -1/+1 |
| | | | | that shows the problem. | ||||
* | Make stuff work in other Python versions. Some stuff isn't *quite* right ↵ | Ned Batchelder | 2011-10-30 | 1 | -1/+2 |
| | | | | <2.6. #155 | ||||
* | Make execution with -m match Python more closely. | Ned Batchelder | 2011-10-30 | 1 | -1/+5 |
| | |||||
* | The current directory auto-inserted into sys.path is now absolute, to better ↵ | Ned Batchelder | 2011-05-21 | 1 | -1/+1 |
| | | | | mimic Python execution. | ||||
* | Got 2.3 to build, so now this is tested and works against 2.3 | Ned Batchelder | 2011-03-25 | 1 | -1/+7 |
| | |||||
* | Add tests and doc for Brandon's -m flag. | Ned Batchelder | 2011-02-06 | 1 | -27/+41 |
| | |||||
* | Wrote the basic logic for running a Python module or package as __main__. | Brandon Craig Rhodes | 2011-02-02 | 1 | -1/+37 |
| | |||||
* | A couple more places to use open_source instead of open(fname, 'rU') | Ned Batchelder | 2011-01-30 | 1 | -2/+2 |
| | |||||
* | Open source files with the proper encoding. | Brett Cannon | 2011-01-28 | 1 | -1/+6 |
| | |||||
* | If the user's code calls sys.exit(), honor the request and exit with that ↵ | Ned Batchelder | 2010-02-28 | 1 | -0/+4 |
| | | | | status. Fixes issue #50. | ||||
* | Python source files that don't end with a newline can now be executed, ↵ | Ned Batchelder | 2010-02-22 | 1 | -2/+8 |
| | | | | fixing #47. | ||||
* | If the product code throws an exception, 'coverage run' now produces the ↵ | Ned Batchelder | 2010-02-19 | 1 | -2/+14 |
| | | | | same traceback as 'python' would, without the coverage-internal frames distracting from your code. | ||||
* | Massive eol whitespace clean-up. | Ned Batchelder | 2009-12-02 | 1 | -3/+3 |
| | |||||
* | Report errors finding source files to execute more nicely. Fixes issue #23. | Ned Batchelder | 2009-10-25 | 1 | -1/+5 |
| | |||||
* | The best way to get py3k support: same source runs on both, with some ↵ | Ned Batchelder | 2009-09-22 | 1 | -1/+4 |
| | | | | contortions. | ||||
* | Various Py3k fixes: remove gratuitous print, don't test the print statement, ↵ | Ned Batchelder | 2009-07-08 | 1 | -2/+2 |
| | | | | deal with __cmp__ ugliness, etc. | ||||
* | Builtins moved in Py 3.x | Ned Batchelder | 2009-07-08 | 1 | -1/+9 |
| | |||||
* | When executing files, open them in Universal Newline mode, just as Python ↵ | Ned Batchelder | 2009-06-27 | 1 | -1/+1 |
| | | | | itself does. Makes it possible to run Python from Windows on Mac, for example. | ||||
* | Also make __builtins__ available in main programs. | Ned Batchelder | 2009-05-09 | 1 | -1/+2 |
| | |||||
* | Simplify the construction of the __main__ module in run_python_file. | Ned Batchelder | 2009-05-09 | 1 | -6/+3 |
| | |||||
* | Change run_python_file again so that it doesn't produce compiled turds in ↵ | Ned Batchelder | 2009-05-09 | 1 | -14/+24 |
| | | | | the file system. | ||||
* | Line length < 80. | Ned Batchelder | 2009-04-19 | 1 | -3/+3 |
| |