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

Skip to content

Commit b85ae1a

Browse files
committed
Hopefully the last edits for 1.1
1 parent c370607 commit b85ae1a

3 files changed

Lines changed: 219 additions & 38 deletions

File tree

ChangeLog

Lines changed: 138 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,139 @@
1+
Thu Oct 6 16:40:05 1994 Guido van Rossum <[email protected]>
2+
3+
* Got rid of Modules/imgformat.c (will be distributed with Jack's
4+
img package)
5+
6+
* Doc/*.tex: moved title boilerplate to separate file, added
7+
copyright notice (separate file)
8+
9+
Wed Oct 5 11:13:13 1994 Guido van Rossum <[email protected]>
10+
11+
* Modules/config.c.in: don't include frozen.c when frozen (the new
12+
freeze script compiles it separately)
13+
14+
* Lib/os.py: add dummy import posixpath, for freeze script
15+
16+
* Python/marshal.c (r_object): plugged memory leak in reading of
17+
code objects
18+
19+
* Modules/config.c.in (getpythonpath): always return malloc'ed
20+
memory -- save a static pointer to free next time (prevents leaks)
21+
22+
Thu Sep 29 10:35:28 1994 Guido van Rossum <[email protected]>
23+
24+
* Grammar/Grammar: got rid of history; changed some diagram
25+
commands
26+
27+
* Lib/types.py: cosmetic changes
28+
29+
* Mac/{config.c,macosmodule.c}: new interface to (a few bits of)
30+
the Mac OS
31+
32+
* Modules/xxmodule.c: integrated with xxobject.c by Jack
33+
34+
* Modules/(posix,socket}module.c: more NT changes
35+
36+
* Python/traceback.c: security fix -- check for buffer oveflow
37+
before concatenating sys.path item and module name
38+
39+
* Python/ceval.c, Include/ceval.h: promote MakePendingCalls to
40+
global: Py_MakePendingCalls. Also guard against recursive calls
41+
42+
* Python/pythonmain.c: fatal error if can't alloc mem for -c
43+
string
44+
45+
* Python/pythonrun.c: add string "Python" to fatal error message
46+
47+
Wed Sep 28 16:39:09 1994 Guido van Rossum <[email protected]>
48+
49+
* Objects/longobject.c: change ValueError to OverflowError when
50+
converting to int
51+
52+
* Objects/xxobject.c: changed to use new style (not finished?)
53+
54+
* Objects/stringobject.c: use HAVE_LIMITS instead of __STDC__
55+
56+
* Objects/rangeobject.c: modernized
57+
58+
* Objects/floatobject.c: add overflow check when converting float
59+
to int and implement truncation towards zero using ceil/float
60+
61+
* Parser/intrcheck.c: make 'interrupted' global (forgot for
62+
whom...)
63+
64+
* Include/rename1.h: don't even define Py_FPROTO
65+
66+
* Python/{modsupport.c,getargs.c,Makefile.in},
67+
Include/modsupport.h: moved getargs() to its own file and
68+
re-implemented it entirely to support optional arguments, multiple
69+
arguments without surrounding parentheses
70+
(when called as newgetargs()), and better error messages
71+
72+
* Include/classobject.h, Objects/classobject.c,
73+
Python/{ceval.c,bltinmodule.c}: entirely redone operator
74+
overloading. The rules for class instances are now much more
75+
relaxed than for other built-in types
76+
(whose coerce must still return two objects of the same type)
77+
78+
Sun Sep 18 07:26:39 1994 Guido van Rossum <[email protected]>
79+
80+
* Python/pythonrun.c (print_error): print only last line of
81+
multi-line source line
82+
83+
* Parser/tokenizer.c (tok_nextc): count line numbers when parsing
84+
strings
85+
86+
Fri Sep 16 15:54:56 1994 Guido van Rossum <[email protected]>
87+
88+
* Python/modsupport.c (do_arg): added error message if "O!" fails;
89+
change type of converter for "O&" to function returning int taking
90+
an object* and a void* parameter; it should return 1 for success
91+
or return 0 and set an exception for failure to convert
92+
93+
Wed Sep 14 14:08:44 1994 Guido van Rossum <[email protected]>
94+
95+
* Include/Python.h: new header file for new naming scheme
96+
97+
* various modules: #include "Python.h" and remove most remporary
98+
renaming hacks
99+
100+
* Lib/whrandom.py: if seed is (0,0,0), initialize from current
101+
time; default seed's arguments to (0,0,0)
102+
103+
* Python/ceval.c (eval_code), Include/ceval.h: added registry of
104+
pending functions (to be used by functions that are called
105+
asynchronously, like UNIX signal handlers or Mac I/O completion
106+
routines)
107+
108+
Wed Sep 14 11:05:36 1994 Guido van Rossum ([email protected])
109+
110+
* Doc/libsys.tex (section{Built-in Module \sectcode{sys}}):
111+
documented sys.check_interval
112+
113+
Tue Sep 13 21:35:19 1994 Guido van Rossum ([email protected])
114+
115+
* Import/pythonrun.h, Python/{import,pythonrun}.c,
116+
mac/macsetfiletype.c: changes by Jack to execute .pyc file passed
117+
as command line argument. On the Mac .pyc files are given a
118+
special type so they can be double-clicked
119+
120+
* Modules/stropmodule.c (strop_[r]find): change index range check
121+
-- don't raise ValueError buit silently clip when it's out of
122+
range (this is compatible with slicing)
123+
1124
Mon Sep 12 12:53:07 1994 Guido van Rossum ([email protected])
2125

126+
* Extensions/X11/Xmmodule.c: (Sjoerd): Implemented
127+
Xm.OptionButtonGadget and Xm.OptionLabelGadget
128+
129+
* Modules/Setup.in: define PYTHONPATH using COREPYTHONPATH for
130+
extensions; add -lm to math module definition
131+
132+
* Modules/Makefile.pre.in: remove *.so and so_locations on clobber
133+
134+
* Modules/makesetup: (Sjoerd): treat words beginning with a dollar
135+
and not ending in a well-known extension as linker arguments
136+
3137
* Lib/urlparse.py: URL parser according to the latest Internet
4138
draft
5139

@@ -20,7 +154,7 @@ Sun Sep 11 12:12:28 1994 Guido van Rossum ([email protected])
20154
libraries and to set $(MACHDEP) (machine dependent subdirectory of
21155
Lib)
22156

23-
* Makefile.in: shared library support; added targer sharedinstall
157+
* Makefile.in: shared library support; added target sharedinstall
24158
which move shared libraries into Lib/$(MACHDEP)
25159

26160
* Modules/{Makefile.pre.in,Setup.in,makesetup}: support shared
@@ -144,10 +278,6 @@ Mon Aug 22 10:53:59 1994 Guido van Rossum ([email protected])
144278

145279
* Lib/traceback.py: print SyntaxError correctly
146280

147-
* Lib/stat.py: moved to posixstat.py; added macstat.py which has
148-
the constants for the Mac; and created new stat.py which includes
149-
the right one
150-
151281
* Modules/signalmodule.c: added pause().
152282

153283
* Python/pythonrun.c (print_error): added INCREF/DECREF pair --
@@ -228,7 +358,9 @@ Thu Aug 11 16:41:14 1994 Guido van Rossum ([email protected])
228358
setattr(x, name, value) for class instances. This uses a special
229359
hack whereby the class is supposed to be static: the __getattr__
230360
and __setattr__ methods are looked up only once and saved in the
231-
instance structure for speed
361+
instance structure for speed.
362+
(Later rewritten to also support __delattr__ and to store the
363+
routines in the class instead of in the instance)
232364

233365
Wed Aug 10 13:42:29 1994 Guido van Rossum ([email protected])
234366

README

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,32 @@ Python release 1.1
55

66
==> Python 1.1 contains many improvements over 1.0.3, but is almost
77
backward compatible (though the magic number for .pyc file has
8-
changed). It comes with build instructions for many more non-UNIX
9-
platforms.
8+
changed). It is portable to many more non-UNIX platforms.
109

1110
==> If you don't know yet what Python is: it's an interpreted,
1211
extensible, embeddable, interactive, object-oriented programming
1312
language. For a quick summary of what Python can mean for a
1413
UNIX/C programmer, read Misc/BLURB.LUTZ.
1514

16-
==> If you want to start compiling right away: just type "./configure"
17-
in the current directory and when it finishes, type "make". See
18-
the section Build Instructions below for more details.
15+
==> If you want to start compiling right away (on UNIX): just type
16+
"./configure" in the current directory and when it finishes, type
17+
"make". See the section Build Instructions below for more
18+
details.
1919

2020
==> All documentation is in the subdirectory Doc in the form of LaTeX
2121
files. In order of importance for new users: Tutorial (tut),
2222
Library Reference (lib), Language Reference (ref), Extending
2323
(ext). Note that especially the Library Reference is of immense
2424
value since much of Python's power (including the built-in data
25-
types and functions!) is described there. [XXX The ext document
25+
types and functions!) is described there. [NB The ext document
2626
has not been updated to reflect this release yet.]
2727

2828
==> Python is COPYRIGHTED but free to use for all. See the copyright
29-
notice at the end of this file.
29+
notice at the end of this file. Moreover, the Python distribution
30+
is not affected by the GNU Public Licence (GPL). There is support
31+
for interfaces to some GNU code but this is entirely optional and
32+
no GNU code is distributed with Python. For all these packages,
33+
GPL-free public domain versions also exist.
3034

3135

3236
Build instructions
@@ -142,14 +146,19 @@ you change your mind about the install prefix...
142146
interface: this gives you line editing and command history when
143147
calling python interactively. You need to configure build the GNU
144148
readline library before running the configure script. Its sources are
145-
no longer distributed with Python; you can ftp them from any GNU
146-
mirror site, or from its home site:
149+
not distributed with Python; you can ftp them from any GNU mirror
150+
site, or from its home site:
147151
ftp://slc2.ins.cwru.edu/pub/dist/readline-2.0.tar.gz (or a higher
148-
version number -- using version 1.x is not recommended). Pass the
149-
Python configure script the option --with-readline=DIRECTORY where
150-
DIRECTORY is the absolute pathname of the directory where you've built
151-
the readline library. Some hints on building and using the readline
152-
library:
152+
version number -- using version 1.x is not recommended).
153+
154+
A GPL-free version was posted to comp.sources.misc in volume 31 and is
155+
widely available from FTP archive sites. One URL for it is:
156+
ftp://gatekeeper.dec.com/.b/usenet/comp.sources.misc/volume31/editline/part01.Z
157+
158+
Pass the Python configure script the option --with-readline=DIRECTORY
159+
where DIRECTORY is the absolute pathname of the directory where you've
160+
built the readline library. Some hints on building and using the
161+
readline library:
153162

154163
- On SGI IRIX 5, you may have to add the following
155164
to rldefs.h:

TODO

Lines changed: 58 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
(*) 2 specific leaks: 1 PYTHONPATH; 2 reading code from .pyc
2+
3+
(-) if __getattr__ prints something, calling repr(x) from cmd line
4+
forgets a newline
5+
6+
(-) improve performance of list.append/insert etc. by keeping high/low
7+
watermark instead of realloc'ing each time?
8+
9+
(-) findmethod should cache (also findmember?)
10+
11+
(-) sysget("check_interval") is called before each method call which
12+
breaks dictlookup caching
13+
14+
(*) core dump on import of ridiculously long module name
15+
16+
(-) core dump on repr / print of deeply nested or recursive object
17+
18+
(*) parsing from string should calculate line numbers
19+
20+
(-) whrandom doc needs update
21+
22+
(-) mpz power is still binary insterad of ternary
23+
24+
(*) design interface to call arbitrary asynchronous routines
25+
26+
(*) whrandom.set...(0,0,0) doesn't generate random numbers
27+
28+
(*) Lance's latest curses additions
29+
30+
(-) Jack's new code:
31+
(*) new xxmodule.c
32+
(*) mac has type for .pyc files
33+
(*) should run .pyc files when passed as command line argument
34+
35+
(*) all new all singing all dancing freeze script
36+
37+
(*) make clean should remove *.so and not Makefile.pre
38+
39+
(-) fix signalmodule.c to re-establish SIGC[H]LD handler
40+
141
(-) try out Kees Blom's railroad diagram generator
242

343
(-) redesign error handling (cf. Donald's mail)
@@ -146,16 +186,16 @@ instance -- also have separate __delattr__
146186

147187
(*) Jaap's freeze script
148188

149-
Incorporate with contrib status:
150-
- additions to glmodule by rg3h
151-
(*) Jaap's posixfile module (with locking)
152-
(*) pthreads interface
189+
(-) Incorporate with contrib status:
190+
- additions to glmodule by rg3h
191+
(*) Jaap's posixfile module (with locking)
192+
(*) pthreads interface
153193

154-
Later:
155-
- put the offending object in IOError and posix.error
156-
- make module marshal work with user-defined file-like objects
157-
- built-in help?
158-
- hierarchical module names?
194+
(-) Later:
195+
- put the offending object in IOError and posix.error
196+
- make module marshal work with user-defined file-like objects
197+
- built-in help?
198+
- hierarchical module names?
159199

160200
Big plans:
161201

@@ -205,31 +245,31 @@ persistency
205245

206246
new Dbhash.py, dbhash library
207247

208-
reraise; or raise 3rd param for traceback?
209-
-or- except type, value, tbackobjec
248+
(-) reraise; or raise 3rd param for traceback?
249+
-or- except type, value, tbackobjec
210250

211-
redesign exceptions from scratch?
251+
(-) redesign exceptions from scratch?
212252

213-
dbm objects miss items(), values() methods
253+
(-) dbm objects miss items(), values() methods
214254

215255
(*) jar's new profile
216256

217-
answer q about coerce()
257+
(-) answer q about coerce()
218258

219259
(*) reconsider pass [expression] ??? -or- don't print non-interactive
220260
exprs -or- option to suppress printing non-None expressions
221261

222262
(*) should be able to hash code objs (add fns to convert between lists/tuples)
223263

224-
describe() ?
264+
(-) describe() ?
225265

226-
distribute demo2 with Holmes
266+
(-) distribute demo2 with Holmes
227267

228268
(*) re-reply on try-continue
229269

230-
classes are too slow
270+
(-) classes are too slow
231271

232-
add += etc. ?
272+
(-) add += etc. ?
233273

234274
optimize tuple = tuple
235275

0 commit comments

Comments
 (0)