summaryrefslogtreecommitdiffstats
path: root/Lib/py_compile.py
Commit message (Collapse)AuthorAgeFilesLines
* 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)