blob: 5ef848af4100c9e8ed54fe344e5c13805b224bbe [file] [log] [blame]
Guido van Rossum5552eb71994-08-05 15:51:00 +00001Sorry, this list does not claim completeness. If I fixed a bug
2immediately upon receiving the first complaint I usually did not
Guido van Rossumc561e5d1994-08-23 13:52:46 +00003nother to make an entry in this file, unless it was a serious bug
Guido van Rossum5552eb71994-08-05 15:51:00 +00004(core dump or infinite loop).
5
Guido van Rossumaf5b83e1995-01-04 19:02:35 +00006==> Status indicators: (-) not fixed; (*) fixed; (?) not sure.
Guido van Rossum5552eb71994-08-05 15:51:00 +00007
8======================================================================
Guido van Rossum76be6ed1995-01-02 18:33:54 +00009Known BUGS in 1.1.1 and 1.2
10---------------------------
11
Guido van Rossumaf5b83e1995-01-04 19:02:35 +000012(-) C-level coerce() doesn't call __coerce__ when it should (and
13similar for __cmp__)
14
15(-) tkinter seems to leave an exception around sometime which breaks
16unmarshalling code objects [hard to reproduce, have added a trap to
17catch it]
18
19(-) destroying all modules may destroy __builtin__ (or other modules)
20while destructors of other modules may still need it [hard to fix --
21could maintain a list of all modules in order of importation so we can
22destroy them in reverse order??? really hopeless -- would have to
23destroy objects in a module in reverse order too...]
24
25(-) [X]DECREF can cause the interpreter to be called recursively (for
26__del__ disciplines) -- so list and dict implementation calls doing
27DECREF can cause recursive calls to methods of the object being
28modified. Other files too. [Only partially fixed -- listobject.c is
29still suspect.]
30
31(-) struct module aligns doubles wrongly when compiled with -DDEBUG on
32sparc
33
34(-) if __getattr__ prints something, calling repr(x) from cmd line
35forgets a newline
36
37(-) doneimport() should be called *before* the Py_AtExit code is called
38
39Environmental bugs
40------------------
41
42(-) tkinter doesn't seem to see any declaration of malloc on sunos 4.1.3
43
Guido van Rossum76be6ed1995-01-02 18:33:54 +000044(-) arraymodule doesn't compile under Ultrix (FPROTO macro)
45
46(-) Linux uses GNU getopt by default which is broken
47
48(-) makesetup assumes CCC is the C++ compiler -- not portable
49
50(-) "make depend" assumes mkdep exists -- not portable
51
Guido van Rossum76be6ed1995-01-02 18:33:54 +000052(-) regen calls h2py which isn't defined by default
53
Guido van Rossum76be6ed1995-01-02 18:33:54 +000054(-) make libinstall (or similar) references to machdep directory but
55doesn't create it
56
Guido van Rossum76be6ed1995-01-02 18:33:54 +000057(-) HP doesn't compile out of the box (needs LIBS=-ldld or
58LIBS=/usr/lib/libdld.sl)
59
Guido van Rossum76be6ed1995-01-02 18:33:54 +000060======================================================================
61BUGS present in 1.1.1 and fixed in 1.2
62--------------------------------------
63
Guido van Rossumaf5b83e1995-01-04 19:02:35 +000064(*) memory leak (namebuf) in initmodule2
65
66(*) hash() of float values returns bogus values
67
68(*) pow(int, int, long) does wrong series of DECREF() calls.
69
70(*) flushline() may clear the exception condition so shouldn't be
71called before print_error()
72
73(*) Everything else that uses err_get() should use err_fetch()
74
75(*) sockets aren't thread safe (address of static struct returned,
76some calls aren't thread safe)
77
78(*) threadmodule.c leaks LOTS of memory at thread exit
79
80(*) shared install in Modules still doesn't work for empty list
81
Guido van Rossum76be6ed1995-01-02 18:33:54 +000082(*) threadmodule.c leaks 'res' in t_bootstrap
83
84(*) errors.c shouldn't declare strerror() on NT
85
86(*) DECREF can cause the interpreter to be called recursively (for
87__del__ disciplines) -- so list and dict implementation calls doing
88DECREF can cause recursive calls to methods of the object being
89modified. Other files too. (Only partially fixed.)
90
91(*) tkinter dereferences NULL if timer callback raises an exception
92
93(*) must link with -lieee for linux
94
95(*) if a timer handler routine raises an exception, the interpreter
96dereferences NULL
97
98(*) __getattr__ doesn't clear error
99
100(*) '%s' % a, where a is a class instance, fails
101
102(*) "make test" won't find freshly built dynamically loaded modules --
103should add ./Modules to TESTPATH
104
105(*) lshift calls __rshift__ instead of __rlshift__
106
107(*) memory leak in creation of sys.builtin_module_names
108
109(*) Bugs in instance_dealloc(): (a) memory leak for exception
110type+value; (2) should save+restore traceback as well
111
112(*) modsupport.c(vmkvalue): on systems where va_list is an array, the
113calls to do_mkvalue and do_mktuple don't want an "&" before va.
114
115======================================================================
Guido van Rossum9444ce01994-10-20 22:10:23 +0000116BUGS found in 1.1 and fixed in 1.1.1
117------------------------------------
118
Guido van Rossum5dee5e71994-11-10 23:06:54 +0000119(*) printing name of lambda in traceback dereferences NULL
120
121(*) A built-in function using getargs() and expecting >= 1 argument
122may dump core when called without arguments
123
124(*) newgetargs() dumps core in compat mode when NULL is passed in but
125max is >0
126
Guido van Rossum9444ce01994-10-20 22:10:23 +0000127(*) pow() should be declared varargs since it uses newgetargs
128
Guido van Rossum5dee5e71994-11-10 23:06:54 +0000129(*) newmodule.c doesn't compile on SunOS 4.1.3 due to non-K&R backslashes
130
131(*) some typos in tut.tex
132
133(*) test for broken static forward is not strong enough
134
135(*) Doc/Makefile assumes . is in $PATH in call to whichlibs
136
137(*) math module misses hypot() function
138
139(*) structmember.h should include stddef.h (for offsetof macro)
140
141(*) gdbmmodule.c frees the wrong structures
142
143(*) makesetup script misses some dollars and backslashes
144
145(*) getargs.obj missing from NT makefile
146
147(*) sorting class instances broken if no __cmp__ defined
148
Guido van Rossum5dee5e71994-11-10 23:06:54 +0000149======================================================================
Guido van Rossum9444ce01994-10-20 22:10:23 +0000150BUGS found in 1.0.3 and fixed in 1.1
151------------------------------------
152
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000153(*) 2 specific leaks: 1 PYTHONPATH; 2 reading code from .pyc
154
Guido van Rossum9444ce01994-10-20 22:10:23 +0000155(*) If class C doesn't define __cmp__, cmp(a,b) will return -2 and
156[a,b].sort() will fail
157
Guido van Rossum2b11c611994-10-06 16:36:15 +0000158(*) Syntax errors are reported in a silly way if multi-line tokens are
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000159involved.
160
Guido van Rossum2b11c611994-10-06 16:36:15 +0000161(*) SyntaxError exception for compile('...') are reported wrongly
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000162(lineno is always zero and offset is offset into the whole string).
163
Guido van Rossum2b11c611994-10-06 16:36:15 +0000164(*) freeze script needs major rewrite to cope with multiple extensions
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000165(Jack seems to have fixed it now -- where is it?)
166
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000167(*) unwanted entries in stack trace if err_clear() clears an error
168that also set a stack trace
169
170(*) i, x[i] = a, b assigns b to x[a] rather than to x[i] as expected
171(documented with a warning in ref6.tex!)
172
173(*) etags no longer supports -t flag
174
175(*) compile.c:com_argdefs() references unalloc'ed memory for def
176f(a=1,): ...
177
178(*) If you have a python binary in your path like
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000179/ufs/guido/bin/sgi/python then the default prefix option computed by
180the configure script is bogus!
181
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000182(*) Make rule for making lib*.a should remove the lib*.a file first.
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000183
Guido van Rossum5552eb71994-08-05 15:51:00 +0000184(*) vars() error message is wrong (copied from dir() obviously).
185
186(*) socket.gethostname() is undocumented.
187
188(*) rfc822.py: getfirst* dies when multiple headers occur
189
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000190(*) urllib caching is wrong (should use date from Expires header)
Guido van Rossum5552eb71994-08-05 15:51:00 +0000191
192(*) On a related matter: regexpr.c still has two malloc()s the results
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000193of which are not tested for being NULL (lines 1253 and 1530). There
194are also some in rgbimagemodule.c. Am I overlooking something or is
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000195this a crasher?
Guido van Rossum5552eb71994-08-05 15:51:00 +0000196
197(*) strop.rindex('abc', '') returns 0 instead of 3
198
199(*) sunaudiodevmodule.o is too long!
200
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000201(*) toplevel README needs new text on PC and Mac builds
Guido van Rossum5552eb71994-08-05 15:51:00 +0000202
203(*) long(0x80000000) has wrong value!
204
205======================================================================
206Bugs found in 1.0.2 and not yet fixed
207-------------------------------------
208
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000209(?) compiler warnings about argument type of uname() on ULTRIX
210machines (don't know what to do about it)
Guido van Rossum5552eb71994-08-05 15:51:00 +0000211
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000212(?) syntax error for interactive input prints garbage instead of last
213source line on some systems (e.g. AIX) (impossible to test/reproduce)
214!!! I think I've found this one -- a missing INCREF in print_error!
Guido van Rossum5552eb71994-08-05 15:51:00 +0000215
216(?) (maybe) a bad .pyc file (with old magic number) causes the .py
217file to be ignored
218
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000219(?) Sunos4.0.2 / 386 configure bugs:
Guido van Rossum5552eb71994-08-05 15:51:00 +0000220 - timelocal instead of mktime
221 - unistd.h doesn't declare some functions
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000222(don't know what to do about this)
Guido van Rossum5552eb71994-08-05 15:51:00 +0000223
224Bugs found in 1.0.2 and fixed in 1.0.3
225--------------------------------------
226
227(*) nasty bug in string formatting (see test_types.py, search for %)
228
229(*) if a triple-quoted string ends in a quote followed by a newline
230(followed immediately by the terminating 3 quotes) then a syntax error
231or system error ensues
232
233(*) bug in socket.listen: clipping backlog to >= 1 doesn't work
234
235(*) two bogus XDEL's in Modules/regexmodule.reg_dealloc()
236
237(*) Parser/myreadline.my_fgets: #endif EINTR misplaced
238
239(*) new IP address for ftp.cwi.nl !!!
240
241(*) typing vars() to interactive prompt runs into infinite loop
242because of '_'
243
244(*) tokenizer/tok_nextc() runs into infinite loop when file does not
245end in linefeed
246
247(*) Sunos4.0.2 / 386 configure bugs:
248(*) - use size_t at some places without including sys/types.h
249(*) - missing clock_t
250(*) - uses SEEK_SET in some places that don't include unistd.h
251
252======================================================================
253Bugs found in 1.0.1 and not yet fixed
254-------------------------------------
255
Guido van Rossum5552eb71994-08-05 15:51:00 +0000256(?) threads are slow on Solaris 2
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000257(so what?)
Guido van Rossum5552eb71994-08-05 15:51:00 +0000258
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000259(*) threads cause myreadline.c's readline() to think it sees an EOF.
260(I *think* I've fixed this, by testing for EINTR)
Guido van Rossum5552eb71994-08-05 15:51:00 +0000261
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000262(?) min() on PC version generates wrong result (i.e. same as max())
Guido van Rossum5552eb71994-08-05 15:51:00 +0000263 [this happens on SoftPC -- don't know about other systems]
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000264(can't find the reason -- may be SoftPC bug)
Guido van Rossum5552eb71994-08-05 15:51:00 +0000265
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000266(*) flp.py cache bug: if the cache only contains one form, asking for
267all forms returns only the cached form
Guido van Rossum5552eb71994-08-05 15:51:00 +0000268
269Bugs found in 1.0.1 and fixed in 1.0.2
270--------------------------------------
271
272(*) core dump when parser.parsefile() called
273
274(*) man page contains a mess before -d option
275
276(*) threads don't work on IRIX 4
277
278(*) wrong cast of svideo_getattr in svmodule.c
279
280(*) bad return value in runpython.c's run_tty_1()
281
282(*) creating dict of 100,000 objects gets MemoryError or dumps core
283
284(*) freeze script doesn't work
285
286======================================================================
287BUGS found in 1.0.0 and not yet fixed
288-------------------------------------
289
290(?) On NeXT, need to define _POSIX_SOURCE.
291
292(?) there appears to be something wrong with gcc and -ldl on some
293SunOS 4.1.3 systems
294
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000295(?) jredfords reports core dump with float literals
Guido van Rossum5552eb71994-08-05 15:51:00 +0000296
297BUGS found in 1.0.0 and fixed in 1.0.1
298--------------------------------------
299
300(*) On SGI IRIX 4 using cc, compilation errors in md5module.c.
301
302(*) In cdmodule.c, getattr initialized with (destructor)!
303
304(*) Lib/tzparse.py runs test() on import
305
306(*) Lib/filewin.py belongs in Lib/stdwin
307
308(*) lib and man install targets don't use $(srcdir)
309
310(*) Modules/rgbimgmodule.c: exception name contains comma instead of dot
311
312(*) The FAQ still references misc/EXTENDING and misc/DYNLOAD etc
313
314(*) The FAQ still describes how to work around a problem in 0.9.9 exec()
315
316(*) Lib/aifc.py, returns float rate, should be int
317
318(*) Lib/sunau.py, incorrectly cumputes byte count from frame rate
319
320(*) README should mention possibility of passing OPT=-g to make
321
322(*) dynamic loading on sunos 4.1.3 must call dlopen(..., 1)
323
324(*) use of <varargs.h> vs. <stdarg.h> should depend on
325 HAVE_STDARG_PROTOTYPES, not on HAVE_STDARG_H
326
327(*) Doc/README refers to Misc/FTP which in fact does not exist any more
328
329(*) filter(None, 'abcdefg') dumps core
330
331(*) once you interrupt time.sleep(), there is no interrupt handler!
332
333======================================================================
334end of file