summaryrefslogtreecommitdiffstats
path: root/Lib/py_compile.py
Commit message (Collapse)AuthorAgeFilesLines
* More trivial comment -> docstring transformations by Ka-Ping Yee,Guido van Rossum2000-02-041-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 Rossum1998-10-071-1/+1
|
* Fix suggested by Sjoerd (long ago!) to get a better error message whenGuido van Rossum1998-09-291-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 Rossum1998-08-111-1/+0
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-9/+9
|
* Typo (coestring -> codestring) discovered by Mark Hammond.Guido van Rossum1998-03-021-1/+1
|
* Added docstrings.Guido van Rossum1998-01-191-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 Rossum1997-11-221-2/+8
|
* compile(): Use the __debug__ flag to determine the proper filename extensionFred Drake1997-03-131-1/+1
| | | | to use for the cached module code object.
* Cast mtime gotten from stat() to long int -- else it won't workGuido van Rossum1996-10-241-1/+1
| | | | | | on the Mac. Jack! Please fix this in the Mac distributions!
* change Mac creator/typeGuido van Rossum1996-05-281-2/+2
|
* Get magic number from interpreter (using module imp).Sjoerd Mullender1995-07-191-2/+3
|
* Mac-specific code for setting filetype was outdated.Jack Jansen1995-04-231-3/+3
|
* changes for the MacGuido van Rossum1995-01-271-2/+7
|
* New way of generating .pyc files, thanks to Sjoerd.Guido van Rossum1994-08-291-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)