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

Skip to content

Commit 5dee5e7

Browse files
committed
bugfix release
1 parent 635649f commit 5dee5e7

5 files changed

Lines changed: 101 additions & 50 deletions

File tree

BUGS

Lines changed: 36 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,54 @@ nother to make an entry in this file, unless it was a serious bug
99
BUGS found in 1.1 and fixed in 1.1.1
1010
------------------------------------
1111

12+
(*) printing name of lambda in traceback dereferences NULL
13+
14+
(*) A built-in function using getargs() and expecting >= 1 argument
15+
may dump core when called without arguments
16+
17+
(*) newgetargs() dumps core in compat mode when NULL is passed in but
18+
max is >0
19+
1220
(*) pow() should be declared varargs since it uses newgetargs
1321

14-
BUGS found in 1.1 and not yet fixed
15-
-----------------------------------
22+
(*) newmodule.c doesn't compile on SunOS 4.1.3 due to non-K&R backslashes
1623

17-
(-) A built-in function using getargs() and expecting >= 1 argument
18-
may dump core when called without arguments
24+
(*) some typos in tut.tex
1925

20-
BUGS found in 1.0.3 and fixed in 1.1
21-
------------------------------------
26+
(*) test for broken static forward is not strong enough
2227

28+
(*) Doc/Makefile assumes . is in $PATH in call to whichlibs
2329

24-
(*) If class C doesn't define __cmp__, cmp(a,b) will return -2 and
25-
[a,b].sort() will fail
30+
(*) math module misses hypot() function
2631

27-
BUGS found in 1.0.3 and not yet fixed
28-
-------------------------------------
32+
(*) structmember.h should include stddef.h (for offsetof macro)
33+
34+
(*) gdbmmodule.c frees the wrong structures
2935

30-
(-) print_error raises and then masks an error if softspace is not
31-
defined (can't reproduce this one?)
36+
(*) makesetup script misses some dollars and backslashes
3237

38+
(*) getargs.obj missing from NT makefile
39+
40+
(*) sorting class instances broken if no __cmp__ defined
41+
42+
BUGS found in 1.1 and not yet fixed
43+
-----------------------------------
44+
45+
(-) HP doesn't compile out of the box (needs LIBS=-ldld or
46+
LIBS=/usr/lib/libdld.sl)
47+
48+
(-) something fishy with softspace and print_error (flushline clears
49+
the error)
50+
51+
(-) tkinter doesn't seem to see any declaration of malloc on sunos 4.1.3
52+
53+
======================================================================
3354
BUGS found in 1.0.3 and fixed in 1.1
3455
------------------------------------
3556

57+
(*) If class C doesn't define __cmp__, cmp(a,b) will return -2 and
58+
[a,b].sort() will fail
59+
3660
(*) Syntax errors are reported in a silly way if multi-line tokens are
3761
involved.
3862

ChangeLog

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
2+
===================================
3+
==> Release 1.1.1 (10 Nov 1994) <==
4+
===================================
5+
6+
Thu Nov 10 13:09:26 1994 Guido van Rossum <guido@tesla>
7+
8+
* Objects/classobject.c (instance_compare): don't ever raise an
9+
exception or return -2
10+
11+
* Python/compile.c: stick "<lambda>" in function name instead of
12+
NULL or None
13+
14+
* Doc/tut.tex: corrected a few typos
15+
16+
* Modules/tkintermodule.c: added timer and file handler interfaces
17+
and made mainloop/quit global functions (as well still being tk
18+
methods)
19+
20+
* Modules/newmodule.c: made it compile on SunOS4.1.3 (there were
21+
continuation backslashes on non-cpp lines :-)
22+
23+
* Modules/gdbmmodule.c: fix some bugs (freed the wrong objects)
24+
25+
* Modules/Setup.in: clarified some things a little in the comments
26+
27+
* Modules/Makefile.pre.in (sharedinstall): don't fail if there
28+
aren't any shared modules
29+
30+
* Include/structmember.h: include stddef.h (for offsetof)
31+
32+
* Include/rename1.h: added PyArg_ParseTuple for newgetargs
33+
34+
* Python/bltinmodule.c: fix core dump in pow() (should be declared
35+
varargs in methodlist array)
36+
37+
* Python/ceval.c: replace abort() calls with fatal() calls
38+
39+
* Python/errors.c (err_setval): call err_clear() to clear existing
40+
error instead of calling XDECREF
41+
42+
* Python/getargs.c: fix core dump when old style call expecting
43+
some arguments receives none
44+
45+
* Lib/test/{test_b[12].py,testall.out}: added more tests (now all
46+
built-ins are covered again)
47+
148
Thu Oct 20 08:31:02 1994 Guido van Rossum <guido@tesla>
249

