blob: 730fb944c4eec58ef256c675734549230dd932b2 [file] [log] [blame]
Guido van Rossum2cc9b2b1995-03-10 15:09:12 +00001*** See the ChangeLog file for bugs fixed since 1.2 BETA 2 ***
2
Guido van Rossum5552eb71994-08-05 15:51:00 +00003Sorry, this list does not claim completeness. If I fixed a bug
4immediately upon receiving the first complaint I usually did not
Guido van Rossumc561e5d1994-08-23 13:52:46 +00005nother to make an entry in this file, unless it was a serious bug
Guido van Rossum5552eb71994-08-05 15:51:00 +00006(core dump or infinite loop).
7
Guido van Rossumaf5b83e1995-01-04 19:02:35 +00008==> Status indicators: (-) not fixed; (*) fixed; (?) not sure.
Guido van Rossum5552eb71994-08-05 15:51:00 +00009
10======================================================================
Guido van Rossum2cc9b2b1995-03-10 15:09:12 +000011
Guido van Rossum0ddb0281995-01-17 16:46:14 +000012Known BUGS in 1.2 BETA 1, fixed in 1.2 BETA 2
13---------------------------------------------
Guido van Rossum76be6ed1995-01-02 18:33:54 +000014
Guido van Rossum0ddb0281995-01-17 16:46:14 +000015(*) list slice assignment contains reantrancy bug
16
17(*) range() and xrange() break on Alpha's
18
19(*) interactive use of vars() gives barrage of output due to recursive
20inclusion of '_'
21
22(*) configure.in contains bogus name to check for inet library
23
Guido van Rossum2cc9b2b1995-03-10 15:09:12 +000024Known BUGS in 1.1.1 and 1.2 BETA 3
Guido van Rossum0ddb0281995-01-17 16:46:14 +000025----------------------------------
26
Guido van Rossum2cc9b2b1995-03-10 15:09:12 +000027(-) still a memory leak in threads when thread.exit_thread() is used
Guido van Rossum0ddb0281995-01-17 16:46:14 +000028
29Problems in 1.1.1 that are difficult to solve
30---------------------------------------------
Guido van Rossumaf5b83e1995-01-04 19:02:35 +000031
32(-) tkinter seems to leave an exception around sometime which breaks
33unmarshalling code objects [hard to reproduce, have added a trap to
Guido van Rossum79dddcb1995-01-12 12:25:42 +000034marshal.c to catch it]
Guido van Rossumaf5b83e1995-01-04 19:02:35 +000035
36(-) destroying all modules may destroy __builtin__ (or other modules)
37while destructors of other modules may still need it [hard to fix --
38could maintain a list of all modules in order of importation so we can
39destroy them in reverse order??? really hopeless -- would have to
40destroy objects in a module in reverse order too...]
41
Guido van Rossum8a30adc1995-01-09 17:54:07 +000042(-) doneimport() should be called *before* the Py_AtExit code is
43called [problem: what if other threads are still active?]
Guido van Rossumaf5b83e1995-01-04 19:02:35 +000044
Guido van Rossum79dddcb1995-01-12 12:25:42 +000045Known portability problems
46--------------------------
Guido van Rossumaf5b83e1995-01-04 19:02:35 +000047
Guido van Rossum79dddcb1995-01-12 12:25:42 +000048(-) tkinter doesn't seem to see any declaration of malloc on sunos
494.1.3?
Guido van Rossumaf5b83e1995-01-04 19:02:35 +000050
Guido van Rossum76be6ed1995-01-02 18:33:54 +000051(-) arraymodule doesn't compile under Ultrix (FPROTO macro)
52
Guido van Rossum76be6ed1995-01-02 18:33:54 +000053(-) makesetup assumes CCC is the C++ compiler -- not portable
54
55(-) "make depend" assumes mkdep exists -- not portable
56
Guido van Rossum76be6ed1995-01-02 18:33:54 +000057(-) regen calls h2py which isn't defined by default
58
Guido van Rossum76be6ed1995-01-02 18:33:54 +000059(-) HP doesn't compile out of the box (needs LIBS=-ldld or
Guido van Rossum8a30adc1995-01-09 17:54:07 +000060LIBS=/usr/lib/libdld.sl) [hard to test without a HP machine handy]
Guido van Rossum76be6ed1995-01-02 18:33:54 +000061
Guido van Rossum76be6ed1995-01-02 18:33:54 +000062======================================================================
63BUGS present in 1.1.1 and fixed in 1.2
64--------------------------------------
65
Guido van Rossum2cc9b2b1995-03-10 15:09:12 +000066(*) Linux uses GNU getopt by default which is broken
67
68(*) make sharedinstall references to machdep directory but doesn't
69create it
70
71(*) a file with unmatched triple quotes causes a loop in the scanner
72
73(*) [X]DECREF can cause the interpreter to be called recursively (for
74__del__ disciplines) -- so list and dict implementation calls doing
75DECREF can cause recursive calls to methods of the object being
76modified. Other files too.
77
Guido van Rossum79dddcb1995-01-12 12:25:42 +000078(*) if __getattr__ or __repr__ prints something, calling repr(x) from
79cmd line forgets a newline
80
81(*) C-level coerce() doesn't call __coerce__ when it should (and
82similar for __cmp__)
83
Guido van Rossum8a30adc1995-01-09 17:54:07 +000084(*) struct module aligns doubles wrongly when compiled with -DDEBUG on
85sparc
86
Guido van Rossumaf5b83e1995-01-04 19:02:35 +000087(*) memory leak (namebuf) in initmodule2
88
89(*) hash() of float values returns bogus values
90
91(*) pow(int, int, long) does wrong series of DECREF() calls.
92
93(*) flushline() may clear the exception condition so shouldn't be
94called before print_error()
95
96(*) Everything else that uses err_get() should use err_fetch()
97
98(*) sockets aren't thread safe (address of static struct returned,
99some calls aren't thread safe)
100
101(*) threadmodule.c leaks LOTS of memory at thread exit
102
103(*) shared install in Modules still doesn't work for empty list
104
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000105(*) threadmodule.c leaks 'res' in t_bootstrap
106
107(*) errors.c shouldn't declare strerror() on NT
108
109(*) DECREF can cause the interpreter to be called recursively (for
110__del__ disciplines) -- so list and dict implementation calls doing
111DECREF can cause recursive calls to methods of the object being
112modified. Other files too. (Only partially fixed.)
113
114(*) tkinter dereferences NULL if timer callback raises an exception
115
116(*) must link with -lieee for linux
117
118(*) if a timer handler routine raises an exception, the interpreter
119dereferences NULL
120
121(*) __getattr__ doesn't clear error
122
123(*) '%s' % a, where a is a class instance, fails
124
125(*) "make test" won't find freshly built dynamically loaded modules --
126should add ./Modules to TESTPATH
127
128(*) lshift calls __rshift__ instead of __rlshift__
129
130(*) memory leak in creation of sys.builtin_module_names
131
132(*) Bugs in instance_dealloc(): (a) memory leak for exception
133type+value; (2) should save+restore traceback as well
134
135(*) modsupport.c(vmkvalue): on systems where va_list is an array, the
136calls to do_mkvalue and do_mktuple don't want an "&" before va.
137
138======================================================================
Guido van Rossum9444ce01994-10-20 22:10:23 +0000139BUGS found in 1.1 and fixed in 1.1.1
140------------------------------------
141
Guido van Rossum5dee5e71994-11-10 23:06:54 +0000142(*) printing name of lambda in traceback dereferences NULL
143
144(*) A built-in function using getargs() and expecting >= 1 argument
145may dump core when called without arguments
146
147(*) newgetargs() dumps core in compat mode when NULL is passed in but
148max is >0
149
Guido van Rossum9444ce01994-10-20 22:10:23 +0000150(*) pow() should be declared varargs since it uses newgetargs
151
Guido van Rossum5dee5e71994-11-10 23:06:54 +0000152(*) newmodule.c doesn't compile on SunOS 4.1.3 due to non-K&R backslashes
153
154(*) some typos in tut.tex
155
156(*) test for broken static forward is not strong enough
157
158(*) Doc/Makefile assumes . is in $PATH in call to whichlibs
159
160(*) math module misses hypot() function
161
162(*) structmember.h should include stddef.h (for offsetof macro)
163
164(*) gdbmmodule.c frees the wrong structures
165
166(*) makesetup script misses some dollars and backslashes
167
168(*) getargs.obj missing from NT makefile
169
170(*) sorting class instances broken if no __cmp__ defined
171
Guido van Rossum5dee5e71994-11-10 23:06:54 +0000172======================================================================
Guido van Rossum9444ce01994-10-20 22:10:23 +0000173BUGS found in 1.0.3 and fixed in 1.1
174------------------------------------
175
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000176(*) 2 specific leaks: 1 PYTHONPATH; 2 reading code from .pyc
177
Guido van Rossum9444ce01994-10-20 22:10:23 +0000178(*) If class C doesn't define __cmp__, cmp(a,b) will return -2 and
179[a,b].sort() will fail
180
Guido van Rossum2b11c611994-10-06 16:36:15 +0000181(*) Syntax errors are reported in a silly way if multi-line tokens are
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000182involved.
183
Guido van Rossum2b11c611994-10-06 16:36:15 +0000184(*) SyntaxError exception for compile('...') are reported wrongly
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000185(lineno is always zero and offset is offset into the whole string).
186
Guido van Rossum2b11c611994-10-06 16:36:15 +0000187(*) freeze script needs major rewrite to cope with multiple extensions
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000188(Jack seems to have fixed it now -- where is it?)
189
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000190(*) unwanted entries in stack trace if err_clear() clears an error
191that also set a stack trace
192
193(*) i, x[i] = a, b assigns b to x[a] rather than to x[i] as expected
194(documented with a warning in ref6.tex!)
195
196(*) etags no longer supports -t flag
197
198(*) compile.c:com_argdefs() references unalloc'ed memory for def
199f(a=1,): ...
200
201(*) If you have a python binary in your path like
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000202/ufs/guido/bin/sgi/python then the default prefix option computed by
203the configure script is bogus!
204
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000205(*) Make rule for making lib*.a should remove the lib*.a file first.
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000206
Guido van Rossum5552eb71994-08-05 15:51:00 +0000207(*) vars() error message is wrong (copied from dir() obviously).
208
209(*) socket.gethostname() is undocumented.
210
211(*) rfc822.py: getfirst* dies when multiple headers occur
212
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000213(*) urllib caching is wrong (should use date from Expires header)
Guido van Rossum5552eb71994-08-05 15:51:00 +0000214
215(*) On a related matter: regexpr.c still has two malloc()s the results
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000216of which are not tested for being NULL (lines 1253 and 1530). There
217are also some in rgbimagemodule.c. Am I overlooking something or is
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000218this a crasher?
Guido van Rossum5552eb71994-08-05 15:51:00 +0000219
220(*) strop.rindex('abc', '') returns 0 instead of 3
221
222(*) sunaudiodevmodule.o is too long!
223
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000224(*) toplevel README needs new text on PC and Mac builds
Guido van Rossum5552eb71994-08-05 15:51:00 +0000225
226(*) long(0x80000000) has wrong value!
227
228======================================================================
229Bugs found in 1.0.2 and not yet fixed
230-------------------------------------
231
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000232(?) compiler warnings about argument type of uname() on ULTRIX
233machines (don't know what to do about it)
Guido van Rossum5552eb71994-08-05 15:51:00 +0000234
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000235(?) syntax error for interactive input prints garbage instead of last
236source line on some systems (e.g. AIX) (impossible to test/reproduce)
237!!! I think I've found this one -- a missing INCREF in print_error!
Guido van Rossum5552eb71994-08-05 15:51:00 +0000238
239(?) (maybe) a bad .pyc file (with old magic number) causes the .py
240file to be ignored
241
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000242(?) Sunos4.0.2 / 386 configure bugs:
Guido van Rossum5552eb71994-08-05 15:51:00 +0000243 - timelocal instead of mktime
244 - unistd.h doesn't declare some functions
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000245(don't know what to do about this)
Guido van Rossum5552eb71994-08-05 15:51:00 +0000246
247Bugs found in 1.0.2 and fixed in 1.0.3
248--------------------------------------
249
250(*) nasty bug in string formatting (see test_types.py, search for %)
251
252(*) if a triple-quoted string ends in a quote followed by a newline
253(followed immediately by the terminating 3 quotes) then a syntax error
254or system error ensues
255
256(*) bug in socket.listen: clipping backlog to >= 1 doesn't work
257
258(*) two bogus XDEL's in Modules/regexmodule.reg_dealloc()
259
260(*) Parser/myreadline.my_fgets: #endif EINTR misplaced
261
262(*) new IP address for ftp.cwi.nl !!!
263
264(*) typing vars() to interactive prompt runs into infinite loop
265because of '_'
266
267(*) tokenizer/tok_nextc() runs into infinite loop when file does not
268end in linefeed
269
270(*) Sunos4.0.2 / 386 configure bugs:
271(*) - use size_t at some places without including sys/types.h
272(*) - missing clock_t
273(*) - uses SEEK_SET in some places that don't include unistd.h
274
275======================================================================
276Bugs found in 1.0.1 and not yet fixed
277-------------------------------------
278
Guido van Rossum5552eb71994-08-05 15:51:00 +0000279(?) threads are slow on Solaris 2
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000280(so what?)
Guido van Rossum5552eb71994-08-05 15:51:00 +0000281
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000282(*) threads cause myreadline.c's readline() to think it sees an EOF.
283(I *think* I've fixed this, by testing for EINTR)
Guido van Rossum5552eb71994-08-05 15:51:00 +0000284
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000285(?) min() on PC version generates wrong result (i.e. same as max())
Guido van Rossum5552eb71994-08-05 15:51:00 +0000286 [this happens on SoftPC -- don't know about other systems]
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000287(can't find the reason -- may be SoftPC bug)
Guido van Rossum5552eb71994-08-05 15:51:00 +0000288
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000289(*) flp.py cache bug: if the cache only contains one form, asking for
290all forms returns only the cached form
Guido van Rossum5552eb71994-08-05 15:51:00 +0000291
292Bugs found in 1.0.1 and fixed in 1.0.2
293--------------------------------------
294
295(*) core dump when parser.parsefile() called
296
297(*) man page contains a mess before -d option
298
299(*) threads don't work on IRIX 4
300
301(*) wrong cast of svideo_getattr in svmodule.c
302
303(*) bad return value in runpython.c's run_tty_1()
304
305(*) creating dict of 100,000 objects gets MemoryError or dumps core
306
307(*) freeze script doesn't work
308
309======================================================================
310BUGS found in 1.0.0 and not yet fixed
311-------------------------------------
312
313(?) On NeXT, need to define _POSIX_SOURCE.
314
315(?) there appears to be something wrong with gcc and -ldl on some
316SunOS 4.1.3 systems
317
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000318(?) jredfords reports core dump with float literals
Guido van Rossum5552eb71994-08-05 15:51:00 +0000319
320BUGS found in 1.0.0 and fixed in 1.0.1
321--------------------------------------
322
323(*) On SGI IRIX 4 using cc, compilation errors in md5module.c.
324
325(*) In cdmodule.c, getattr initialized with (destructor)!
326
327(*) Lib/tzparse.py runs test() on import
328
329(*) Lib/filewin.py belongs in Lib/stdwin
330
331(*) lib and man install targets don't use $(srcdir)
332
333(*) Modules/rgbimgmodule.c: exception name contains comma instead of dot
334
335(*) The FAQ still references misc/EXTENDING and misc/DYNLOAD etc
336
337(*) The FAQ still describes how to work around a problem in 0.9.9 exec()
338
339(*) Lib/aifc.py, returns float rate, should be int
340
341(*) Lib/sunau.py, incorrectly cumputes byte count from frame rate
342
343(*) README should mention possibility of passing OPT=-g to make
344
345(*) dynamic loading on sunos 4.1.3 must call dlopen(..., 1)
346
347(*) use of <varargs.h> vs. <stdarg.h> should depend on
348 HAVE_STDARG_PROTOTYPES, not on HAVE_STDARG_H
349
350(*) Doc/README refers to Misc/FTP which in fact does not exist any more
351
352(*) filter(None, 'abcdefg') dumps core
353
354(*) once you interrupt time.sleep(), there is no interrupt handler!
355
356======================================================================
357end of file