Guido van Rossum
013142a95f
fix nasty bug in resizing (formatstring)
1994-08-30 08:19:36 +00:00
Guido van Rossum
e59214ed91
call_object: print message before abort()
1994-08-30 08:01:59 +00:00
Guido van Rossum
b078ce10d4
Move #endif for NT
1994-08-29 14:01:43 +00:00
Guido van Rossum
74e6a118ca
* 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
Fixed NT changes
1994-08-29 12:54:38 +00:00
Guido van Rossum
14144fcdfd
Added delattr()
1994-08-29 12:53:40 +00:00
Guido van Rossum
cae027b298
* Python/bltinmodule.c: added tuple() builtin
1994-08-29 12:53:11 +00:00
Guido van Rossum
df05ac6dfb
Python/bltinmodule.c: mods by Andrew Kuchling to implement
...
pow(x,y,z) == pow(x,y)%z, but without incurring overflow
1994-08-29 12:52:37 +00:00
Guido van Rossum
2d9518585c
* Python/bltinmodule.c (builtin_vars): correct typo in error msg
1994-08-29 12:52:16 +00:00
Guido van Rossum
a110aa658b
* 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
1994-08-29 12:50:44 +00:00
Guido van Rossum
bf8c0e336f
mods by Andrew Kuchling to implement
...
pow(x,y,z) == pow(x,y)%z, but without incurring overflow
Correct problems found by THINK C 6.0
1994-08-29 12:48:32 +00:00
Guido van Rossum
eb1fafcec1
New patches by Andrew to fix various problems
...
Add cast for Lance
1994-08-29 12:47:19 +00:00
Guido van Rossum
6cd2fe043b
Correct problems found by THINK C 6.0
1994-08-29 12:45:32 +00:00
Guido van Rossum
f4b1a64a21
* Parser/tokenizer.c: backup over illegal newline in string
...
literal (for "completeness" test)
1994-08-29 12:43:07 +00:00
Guido van Rossum
bd0389d5fd
don't call strncpy(str, NULL, 0)
1994-08-29 12:25:45 +00:00
Guido van Rossum
4ca6c9db81
* Python/compile.c (com_argdefs, com_arglist): avoid referencing
...
CHILD(n,i) for i >= NCH(n)
1994-08-29 12:16:12 +00:00
Guido van Rossum
3a24181837
err_clear: clear interpreter stack trace
1994-08-29 12:14:12 +00:00
Guido van Rossum
13836d9e6d
add function name to traceback info
...
MPW fixes
1994-08-29 12:09:58 +00:00
Guido van Rossum
d2002c79f0
Added PyArg_NoArgs(v)
1994-08-29 10:55:31 +00:00
Guido van Rossum
ff18df0eb3
For THINK C 6.0
1994-08-29 10:55:19 +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
Guido van Rossum
7b1e974b4b
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
1994-08-29 10:46:42 +00:00
Guido van Rossum
0e3da7ba50
Makefile: add $(OPT) to linking line
...
tokenizer.c: move tok_backup call around
1994-08-29 10:44:10 +00:00
Guido van Rossum
ba941eba67
MPW changes
1994-08-29 10:43:12 +00:00
Guido van Rossum
8e1f8dd094
Restructured MPW notes
1994-08-29 09:14:14 +00:00
Guido van Rossum
8ce65b4cde
README, Makfiles and `buildall' script to build Python under MPW 3.2.
1994-08-29 08:58:39 +00:00
Guido van Rossum
739267b7c3
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.
1994-08-29 08:42:37 +00:00
Guido van Rossum
e783444440
Intermediate version of changes after porting to MPW 3.2
1994-08-26 09:09:48 +00:00
Guido van Rossum
f0171a1626
* 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
1994-08-23 14:06:18 +00:00
Guido van Rossum
c561e5dd58
The usual...
1994-08-23 13:52:46 +00:00
Guido van Rossum
794b93ea8a
* 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
1994-08-23 13:51:25 +00:00
Guido van Rossum
aa0f4c73e5
* Modules/signalmodule.c: added pause().
1994-08-23 13:49:37 +00:00
Guido van Rossum
0b498beea2
* 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)
1994-08-23 13:49:15 +00:00
Guido van Rossum
794d81313b
* Modules/posixmodule.c: some more NT changes
1994-08-23 13:48:48 +00:00
Guido van Rossum
9731d4470f
* Modules/config.c.in: change mac specific things
1994-08-23 13:48:30 +00:00
Guido van Rossum
d250ee2413
* Parser/tokenizer.c: backup over illegal newline in string
...
literal (for "completeness" test)
* */Makefile*.in: remove lib*.a before adding to it
1994-08-23 13:38:57 +00:00
Guido van Rossum
b4f066da49
Include/node.h: make some fields short to save space during
...
parsing
1994-08-23 13:37:43 +00:00
Guido van Rossum
b0f3c82a3b
Added macmain.c (separate Mac specific main prog); bump version to 1.1
1994-08-23 13:34:25 +00:00
Guido van Rossum
7aeb4b9ce8
* 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)
1994-08-23 13:32:20 +00:00
Guido van Rossum
9e1e149a5f
* Lib/sgi/flp.py: fix caching bug (always write the whole file to
...
the cache!)
1994-08-23 13:29:21 +00:00
Guido van Rossum
29e7af07f0
Some more changes
1994-08-23 13:28:34 +00:00
Guido van Rossum
bd851cd167
* Doc/libtime.tex: get rid of references to millitime() and
...
millisleep(); document clock()
* Doc/ref6.tex (section{Assignment statements}): added warning
about overlaps in lhs of assignment (e.g. "i, x[i] = 1, 2")
1994-08-23 13:26:22 +00:00
Guido van Rossum
d849a4838d
Description of how to build Python for the Mac.
1994-08-20 21:55:48 +00:00
Guido van Rossum
24f4850377
errors.c: clear traceback too.
...
Makefile.in: remove lib*.a before creating new one.
1994-08-19 15:37:11 +00:00
Guido van Rossum
b1ba03f045
Match new configure.in
1994-08-19 15:34:50 +00:00
Guido van Rossum
4e8af445ec
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.
1994-08-19 15:33:54 +00:00
Guido van Rossum
5622ef3cbb
Moved mpzpi.py to scripts subdirectory
1994-08-19 15:09:21 +00:00
Guido van Rossum
4040ed018e
Add test for mpz module
1994-08-19 15:09:02 +00:00
Guido van Rossum
386a554fad
Added pathfix
1994-08-19 15:03:41 +00:00
Guido van Rossum
9af22a037f
newslist.py: Added search for .newslistrc.py;
...
pindent.py: use /usr/local/bin/python;
pathfix.py: new script to fix #! lines in a group of scripts.
1994-08-19 15:02:57 +00:00
Guido van Rossum
72824bab44
Move all code from version.c into config.c
1994-08-19 12:03:04 +00:00