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

Skip to content

Commit 5552eb7

Browse files
committed
* BUGS: new file (merger of unofficial BUGS1.0.x files)
* Makefile.in (TAGS): Call etags w/o -t option
1 parent c65a525 commit 5552eb7

4 files changed

Lines changed: 194 additions & 3 deletions

File tree

BUGS

Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
Sorry, this list does not claim completeness. If I fixed a bug
2+
immediately upon receiving the first complaint I usually did not
3+
nother to make an ehtry in this file, unless it was a serious bug
4+
(core dump or infinite loop).
5+
6+
==> Status indicators: (-) not fixed; (?) fix proposed but not
7+
confirmed; (*) fixed.
8+
9+
======================================================================
10+
BUGS found in 1.0.3
11+
-------------------
12+
13+
(*) vars() error message is wrong (copied from dir() obviously).
14+
15+
(*) socket.gethostname() is undocumented.
16+
17+
(*) rfc822.py: getfirst* dies when multiple headers occur
18+
19+
(-) urllib caching is wrong (should use date from Expires header)
20+
21+
(*) On a related matter: regexpr.c still has two malloc()s the results
22+
of which are not tested for being NULL (lines 1253 and 1530). There
23+
are also some in rgbimagemodule.c. Am I overlooking something or is
24+
this a crasher?
25+
26+
(*) strop.rindex('abc', '') returns 0 instead of 3
27+
28+
(*) sunaudiodevmodule.o is too long!
29+
30+
(-) need newer DOS binary (16 bit version doesn't do default args)
31+
32+
(-) toplevel README needs new text on PC and Mac builds
33+
34+
(*) long(0x80000000) has wrong value!
35+
36+
======================================================================
37+
Bugs found in 1.0.2 and not yet fixed
38+
-------------------------------------
39+
40+
(-) compiler warnings about argument type of uname() on ULTRIX
41+
machines
42+
43+
(-) syntax error for interactive input prints garbage instead of last
44+
source line on some systems (e.g. AIX)
45+
46+
(?) (maybe) a bad .pyc file (with old magic number) causes the .py
47+
file to be ignored
48+
49+
(-) Sunos4.0.2 / 386 configure bugs:
50+
- timelocal instead of mktime
51+
- unistd.h doesn't declare some functions
52+
53+
Bugs found in 1.0.2 and fixed in 1.0.3
54+
--------------------------------------
55+
56+
(*) nasty bug in string formatting (see test_types.py, search for %)
57+
58+
(*) if a triple-quoted string ends in a quote followed by a newline
59+
(followed immediately by the terminating 3 quotes) then a syntax error
60+
or system error ensues
61+
62+
(*) bug in socket.listen: clipping backlog to >= 1 doesn't work
63+
64+
(*) two bogus XDEL's in Modules/regexmodule.reg_dealloc()
65+
66+
(*) Parser/myreadline.my_fgets: #endif EINTR misplaced
67+
68+
(*) new IP address for ftp.cwi.nl !!!
69+
70+
(*) typing vars() to interactive prompt runs into infinite loop
71+
because of '_'
72+
73+
(*) tokenizer/tok_nextc() runs into infinite loop when file does not
74+
end in linefeed
75+
76+
(*) Sunos4.0.2 / 386 configure bugs:
77+
(*) - use size_t at some places without including sys/types.h
78+
(*) - missing clock_t
79+
(*) - uses SEEK_SET in some places that don't include unistd.h
80+
81+
======================================================================
82+
Bugs found in 1.0.1 and not yet fixed
83+
-------------------------------------
84+
85+
(-) modsupport.c(vmkvalue): on systems where va_list is an array, the
86+
calls to do_mkvalue and do_mktuple don't want an "&" before va.
87+
88+
(?) threads are slow on Solaris 2
89+
90+
(?) threads cause myreadline.c's readline() to think it sees an EOF.
91+
92+
(-) min() on PC version generates wrong result (i.e. same as max())
93+
[this happens on SoftPC -- don't know about other systems]
94+
95+
(-) flp.py cache bug: if the cache only contains one form, asking for
96+
all forms returns only the cashed form
97+
98+
Bugs found in 1.0.1 and fixed in 1.0.2
99+
--------------------------------------
100+
101+
(*) core dump when parser.parsefile() called
102+
103+
(*) man page contains a mess before -d option
104+
105+
(*) threads don't work on IRIX 4
106+
107+
(*) wrong cast of svideo_getattr in svmodule.c
108+
109+
(*) bad return value in runpython.c's run_tty_1()
110+
111+
(*) creating dict of 100,000 objects gets MemoryError or dumps core
112+
113+
(*) freeze script doesn't work
114+
115+
======================================================================
116+
BUGS found in 1.0.0 and not yet fixed
117+
-------------------------------------
118+
119+
(?) On NeXT, need to define _POSIX_SOURCE.
120+
121+
(?) there appears to be something wrong with gcc and -ldl on some
122+
SunOS 4.1.3 systems
123+
124+
(-) jredfords reports core dump with float literals
125+
126+
BUGS found in 1.0.0 and fixed in 1.0.1
127+
--------------------------------------
128+
129+
(*) On SGI IRIX 4 using cc, compilation errors in md5module.c.
130+
131+
(*) In cdmodule.c, getattr initialized with (destructor)!
132+
133+
(*) Lib/tzparse.py runs test() on import
134+
135+
(*) Lib/filewin.py belongs in Lib/stdwin
136+
137+
(*) lib and man install targets don't use $(srcdir)
138+
139+
(*) Modules/rgbimgmodule.c: exception name contains comma instead of dot
140+
141+
(*) The FAQ still references misc/EXTENDING and misc/DYNLOAD etc
142+
143+
(*) The FAQ still describes how to work around a problem in 0.9.9 exec()
144+
145+
(*) Lib/aifc.py, returns float rate, should be int
146+
147+
(*) Lib/sunau.py, incorrectly cumputes byte count from frame rate
148+
149+
(*) README should mention possibility of passing OPT=-g to make
150+
151+
(*) dynamic loading on sunos 4.1.3 must call dlopen(..., 1)
152+
153+
(*) use of <varargs.h> vs. <stdarg.h> should depend on
154+
HAVE_STDARG_PROTOTYPES, not on HAVE_STDARG_H
155+
156+
(*) Doc/README refers to Misc/FTP which in fact does not exist any more
157+
158+
(*) filter(None, 'abcdefg') dumps core
159+
160+
(*) once you interrupt time.sleep(), there is no interrupt handler!
161+
162+
======================================================================
163+
end of file

ChangeLog

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
1+
Fri Aug 5 11:43:16 1994 Guido van Rossum ([email protected])
2+
3+
* BUGS: new file (merger of unofficial BUGS1.0.x files)
4+
5+
* Modules/{Setup.in,Makefile.pre.in}: renamed some modules to
6+
shorter names (dropped the "module" from the name): sunaudiodev,
7+
imgformat, audioop, imageop, imgfile
8+
9+
* Python/import.c: support *.o/*.so as alternative for
10+
*module.o/*module.so
11+
12+
* Modules/stropmodule.c (strop_rindex): make rindex('abc', '') do
13+
the right thing (i.e. return 3 instead of 0)
14+
15+
* Python/bltinmodule.c (builtin_vars): correct typo in error msg
16+
17+
* Doc/libsocket.tex (subsection{Socket Object Methods}):
18+
documented gethostname() and a few misc things
19+
20+
* Modules/socketmodule.c: disabled allowbroadcast() socket method
21+
122
Mon Aug 1 01:28:29 1994 Guido van Rossum ([email protected])
223

24+
* Makefile.in (TAGS): Call etags w/o -t option
25+
26+
* Lib/rfc822.py: fix two bugs
27+
328
* Lib/test/test_types.py (6.4.1): test for particular bug in
429
integer multiply
530

Makefile.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ tags::
171171

172172
# Create a tags file for GNU Emacs
173173
TAGS::
174-
etags -t Include/*.h
175-
for i in $(SUBDIRS); do etags -t -a $$i/*.[ch]; done
174+
etags Include/*.h
175+
for i in $(SUBDIRS); do etags -a $$i/*.[ch]; done
176176

177177
# Add dependencies to sub-Makefiles
178178
depend:
@@ -253,4 +253,4 @@ find:
253253
# Build a distribution tar file (run make distclean first)
254254
# (This leaves the RCS and CVS directories in :-( )
255255
tar:
256-
tar cf - $(DIST) | compress >dist.tar.Z
256+
tar cf - $(DIST) | gzip --best >dist.tar.gz

TODO

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
(-) write a script and add a "Make" rule (perhaps) that changes
2+
#!/usr/local/bin/python to something else in all scripts around.
3+
14
(*) int*int overflow check shouldn't doubles on alpha (cf. John Tromp's mail)
25

36
(*) add signal.alarm()

0 commit comments

Comments
 (0)