Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #23811: Add missing newline to the PyCompileError error message. | Berker Peksag | 2015-04-14 | 1 | -1/+1 |
| | | | | Patch by Alex Shkop. | ||||
* | #7842: backport fix for py_compile.compile syntax error message handling. | R David Murray | 2013-02-20 | 1 | -1/+1 |
| | |||||
* | fix typo in r79533, introduced by the fix for issue #8233 | Matthias Klose | 2010-04-20 | 1 | -1/+1 |
| | |||||
* | - Issue #8233: When run as a script, py_compile.py optionally takes a single | Barry Warsaw | 2010-03-31 | 1 | -8/+24 |
| | | | | | | argument `-` which tells it to read files to compile from stdin. Each line is read on demand and the named file is compiled immediately. (Original patch by Piotr Ożarowski). | ||||
* | these lines can now be dispensed with | Benjamin Peterson | 2010-03-18 | 1 | -2/+0 |
| | |||||
* | clean up files correctly | Benjamin Peterson | 2010-03-15 | 1 | -15/+13 |
| | |||||
* | remove mac 9 code | Benjamin Peterson | 2010-03-15 | 1 | -10/+0 |
| | |||||
* | #2225: return nonzero status code from py_compile if not all files could be ↵ | Georg Brandl | 2008-03-06 | 1 | -2/+6 |
| | | | | compiled. | ||||
* | Patch #1171150: add a newline to py_compile error output | Georg Brandl | 2005-06-10 | 1 | -1/+1 |
| | |||||
* | Getting rid of macfs. | Jack Jansen | 2003-02-27 | 1 | -2/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2003-01-29 | 1 | -9/+9 |
| | |||||
* | Patch #661719: Expose compilation errors as exceptions on request. | Martin v. Löwis | 2003-01-15 | 1 | -17/+75 |
| | |||||
* | Added a main() function and support to run this module as a script. | Fred Drake | 2002-08-21 | 1 | -1/+19 |
| | | | | Closes SF feature request #588768. | ||||
* | Refactor: Remove some code that was obsoleted when this module was | Fred Drake | 2002-08-21 | 1 | -11/+17 |
| | | | | | | | | | changed to use universal newlines. Remove all imports from the compile() function; these are now done at the top of the module ("Python normal form"), and define a helper based on the platform instead of testing the platform in the compile() function. | ||||
* | Replaced obsolete stat module constants with equivalent attributes | Raymond Hettinger | 2002-06-01 | 1 | -2/+2 |
| | |||||
* | Replace boolean test with is None. | Raymond Hettinger | 2002-06-01 | 1 | -1/+1 |
| | |||||
* | Mass checkin of universal newline support. | Jack Jansen | 2002-04-14 | 1 | -1/+1 |
| | | | | | | | | Highlights: import and friends will understand any of \r, \n and \r\n as end of line. Python file input will do the same if you use mode 'U'. Everything can be disabled by configuring with --without-universal-newlines. See PEP278 for details. | ||||
* | __all__ for several more modules | Skip Montanaro | 2001-02-12 | 1 | -0/+2 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -2/+2 |
| | |||||
* | Support \r in source files. Closes bug #101425. | Martin v. Löwis | 2000-09-15 | 1 | -0/+5 |
| | |||||
* | More trivial comment -> docstring transformations by Ka-Ping Yee, | Guido van Rossum | 2000-02-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | who writes: Here is batch 2, as a big collection of CVS context diffs. Along with moving comments into docstrings, i've added a couple of missing docstrings and attempted to make sure more module docstrings begin with a one-line summary. I did not add docstrings to the methods in profile.py for fear of upsetting any careful optimizations there, though i did move class documentation into class docstrings. The convention i'm using is to leave credits/version/copyright type of stuff in # comments, and move the rest of the descriptive stuff about module usage into module docstrings. Hope this is okay. | ||||
* | Fix two bugs in the fstat() line, reported by Fredruk Lundh. | Guido van Rossum | 1998-10-07 | 1 | -1/+1 |
| | |||||
* | Fix suggested by Sjoerd (long ago!) to get a better error message when | Guido van Rossum | 1998-09-29 | 1 | -1/+9 |
| | | | | | | | | there's a syntax error. (In particular, display the correct filename). This changes the API: if there's a syntax error, the function now returns normally after dumping the error to sys.stderr. I changed Sjoerd's use of string.join(string.split(...)) with string.replace(). | ||||
* | On the mac, shouldn't change the creator+type of the *source* file! | Guido van Rossum | 1998-08-11 | 1 | -1/+0 |
| | |||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -9/+9 |
| | |||||
* | Typo (coestring -> codestring) discovered by Mark Hammond. | Guido van Rossum | 1998-03-02 | 1 | -1/+1 |
| | |||||
* | Added docstrings. | Guido van Rossum | 1998-01-19 | 1 | -32/+63 |
| | | | | | | | Added an optional third parameter giving the purported filename for error messages from the module. Append a newline to the code string if needed. | ||||
* | Use fstat if we can; write MAGIC into file last. | Guido van Rossum | 1997-11-22 | 1 | -2/+8 |
| | |||||
* | compile(): Use the __debug__ flag to determine the proper filename extension | Fred Drake | 1997-03-13 | 1 | -1/+1 |
| | | | | to use for the cached module code object. | ||||
* | Cast mtime gotten from stat() to long int -- else it won't work | Guido van Rossum | 1996-10-24 | 1 | -1/+1 |
| | | | | | | on the Mac. Jack! Please fix this in the Mac distributions! | ||||
* | change Mac creator/type | Guido van Rossum | 1996-05-28 | 1 | -2/+2 |
| | |||||
* | Get magic number from interpreter (using module imp). | Sjoerd Mullender | 1995-07-19 | 1 | -2/+3 |
| | |||||
* | Mac-specific code for setting filetype was outdated. | Jack Jansen | 1995-04-23 | 1 | -3/+3 |
| | |||||
* | changes for the Mac | Guido van Rossum | 1995-01-27 | 1 | -2/+7 |
| | |||||
* | New way of generating .pyc files, thanks to Sjoerd. | Guido van Rossum | 1994-08-29 | 1 | -0/+25 |
urllib.py: '+' is not always safe (even though the RFC says so :-( ) whrandom.py: throw away top bits of time to avoid overflow on Mac (where times can be negative) |