Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 79dddcb

Browse files
committed
the usual
1 parent d626da8 commit 79dddcb

4 files changed

Lines changed: 188 additions & 50 deletions

File tree

BUGS

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ nother to make an entry in this file, unless it was a serious bug
99
Known BUGS in 1.1.1 and 1.2
1010
---------------------------
1111

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

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

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

31-
(-) if __getattr__ prints something, calling repr(x) from cmd line
32-
forgets a newline
33-
3430
(-) doneimport() should be called *before* the Py_AtExit code is
3531
called [problem: what if other threads are still active?]
3632

37-
Environmental bugs
38-
------------------
33+
Known portability problems
34+
--------------------------
3935

40-
(-) tkinter doesn't seem to see any declaration of malloc on sunos 4.1.3
36+
(-) tkinter doesn't seem to see any declaration of malloc on sunos
37+
4.1.3?
4138

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

@@ -49,8 +46,8 @@ Environmental bugs
4946

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

52-
(-) make libinstall (or similar) references to machdep directory but
53-
doesn't create it
49+
(-) make sharedinstall references to machdep directory but doesn't
50+
create it
5451

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

59+
(*) if __getattr__ or __repr__ prints something, calling repr(x) from
60+
cmd line forgets a newline
61+
62+
(*) C-level coerce() doesn't call __coerce__ when it should (and
63+
similar for __cmp__)
64+
6265
(*) struct module aligns doubles wrongly when compiled with -DDEBUG on
6366
sparc
6467

ChangeLog

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,68 @@
1+
Thu Jan 12 12:27:23 1995 Guido van Rossum <[email protected]>
2+
3+
* Python/ceval.c (eval_code/PRINT_EXPR): fix messed output when
4+
x.__repr__() prints something and repr(x) is called at the prompt
5+
6+
* Python/pythonrun.c (initmain), Python/import.c
7+
(exec_code_module): use getbuiltins(), not getbuiltindict() to
8+
initialize new modules
9+
10+
* Python/ceval.c (getbuiltins): return getbuiltindict() instead of
11+
NULL if no current frame
12+
13+
* Modules/cryptmodule.c: removed redundant include of modsupport.h
14+
15+
* Modules/signalmodule.c: remove unwanted trigraph from comment
16+
17+
* Modules/Setup.in: clarify status of dlmodule.c
18+
19+
* Objects/object.c (cmpobject): properly implement cmp() for class
20+
instances
21+
22+
Wed Jan 11 10:56:12 1995 Guido van Rossum <[email protected]>
23+
24+
* README: removed references to --with-svr4; added docs for
25+
--without-gcc
26+
27+
* Modules/mathmodule.c: rearrange declarations somewhat
28+
129
Tue Jan 10 11:34:23 1995 Guido van Rossum <[email protected]>
230

31+
* Include/*.h, Python/getmtime.c, Modules/<several>.c: THE GREAT
32+
RENAMING (inspired by Jun Hamano). One now either includes
33+
"Python.h" and then uses new names only, or one includes
34+
"allobjects.h" and uses old names. "rename1.h" no longer exists;
35+
instead, "rename2.h" performs the reverse mapping.
36+
37+
* Python/bltinmodule.c (builtin_filter): fix subtle refcount big
38+
in filter() (Tim MacKenzie)
39+
40+
* Include/mymalloc.h, Modules/{Makefile.pre.in,config.c.in}:
41+
change to make things palatable for C++ (Tim MacKenzie)
42+
43+
* Modules/socketmodule.c: only call hstrerror() if it exists
44+
45+
* Modules/tkintermodule.c: added interface to Tk_DoOneEvent() (R
46+
Lindsay Todd)
47+
48+
* Objects/longobject.c (long_pow): some defensive programming
49+
(Eric Siegerman)
50+
51+
* Objects/intobject.c (int_pow): fix memory leak in ternary pow()
52+
(Eric Siegerman)
53+
54+
* Modules/posixmodule.c (posix_fdopen, posix_popen): add optional
55+
argument to specify buffer size as for __builtin__.open(); also
56+
make mode argument optional (default "r")
57+
58+
* Objects/classobject.c (instance_coerce): implement coercions
59+
involving instances properly
60+
61+
* Objects/object.c, Python/bltinmodule.c: moved coerce() to
62+
objects.c, where it belongs
63+
64+
* Doc/libfuncs.tex: added execfile(); reformulated eval() somewhat
65+
366
* Python/bltinmodule.c (builtin_{execfile,eval}): fix
467
globals/locals defaults to match the manual again; also allow None
568
to mean the same as the default

TODO

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1+
(*) add buffering parameter to fdopen() and popen()
2+
3+
(-) "f()=0" generates syntax error msg without line number
4+
15
(-) interface to getdtablesize() in posix
26

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

11+
(-) check reentrancy in list updates?
12+
713
(-) speed up regsub.gsub
814

915
(*) change md5.md5() to md5.new()
@@ -20,7 +26,7 @@
2026

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

23-
(-) destroy modules in reverse order of importation
29+
(-) destroy modules in reverse order of importation?
2430

2531
(-) make array a standard built-in object
2632

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

4854
(?) stack frame correspondence problem (Jim Roskind)
49-
(probably solved by err_setval_tb)
55+
(probably solved by err_fetch / err_restore)
5056

5157
(-) make lots of places use newgetargs
5258

53-
(-) no tp_str member in typeobject
59+
(*) no tp_str member in typeobject
5460

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

0 commit comments

Comments
 (0)