350
* Modules/makesetup: should use $cc not cc

README

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
Python release 1.1
2-
==================
1+
Python release 1.1.1
2+
====================
33

4-
==> This is Python version 1.1.
4+
==> This is Python version 1.1.1.
55

6-
==> Python 1.1 contains many improvements over 1.0.3, but is almost
7-
backward compatible (though the magic number for .pyc file has
8-
changed). It is portable to many more non-UNIX platforms.
6+
==> Python 1.1.1 is a pure bugfix release. It fixes two core dumps
7+
related to the changed implementation of (new)getargs, some
8+
portability bugs, and some very minor things here and there. If
9+
you have 1.1, you only need to install 1.1 if bugs in it are
10+
bugging you.
911

1012
==> If you don't know yet what Python is: it's an interpreted,
1113
extensible, embeddable, interactive, object-oriented programming

TODO

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,3 @@
1-
(*) newgetargs() dumps core in compat mode when NULL is passed in but
2-
max is >0
3-
4-
(-) stack frame correspondence problem (Jim Roskind)
5-
6-
(-) invent new style (rename1.h) name for newgetargs
7-
8-
(-) make lots of places use newgetargs
9-
10-
(-) no tp_str member in typeobject
11-
12-
(-) getargs has small bugs (e.g. strange error msgs)
13-
14-
(-) sorting class instances broken if no __com__ defined
15-
16-
(-) readline 2.0 on sequent has ^C problem (works only first time)
17-
18-
(-) add explanatory comments to Setup (especially about SGI modules
19-
like 'cd')
20-
21-
(-) Q3 ftp mail archive
22-
23-
(-) need to add truncate() and ftruncate() to posixmodule.c (Windows:
24-
chsize(fd, size)
25-
26-
======================================================================
27-
Release 1.1 (11 Oct 1994)
28-
======================================================================
29-
301
(*) 2 specific leaks: 1 PYTHONPATH; 2 reading code from .pyc
312

323
(-) if __getattr__ prints something, calling repr(x) from cmd line

configure.in

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ then
123123
fi
124124

125125
# checks for libraries
126-
AC_HAVE_LIBRARY(dl)
126+
AC_HAVE_LIBRARY(dl) # Dynamic linking for SunOS/Solaris (and SYSV?)
127+
AC_HAVE_LIBRARY(dld) # Dynamic linking for HP-UX
127128

128129
AC_CHECKING(for --with-svr4)
129130
AC_WITH(svr4, [
@@ -239,9 +240,15 @@ AC_CHECKING(for bad static forward)
239240
AC_TEST_PROGRAM([
240241
struct s { int a; int b; };
241242
static struct s foo;
242-
int foobar() { return !foo.a; }
243+
int foobar() {
244+
static int random;
245+
random = (int) &foo;
246+
return random;
247+
}
243248
static struct s foo = { 1, 2 };
244-
main() { exit(foobar()); }
249+
main() {
250+
exit(!((int)&foo == foobar()));
251+
}
245252
], , AC_DEFINE(BAD_STATIC_FORWARD))
246253

247254
# checks for system services

0 commit comments

Comments
 (0)