mhlib.py: delay opening of sequences file so we don't overwrite it when
putsequences is called with a bad argument
rfc822.py: better handling of dates with no or bad timezones
uu.py: contributed by Lance -- uu{en,de}code
Guido van Rossum [Tue, 30 Aug 1994 12:38:05 +0000 (12:38 +0000)]
* Python/getmtime.c: Remove mac specifics (Mac subdirectory has
its own version now)
* Python/bltinmodule.c (builtin_tuple): use pre-existing
listtuple(v) for lists
Guido van Rossum [Mon, 29 Aug 1994 12:54:38 +0000 (12:54 +0000)]
* Python/import.c: support *.o/*.so as alternative for
*module.o/*module.so
* Python/import.c: if initializing a module did not enter the
module into sys.modules, it may have raised an exception -- don't
override this exception.
Merged NT changes
* Python/import.c: add lost NT-specific code back in
Guido van Rossum [Mon, 29 Aug 1994 12:50:44 +0000 (12:50 +0000)]
* Python/pythonrun.c (print_error): added INCREF/DECREF pair --
the exception returned by a syntax error (when reported) would
contain an object with refcnt zero!
MPW changes
Guido van Rossum [Mon, 29 Aug 1994 10:52:58 +0000 (10:52 +0000)]
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)
Guido van Rossum [Mon, 29 Aug 1994 10:46:42 +0000 (10:46 +0000)]
Makefile.pre.in: add $(OPT) to link command
audioop.c: fix for MPW
config.c.in: save original argc/argv for Lance
rotormodule.c: new coding conventions
timemodule.c: add casts for Lance
Guido van Rossum [Mon, 29 Aug 1994 08:42:37 +0000 (08:42 +0000)]
Completed (hopefully) the unification of THINK 6.0 and MPW 3.2
versions -- they now share config.c and config.h, and statting is
always done through macstat.[ch] (THINK's <stat.h> defines funny
constants). Also the configuration of stdwin is done differently: you
have to define USE_STDWIN to the compiler prefix.
Guido van Rossum [Tue, 23 Aug 1994 14:06:18 +0000 (14:06 +0000)]
* configure.in, */Makefile*.in: OPT can now be specified in the
env at configure time and will then be put in all Makefiles as
default
* */Makefile*.in: remove lib*.a before adding to it
Guido van Rossum [Tue, 23 Aug 1994 13:51:25 +0000 (13:51 +0000)]
* Modules/Setup.*: removed all except Setup.in (huh? I thought
I'd done that already?!); disable gdbm by default
* configure.in, */Makefile*.in: OPT can now be specified in the
env at configure time and will then be put in all Makefiles as
default
* */Makefile*.in: remove lib*.a before adding to it
Guido van Rossum [Tue, 23 Aug 1994 13:49:15 +0000 (13:49 +0000)]
* Modules/makesetup: support C++ files now; these should be given
as file.C or file.cc or file.c++; C files can be given as file.c
(instead of file.o, which is still supported)
Guido van Rossum [Tue, 23 Aug 1994 13:32:20 +0000 (13:32 +0000)]
* Lib/linecache.py: don't crash on empty filename
* Lib/macpath.py: don't return trailing colon for dirname()
(XXX won't do for volume names -- but otherwise glob(':*:*.py')
loops forever)
* Lib/traceback.py: print SyntaxError correctly
* Lib/stat.py: moved to posixstat.py; added macstat.py which has
the constants for the Mac; and created new stat.py which includes
the right one
* Lib/urllib.py: fix caching bug (by disabling the cache)
Guido van Rossum [Fri, 19 Aug 1994 15:33:54 +0000 (15:33 +0000)]
Simplify value of INSTALL (always 'cp').
Pass value of OPT from configure environment to Makefile.
Add check for limits.h.
Use <directory>/libreadline.a instead of -lreadline.
Guido van Rossum [Wed, 17 Aug 1994 13:15:46 +0000 (13:15 +0000)]
* Modules/stropmodule.c: implement find/rfind instead of
index/rindex (raising and catching an exception is much more
expensive than returning and testing -1)