Skip to content

Commit

Permalink
the usual
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Jan 12, 1995
1 parent d626da8 commit 79dddcb
Show file tree
Hide file tree
Showing 4 changed files with 188 additions and 50 deletions.
25 changes: 14 additions & 11 deletions BUGS
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ nother to make an entry in this file, unless it was a serious bug
Known BUGS in 1.1.1 and 1.2
---------------------------

(-) C-level coerce() doesn't call __coerce__ when it should (and
similar for __cmp__)
(-) a file with unmatched triple quotes causes a loop in the scanner

(-) tkinter seems to leave an exception around sometime which breaks
unmarshalling code objects [hard to reproduce, have added a trap to
catch it]
marshal.c to catch it]

(-) destroying all modules may destroy __builtin__ (or other modules)
while destructors of other modules may still need it [hard to fix --
Expand All @@ -28,16 +27,14 @@ DECREF can cause recursive calls to methods of the object being
modified. Other files too. [Only partially fixed -- listobject.c is
still suspect.]

(-) if __getattr__ prints something, calling repr(x) from cmd line
forgets a newline

(-) doneimport() should be called *before* the Py_AtExit code is
called [problem: what if other threads are still active?]

Environmental bugs
------------------
Known portability problems
--------------------------

(-) tkinter doesn't seem to see any declaration of malloc on sunos 4.1.3
(-) tkinter doesn't seem to see any declaration of malloc on sunos
4.1.3?

(-) arraymodule doesn't compile under Ultrix (FPROTO macro)

Expand All @@ -49,8 +46,8 @@ Environmental bugs

(-) regen calls h2py which isn't defined by default

(-) make libinstall (or similar) references to machdep directory but
doesn't create it
(-) make sharedinstall references to machdep directory but doesn't
create it

(-) HP doesn't compile out of the box (needs LIBS=-ldld or
LIBS=/usr/lib/libdld.sl) [hard to test without a HP machine handy]
Expand All @@ -59,6 +56,12 @@ LIBS=/usr/lib/libdld.sl) [hard to test without a HP machine handy]
BUGS present in 1.1.1 and fixed in 1.2
--------------------------------------

(*) if __getattr__ or __repr__ prints something, calling repr(x) from
cmd line forgets a newline

(*) C-level coerce() doesn't call __coerce__ when it should (and
similar for __cmp__)

(*) struct module aligns doubles wrongly when compiled with -DDEBUG on
sparc

Expand Down
63 changes: 63 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,68 @@
Thu Jan 12 12:27:23 1995 Guido van Rossum <[email protected]>

* Python/ceval.c (eval_code/PRINT_EXPR): fix messed output when
x.__repr__() prints something and repr(x) is called at the prompt

* Python/pythonrun.c (initmain), Python/import.c
(exec_code_module): use getbuiltins(), not getbuiltindict() to
initialize new modules

* Python/ceval.c (getbuiltins): return getbuiltindict() instead of
NULL if no current frame

* Modules/cryptmodule.c: removed redundant include of modsupport.h

* Modules/signalmodule.c: remove unwanted trigraph from comment

* Modules/Setup.in: clarify status of dlmodule.c

* Objects/object.c (cmpobject): properly implement cmp() for class
instances

Wed Jan 11 10:56:12 1995 Guido van Rossum <[email protected]>

* README: removed references to --with-svr4; added docs for
--without-gcc

* Modules/mathmodule.c: rearrange declarations somewhat

Tue Jan 10 11:34:23 1995 Guido van Rossum <[email protected]>

* Include/*.h, Python/getmtime.c, Modules/<several>.c: THE GREAT
RENAMING (inspired by Jun Hamano). One now either includes
"Python.h" and then uses new names only, or one includes
"allobjects.h" and uses old names. "rename1.h" no longer exists;
instead, "rename2.h" performs the reverse mapping.

* Python/bltinmodule.c (builtin_filter): fix subtle refcount big
in filter() (Tim MacKenzie)

* Include/mymalloc.h, Modules/{Makefile.pre.in,config.c.in}:
change to make things palatable for C++ (Tim MacKenzie)

* Modules/socketmodule.c: only call hstrerror() if it exists

* Modules/tkintermodule.c: added interface to Tk_DoOneEvent() (R
Lindsay Todd)

* Objects/longobject.c (long_pow): some defensive programming
(Eric Siegerman)

* Objects/intobject.c (int_pow): fix memory leak in ternary pow()
(Eric Siegerman)

* Modules/posixmodule.c (posix_fdopen, posix_popen): add optional
argument to specify buffer size as for __builtin__.open(); also
make mode argument optional (default "r")

* Objects/classobject.c (instance_coerce): implement coercions
involving instances properly

* Objects/object.c, Python/bltinmodule.c: moved coerce() to
objects.c, where it belongs

* Doc/libfuncs.tex: added execfile(); reformulated eval() somewhat

* Python/bltinmodule.c (builtin_{execfile,eval}): fix
globals/locals defaults to match the manual again; also allow None
to mean the same as the default
Expand Down
12 changes: 9 additions & 3 deletions TODO
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
(*) add buffering parameter to fdopen() and popen()

(-) "f()=0" generates syntax error msg without line number

(-) interface to getdtablesize() in posix

(-) reentrancy with global variables vs. decref in
./Modules/cdmodule.c ./Modules/flmodule.c ./Objects/accessobject.c
./Objects/frameobject.c ./Python/traceback.c

(-) check reentrancy in list updates?

(-) speed up regsub.gsub

(*) change md5.md5() to md5.new()
Expand All @@ -20,7 +26,7 @@

(-) modules should be able to define a module destructor hook

(-) destroy modules in reverse order of importation
(-) destroy modules in reverse order of importation?

(-) make array a standard built-in object

Expand All @@ -46,11 +52,11 @@ where found, __version__ string?
(-) pass dict of builtins to exec / execfile / eval ???

(?) stack frame correspondence problem (Jim Roskind)
(probably solved by err_setval_tb)
(probably solved by err_fetch / err_restore)

(-) make lots of places use newgetargs

(-) no tp_str member in typeobject
(*) no tp_str member in typeobject

(-) readline 2.0 on sequent has ^C problem (works only first time)

Expand Down
Loading

0 comments on commit 79dddcb

Please sign in to comment.