blob: 949ffe2aaf7a16ffda5779c715a739aa36258a89 [file] [log] [blame]
Guido van Rossum5dee5e71994-11-10 23:06:54 +00001
2===================================
3==> Release 1.1.1 (10 Nov 1994) <==
4===================================
5
6Thu 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
Guido van Rossum9444ce01994-10-20 22:10:23 +000048Thu Oct 20 08:31:02 1994 Guido van Rossum <guido@tesla>
49
50 * Modules/makesetup: should use $cc not cc
51
52 * configure.in, configure, config.h.in: test for presence of
53 stddef.h
54
55 * Include/structmember.h: include <stddef.h> if it exists
56
57Wed Oct 19 11:45:35 1994 Guido Van Rossum <guido@tesla>
58
59 * Makefile.in: patch by Wolf-D. Ihlenfeld to use BINDIR etc
60
61 * Lib/tkinter/Tkinter.py: added option_{add,clear,get,readfile} to
62 Misc class
63
64 * Lib/poly.py: fix bug in minus()
65
66 * Modules/Setup.in: clarified optional SGI modules and improved
67 template for using *noconfig*
68
69 * Doc/Makefile: don't assum '.' is in $PATH
70
71 * Modules/mathmodule.c, Doc/libmath.tex: add hypot()
72
73 * Makefile.in: on libinstall, automatically run sharedinstall in
74 Modules
75
76 * Modules/Makefile.pre.in: always make sharedmods
77
78 * Modules/makesetup: quote $ in two places
79
80 * configure.in, acconfig.h.in, config.h.in, configure,
81 Modules/posixmodule.c: separate arg requirements for getpgrp() and
82 setpgrp()
83
84 * Nt/Python/makefile.nt.mak: added getargs()
85
86Thu Oct 13 07:51:03 1994 Guido van Rossum <guido@voorn.cwi.nl>
87
88 * README: removed misleading comment about example Setup.* files
89
Guido van Rossum1146c871994-10-10 18:05:40 +000090=================================
91==> Release 1.1 (11 Oct 1994) <==
92=================================
93
Guido van Rossum7647b821994-10-11 15:44:53 +000094Tue Oct 11 16:24:42 1994 Guido van Rossum <guido@voorn.cwi.nl>
95
96 * last-minute changes for SunOS 4.1.3: test for volatile in
97 configure; add getargs.o dependency to Modules/Makefile.in; some
98 things in README and Misc/NEWS; change pathnames in
99 Demo/tkinter/guido/*.py; new date in Doc
100
Guido van Rossum1146c871994-10-10 18:05:40 +0000101Mon Oct 10 19:00:34 1994 Guido van Rossum <guido@voorn.cwi.nl>
102
103 * Makefile.in: apply ranlib to installed libraries
104
105 * Modules/socketmodule.c: new style
106
107 * Doc/ref3.tex: some stuff about __getattr__ etc.
108
Guido van Rossumb85ae1a1994-10-06 16:15:09 +0000109Thu Oct 6 16:40:05 1994 Guido van Rossum <guido@voorn.cwi.nl>
110
111 * Got rid of Modules/imgformat.c (will be distributed with Jack's
112 img package)
113
114 * Doc/*.tex: moved title boilerplate to separate file, added
115 copyright notice (separate file)
116
117Wed Oct 5 11:13:13 1994 Guido van Rossum <guido@voorn.cwi.nl>
118
119 * Modules/config.c.in: don't include frozen.c when frozen (the new
120 freeze script compiles it separately)
121
122 * Lib/os.py: add dummy import posixpath, for freeze script
123
124 * Python/marshal.c (r_object): plugged memory leak in reading of
125 code objects
126
127 * Modules/config.c.in (getpythonpath): always return malloc'ed
128 memory -- save a static pointer to free next time (prevents leaks)
129
130Thu Sep 29 10:35:28 1994 Guido van Rossum <guido@voorn.cwi.nl>
131
132 * Grammar/Grammar: got rid of history; changed some diagram
133 commands
134
135 * Lib/types.py: cosmetic changes
136
137 * Mac/{config.c,macosmodule.c}: new interface to (a few bits of)
138 the Mac OS
139
140 * Modules/xxmodule.c: integrated with xxobject.c by Jack
141
142 * Modules/(posix,socket}module.c: more NT changes
143
144 * Python/traceback.c: security fix -- check for buffer oveflow
145 before concatenating sys.path item and module name
146
147 * Python/ceval.c, Include/ceval.h: promote MakePendingCalls to
148 global: Py_MakePendingCalls. Also guard against recursive calls
149
150 * Python/pythonmain.c: fatal error if can't alloc mem for -c
151 string
152
153 * Python/pythonrun.c: add string "Python" to fatal error message
154
155Wed Sep 28 16:39:09 1994 Guido van Rossum <guido@voorn.cwi.nl>
156
157 * Objects/longobject.c: change ValueError to OverflowError when
158 converting to int
159
160 * Objects/xxobject.c: changed to use new style (not finished?)
161
162 * Objects/stringobject.c: use HAVE_LIMITS instead of __STDC__
163
164 * Objects/rangeobject.c: modernized
165
166 * Objects/floatobject.c: add overflow check when converting float
167 to int and implement truncation towards zero using ceil/float
168
169 * Parser/intrcheck.c: make 'interrupted' global (forgot for
170 whom...)
171
172 * Include/rename1.h: don't even define Py_FPROTO
173
174 * Python/{modsupport.c,getargs.c,Makefile.in},
175 Include/modsupport.h: moved getargs() to its own file and
176 re-implemented it entirely to support optional arguments, multiple
177 arguments without surrounding parentheses
178 (when called as newgetargs()), and better error messages
179
180 * Include/classobject.h, Objects/classobject.c,
181 Python/{ceval.c,bltinmodule.c}: entirely redone operator
182 overloading. The rules for class instances are now much more
183 relaxed than for other built-in types
184 (whose coerce must still return two objects of the same type)
185
186Sun Sep 18 07:26:39 1994 Guido van Rossum <guido@cayenne.cwi.nl>
187
188 * Python/pythonrun.c (print_error): print only last line of
189 multi-line source line
190
191 * Parser/tokenizer.c (tok_nextc): count line numbers when parsing
192 strings
193
194Fri Sep 16 15:54:56 1994 Guido van Rossum <guido@voorn.cwi.nl>
195
196 * Python/modsupport.c (do_arg): added error message if "O!" fails;
197 change type of converter for "O&" to function returning int taking
198 an object* and a void* parameter; it should return 1 for success
199 or return 0 and set an exception for failure to convert
200
201Wed Sep 14 14:08:44 1994 Guido van Rossum <guido@voorn.cwi.nl>
202
203 * Include/Python.h: new header file for new naming scheme
204
205 * various modules: #include "Python.h" and remove most remporary
206 renaming hacks
207
208 * Lib/whrandom.py: if seed is (0,0,0), initialize from current
209 time; default seed's arguments to (0,0,0)
210
211 * Python/ceval.c (eval_code), Include/ceval.h: added registry of
212 pending functions (to be used by functions that are called
213 asynchronously, like UNIX signal handlers or Mac I/O completion
214 routines)
215
216Wed Sep 14 11:05:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
217
218 * Doc/libsys.tex (section{Built-in Module \sectcode{sys}}):
219 documented sys.check_interval
220
221Tue Sep 13 21:35:19 1994 Guido van Rossum (guido@voorn.cwi.nl)
222
223 * Import/pythonrun.h, Python/{import,pythonrun}.c,
224 mac/macsetfiletype.c: changes by Jack to execute .pyc file passed
225 as command line argument. On the Mac .pyc files are given a
226 special type so they can be double-clicked
227
228 * Modules/stropmodule.c (strop_[r]find): change index range check
229 -- don't raise ValueError buit silently clip when it's out of
230 range (this is compatible with slicing)
231
Guido van Rossum0a516c91994-09-12 10:58:40 +0000232Mon Sep 12 12:53:07 1994 Guido van Rossum (guido@voorn.cwi.nl)
233
Guido van Rossumb85ae1a1994-10-06 16:15:09 +0000234 * Extensions/X11/Xmmodule.c: (Sjoerd): Implemented
235 Xm.OptionButtonGadget and Xm.OptionLabelGadget
236
237 * Modules/Setup.in: define PYTHONPATH using COREPYTHONPATH for
238 extensions; add -lm to math module definition
239
240 * Modules/Makefile.pre.in: remove *.so and so_locations on clobber
241
242 * Modules/makesetup: (Sjoerd): treat words beginning with a dollar
243 and not ending in a well-known extension as linker arguments
244
Guido van Rossum0a516c91994-09-12 10:58:40 +0000245 * Lib/urlparse.py: URL parser according to the latest Internet
246 draft
247
248 * README: added note about HP-UX
249
250Sun Sep 11 12:12:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
251
252 * Misc/indent.pro: Steen's approximation of my C style as a GNU
253 indent profile
254
255 * Modules/{Setup.in,termios.c}: add Steen's termios; also
256 Lib/[pt]ty.py, Demo/scripts/script.py, Lib/irix5/TERMIOS.py
257
258 * Demo/scripts/h2py.py: merged in Steen Lumholt's changes to
259 handle #include. Now also handles one-argument macros.
260
261 * configure.in: use uname to decide how to create / link shared
262 libraries and to set $(MACHDEP) (machine dependent subdirectory of
263 Lib)
264
Guido van Rossumb85ae1a1994-10-06 16:15:09 +0000265 * Makefile.in: shared library support; added target sharedinstall
Guido van Rossum0a516c91994-09-12 10:58:40 +0000266 which move shared libraries into Lib/$(MACHDEP)
267
268 * Modules/{Makefile.pre.in,Setup.in,makesetup}: support shared
269 libraries. Had to re-engineer rule production in makesetup
270 because sed was dumping core on the script fed to it -- now the
271 rules are always appended to the end of the Makefile.
272
273Fri Sep 9 11:35:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
274
275 * Lib/uu.py: new module, does uuencode/uudecode (thanks to Lance)
276
277 * Grammar/Grammar: fewer #diagram:break hacks needed; removed
278 history from file
279
280Thu Sep 8 10:24:41 1994 Guido van Rossum (guido@voorn.cwi.nl)
281
282 * Parser/grammar1.c (finddfa): massive speed up by using direct
283 addressing instead of searching
284
285Wed Sep 7 08:49:37 1994 Guido van Rossum (guido@voorn.cwi.nl)
286
287 * Include/rename1.h: added PyArg_GetInt
288
289 * pythonrun.h: added Py_AtExit
290
291 * Doc/libsocket.tex, Modules/socketmodule.c: added Tommy
292 Burnette's setblocking() method
293
294 * Modules/signalmodule.c: adapted to new module style (Lance);
295 added {BGN,END}_SAVE around pause() call
296
297 * Objects/object.c (DELREF): must zap type pointer *before*
298 calling free() (or other destructor)
299
300Sat Sep 3 14:12:38 1994 Guido van Rossum (guido@voorn.cwi.nl)
301
302 * Modules/{Setup.in,tkintermodule.c,tkappinit.c}: moved tkinter
303 into the main Modules directory, and its Lib and Demo
304 subdirectories into the main Lib and Demo directories. Moved
305 definition of STDWIN component and TK component of PYTHONPATH to
306 their respective sections so it's easier to remember to enable
307 them.
308
309 * Python/pythonrun.c (cleanup), Include/pythonrun.h: added
310 Py_AtExit() -- register cleanup functions for C modules
311
Guido van Rossum7522f031994-08-30 12:42:01 +0000312Tue Aug 30 10:53:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
313
314 * Python/getmtime.c: Remove mac specifics (Mac subdirectory has
315 its own version now)
316
317 * Modules/Setup.in: uses .c instead of .o now; added curses
318
319 * Modules/{rotormodule,syslogmodule}.c: new naming conventions
320
321 * Modules/cursesmodule.c: new, interface to curses
322
323 * Modules/makesetup: bugfix: add objects from sources to OBJS
324
325 * Modules/cursesmodule.c: new contribution from Lance
326
327 * Python/bltinmodule.c (builtin_tuple): use pre-existing
328 listtuple(v) for lists
329
330Mon Aug 29 15:41:02 1994 Guido van Rossum (guido@voorn.cwi.nl)
331
332 * Various places: merged THINK C 6.0 and MPW 3.2 mods: Python 1.1
333 should build flawlessly on the Mac using either compiler
334
335Fri Aug 26 10:18:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
336
337 * Doc/tut.tex (subsection{Lambda Forms}): fix typo in lambda
338 example
339
340Thu Aug 25 12:30:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
341
342 * Lib/importall.py: obsolete.
343
344 * Lib/{compileall,py_compile}.py: new modules for compiling .py
345 files.
346
347 * Modules/timemodule.c (floattime), Objects/longobject.c
348 (dgetlongvalue): add (double) casts for the benefit of the SCO C
349 compiler
350
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000351Tue Aug 23 00:52:32 1994 Guido van Rossum (guido@voorn.cwi.nl)
352
353 * Modules/Setup.*: removed all except Setup.in (huh? I thought
354 I'd done that already?!); disable gdbm by default
355
356 * Modules/makesetup: support C++ files now; these should be given
357 as file.C or file.cc or file.c++; C files can be given as file.c
358 (instead of file.o, which is still supported)
359
360 * configure.in, */Makefile*.in: OPT can now be specified in the
361 env at configure time and will then be put in all Makefiles as
362 default
363
364 * Modules/config.c.in: change mac specific things
365
366 * Python/import.c: add lost NT-specific code back in
367
368 * Parser/tokenizer.c: backup over illegal newline in string
369 literal (for "completeness" test)
370
371 * Include/node.h: make some fields short to save space during
372 parsing
373
374 * Modules/posixmodule.c: some more NT changes
375
376 * Doc/libtime.tex: get rid of references to millitime() and
377 millisleep(); document clock()
378
379Mon Aug 22 10:53:59 1994 Guido van Rossum (guido@voorn.cwi.nl)
380
381 * Lib/linecache.py: don't crash on empty filename
382
383 * Lib/macpath.py: don't return trailing colon for dirname()
384 (XXX won't do for volume names -- but otherwise glob(':*:*.py')
385 loops forever)
386
387 * Lib/traceback.py: print SyntaxError correctly
388
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000389 * Modules/signalmodule.c: added pause().
390
391 * Python/pythonrun.c (print_error): added INCREF/DECREF pair --
392 the exception returned by a syntax error (when reported) would
393 contain an object with refcnt zero!
394
395Fri Aug 19 15:35:44 1994 Guido van Rossum (guido@voorn.cwi.nl)
396
397 * */Makefile*.in: remove lib*.a before adding to it
398
399 * Lib/urllib.py: fix caching bug (by disabling the cache)
400
401 * Lib/sgi/flp.py: fix caching bug (always write the whole file to
402 the cache!)
403
404 * Doc/ref6.tex (section{Assignment statements}): added warning
405 about overlaps in lhs of assignment (e.g. "i, x[i] = 1, 2")
406
407 * Python/errors.c (err_clear): clear interpreter stack trace
408
409Wed Aug 17 16:10:07 1994 Guido van Rossum (guido@voorn.cwi.nl)
410
411 * Moved patchlevel.h from Python/ to Include/, moved all code from
412 version.c to config.c and removed version.c, and changed
413 Modules/Makefile(.pre.in) to add dependencies on $(MYLIBS) for
414 config.c (so the date in the version is always current). Also
415 changed the format of PATCHLEVEL: it is now a string containing
416 the complete version number, e.g. "1.1".
417
418 * Grammar/Grammar: Added #diagram:... comments for Kees Blom's
419 railroad diagram generator
420
421 * Doc/libstring.tex (section{Standard Module \sectcode{string}}):
422 removed references to {ato{f,i,l},index}_error
423
424 * Lib/string.py: find/rfind is now the main implementation and
425 index/rindex is a wrapper that raises index_error (which is now
426 always ValueError)
427
428 * Modules/stropmodule.c: implement find/rfind instead of
429 index/rindex (raising and catching an exception is much more
430 expensive than returning and testing -1)
Guido van Rossum2d3a9401994-08-16 22:15:49 +0000431
Guido van Rossum3d67fee1994-08-17 12:33:50 +0000432 * Lib/os.py: do fake "import posix" for freeze.py script
433
Guido van Rossum2d3a9401994-08-16 22:15:49 +0000434Tue Aug 16 23:58:30 1994 Guido van Rossum (guido@voorn.cwi.nl)
435
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000436 * Parser/parsetok.c (parsetok): don't call strncpy(str, NULL, 0)
437
Guido van Rossum2d3a9401994-08-16 22:15:49 +0000438 * Doc/libfuncs.tex (section{Built-in Functions}): added docs for
439 delattr()
440
441 * Python/bltinmodule.c: added delattr(x, 'attr'), equivalent to
442 del x.attr
443
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000444Fri Aug 12 15:00:20 1994 Guido van Rossum (guido@voorn.cwi.nl)
445
446 * Doc/libfuncs.tex: don't use $math$ in description of pow(x,y,z);
447 describe tuple()
448
449 * Doc/libposixfile.tex: use tableiii instead of tableii, so
450 partparse will work again (I know, chicken!)
451
452 * Doc/libthread.tex: Added get_ident(); updated text on module
453 availability
454
455 * Doc/myformat.perl: Added sub do_cmd_Cpp
456
457 * Python/compile.c (com_argdefs, com_arglist): avoid referencing
458 CHILD(n,i) for i >= NCH(n)
459
460 * Python/bltinmodule.c: added tuple() builtin
461
462Thu Aug 11 16:41:14 1994 Guido van Rossum (guido@voorn.cwi.nl)
463
464 * Objects/classobject.c, Include/classobject.h: added __getattr__
465 and __setattr__ support to override getattr(x, name) and
466 setattr(x, name, value) for class instances. This uses a special
467 hack whereby the class is supposed to be static: the __getattr__
468 and __setattr__ methods are looked up only once and saved in the
Guido van Rossumb85ae1a1994-10-06 16:15:09 +0000469 instance structure for speed.
470 (Later rewritten to also support __delattr__ and to store the
471 routines in the class instead of in the instance)
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000472
473Wed Aug 10 13:42:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
474
475 * configure.in, Makefile.in: remove the AC_PREFIX() call -- it's
476 more trouble than it's worth at CWI and most other people seem to
477 install Python in the default (/usr/local) anway. Changed comment
478 describing --prefix in Makefile.in
479
480 * Lib/urllib.py (ftpcache): remove debug print statement
481
482Tue Aug 9 14:32:45 1994 Guido van Rossum (guido@voorn.cwi.nl)
483
484 * Objects/{int,long,float}object.c, Include/object.h,
485 Python/bltinmodule.c: mods by Andrew Kuchling to implement
486 pow(x,y,z) == pow(x,y)%z, but without incurring overflow
487
488 * Python/import.c: if initializing a module did not enter the
489 module into sys.modules, it may have raised an exception -- don't
490 override this exception.
491
492 * Include/rename1.h: added PyMethodDef and PyObject
493
494Mon Aug 8 09:51:08 1994 Guido van Rossum (guido@voorn.cwi.nl)
495
496 * Doc/{Makefile,*.tex}: Changes by Andrew Kuchling:
497 * Added dependencies to the Makefile
498 * Added \optional{} commands all over the place (possibly not
499 finished yet)
500 * Defined \optional and \Cpp in myformat.sty
501 * Changed all occurrences of C++ to \Cpp{}, for nicely
502 formatting the + signs.
503 * Fixed typos, sentence structure in lots of places
504 * Added documentation for the rotor module
505 * Added a commented-out paragraph to libcrypto.tex that can be
506 added once the Python Cryptography Kit is released.
507 * Altered the table in libposixfile.tex a bit.
508 * Documented socket.gethostname()
509 * Started completely rewriting the Extending manual.
510
511 * Modules/{Setup.in, gdbmmodule.c}, Doc/{lib,libgdbm}.tex: added
512 Anthony Baxter's gdbm module (derived from Jack's dbm module)
513
Guido van Rossum5552eb71994-08-05 15:51:00 +0000514Fri Aug 5 11:43:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
515
516 * BUGS: new file (merger of unofficial BUGS1.0.x files)
517
518 * Modules/{Setup.in,Makefile.pre.in}: renamed some modules to
519 shorter names (dropped the "module" from the name): sunaudiodev,
520 imgformat, audioop, imageop, imgfile
521
522 * Python/import.c: support *.o/*.so as alternative for
523 *module.o/*module.so
524
525 * Modules/stropmodule.c (strop_rindex): make rindex('abc', '') do
526 the right thing (i.e. return 3 instead of 0)
527
528 * Python/bltinmodule.c (builtin_vars): correct typo in error msg
529
530 * Doc/libsocket.tex (subsection{Socket Object Methods}):
531 documented gethostname() and a few misc things
532
533 * Modules/socketmodule.c: disabled allowbroadcast() socket method
534
Guido van Rossum761c7a31994-08-01 12:04:41 +0000535Mon Aug 1 01:28:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
536
Guido van Rossum5552eb71994-08-05 15:51:00 +0000537 * Makefile.in (TAGS): Call etags w/o -t option
538
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000539 * Lib/rfc822.py: fix two bugs: error in readheaders interpreting
540 regex.match() result, and wrong logic in getfirstmatchingheader()
541 when the same header occurs twice consecutively
Guido van Rossum5552eb71994-08-05 15:51:00 +0000542
Guido van Rossum761c7a31994-08-01 12:04:41 +0000543 * Lib/test/test_types.py (6.4.1): test for particular bug in
544 integer multiply
545
546Sat Jul 30 13:31:40 1994 Guido van Rossum (guido@voorn.cwi.nl)
547
548 * Doc/libsocket.tex, Modules/socketmodule.c: send() and sendto()
549 now return actual byte count (useful for sockets in non-blocking
550 mode)
551
552Tue Jul 26 14:21:17 1994 Guido van Rossum (guido@voorn.cwi.nl)
553
554 * configure.in: check for <limits.h>
555
556 * Objects/longobject.c (newlongobject): fix long(0x80000000) and
557 add warning that it isn't actually correct on 64-bit machines;
558 include <limits.h> if HAVE_LIMITS_H is defined
559
560 * Objects/intobject.c (int_mul): check int*int overflow without
561 resorting to double precision (many thanks to John Tromp)
562
563 * Modules/signalmodule.c (signal_alarm): interface to Posix alarm()
564
565 * Python/ceval.c (call_object): print message before abort()
566
567Mon Jul 25 11:30:56 1994 Guido van Rossum (guido@voorn.cwi.nl)
568
569 * Doc/libstring.tex (section{Standard Module \sectcode{string}}):
570 documented string.count()
571
572 * Lib/string.py: added count(s, sub, i=0), returns number of
573 occurrences of sub in s[i:]
574
575 * Doc/keywords.py: program to sort table of keywords in ref2.tex
576
577 * Doc/ref2.tex (subsection{Keywords}): add 'access' and 'lambda'
578 to list of reserved words
579
Guido van Rossum64ea5351994-07-14 13:47:08 +0000580Thu Jul 14 15:26:14 1994 Guido van Rossum (guido@voorn.cwi.nl)
581
582 * README, Misc/NEWS, Python/patchlevel.h,
583 Doc/{lib,ext,tut,ref}.tex: bump version to 1.0.3; in README, fewer
584 references to it elsewhere, nor to IP numbers.
585
586Wed Jul 13 18:51:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
587
588 * Lib/mhlib.py (removefromallsequences): call putsequences with
589 proper argument
590
591Mon Jul 11 13:00:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
592
593 * Modules/selectmodule.c: don't accept negative file descriptors;
594 changed error messages slightly
595
596Thu Jul 7 12:20:10 1994 Guido van Rossum (guido@voorn.cwi.nl)
597
598 * Modules/syslogmodule.c: new module by Lance
599
600 * configure.in: don't check for strtod!
601
602 * Python/import.c: undo Mac DL mods (temporarily) and install NeXT
603 dl mods by William Lewis instead.
604
605 * Modules/posixmodule.c (posix_popen): substitute pclose for
606 fclose (how did fclose ever creep into this?)
607
608Wed Jul 6 21:45:54 1994 Guido van Rossum (guido@voorn.cwi.nl)
609
610 * Lib/{bdb,cmd,pdb}.py: Mods by Rickard Westman: No longer barfs
611 on lambda:s (outputs "<lambda>" as the function name); "a(rgs)" in
612 pdb now works; help messages added to pdb (lifted from pdb.doc).
613 Also, "h pdb" calls pdb.help(). cmd.do_help() displays topics on
614 a nicer way (I think). Also, topics for which there is a help_
615 method, but no do_method (like "pdb" above) are displayed in a
616 special way. My own mod: fix break on function to also support
617 methods.
618
619Tue Jul 5 23:18:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
620
621 * Modules/stropmodule.c (strop_rindex): change semantics of third
622 argument -- as in the original string.rindex, search to its right,
623 not to its left. (Maybe both index and rindex need a 4th
624 parameter to restrict the search on the other end?
625
Guido van Rossumcd3c0421994-07-04 22:15:27 +0000626Mon Jul 4 23:01:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
627
628 * Modules/timemodule.c (sleep, floatsleep): don't use setjmp or
629 signal, rely on err_errno() or sigcheck() instead.
630
631 * Dos/{pcmodule,dosmodule}.c, Modules/posixmodule.c: don't include
632 <setjmp.h>
633
634Sat Jul 2 00:42:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
635
636 * Lib/urllib.py: implemented new quoting rules; added splituser,
637 splitpasswd, splitattr, splitvalue; new ftp syntax (user:passwd,
638 cwd to each subdir, type={a,i,d})
639
640Fri Jul 1 17:32:51 1994 Guido van Rossum (guido@voorn.cwi.nl)
641
642 * Python/traceback.c: add function name to traceback info
643
644 * Object/listobject.c, Modules/{array,mpz}module.c: include
645 <sys/types.h> for size_t
646
Guido van Rossum32d8ba41994-07-01 15:28:52 +0000647Fri Jul 1 12:47:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
648
649 * Makefile.in (Makefile): add dependency on config.status
650
651 * configure.in: support --with-gcc[=value], --without-gcc
652
653 * configure.in, acconfig.h, config.h.in: check for clock_t
654
655 * Modules/{arraymodule,mpzmodule}.c: Include sys/types.h, for size_t
656
657 * Lib/test/test_types.py (6.5.1 Strings): test for nasty string
658 formatting bug
659
660 * Objects/stringobject.c (formatstring): fix nasty bug in resizing
661
Guido van Rossum6dc31a11994-06-29 09:11:20 +0000662Wed Jun 29 10:01:17 1994 Guido van Rossum (guido@voorn.cwi.nl)
663
Guido van Rossum32d8ba41994-07-01 15:28:52 +0000664 * Doc/ref3.tex (section{The standard type hierarchy}
665 \label{types}): fix typo
666
Guido van Rossum6dc31a11994-06-29 09:11:20 +0000667 * Lib/packmail.py: applied patch from Lance to remove '.' and '..'
668
669Tue Jun 28 00:57:35 1994 Guido van Rossum (guido@voorn.cwi.nl)
670
671 * Doc/ref1.tex: grammar notation can use single or double quotes now
672
673 * configure.in (termcap): hack around conflict about clear() on
674 IRIX 5 in shared libraries gl and termcap
675
676 * Python/bltinmodule.c: added callable() predicate
677
678Wed May 18 15:01:13 1994 Donald Beaudry (don@zippy.vicorp.com)
679
680 * modsupport.c (do_arg): Changed all of the int getting things to
681 just try to get and int, instead of explicitly checking for an int
682 first.
683
684 (do_arg): Added the "O&" option to allow using a user supplied
685 conversion function.
686
687Wed May 18 14:10:49 1994 Donald Beaudry (don@zippy.vicorp.com)
688
689 * intobject.c (getintvalue): Changed to allow automatic conversion
690 from any type that supports the nb_int method.
691
692 * floatobject.c (getfloatvalue): Changed to allow automatic
693 conversion from any numeric type that supports the nb_float
694 method.
695
696Wed May 4 22:56:15 1994 Donald Beaudry (don@scooter.vicorp.com)
697
698 * object.h -- Added tp_call member to the typeobject struct
699 This along with a minor change to the ceval.c allows overloading
700 of the function call operator for any class.
701
702Wed May 4 22:23:48 1994 Donald Beaudry (don@scooter.vicorp.com)
703
704 * modsupport.c -- replace the part of getargs that processes "O!",
705 it had a minor problem with comparing the types.
706
707 * ceval.c -- changed call_object to make use of the tp_call
708 field.
709
710Fri Jun 27 17:22:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
711
712 * Python/pythonmain.c: On MPW (3.2) unbuffered seems to hang, so
Guido van Rossum64ea5351994-07-14 13:47:08 +0000713 use setvbuf ... _IOLBF for -u option.
Guido van Rossum6dc31a11994-06-29 09:11:20 +0000714
715 * Python/mystrtoul.c: MPW hack (overflow check doesn't seem to work)
716
717Thu Jun 23 14:46:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
718
719 * Modules/Makefile.pre.in (clobber): delete config.c and glmodule.c
720
Guido van Rossum71527401994-06-23 12:45:42 +0000721Thu Jun 23 00:17:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
722
Guido van Rossum64ea5351994-07-14 13:47:08 +0000723 * Parser/tokenizer.c: if a triple-quoted string ends in a quote
724 followed by a newline (followed immediately by the terminating 3
725 quotes) then a syntax error or system error ensues (one-line fix)
726
Guido van Rossum71527401994-06-23 12:45:42 +0000727 * Doc/ref4.tex: clarify that global name space is almost always
728 containing module's name space
729
730 * Lib/profile.{py,doc}: totally new versions by James Roskind;
731 also edited source & doc to replace 'jprofile' by 'profile'
732
733 * Modules/posixmodule.c: don't mess with SIGPIPE any more -- this
734 is now done in Python/pythonrun.c (saves NT dependency here)
735
736 * Modules/Setup.*: removed all except Setup.in (keeping them up to
737 date was too much of a pain)
738
739 * Python/import.c: don't rely on three-line "dl.h", just copy the
740 contents.
741
742 * Doc/libtypes.tex (subsubsection{More String Operations.}):
743 clarified tuple vs non-tuple argument to format strings.
744
745Wed Jun 22 10:38:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
746
747 * Doc/libsocket.tex: clarify the meaning of address for those
748 methods that or return addresses.
749
750 * Doc/libtypes.tex (subsubsection{File Objects.}): documented
751 writelines.
752
753Tue Jun 21 15:54:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
754
755 * Lib/aifc.py: avoid calling read(0)
756
757 * Lib/sgi/cddp.py: added some functionality (Sjoerd)
758
759 * Include/modsupport.h: added decl for initmodule2().
760
761 * Parser/myreadline.c (my_readline): fixed typo in MPW-specific
762 hack; removed debug fprintfs; added two needed #includes.
763
764Mon Jun 20 23:46:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
765
766 * Objects/fileobject.c (file_read): test for negative read count
767 was misplaced.
768
769Mon Jun 18 11:20:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
770
771 * acconfig.h: changed GETPGRP_HAVE_ARGS into GETPGRP_HAVE_ARG
772
773 * Lib/posixpath.py(walk): don't descend down symbolic links
774
775Thu Jun 16 16:20:12 1994 Guido van Rossum (guido@voorn.cwi.nl)
776
777 * Modules/imgformatmodule.c: new module for Jack by Jack
778
779Tue Jun 14 21:07:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
780
781 * Fix bug in 3quoted strings where string ends in quote followed
782 by newline
783
784Mon Jun 13 00:24:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
785
786 * Lib/multifile.py: added readlines() and read() methods
787
788 * Lib/mimetools.py: added functions to encode/decode standard MIME
789 Content-transfer-encoding types (as well as uuencode)
790
791 * Lib/mhlib.py: new interface to MH folders and messages
792
793Sun Jun 12 17:38:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
794
795 * Modules/socketmodule.c (sock_listen): fix typo (== instead of =)
796
797Thu Jun 9 23:33:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
798
799 * Python/compile.c (parsenumber), Python/marshal.c (r_object):
800 replace strtod() by atof()
801
802Tue Jun 7 11:41:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
803
Guido van Rossumcd3c0421994-07-04 22:15:27 +0000804 * Doc/lib.tex: added warning about lineii, libposixfile and partparse
Guido van Rossum71527401994-06-23 12:45:42 +0000805
806 * Lib/bdb.py (clear_all_breaks): this was defined with two
807 arguments that weren't used and shouldn't have been there
808
809Mon Jun 6 14:53:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
810
811 * Python/ceval.c (call_trace): Added call to fast_2_locals so
812 locals_2_fast won't zap locals if the trace function never looks
813 in f.f_locals; don't XDECREF(f->f_trace)
814
815Sun Jun 5 13:18:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
816
817 * Lib/rfc822.py: Accept lines ending in CR LF as well
818
819Fri Jun 3 16:37:58 1994 Guido van Rossum (guido@voorn.cwi.nl)
820
821 * Lib/profile.py: unspecified improvements by Sjoerd
822
823 * Lib/{bdb,pwd,stdwin/wdb}.py: remove debugger overhead when
824 continuing with no breakpoints; add set_trace() method and
825 functions to forcibly enter the debugger
826
827 * Python/ceval.c(eval_code): give the name of the local variable
828 when LOAD_FAST or DELETE_FAST fails
829
830 * frameobject.[ch], ceval.c: made fast_2_locals and locals_2_fast
831 global and moved them to frameobject.c. getattr(f, "f_locals")
832 now calls fast_2_locals and there are fewer other calls to it
833
834Thu Jun 2 13:50:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
835
836 * Python/ceval.c (call_trace): *p_trace can now be cleared by the
837 trace function!
838
839 * Modules/{{pwd,grp}module.c,Setup.in}: split pwdmodule.c into pwd
840 and grp modules (e.g. OS2 seems to have pwd but not grp)
841
842 * Modules/posixmodule.c: OS/2 mods: add #include <io.h>
843
844 * configure.in: test for existence of link, chown, setuid, setgid;
845 use std macros for output; require autoconf 1.8
846
847 * Python/sigcheck.c: sigcheck() for use without signalmodule.c
848
849 * Modules/signalmodule.c: added thread compatibility (only main
850 thread uses signals); much improved efficiency; intrcheck()
851 doesn't call sigcheck() but only tests and clears the SIGINT
852 tripped flag.
853
854 * Lots of places: replace intrcheck() by sigcheck() and remove
855 following err_set(KeyboardInterrupt).
856
857Wed Jun 1 11:33:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
858
859 * Modules/regexmodule.c (reg_dealloc): remove bogus XDEL's.
860
861Tue May 31 11:22:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
862
863 * Python/intrcheck.c: removed sigcheck()
864
865 * Python/structmember.c (setmember): test for NULL value
866
867 * frameobject, Python/ceval.c (eval_code): moved trace variable to
868 frame object so debugging can be switched on later
869
870Mon May 23 14:44:46 1994 Guido van Rossum (guido@voorn.cwi.nl)
871
872 * Modules/newmodule.c: new module, create empty new objects (by
873 Tommy)
874
875Fri May 20 09:46:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
876
877 * Doc/Makefile: add DVIPS variable with default "dvips -f"
878
879 * Parser/myreadline.c (my_fgets): Fix position of #endif EINTR
880
881Wed May 18 00:21:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
882
883 * Doc/lib.tex: added libfcntl and libposixfile (by Jaap V)
884
885 * Objects/funcobject.c (func_compare): take argcount and argdefs
886 into account
887
888Wed May 17 00:00:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
889
890 * Python/import.c: bump MAGIC because of changes below
891
892 * Python/{ceval,compile}.c, Include/frameobject.h: changes to code
893 objects -- consts/names are tuples, RESERVE_LOCALS instruction
894 gets tuple of names instead of dictionary -- so code objects are
895 immutable and thus code and function objects are hashable
896
897 * Objects/listobject.c, Include/listobject.h: added listtuple() --
898 convert list to tuple
899
900Tue May 17 15:40:12 1994 Guido van Rossum (guido@voorn.cwi.nl)
901
902 * Python/ceval.c (getframe): cast current_frame to (object *)
903
904 * Lib/ftplib.py (login): default user='' is translated explicitly
905 to 'anonymous'
906
907Wed May 11 10:29:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
908
909 * Parser/tokenizer.c (tok_nextc): fix inf loop when file does not
910 end in newline
911
912 * Modules/sybasemodule.c: new, interface to sybase (John Redford)
913
914 * Modules/signalmodule.c: new, catch unix signals (Lance)
915
916 * Parser/intrcheck.c, Python/ceval.c, Include/ceval.h,
917 Python/pythonrun.c: prepare for signalmodule.c; add sigcheck()
918 interface to intrcheck.c, add getframe() interface to ceval.c;
919 don't override signal handlers in pythonrun.c
920
921Tue May 10 09:01:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
922
923 * Python/import.c (get_module): print dlopen debug message only of
924 verbose
925
Guido van Rossumc5832ff1994-05-09 15:10:49 +0000926Mon May 9 10:37:48 1994 Guido van Rossum (guido@voorn.cwi.nl)
927
928 * acconfig.h: added _POSIX_THREADS define
929
930 * configure.in: test for -lpthreads; add directory argument to
931 --with-thread to LIBS as -L option
932
Guido van Rossum71527401994-06-23 12:45:42 +0000933 * Python/thread.c: split in per-system files (thread.c includes
934 thread_foobar.h for foobar threads)
935
Guido van Rossumc5832ff1994-05-09 15:10:49 +0000936 * Objects/stringobject.c (formatstring): don't DECREF result of
937 strobject() before using it
938
939 * Doc/libtypes.tex: fix typo in table of list methods; clarify
940 truncation behavior of floating point formatting
941
942 * Doc/ref3.tex: clarify defaults for __repr__, __cmp__ and
943 __str__; correct (some) descriptions of class constructors
944
Guido van Rossumdf145031994-05-06 14:30:40 +0000945Fri May 6 11:25:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
946
947 * various files: micro changes needed to compile on Mac;
948 Grouped more Mac-specific files in Mac subdirectory
949
950 * Lib/*.py: rewrote many functions to use default arguments
951 instead of arbitrary argument lists
952
953Thu May 5 12:33:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
954
Guido van Rossum71527401994-06-23 12:45:42 +0000955 * Modules/{cryptmodule.c,Setup.in}: new crypt(3) interface (Steve M)
Guido van Rossumdf145031994-05-06 14:30:40 +0000956
957 * Python/bltinmodule.c, Include/bltinmodule.h: new fn setbuiltin()
958 to set a built-in variable
959
960 * Python/ceval.c (eval_code): place '_' variable in __builtin__
961 instead of in local dictionary, to avoid endless recursion when
962 printing vars()
963
Guido van Rossuma3d4d371994-05-04 13:10:40 +0000964========================================================================
Guido van Rossum64ea5351994-07-14 13:47:08 +0000965Release 1.0.3 (14 July 1994)
966========================================================================
967
968Thu Jul 14 14:38:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
969
970 * copied FAQ 1.10 (which still references 1.0.2 by the way)
971
972Thu Jul 7 12:20:10 1994 Guido van Rossum (guido@voorn.cwi.nl)
973
974 * configure.in: don't check for strtod!
975
976Tue Jul 5 23:18:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
977
978 * Modules/stropmodule.c (strop_rindex): change semantics of third
979 argument -- as in the original string.rindex, search to its right,
980 not to its left. (Maybe both index and rindex need a 4th
981 parameter to restrict the search on the other end?
982
983Fri Jul 1 12:47:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
984
985 * configure.in: support --with-gcc[=value], --without-gcc
986
987 * configure.in, acconfig.h, config.h.in: check for clock_t
988
989 * Objects/stringobject.c (formatstring): fix nasty bug in resizing
990
991Tue Jun 28 00:57:35 1994 Guido van Rossum (guido@voorn.cwi.nl)
992
993 * configure.in (termcap): hack around conflict about clear() on
994 IRIX 5 in shared libraries gl and termcap
995
996Thu Jun 23 00:17:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
997
998 * Parser/tokenizer.c: if a triple-quoted string ends in a quote
999 followed by a newline (followed immediately by the terminating 3
1000 quotes) then a syntax error or system error ensues (one-line fix)
1001
1002Sun Jun 12 17:38:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
1003
1004 * Modules/socketmodule.c (sock_listen): fix typo (== instead of =)
1005
1006Thu Jun 9 23:33:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
1007
1008 * Python/compile.c (parsenumber), Python/marshal.c (r_object):
1009 replace strtod() by atof()
1010
1011Thu Jun 2 13:50:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
1012
1013 * configure.in: test for existence of link, chown, setuid, setgid;
1014 use std macros for output; require autoconf 1.8
1015
1016Wed Jun 1 11:33:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
1017
1018 * Modules/regexmodule.c (reg_dealloc): remove bogus XDEL's.
1019
1020Tue May 31 11:22:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
1021
1022 * Python/structmember.c (setmember): test for NULL value
1023
1024Fri May 20 09:46:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
1025
1026 * Parser/myreadline.c (my_fgets): Fix position of #endif EINTR
1027
1028Wed May 11 10:29:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
1029
1030 * Parser/tokenizer.c (tok_nextc): fix inf loop when file does not
1031 end in newline
1032
1033Tue May 10 09:01:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
1034
1035 * Python/import.c (get_module): print dlopen debug message only of
1036 verbose
1037
1038Mon May 9 10:37:48 1994 Guido van Rossum (guido@voorn.cwi.nl)
1039
1040 * acconfig.h: added _POSIX_THREADS define
1041
1042 * configure.in: test for -lpthreads; add directory argument to
1043 --with-thread to LIBS as -L option
1044
1045 * Objects/stringobject.c (formatstring): don't DECREF result of
1046 strobject() before using it
1047
1048Fri May 6 11:25:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
1049
1050 * various files: micro changes needed to compile on Mac;
1051 Grouped more Mac-specific files in Mac subdirectory
1052
1053Thu May 5 12:33:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
1054
1055 * Python/bltinmodule.c, Include/bltinmodule.h: new fn setbuiltin()
1056 to set a built-in variable
1057
1058 * Python/ceval.c (eval_code): place '_' variable in __builtin__
1059 instead of in local dictionary, to avoid endless recursion when
1060 printing vars()
1061
1062========================================================================
Guido van Rossuma3d4d371994-05-04 13:10:40 +00001063Release 1.0.2 (4 May 1994)
1064========================================================================
1065
1066Wed May 4 13:12:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
Guido van Rossum8ad2a2a1994-05-04 07:44:21 +00001067
Guido van Rossum9c7e7bf1994-05-04 09:33:42 +00001068 * README: version 1.0.2
1069
1070 * Objects/fileobject.c (setfilebufsize): less error checking
1071
1072 * configure.in: test for withval != yes (autoconf 1.8 change)
1073
1074 * Makefile.in: don't remove config.status on "make clobber"
1075
Guido van Rossum8ad2a2a1994-05-04 07:44:21 +00001076 * Python/ceval.c (eval_code): removed last traces of killprint (-k
1077 option)
1078
1079 * Doc/tut.tex: documented some more new stuff
1080
1081 * Added else clause to try-except. Affected files:
1082 Grammar/Grammar, Include/graminit.h, Python/graminit.c,
1083 Python/compile.c, Doc/ref7.tex, Doc/tut.tex
1084
Guido van Rossumacfe4171994-05-03 14:53:09 +00001085Tue May 3 15:21:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
1086
1087 * Misc/python.man: documented -u; undocumented -k
1088
1089 * Python/{python,frozen}main.c: got rid of -k option; added -u
1090 option (unbuffered stdout/stderr); plus environment
1091
1092 * Python/import.c: Steven Majewski's mods for AIX
1093
1094 * Lib/lockfile.py: new module to lock files (using fcntl)
1095
1096 * Objects/fileobject.c, Include/fileobject.h: added setfilebufsize
1097 function to set buffer size (call only from C when it's safe!)
1098
1099 * Python/bltinmodule.c (builtin_open): Added 3rd parameter to give
1100 buffer size; default 2nd parameter to "r"
1101
1102Mon May 2 17:51:23 1994 Guido van Rossum (guido@voorn.cwi.nl)
1103
1104 * Modules/{al,cd,sv}module.c: added (method) casts to methodlist
1105 initializers
1106
1107Thu Apr 28 15:01:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
1108
1109 * Doc/ref2.tex: (section{Line structure}): documented line joining
1110 without backslashes inside parens
1111
Guido van Rossuma83d9541994-04-28 12:29:44 +00001112Wed Apr 27 13:15:42 1994 Guido van Rossum (guido@voorn.cwi.nl)
1113
1114 * Misc/python-mode.el: version 1.09 from Tim (grand new
1115 indentation scheme)
1116
1117 * configure.in: test for setvbuf
1118
1119 * Python/ceval.c (PRINT_EXPR): assign a non-None value to '_'
1120 before printing it
1121
1122 * Python/compile.c: only call PRINT_EXPR for interactive code
1123 (start symbol single_input), else call POP_TOP after evaluating an
1124 expression
1125
1126Tue Apr 26 16:23:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
1127
1128 * Python/bltinmodule.c (builtin_reduce): added essential INCREF()
1129 if a third argument is present
1130
1131 * Doc/tut.tex: added chapter "Recent Additions"
1132
1133Mon Apr 25 11:27:09 1994 Guido van Rossum (guido@voorn.cwi.nl)
1134
1135 * Doc/ref7.tex (section{Function definitions}): add missing '}'.
1136
1137 * Doc/ref2.tex (subsection{String literals}): documented triple
1138 quotes and double quotes.
1139
1140 * Lib/test/test_grammar.py: added tests for triple-quoted strings
1141 and strings continued with backslash-newline
1142
1143 * Objects/fileobject.c (writestring): don't do anything when
1144 writing to a Python object while an error is already set
1145
1146 * Parser/tokenizer.c: added support for triple-quoted strings and
1147 strings continued with backslash
1148
Guido van Rossumacfe4171994-05-03 14:53:09 +00001149 * Parser/tokenizer.h: moved here from Include
1150
Guido van Rossuma83d9541994-04-28 12:29:44 +00001151 * Python/compile.c (parsenumber): support triple-quoted strings.
1152 Raise SyntaxError, not SystemError for bad number syntax
1153
Guido van Rossuma143e901994-04-22 16:01:43 +00001154Fri Apr 22 17:39:20 1994 Guido van Rossum (guido@voorn.cwi.nl)
1155
1156 * Objects/{tuple,list,string,mapping}object.c,
1157 Modules/arraymodule.c, Python/compile.c: use new
1158 joinstring(_decref) interface for more compact code
1159
1160 * Objects/stringobject.c (joinstring): if error, DECREF and zero
1161 result; added joinstring_decref() which XDECREFs its second
1162 argument
1163
1164Thu Apr 21 10:59:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
1165
1166 * Doc/libtypes.tex (subsubsection{More String Operations}):
1167 documented new '%(key)s' % {...} formatting and more liberal %s
1168 interpretation (applies str() first)
1169
1170 * Doc/libfuncs.tex (section{Built-in Functions}): documented new
1171 vars() built-in function
1172
1173 * Objects/stringobject.c (formatstring): add Donald Beaudry's
1174 patch (slightly changed) to allow '%(<key>)<format>' % {...} to
1175 format dictionary entries by key. Also changed %s format to
1176 accept any type and convert it to a string using str()
1177
1178 * Python/bltinmodule.c: add new built-in function vars() which
1179 returns variables (of which dir() returns the sorted keys())
1180
1181Mon Apr 18 11:00:54 1994 Guido van Rossum (guido@voorn.cwi.nl)
1182
1183 * Doc/libppath.tex (section{Standard Module
1184 \sectcode{posixpath}}): describe for expandvars()
1185
1186 * Lib/posixpath.py (expandvars): do it using regular expressions
1187 instead of forking of a shell
1188
1189 * Lib/urllib.py (open_http, open_gopher): diagnose missing
1190 hostname
1191
1192Sun Apr 17 21:52:52 1994 Guido van Rossum (guido@voorn.cwi.nl)
1193
1194 * Python/compile.c (com_atom), Grammar/Grammar (atom): string
1195 literal concatenation -- "abc" 'def' is equivalent to 'abcdef'
1196
Guido van Rossumed3112c1994-04-14 14:27:58 +00001197Thu Apr 14 12:36:25 1994 Guido van Rossum (guido@voorn.cwi.nl)
1198
Guido van Rossuma143e901994-04-22 16:01:43 +00001199 * Lib/test/test_thread.py: new module to test threads (very basic)
1200
1201 * Python/thread.c: remove #define DEBUG 1
1202
1203 * Demo/scripts/freeze.py: changes by Jaap V and my own to make it
1204 work again
1205
1206 * Makefile.in (libainstall): install frozenmain.c
1207
1208 * Python/frozenmain.c: added getprogramname()
1209
Guido van Rossumed3112c1994-04-14 14:27:58 +00001210 * Doc/ref7.tex (section{Function definitions}): describe default
1211 parameter values
1212
1213 * Lib/test/test_grammar.py: added grammar variants for default
1214 argument expressions
1215
1216 * Python/compile.c: compile default argument values (com_argdefs
1217 plus related stuff)
1218
1219 * Python/bltinmodule.c (builtin_apply): require that the argument
1220 list is a tuple
1221
1222 * Misc/python-mode.el: change by Donald Beaudry to
1223 py-compute-indentation; and fix to that by Sjoerd
1224
1225Wed Apr 13 10:08:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
1226
1227 * Python/ceval.c (eval_code): implement SET_FUNC_ARGS opcode
1228
1229 * Include/opcode.h: added SET_FUNC_ARGS opcode
1230
1231 * Objects/funcobject.c (newfuncobject, func_memberlist): added
1232 func_argcount and func_argdefs fields and {get,set}funcargstuff()
1233 functions.
1234
1235 * Include/funcobject.h: Added func_argcount and func_argdefs
1236 fields and {get,set}funcargstuff() functions.
1237
1238 * Python/import.c (init_builtin): Give error message if module's
1239 initialization function is NULL (e.g. for 'sys').
1240 (get_module): Give error message if reloading a dynamically
1241 loadable module.
1242 (reload_module): Give error message if reloading a built-in
1243 module; correctly (I hope) reload a frozen module.
1244
1245 * Doc/ref6.tex (break and continue): rephrase definition of
1246 restrictions on where these may occur; change rules for continue
1247 to match implementation.
1248
1249 * Doc/ref4.tex (section{Code blocks, execution frames, and name
1250 spaces}): fix definition of what's local to include deleted
1251 targets; added footnote describing exec and from - import *
1252 restriction.
1253
1254 * Lib/dis.py: added LOAD_GLOBALS and EXEC_STMT to list of opcodes.
1255
1256Tue Apr 12 10:27:19 1994 Guido van Rossum (guido@voorn.cwi.nl)
1257
1258 * Python/ceval.c (eval_code): fix core dump on "raise ()" -- found
1259 by Tim Peters
1260
1261Mon Apr 11 20:48:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
1262
1263 * Python/compile.c (optimize): added optimization for LOAD_NAME
1264 suggested by Steve Majewski
1265
1266 * Python/ceval.c (eval_code: case DELETE_FAST): fix cut-paste
1267 error (w should be x) found by Steve Majewski
1268
1269Tue Mar 22 15:37:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
1270
1271 * Lib/profile.py: fix handle_return for exceptional case (fix
1272 suggested by Jim Roskind)
1273
1274 * Lib/tzparse.py (tzprog): Fix typo in test for regex.match
1275
1276 * Lib/urlopen.py: renamed to Lib/urllib.py
1277
1278Thu Mar 17 01:24:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
1279
1280 * Lib/urlopen.py: added quote() and unquote() functions
1281
1282Wed Mar 16 11:26:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
1283
1284 * Objects/mappingobject.c: allow dictionaries with more than
1285 20,000 entries.
1286
1287Thu Mar 10 11:13:24 1994 Guido van Rossum (guido@voorn.cwi.nl)
1288
1289 * Lib/{pdb,profile,bdb,codehack,stdwin/wdb}.py:
1290 codehack.getcodename() is obsolete now we have co.co_name; same
1291 for getfuncname(): f.func_name. Module codehack is still needed
1292 for getlineno(), used in profile and pdb
1293
1294Tue Mar 8 10:37:21 1994 Guido van Rossum (guido@voorn.cwi.nl)
1295
1296 * Python/modsupport.c (do_arg): Format "O!" means typechecked
1297 object; pointer argument must be preceded by typeobject
1298
1299 * Modules/threadmodule.c: don't define exit_prog if NO_EXIT_PROG
1300 is defined
1301
1302 * Python/thread.c: don't define [_]exit_prog if NO_EXIT_PROG is
1303 defined; in the SGI version, don't use signals if exit_prog is
1304 node defined defined; in the SGI version, waitpid() for exited
1305 threads.
1306
1307 * Python/pythonrun.c: don't call [_]exit_prog if NO_EXIT_PROG is
1308 defined
1309
1310 * Include/thread.h: define NO_EXIT_PROG and then don't define
1311 [_]exit_prog
1312
1313 * Modules/dbmmodule.c: Add calls to dbm_clearerr() after error on
1314 assignment (fix by Jack)
1315
Guido van Rossum131e2ab1994-03-07 12:05:46 +00001316Mon Mar 7 12:41:32 1994 Guido van Rossum (guido@voorn.cwi.nl)
1317
Guido van Rossumed3112c1994-04-14 14:27:58 +00001318 * Lib/test/test_rgbimg.py: search test file along sys.path
1319
1320 * Lib/test/test_{b1,b2,grammar}.py: tests for indefinite sequences
1321
Guido van Rossum131e2ab1994-03-07 12:05:46 +00001322 * Python/{bltinmodule,ceval}.c: Changed implied and explicit loops
1323 over sequences to allow for "indefinite" sequences a la Steve
1324 Majewski. Instead of iterating over 0, 1, 2, ..., len(a)-1, we
1325 now iterate over 0, 1, 2, ..., until we get an IndexError
1326 exception (other exceptions are still errors). This affects the
1327 semantics of the following language constructs: "for x in a: ...",
1328 "x in a", "x not in a", and the following built-in functions:
1329 filter(), map(), max(), min(), reduce().
1330
1331 * Doc/ref6.tex (section{Assignment statements}): clarify slice
1332 assignment; (section{The {\tt break} statement}): fix typo
1333
1334 * Doc/ref5.tex (subsection{Identifiers (Names)}): clarify
1335 difference between local and global
1336
1337 * Doc/ref2.tex (subsection{String literals}): fix typo in def of
1338 escapeseq
1339
1340 * Lib/addpack.py: new module to add packages to sys.path
1341
1342 * Lib/urlopen.py: added basejoin() function
1343
1344Fri Mar 4 13:07:43 1994 Guido van Rossum (guido@voorn.cwi.nl)
1345
1346 * Lib/urlopen.py(open_ftp): avoid crash when no host given
1347
Guido van Rossumf18a4f41994-03-02 11:40:46 +00001348Wed Mar 2 10:33:39 1994 Guido van Rossum (guido@voorn.cwi.nl)
1349
Guido van Rossum5e334d91994-03-02 14:23:20 +00001350 * Python/ceval.c (eval_code): use sys.check_interval to reset the
1351 ticker
1352
Guido van Rossumf18a4f41994-03-02 11:40:46 +00001353 * Lib/repr.py: added special case for class instances (which may
1354 cause exceptions in their __repr__)
1355
1356 * Lib/pdb.{py,doc}: mod by Steve Kirsch to allow setting a break
1357 on a function name
1358
1359Tue Mar 1 10:32:54 1994 Guido van Rossum (guido@voorn.cwi.nl)
1360
1361 * Python/pythonrun.c (run_tty_1): Fix wrong (uninitialized) return
1362 value
1363
1364 * Doc/ref4.tex (table 4.1): differentiated between exec stmt and
1365 eval()
1366
1367Mon Feb 28 10:49:20 1994 Guido van Rossum (guido@voorn.cwi.nl)
1368
1369 * Modules/svmodule.c: correct wrong cast of svideo_getattr
1370
1371 * README: added Linux to list of supported systems.
1372
1373 * Doc/libsocket.tex: adapt to min value of 1 for listen() backlog
1374 argument.
1375
1376 * Modules/socketmodule.c (sock_listen): ensure backlog argument is
1377 at least 1.
1378
1379Fri Feb 25 14:25:30 1994 Guido van Rossum (guido@voorn.cwi.nl)
1380
1381 * Include/osdefs.h, Modules/config.c.in: Added NT case (same as
1382 MSDOS)
1383
1384Thu Feb 24 09:58:53 1994 Guido van Rossum (guido@voorn.cwi.nl)
1385
1386 * Modules/posixmodule.c: merged in NT changes by Jaap Vermeulen
1387
1388 * README: added Mac and PC platforms to blurb.
1389
1390 * Doc/libfuncs.tex (section{Built-in Functions}): documented
1391 xrange()
1392
1393 * Doc/ref7.tex (section{Function definitions} added index entry
1394 for second ref to lambda.
1395
1396 * Lib/{bdb.py,pdb.py,stdwin/wdb.py}: call linecache.checkcache()
1397 in bdb.Bdb's reset method; remove it from the test() functions.
1398
1399Wed Feb 23 10:15:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
1400
1401 * Modules/parsermodule.c (parser_parsefile): fix fatal typo in
1402 NULL comparison
1403
1404 * Misc/python.man: fixed mess describing -d and -i options
1405
1406Tue Feb 22 09:08:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
1407
1408 * Demo2: added new subdirectory holmes, with Mark Lutz' expert
1409 system shell
1410
1411 * Demo: added new subdirectory lutz, with Mark Lutz' examples
1412 (e.g. psh.py, a nice enhanced Python shell!!!)
1413
1414 * Lib/os.py: added listdir for Windows NT
1415
1416 * Modules/timemodule.c, Parser/intrcheck.c: changes for Windows NT
1417 by Jaap Vermeulen (#ifdef _M_IX86)
1418
1419 * Makefile.in (inclinstall): added variable INCLUDEPY to specify
1420 where the include files are installed
1421
1422 * Modules/nismodule.c (nisproc_maplist_2): cast some args to
1423 (caddr_t) as required on some systems
1424
1425 * Objects/mappingobject.c (getmappingitems): correct typo (called
1426 _values instead of _items)
1427
1428Mon Feb 21 17:07:07 1994 Guido van Rossum (guido@voorn.cwi.nl)
1429
1430 * Lib/rfc822.py: added access as a dictionary
1431
1432 * Lib/urlopen.py: new module to access arbitrary files designated
1433 by a URL (Universal Resource Locator)
1434
1435 * Lib/{httplib,gopherlib}.py: new modules to interface to HTTP
1436 and gopher servers
1437
1438 * Lib/rfc822.py: moved _monthnames to where it is used; add some
1439 blank lines
1440
Guido van Rossum3da56c31994-02-18 10:19:41 +00001441Fri Feb 18 09:54:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
1442
1443 * Lib/sgi/flp.py: avoid using time.milli{sleep,timer}
1444
1445 * Lib/stdwin/WindowSched.py: avoid using time.milli{sleep,timer}
1446 -- still maintain time in milliseconds though
1447
1448 * Lib/sched.py: remove references to milli{timer,sleep} from comments
1449
1450 * Lib/os.py: made execvp more portable; added os.pathsep and
1451 os.defpath
1452
1453Thu Feb 17 12:53:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
1454
1455 * Lib/ftplib.py(FTP.makeport): call listen(1) instead of listen(0)
1456 so it works on Solaris 2
1457
1458 * Modules/makesetup: reverse order of DEFS so first Setup file can
1459 override; any non-cpp uppercase option is sent to the linker
1460
1461Wed Feb 16 10:26:59 1994 Guido van Rossum (guido@voorn.cwi.nl)
1462
1463 * Objects/fileobject.c: add name, mode, softspace and closed
1464 attributes (softspace is also writable).
1465
1466 * configure.in: in --verbose mode, don't hide compiler output
1467
Guido van Rossum2a7cbe91994-01-26 17:55:41 +00001468========================================================================
Guido van Rossume1056b31994-02-15 15:54:42 +00001469Release of 1.0.1 (Feb 15 1994)
1470========================================================================
1471
1472Tue Feb 15 11:32:42 1994 Guido van Rossum (guido@voorn.cwi.nl)
1473
1474 * Lib/string.py (atof): force the result to be float
1475
1476 * Python/modsupport.c (do_arg): don't use a local object va --
1477 this doesn't work on some compilers (e.g. WATCOM)
1478
1479Mon Feb 14 10:52:01 1994 Guido van Rossum (guido@voorn.cwi.nl)
1480
1481 * Lib/dospath.py: proper version by Jaap Vermeulen
1482
1483 * Makefile.in (Makefiles): add semicolon after ) which some Make
1484 versions need
1485
1486 * Doc/libposix.tex: added doc for posix.fdopen
1487
1488 * README: add Sequent and NeXT to list of platforms; add
1489 troubleshooting section; add hist about -Dindex for readline
1490
1491 * Lib/os.py: generalize to many os specific modules using a
1492 dictionary
1493
1494 * Lib/ospath.py: now obsolete; use os.name to import the right one
1495
1496 * configure.in: change order of -lsocket and -lnsl and insert
1497 -linet in between, so it works on Sequent (it still works on
1498 Solaris 2 -- hope it still works elsewhere as well); add test for
1499 _NEXT_SOURCE (then define _POSIX_SOURCE); remove test for dlopen;
1500
1501 * configure.in, acconfig.h, */modsupport.[ch]: rename
1502 HAVE_VARARGS_PROTOTYPES to HAVE_STDARG_PROTOTYPES, to avoid
1503 confusion
1504
1505 * Include/modsupport.h: no prototypes for getargs() and mkvalue()
1506 in case no varargs prototypes
1507
1508 * Lib/test/test_grammar.py: don't import sleep from time, but time
1509 (since sleep has portability problems)
1510
1511Fri Feb 11 23:47:46 1994 Guido van Rossum (guido@voorn.cwi.nl)
1512
1513 * Parser/intrcheck.c: added QUICKWIN version (doesn't really
1514 work); fixed MSDOS version to also set a SIGINT handler.
1515
1516 * Modules/timemodule.c (time_sleep): declare sigsave 'auto' hoping
1517 this will avoid restoring its pre-setjmp value. On non-threaded
1518 systems declare it 'static' since at least Microsoft C still puts
1519 the auto variable in a register causing a bug... Also implement
1520 the MSDOS version of floatsleep() using a busy-wait loop calling
1521 intrcheck()
1522
1523Wed Feb 9 11:43:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
1524
1525 * Lib/rfc822.py: added parsedate() and parseaddr() utility
1526 functions and getdate(), getaddr(), getaddrlist() methods; added
1527 test code when run as script
1528
1529 * Include/pythonrun.h, Python/pythonrun.c: cleanup() is now
1530 externally visible, for the benefits of embedded use.
1531
1532 * Lib/dospath.py: new module for dos stuff
1533
1534Mon Feb 7 09:50:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
1535
1536 * Modules/makesetup: add -n option between Setup files (suppresses
1537 making of .o files but keeps processing of libraries and module
1538 names)
1539
1540 * Makefile.in (libainstall): install Setup, makesetup, config.c.in
1541
1542 * Modules/Setup*: added -lX11_s to line for gl module
1543
1544 * Demo/scripts/unbirthday.py: new script, print unbirthday count
1545
1546 * Modules/audioopmodule.c: removed hack for signed on sun
1547 (there's now a test in the configure script); check that if
1548 'signed' is defined away characters aren't unsigned
1549
1550 * Modules/posixmodule.c: include mytime.h (for clock_t on NeXT)
1551
1552 * acconfig.h: add entry for 'signed' keyword
1553
1554 * configure.in: remove const from check for exec prototypes; add
1555 check for signed keyword and check for whether chars are unsigned
1556
1557Fri Feb 4 13:07:03 1994 Guido van Rossum (guido@voorn.cwi.nl)
1558
1559 * Modules/makesetup: added usage message, -c and -m options to
1560 specify config.c.in and Makefile.pre input files, -s option to
1561 specify source directory, added comments
1562
1563 * Modules/Setup.in: remove -lm from imgfile entry
1564
1565 * Modules/nismodule.c: only define YPPROC_MAPLIST, YPPROG and
1566 YPVERS if not already defined
1567
1568 * configure.in, acconfig.h, Include/modsupport.h,
1569 Python/modsupport.c: added separate check for varargs prototypes
1570 (HAVE_VARARGS_PROTOTYPES)
1571
1572Thu Feb 3 11:00:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
1573
1574 * Python/bltinmodule.c (filterstring): fix core dump of func ==
1575 None
1576
1577 * Lib/string.py: replace atoi_error, atof_error, atol_error by
1578 ValueError when the strop versions are used
1579
1580 * Modules/stropmodule.c: added atol(), added optional base
1581 argument to atoi() and atol()
1582
1583 * Objects/longobject.c, Include/longobject.h: added long_escan
1584 (like long_scan but raises exception for bad base and stores end
1585 of string into return argument)
1586
1587 * Objects/rangeobject.c (range_repr): repr must use "xrange..."
1588
1589Wed Feb 2 12:28:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
1590
1591 * Modules/stropmodule.c: added atoi() and atof()
1592
1593 * Python/modsupport.c: use stdarg.h / varargs.h depending on
1594 presence of prototypes
1595
1596 * Modules/timemodule.c (floattime): try ftime() or time() if
1597 gettime() fails
1598
1599Tue Feb 1 14:41:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
1600
1601 * Doc/Makefile (python-lib.info): change makeinfo option style
1602 from +foo to --foo
1603
1604 * Doc/README: remove invalid reference to ../misc/FTP; update
1605 description of making the info version
1606
1607 * Doc/{fix.el,fix_hack,whichlibs}: minor updates/corrections
1608
1609Mon Jan 31 11:16:38 1994 Guido van Rossum (guido@voorn.cwi.nl)
1610
1611 * Python/import.c: only use shared libraries if HAVE_DLOPEN *and*
1612 HAVE_DLFCN_H are defined; define symbol USE_SHLIB then
1613
1614 * Doc/tut.tex: lots of small changes by Tim Peters: typos,
1615 out-of-date examples, restrictions lifted, new and better ways to
1616 do some things...
1617
1618Fri Jan 28 10:59:48 1994 Guido van Rossum (guido@voorn.cwi.nl)
1619
1620 * README: added Minix note
1621
1622 * Lib/sunau.py: correct byte count calculation from frame rate
1623
1624 * Lib/aifc.py: rate should be an integer
1625
1626Thu Jan 27 12:55:17 1994 Guido van Rossum (guido@voorn.cwi.nl)
1627
1628 * Doc/ext.tex: removed obsolete reminder in line 1; correct typo
1629
1630 * Misc/FAQ: fixed some out of date info, added question on module
1631 run as script
1632
1633 * Modules/rgbimgmodule.c (initrgbimg): exception string should
1634 contain dot not comma
1635
1636 * Modules/md5module.c: fix compiler warnings about (unsigned) char
1637
1638 * Makefile.in: libinstall and maninstall should use $(srcdir)
1639
1640 * Lib/tzparse.py: don't run test() on import
1641
1642 * Lib/filewin.py: moved into Lib/stdwin
1643
1644 * Modules/cdmodule.c: fix wrong cast of cdparser_getattr
1645
1646========================================================================
Guido van Rossum2a7cbe91994-01-26 17:55:41 +00001647Release of 1.0.0 (Jan 26 1994)
1648========================================================================
1649
Guido van Rossum76821a51994-01-26 17:31:17 +00001650Wed Jan 26 14:13:39 1994 Guido van Rossum (guido@voorn.cwi.nl)
1651
Guido van Rossum2a7cbe91994-01-26 17:55:41 +00001652 * Doc/tut.tex: updated version number in invocation example
1653
1654 * Doc/Makefile: update destination of texi2html
1655
Guido van Rossum76821a51994-01-26 17:31:17 +00001656 * Misc/FAQ: updated for release 1.0.0
1657
1658 * Misc/NEWS: created -- all bits of news
1659
1660 * Misc/HISTORY: added (from old releases)
1661
1662 * Misc/README: documented some new files
1663
1664 * README: non-beta version and preface, don't ref TODO
1665
1666 * Makefile.in: got rid of references to TODO
1667
1668 * Python/version.c, Doc/???.tex: updated version and date
1669
Guido van Rossum8f0d0c81994-01-25 20:08:34 +00001670Tue Jan 25 20:11:49 1994 Guido van Rossum (guido@voorn.cwi.nl)
1671
1672 * Doc/ext.tex: revamped, finally ready for release
1673
1674 * Doc/{Makefile,myformat.perl}: support latex2html (0.5.1)
1675
1676 * README: correct typo on DL_DIRECTORY
1677
Guido van Rossum23d19391994-01-24 15:42:32 +00001678========================================================================
1679Release of 1.0.0 BETA 6 (Jan 24 1994)
1680========================================================================
Guido van Rossum2a7cbe91994-01-26 17:55:41 +00001681
Guido van Rossum23d19391994-01-24 15:42:32 +00001682Mon Jan 24 16:37:46 1994 Guido van Rossum (guido@voorn.cwi.nl)
1683
1684 * Doc/ref?.tex: Change \verb\<stuff>\ into \verb@<stuff>@ so
1685 latex2html doesn't crash
1686
1687Thu Jan 20 18:05:18 1994 Guido van Rossum (guido@voorn.cwi.nl)
1688
1689 * Ext-dummy/, README, Makefile.in: Created new directory
1690 Ext-dummy/. Ext-dummy/ contains its own README and copies of
1691 Extensions/mk{ext,mf}.py.
1692
Guido van Rossumcb38cd01994-01-18 15:09:30 +00001693Tue Jan 18 11:04:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
1694
1695 * Python/getmtime.c: Include config.h if we have it
1696
1697 * Modules/Setup.in: fixed comments about GMP version
1698
1699 * Modules/nismodule.c: define YPPROC_MAPLIST, YPPROG, YPVERS as
1700 plain integer literals, to make it work on 64 bit machines
1701
1702 * Parser/grammar.c (translabel): remove redundant decl of strchr()
1703 (which caused trouble on AIX)
1704
1705Sun Jan 16 14:13:13 1994 Guido van Rossum (guido@voorn.cwi.nl)
1706
1707 * configure.in: test for fcntl.h
1708
1709 * Modules/posixmodule.c: include fcntl.h if it exists
1710
Guido van Rossumb46152a1994-01-14 16:59:57 +00001711Fri Jan 14 17:35:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
1712
1713 * configure.in: check for sys/time.h; substitute and check for AR;
1714 check for nice()
1715
1716 * Makefile.in: make python .PRECIOUS; define OPT=-O and pass it to
1717 submakes
1718
1719 * */Makefile*in: set OPT=-O; set AR=@ar@
1720
1721 * Modules/Setup.minix: new
1722
1723 * Lib/audiodev.py: only import system specific modules if needed
1724
Guido van Rossum4c627be1994-01-13 15:47:04 +00001725Thu Jan 13 16:40:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
1726
Guido van Rossum8f0d15c1994-01-13 16:16:30 +00001727 * Modules/flmodule.c: make type objects static
1728
1729 * Modules/almodule.c: make type objects static
1730
Guido van Rossum4c627be1994-01-13 15:47:04 +00001731 * Makefile.in: add rule to build Makefile; add VPATH for that;
1732 remove dependency on configure script (you can run 'make autoconf'
Guido van Rossumb46152a1994-01-14 16:59:57 +00001733 instead); add Lib/test to path for test target;
1734
1735 * Lib/test: new subdirectory, holds all test modules
Guido van Rossum4c627be1994-01-13 15:47:04 +00001736
Guido van Rossum33033151994-01-12 09:58:23 +00001737Wed Jan 12 10:17:41 1994 Guido van Rossum (guido@voorn.cwi.nl)
1738
Guido van Rossum4c627be1994-01-13 15:47:04 +00001739 * acconfig.h: added HAVE_ALTZONE
1740
1741 * configure.in: test for altzone; check for working
1742 termcap/termlib when --with-readline used; don't test for readline
1743 function; send errors to stderr
1744
1745 * Lib/test_grammar.py: fix 64-bit int test for max negative int
1746
Guido van Rossum33033151994-01-12 09:58:23 +00001747 * Python/import.c (get_module): call dlerror() when dlopen() fails
1748 (also some layout changes)
1749
Guido van Rossum2712c161994-01-11 12:00:38 +00001750Tue Jan 11 10:56:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
1751
Guido van Rossum33033151994-01-12 09:58:23 +00001752 * Python/import.c: use RTLD_NOW (define as 2 if undefined)
1753
1754 * Makefile.in: "make (local)clean" shouldn't bother about Include;
1755 added .PRECIOUS: config.status
Guido van Rossum2712c161994-01-11 12:00:38 +00001756
1757 * Modules/md5.h: define PROTOTYES as 1 if HAVE_PROTOTYPES is
1758 defined
1759
1760 * Modules/md5module.c: grand cleanup
1761
1762 * Modules/Setup.sgi: renamed to Setup.irix4
1763
1764 * Modules/Setup.sunos5: renamed to Setup.solaris2
1765
1766 * Modules/Setup.in: some makes (e.g. Ultrix) don't strip trailing
1767 whitespace from variable definitions -- make sure there isn't any
1768 in the defs used to generate PYTHONPATH
1769
1770 * Many modules and objects: use 'staticforward' where needed
1771
1772 * Include/object.h: added #define 'staticforward' as either static
1773 or extern depending on BAD_STATIC_FORWARD
1774
1775 * acconfig.h: added BAD_STATIC_FORWARD
1776
1777 * configure.in: added test for bad static forward
1778
1779Mon Jan 10 10:35:21 1994 Guido van Rossum (guido@voorn.cwi.nl)
1780
1781 * Modules/md5module.c: SCO ODT 3.0 dependent fix
1782
1783 * Objects/xxobject.c: quote size fields as tp_basicsize instead of
1784 (incorrectly) tp_size
1785
1786 * Objects/listobject.c (cmp): arguments must be const!!!
1787
1788 * Modules/imageopmodule.c: another attempt at casting away
1789 warnings about changed semantics in ANSI C
1790
1791 * Modules/regexpr.c: cast away warning about changed semantics in
1792 ANSI C
1793
1794 * Modules/Makefile.pre.in: add LIBC_S (shared version of -lc, to
1795 be figured out by configure)
1796
1797 * README, Python/version.c: version 1.0.0 BETA 6
1798
1799 * README: fixed description of Setup (which was buried under the
1800 SVR4 exception!); added description of --prefix, --exec-prefix,
1801 --with-libm and --with-libc
1802
1803 * configure.in: added --with-libc=... and --with-libm=...
1804
1805 * Modules/Makefile.pre.in: Remove dependency of Setup on Setup.in,
1806 so it is only copied when Setup does not exist at all; add
1807 prefix=/usr/local so Setup can base default path on --prefix
1808 option to toplevel configure script
1809
1810 * Modules/Setup.in: clarified build procedure in comments; don't
1811 include GNN's timing module by default; use $(prefix) instead
1812 requiring manual edit of DESTDIR
1813
1814 * Makefile.in: replace DESTDIR by prefix and exec_prefix and
1815 updated affected targets; added inclinstall and libainstall
1816 targets
1817
1818 * Objects/accessobject.c: removed (???) from comment to avoid
1819 trigraph warning
1820
1821 * Makefile.in (libinstall): correct typo: (D)DESTDIR
1822
1823Fri Jan 7 10:34:43 1994 Guido van Rossum (guido@voorn.cwi.nl)
1824
1825 * README: describe --with-sgi-dl and --with-dl-dld
1826
1827 * Python/Makefile.in: compile import.c with -I$(DLINCLDIR)
1828
1829 * Python/import.c: check for WITH_SGI_DL and WITH_DL_DLD
1830
1831 * acconfig.h: added WITH_SGI_DL and WITH_DL_DLD
1832
1833 * configure.in: added --with-sgi-dl=DIR and
1834 --with-dl-dld=DIR,DIR; now require --with-readline=DIR and test
1835 for existing directory
1836
1837 * Lib/test_audioop.py: new module to test (you guessed it) audioop
1838
1839 * Modules/audioopmodule.c: got rid of adpcm32lin and lin2adpcm3 --
1840 Jack says they're not useful
1841
1842========================================================================
1843Release of 1.0.0 BETA 5 (Jan 6 1994)
1844========================================================================
1845
Guido van Rossume0d95c31994-01-06 14:47:25 +00001846Thu Jan 6 13:36:32 1994 Guido van Rossum (guido@voorn.cwi.nl)
1847
Guido van Rossum658c9981994-01-06 17:20:58 +00001848 * readline/Makefile: remove some cruft so it works with VPATH
1849
1850 * Lib/aifc.py: remove dependencies on AL (Sjoerd)
1851
Guido van Rossume0d95c31994-01-06 14:47:25 +00001852 * README: describe new Setup procedure
1853
1854 * Modules/Makefile.pre.in: copy Setup from $9srcdir)/Setup.in so
1855 it *really* works with VPATH
1856
1857 * Modules/Setup: renamed to Modules/Setup.in
1858
1859 * Python/pythonmain.c (realmain): fclose script file
1860
1861 * Python/import.c (get_module): fix important leak: close the .py
1862 file after parsing!
1863
1864 * README, Python/version.c: version 1.0.0 BETA 5
1865
Guido van Rossum516d4d91994-01-05 17:53:05 +00001866Wed Jan 5 16:42:35 1994 Guido van Rossum (guido@voorn.cwi.nl)
1867
1868 * Modules/rgbimgmodule.c: Only include <unistd.h> if it exists
1869
1870 * Modules/timemodule.c: don't include sys/time.h on the Mac
1871
1872 * Modules/stdwinmodule.c (initstdwin): don't fuss with sys.argv on
1873 the mac -- so {check,putback}stringlist aren't needed there
1874
1875 * Parser/intrcheck.c: Make sure <MacHeaders> is included before
1876 any other include file
1877
1878 * Modules/audioopmodule.c: include math.h after allobjects.h (so
1879 the latter can be a precompiled header file on the Mac)
1880
1881Wed Jan 5 15:34:26 1994 Guido van Rossum (guido@poseidon.cwi.nl)
1882
1883 * Python/pythonrun.c (sighandler): only call kill(getpid()) if
1884 getpid() exists; otherwise call exit(1)
1885
1886 * configure.in: added test for getpid()
1887
1888 * Modules/config.c.in: Changes for Macintosh: new default path,
1889 call wargc() in main(); 1994 copyright
1890
1891 * Python/frozenmain.c: added declarations for getversion() and
1892 getcopyright() (foei!); insert "Python " before version on banner
1893
1894 * Python/pythonmain.c: added declarations for getversion() and
1895 getcopyright() (foei!); default startupfile to "PythonStartup" on
1896 Macintosh; add fclose(fp) for startupfile; insert "Python " before
1897 version on banner
1898
Guido van Rossum2f3e8d51994-01-05 00:15:29 +00001899========================================================================
Guido van Rossum718581a1994-01-05 01:17:12 +00001900Release of 1.0.0 BETA 4 (Jan 5 1994)
1901========================================================================
1902
1903Wed Jan 5 01:21:59 1994 Guido van Rossum (guido@voorn.cwi.nl)
1904
1905 * README, version.c: bumped version to 1.0.0 BETA 4
1906
1907 * README: removed all references to --with-solaris; updated list
1908 of files and directories
1909
1910 * Modules/sunaudiodevmodule.c: define SOLARIS if
1911 HAVE_SYS_AUDIOIO_H is defined
1912
1913 * Python/thread.c: define SOLARIS if HAVE_THREAD_H is defined
1914
1915 * configure.in: added test for <thread.h> (SOLARIS thread
1916 interface); remvoe test for --with-solaris
1917
1918========================================================================
Guido van Rossum2f3e8d51994-01-05 00:15:29 +00001919Release of 1.0.0 BETA 3 (Jan 5 1994)
1920========================================================================
1921
Guido van Rossumf1009e81994-01-04 23:29:10 +00001922Wed Jan 5 00:18:45 1994 Guido van Rossum (guido@voorn.cwi.nl)
1923
Guido van Rossum04e74c41994-01-05 00:00:14 +00001924 * {Parser,Objects,Python,Makefile}/Makefile*in: made depend target
1925 work with VPATH
1926
Guido van Rossumf1009e81994-01-04 23:29:10 +00001927 * README: describe new build procedure; added section on building
1928 for multiple architectures
1929
1930 * acconfig.h: fix (reversed!) comment for SYS_SELECT_WITH_SYS_TIME
1931
1932 * Modules/Makefile.pre.in: copy Setup from $(srcdir) if not
1933 present, and use local Setup as input for makesetup script
1934
Guido van Rossum79556aa1994-01-04 22:02:27 +00001935Tue Jan 4 12:32:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
1936
1937 * Note that there are no functional changes below -- just changes
1938 to the build process and changes to avoid compiler warnings
1939
1940 * Modules/Setup: disable nis as well by default, change the
1941 pertaining comments, and change the comments about the multimedia
1942 modules to be default on
1943
1944 * fixed all warnings about function pointer initializations, and
1945 miscellanous other warnings (e.g. about extern forward references
1946 to static variables); touched random bits of code as a consequence
1947
1948 * changed configuration process and Makefiles to support VPATH;
1949 for this, config.h(.in) now lives to the toplevel directory, the
1950 toplevel Makefile is now created by configure as well, and various
1951 improvements to it have been made (e.g. working tags and TAGS
1952 targets), the makesetup script follows configure instead of
1953 preceding it, it understands srcdir and has an exception for
1954 glmodule.c, the intermediate file is called Makefile.pre, the
1955 Makefiles don't use TOP any more and are much more careful about
1956 the difference between .. and the toplevel directory, and I've
1957 improved my understanding of how configure handles srcdir
1958
1959 * Modules/threadmodule.c: refuse to compile when WITH_THREAD is not
1960 defined
1961
1962 * configure.in, acconfig.h, config.h.in, Include/ceval.h,
1963 Modules/{stdwin,thread}module.c, Python/{ceval,pythonrun}.c:
1964 renamed USE_THREAD to WITH_THREAD
1965
1966 * configure.in: add AC_PROG_INSTALL
1967
1968 * README, Python/version.c: version set to 1.0.0 BETA 3
1969
1970 * Demo, Include, Lib: added Makefile with clean/clobber targets
1971
1972 * README: added remarks on --with-svr4; unnumber special cases
1973
1974 * configure.in: only look for -lnsl and -lsocket if --with-svr4 is
1975 specified, to avoid linking with them on IRIX 5
1976
1977========================================================================
1978Release of 1.0.0 BETA 2 (Jan 3 1994)
1979========================================================================
1980
1981Mon Jan 3 22:21:24 1994 Guido van Rossum (guido@voorn.cwi.nl)
1982
1983 * Include/myselect.h: fix typo in name of SYS_SELECT_WITH_SYS_TIME
1984
1985 * Parser/pgen.h: moved here from Include; removed extern
1986 definition of 'gram'
1987
1988 * Parser/acceler.c: include node.h, now needed by parser.h
1989
1990 * README: added paragraph on testing
1991
1992 * Misc/python.man: changed date and add 1994 copyright
1993
1994 * Makefile: added test target
1995
1996 * Python/thread.c: include config.h if needed
1997
1998 * Parser/parser.h: remove references to struct _grammar and
1999 similar things
Guido van Rossum5536a3c1994-01-02 23:28:55 +00002000
Guido van Rossume182fe51994-01-03 15:21:29 +00002001 * Modules/rotormodule.c (RTR_e_char, RTR_d_char): avoid warnings
2002 by picky compilers about unsigned % signed
2003
2004 * README: added a section on building it for non-UNIX systems
2005
2006 * Makefile (configure): call autoheader when calling autoconf
2007
2008 * Include/config.h.in: now generated by autoheader
2009
2010 * acconfig.h: new file (input for autoheader)
2011
Guido van Rossum976877e1994-01-03 14:24:47 +00002012 * configure.in: added AC_REVISION call to top
2013
2014 * Modules/flmodule.c (form_setattr): one NULL should be 0
2015
2016 * Include/myselect.h: this now implies mytime.h and attempts to
2017 work around systems where sys/select.h and sys/time.h can't be
2018 included together
2019
2020 * Modules/socketmodule.c, Doc/libsocket.tex: remove socket avail()
2021 method -- you can use select instead
2022
2023 * Modules/Setup: disable dbm, it is not truly portable
2024
2025 * Lib/sunau.py: incorporate one-line fix by Sjoerd
2026
2027 * Include/pgenheaders.h: include <stdlib.h> if its symbol
2028 defined, not just on the mac
2029
2030 * Include/grammar.h: remove redundant structure tags
2031
2032 * Include/cgensupport.h: avoid possible macro argument
2033 substitution inside string literal
2034
2035 * configure.in, Include/config.h.in: add test whether sys/select.h
2036 and sys/times.h can be included by the same program
2037
Guido van Rossum313e5cb1994-01-03 03:51:06 +00002038 * Include/config.h.in: add lines for HAVE_SYS_UN_H and
2039 HAVE_GETPEERNAME
2040
2041 * Extensions/mkext.py: copy change in library order from
2042 Modules/Makefile.in.in
2043
2044 * Modules/Makefile.in.in: change library order subtly so -ltermcap
2045 follows instead of precedes -lgl_s on SGI systems; this solves
2046 (hides?) problems with clashing entry points
2047
2048 * configure.in: added sys/un.h to list of tested header files;
2049 added getpeername to list of tested functions (both for
2050 Modules/socketmodule.c)
2051
2052 * Modules/socketmodule.c: conditionally include sys/un.h and
2053 change tests for AF_UNIX to tests for HAVE_SYS_UN_H; test for
2054 HAVE_GETPEERNAME instead of NO_PEERNAME
2055
2056 * Modules/config.c.in: add marshal and __main__ built-in modules
2057
2058 * Python/sysmodule.c (list_builtin_module_names): sort the list
2059
Guido van Rossumbbf27191994-01-03 02:11:27 +00002060 * Doc/Makefile: remove 'qua' from default targets
2061
2062 * Doc/README: add reference to ext.tex, change reference to
2063 lib*.tex, explain that qua isn't built by default
2064
2065 * README: explain DESTDIR, clarify install procedure, add more
2066 explanation to some options, add description of ChangeLog, add
2067 wuarchive.wustl.edu to list of mirror sites
2068
2069 * Modules/socketmodule.c: make AF_UNIX code dependent on existence
2070 of AF_UNIX (SCO ODT 3.0 doesn't support it -- let's hope it
2071 doesn't define the symbol either)
2072
2073 * Makefile: attempt to fix install targets (added separate
2074 libinstall and maninstall)
2075
2076 * Doc/libregex.tex: documented Tracy Tims' changes
2077
Guido van Rossum5536a3c1994-01-02 23:28:55 +00002078 * Modules/regexpr.c: redid Tracy Tims' changes to minimize diffs
2079 (only two added lines now)
2080
2081 * Modules/regexmodule.c: fix core dump when asking a plain regex
2082 object for a named group
2083
2084Sun Jan 2 23:10:44 1994 Guido van Rossum (guido@voorn.cwi.nl)
2085
2086 * README, Python/version.c: changed version string to 1.0.0 BETA 2
2087
2088 * Modules/{regexpr.{c,h},regexmodule.c}: merged in Tracy Tims'
2089 mods for named subexpressions
2090
2091 * Include/regexpr.h: moved to Modules/regexpr.h
2092
2093 * Modules/timingmodule.c: change tests for no arguments
2094
2095 * configure.in: remove strtoul from AC_REPLACE_FUNCS; remove
2096 initial blank line (which got copied into configure so it wouldn't
2097 start with #!/bin/sh as required)
2098
2099 * Python/compile.c: call mystrto(u)l instrad of strto(u)l
2100
2101 * Python/Makefile.in: add mystrtoul.c to OBJS
2102
2103 * Python/mystrtoul.c: renamed from strtol.c; renamed functions to
2104 mystrto(u)l; this is now a standard source file (since some
2105 systems have a strto(u)l that doesn't report errors properly)
2106
2107 * Modules/Setup: added entry for timing module
2108
2109 * Modules/{timing.h,timingmodule.c}: new files implementing GNN's
2110 timing module
2111
2112========================================================================
2113Release of 1.0.0 BETA (Jan 1 1994)
2114========================================================================