Commit Graph

7 Commits

Author SHA1 Message Date
Fred Drake ef8dc06c01 compile(): Use the __debug__ flag to determine the proper filename extension
to use for the cached module code object.
1997-03-13 14:13:16 +00:00
Guido van Rossum 9b67621b66 Cast mtime gotten from stat() to long int -- else it won't work
on the Mac.

Jack!  Please fix this in the Mac distributions!
1996-10-24 13:42:30 +00:00
Guido van Rossum dc42b8aa3d change Mac creator/type 1996-05-28 23:01:05 +00:00
Sjoerd Mullender 2e5168c9fc Get magic number from interpreter (using module imp). 1995-07-19 11:21:47 +00:00
Jack Jansen e99c824bad Mac-specific code for setting filetype was outdated. 1995-04-23 22:06:57 +00:00
Guido van Rossum 7e4b2def34 changes for the Mac 1995-01-27 02:41:45 +00:00
Guido van Rossum 3bb5448767 New way of generating .pyc files, thanks to Sjoerd.
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)
1994-08-29 10:52:58 +00:00