blob: e49328e18d43d247780404670c55188221dd996b [file] [log] [blame]
Guido van Rossum8a30adc1995-01-09 17:54:07 +00001Mon Jan 9 14:20:16 1995 Guido van Rossum <guido@voorn.cwi.nl>
2
3 * Python/thread_pthread.h: Alpha OSF/1 fix
4
5 * Python/importdl.c (load_dynamic_module): removed bogus check for
6 reloading of dynamically loaded modules (tested uninitialized
7 local variable)
8
9 * Include/{frameobject.h,ceval.h,bltinmodule.h,rename1},
10 Python/{ceval.c,import.c,pythonrun.c,bltinmodule.c},
11 Object/frameobject.c: changed handling of builtins. Each frame
12 now has a pointer to the dictionary of builtins to be used in that
13 frame, initialized from __builtins__ in the globals passed to the
14 frame. Only run_node() and exec_code_module() initialize
15 __builtins__ to the dictionary of the real __builtin__ module.
16 Furthermore, a frame is in "restricted" mode if its builtins are
17 not the real __builtin__ module. In restricted mode, some other
18 modules and object types restrict their interfaces. Subtle
19 change: eval_code() no longer automatically fills in the default
20 globals; this must be done by the caller (who can then also
21 explicitly stick in the builtins if needed). bltinmodule.c no
22 longer exports {get,set}builtin() but instead exports
23 getbuiltindict(). ceval.c export getbuiltins() and
24 getrestricted() in analogy of getglobals().
25
26 * Include/sysmodule.h, Python/{sysmodule.c,ceval.c},
27 Doc/libsys.tex: change sys.check_interval Python variable into
28 Python function sys.setcheckinterval(interval) and C variable
29 sys_checkinterval
30
31 * Mac/macosmodule.c: use new getargs interface; add
32 {Get,Set}FileInfo
33
34Sat Jan 7 09:40:24 1995 Guido van Rossum <guido@voorn.cwi.nl>
35
36 * Python/compile.c: support import A.B...Z; added doc strings to
37 modules, classes and function
38
39 * Python/ceval.c: use new instancebinop interface
40
41 * Python/bltinmodule.c: restructured coerce(), divmod(), pow() to
42 use new instancebinop interface
43
44 * Objects/classobject.c: added 5th (function) parameter to
45 instancebinop, to support things like Rational * float; added
46 documentation strings to classes and methods
47
48 * Objects/methodobject.c: changed drastically, the object now
49 contains a pointer to the struct methodlist (which must be
50 static); added attributes __name__, __doc__ and __self__
51
52 * Objects/funcobject.c: added __doc__ attribute (alias func_doc),
53 initialized from first constand in code object if it is a string,
54 else to None
55
56 * Objects/moduleobject.c: initialize __doc__ to None
57
58 * Objects/typeobject.c: added getattr(), supporting __doc__ and
59 __name__
60
61 * Objects/object.c: raise AttributeError, not TypeError for object
62 without attributes
63
64 * Python/modsupport.c, Include/modsupport.h: add doc string
65 parameter to initmodule3 (renamed from initmodule2); new
66 newmethodobject() interface
67
68 * Modules/signalmodule.c (initsignal): don't call
69 newmethodobject() directly -- rely on initmodule()
70
71 * Modules/newmodule.c: rationalize argument checking, redo
72 lay-out, add __doc__ strings
73
74 * Include/object.h: added tp_str (to implement str()), tp_doc, and
75 some dummy fields
76
77 * Include/methodobject.h: added ml_doc member to struct methodlist
78 and renamed ml_varargs to ml_flags; changed newmethodobject() to
79 take a struct methodlist * argument instead of individual parts;
80 got rid of ML_FREENAME again
81
82 * Include/funcobject.h: added func_doc struct member
83
84 * Include/classobject.h: added 5th (function) parameter to
85 instancebinop, to support things like Rational * float
86
87 * Grammar/Grammar: changed import to support NAME.NAME...NAME
88
89 * Python/importdl.c (load_dynamic_module): NT dlls have extension
90 .pyd, not .dll
91
92Thu Jan 5 11:00:13 1995 Guido van Rossum <guido@voorn.cwi.nl>
93
94 * Demo/scripts/mboxconvert.py: invent Message-ID if none present
95
Guido van Rossumaf5b83e1995-01-04 19:02:35 +000096Wed Jan 4 18:23:09 1995 Guido van Rossum <guido@voorn.cwi.nl>
97
98 * Python/modsupport.c (initmodule2), Include/methodobject.h,
99 Objects/methodobject.c: introduced METH_FREENAME bit passed to
100 newmethodobject to indicate that if the object is freed the name
101 pointer must also be freed (this saves a long standing memory leak
102 in initmodule2)
103
104 * Modules/structmodule.c (struct_pack, struct_unpack): use memcpy
105 instead of double precision assignment (since a string isn't
106 always double-aligned, e.g. when debug fields are present in the
107 object header)
108
109 * Objects/floatobject.c (float_hash): changed a constant to avoid
110 float->long conversion overflow
111
112 * Python/bltinmodule.c (builtin_pow): fix coerce() ref count
113 nightmare (core dumps on Linux)
114
115 * Python/pythonrun.c: call flushline() in print_error(), after
116 fetching the exception info, since flushline() can mask an
117 exception; move flushline() calls around so they are not between
118 the detection and printing of the exception
119
120Tue Jan 3 12:55:28 1995 Guido van Rossum <guido@voorn.cwi.nl>
121
122 * Modules/config.c.in (getcopyright): Change copyright to include
123 1995
124
125Mon Jan 2 20:15:39 1995 Guido van Rossum <guido@voorn.cwi.nl>
126
127 * Objects/mappingobject.c (mappingremove): don't call
128 lookmapping() for empty dictionary
129
130 * Doc/libsocket.tex (section{Built-in Module \sectcode{socket}}):
131 documented gethostbyaddr()
132
133 * Modules/mpzmodule.c (mpz_power): made it ternary
134
135 * Modules/mathmodule.c: only use hypot() if it exists
136
137 * Modules/Makefile.pre.in (sharedinstall): fix bug (sh can't loop
138 over empty list) when $(SHAREDMODS) is empty
139
140sMon Jan 2 19:35:49 1995 Guido van Rossum <guido@voorn.cwi.nl>
141
142 * Python/errors.c: added hook for better mac error messages
143
144 * Python/pythonrun.c (run_script): removed extraneous fclose() in
145 case of .pyc file argument
146
147 * Include/{object.h,stringobject.h}: changed refcnt and sizes from
148 unsigned to int (i.e. signed)
149
150 * Objects/fileobject.c (newfileobject): use HAVE_FOPENRF instead
151 of USE_FOPENRF
152
153 * Lib/test/test_b1.py: test eval() and execfile() with globals,
154 locals arguments
155
156 * Lib/mhlib.py: added movemessage(), copymessage(), added copy
157 fallback for refilemessages(), and updated the docs
158
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000159Fri Dec 30 16:19:17 1994 Guido van Rossum <guido@voorn.cwi.nl>
160
161 * Parser/tokenizer.c (tok_nextc): zap tok->buf after freeing
162
163 * Include/traceback.h: added struct _frame declaration for ANSI C
164
165 * Include/bitset.h: move definition of testbit() around
166
167Thu Dec 29 10:09:25 1994 Guido van Rossum <guido@voorn.cwi.nl>
168
169 * Objects/mappingobject.c (mapping_has_key): don't call
170 lookmapping() for empty dictionary
171
172 * Modules/Makefile.pre.in: use new style @prefix@ substitution
173 (sharedinstall): fix case of loop over empty $(SHAREDMODS)
174
175 * Several files: removed redundant variables etc. (Sam Leffler)
176
177Wed Dec 28 12:09:10 1994 Guido van Rossum <guido@voorn.cwi.nl>
178
179 * Modules/threadmodule.c (t_bootstrap): XDECREF the return value;
180 (thread_exit_thread): DECREF the frame returned by save_thread()
181
182 * Modules/md5module.c, Doc/libmd5.tex: renamed md5.md5() to md5.new()
183
184Wed Dec 21 13:30:47 1994 Guido van Rossum <guido@voorn.cwi.nl>
185
186 * Python/ceval.c (build_class): add hook for Donald Beaudry
187
188Mon Dec 19 17:35:13 1994 Guido van Rossum <guido@voorn.cwi.nl>
189
190 * Doc/libposixfile.tex: the fileopen function was erroneously
191 documented as openfile
192
193Tue Dec 13 11:46:03 1994 Guido Van Rossum <guido@tesla>
194
195 * config.h.in, configure: rewritten *by* autoconf 2.0
196
197 * configure.in: parts rewritten for autoconf 2.0; strip spaces
198 from uname output for QNX; test for some new things like
199 ftruncate, truncate and va_list as array
200
201 * acconfig.h: some reordering to get things in alphabetical order;
202 added GETTIMEOFDAY_NO_TZ and VA_LIST_IS_ARRAY
203
204 * README: Added SCO notes
205
206 * Python/thread_solaris.h (start_new_thread): create new threads
207 with THR_DETACHED option instead of THR_NEW_LWP -- else there's a
208 limit to the number of threads you can create in total, ever, per
209 process
210
211 * Python/traceback.c (tb_print): don't store in sys.last_traceback
212 (that's done in pythonrun.c:print_error() now)
213
214 * Python/pythonrun.c (print_error): use fatal() instead of
215 abort(); use err_fetch() instead of err_get(); call tb_print()
216 instead of going through ceval.c:printtraceback()
217
218 * Python/modsupport.c: fix vmkvalue() for systems where va_list is
Guido van Rossumaf5b83e1995-01-04 19:02:35 +0000219 an array; add support for creating lists and dictionaries; added
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000220 convenience functions for calling functions/methods with format
221 and argument list
222
223 * Python/marshal.c (rd[s]_object): add trap for calls while an
224 exception condition is still set
225
226 * Python/{import.c,importdl.c}: completely restructured: moved
227 all dynamic loading stuff to importdl.c; added public interface
228 to the functionality through module 'imp' (for __import__ hack)
229
230 * Modules/threadmodule.c (t_bootstrap): fix leak of result value
231 (still a massive leak left I think)
232
233 * Python/errors.c: don't declare strerror on NT
234
235 * Python/getargs.c (vgetargs[1]): fix for systems where va_list
236 is an array
237
238 * Python/compile.c: use fatal() instead of abort(); use
239 err_{fetch,restore}
240
241 * Python/ceval.c: move some (X)DECREF's around for improved
242 re-entrancy; call built-in __import__ to implement IMPORT_NAME;
243 use err_{fetch,restore}; fix call to __rshift__ in __lshift__;
244 check for string left arg before anything else in rem()
245
246 * Python/ceval.c, Include/ceval.h: get rid of printtraceback
247
248 * Python/bltinmodule.c: added __import__ built-in function;
249 restructured argument parsing of most built-ins to use
250 newgetargs()
251
252 * Python/Makefile.in: add importdl.o to OBJS; special-case
253 compilation of importdl.c instead of import.c
254
255 * Parser/{pgen.c,parser.c,grammar.c}: use fatal() instead of abort()
256
257 * Objects/object.c: use fatal() instead of abort()
258
259 * Objects/mappingobject.c: fix re-entrancy bugs (allow ma_table
260 and ma_size to be 0)
261
262 * Objects/listobject.c: fix some re-entrancy bugs (not complete)
263
264 * Objects/frameobject.c: use err_{fetch,restore} everywhere; use
265 fatal() instead of abort()
266
267 * Objects/fileobject.c (file_truncate): new method (only of
268 ftruncate() is in libc)
269
270 * Objects/classobject.c (instance_getattr): add err_clear() when
271 retrying after failing instance_getattr1() call; use
272 err_{fetch,restore} everywhere
273
274 * Modules/tkintermodule.c: use PyErr_{Fetch,Restore} instead of
275 {GetAndClear,SetObject}; fix NULL dereference in TimerHandler
276
277 * configure.in, Modules/timemodule.c: on some systems,
278 gettimeofday() has no second argument
279
280 * Modules/socketmodule.c: if O_NDELAY undefined, use O_NONBLOCK
281 (for QNX); use gethostbyname_r if it exists (since it is
282 re-entrant); use h_error and hstrerror when they exist; other
283 changes for re-entrancy; make printable representation more
Guido van Rossumaf5b83e1995-01-04 19:02:35 +0000284 useful; cosmetic changes in argument lists; add gethostbyaddr()
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000285
286 * Modules/signalmodule.c: if NSIG undefined, use _SIGMAX + 1
287
288 * Modules/posixmodule.c: changes for direct/dirent dictated by
289 autoconf 2.0
290
291 * Modules/config.c.in: added standard built-in module "imp"
292
293 * Modules/{Makefile.pre.in,makesetup}: change @...@ to _..._
294
295 * Makefile.in: adapted to autoconf 2.0; treat prefix in a standard
296 way, remove config caches in distclean target
297
298 * Lib/tkinter/Tkinter.py (Pack.propagate): fix calling convention
299
300 * Lib/test/test_b2.py: test reload() of built-in module (marshal)
301
302 * Lib/test/{test_b1.py,testall.out}: added test for __import__
303
304 * Include/rename1.h: change HEAD_INIT to macro with argument
305
306 * Include/import.h: added decl for get_pyc_magic()
307
308 * Include/{rename1.h,errors.h}, Python/errors.c: added err_fetch()
309 and err_restore(), get rid of err_get()
310
311 * Include/bltinmodule.h, Python/bltinmodule.c (getbuiltins): new
312 like getbuiltin() buit takes char * instead of stringobject *
313 argument (for __import__ hack)
314
315 * Doc/tut.tex: use spam, bacon and eggs instead of foo, bar, bletch
316
317 * Doc/libtypes.tex (File Objects): add footnote
318 explaining why readline() leaves the trailing newline in
319
320Sat Nov 19 15:14:02 1994 Guido Van Rossum <guido@tesla>
321
322 * Objects/mappingobject.c: ma_table may now be NULL (when ma_size
323 == ); changes to avoid re-entering the interpreter via DECREF
324 while the mapping object is being modified
325
326 * Several other places: similar
327
328 * errors.[ch]: new functions err_fetch and err_restore
329 fetch and restore all three exception related values (plus places
330 using these)
331
332 * Makefile.in (TESTPATH): Added ./Modules to test path so
333 dynamically loaded modules are found even if not yet installed
334
335Wed Nov 16 14:19:01 1994 Guido Van Rossum <guido@tesla>
336
337 * Python/sysmodule.c (list_builtin_module_names): stop a leak
338
339Mon Nov 14 13:21:45 1994 Guido van Rossum <guido@tesla>
340
341 * Doc/ref[467].tex: don't use \verb{...} in footnotes; rewritten
342 using {\tt ...}
343
344 * Lib/urlparse.py (urljoin): safe version of Andy Bensky's fix to
345 urllib.py
346
347 * Lib/urllib.py (basejoin): (Andy Bensky) fix case where url has a
348 type and a path but no host -- the host from the base should be
349 inserted
350
351 * Parser/grammar.c: (Don Beaudry) initialize accelerators print
352 "Translating labels" header only if debugging
353
354 * Doc/ref[36].tex: some typos
355
356 * Doc/ref[35].tex: clarify reverse/backward quotes, add them to
357 the index
Guido van Rossum5dee5e71994-11-10 23:06:54 +0000358
359===================================
360==> Release 1.1.1 (10 Nov 1994) <==
361===================================
362
363Thu Nov 10 13:09:26 1994 Guido van Rossum <guido@tesla>
364
365 * Objects/classobject.c (instance_compare): don't ever raise an
366 exception or return -2
367
368 * Python/compile.c: stick "<lambda>" in function name instead of
369 NULL or None
370
371 * Doc/tut.tex: corrected a few typos
372
373 * Modules/tkintermodule.c: added timer and file handler interfaces
374 and made mainloop/quit global functions (as well still being tk
375 methods)
376
377 * Modules/newmodule.c: made it compile on SunOS4.1.3 (there were
378 continuation backslashes on non-cpp lines :-)
379
380 * Modules/gdbmmodule.c: fix some bugs (freed the wrong objects)
381
382 * Modules/Setup.in: clarified some things a little in the comments
383
384 * Modules/Makefile.pre.in (sharedinstall): don't fail if there
385 aren't any shared modules
386
387 * Include/structmember.h: include stddef.h (for offsetof)
388
389 * Include/rename1.h: added PyArg_ParseTuple for newgetargs
390
391 * Python/bltinmodule.c: fix core dump in pow() (should be declared
392 varargs in methodlist array)
393
394 * Python/ceval.c: replace abort() calls with fatal() calls
395
396 * Python/errors.c (err_setval): call err_clear() to clear existing
397 error instead of calling XDECREF
398
399 * Python/getargs.c: fix core dump when old style call expecting
400 some arguments receives none
401
402 * Lib/test/{test_b[12].py,testall.out}: added more tests (now all
403 built-ins are covered again)
404
Guido van Rossum9444ce01994-10-20 22:10:23 +0000405Thu Oct 20 08:31:02 1994 Guido van Rossum <guido@tesla>
406
407 * Modules/makesetup: should use $cc not cc
408
409 * configure.in, configure, config.h.in: test for presence of
410 stddef.h
411
412 * Include/structmember.h: include <stddef.h> if it exists
413
414Wed Oct 19 11:45:35 1994 Guido Van Rossum <guido@tesla>
415
416 * Makefile.in: patch by Wolf-D. Ihlenfeld to use BINDIR etc
417
418 * Lib/tkinter/Tkinter.py: added option_{add,clear,get,readfile} to
419 Misc class
420
421 * Lib/poly.py: fix bug in minus()
422
423 * Modules/Setup.in: clarified optional SGI modules and improved
424 template for using *noconfig*
425
426 * Doc/Makefile: don't assum '.' is in $PATH
427
428 * Modules/mathmodule.c, Doc/libmath.tex: add hypot()
429
430 * Makefile.in: on libinstall, automatically run sharedinstall in
431 Modules
432
433 * Modules/Makefile.pre.in: always make sharedmods
434
435 * Modules/makesetup: quote $ in two places
436
437 * configure.in, acconfig.h.in, config.h.in, configure,
438 Modules/posixmodule.c: separate arg requirements for getpgrp() and
439 setpgrp()
440
441 * Nt/Python/makefile.nt.mak: added getargs()
442
443Thu Oct 13 07:51:03 1994 Guido van Rossum <guido@voorn.cwi.nl>
444
445 * README: removed misleading comment about example Setup.* files
446
Guido van Rossum1146c871994-10-10 18:05:40 +0000447=================================
448==> Release 1.1 (11 Oct 1994) <==
449=================================
450
Guido van Rossum7647b821994-10-11 15:44:53 +0000451Tue Oct 11 16:24:42 1994 Guido van Rossum <guido@voorn.cwi.nl>
452
453 * last-minute changes for SunOS 4.1.3: test for volatile in
454 configure; add getargs.o dependency to Modules/Makefile.in; some
455 things in README and Misc/NEWS; change pathnames in
456 Demo/tkinter/guido/*.py; new date in Doc
457
Guido van Rossum1146c871994-10-10 18:05:40 +0000458Mon Oct 10 19:00:34 1994 Guido van Rossum <guido@voorn.cwi.nl>
459
460 * Makefile.in: apply ranlib to installed libraries
461
462 * Modules/socketmodule.c: new style
463
464 * Doc/ref3.tex: some stuff about __getattr__ etc.
465
Guido van Rossumb85ae1a1994-10-06 16:15:09 +0000466Thu Oct 6 16:40:05 1994 Guido van Rossum <guido@voorn.cwi.nl>
467
468 * Got rid of Modules/imgformat.c (will be distributed with Jack's
469 img package)
470
471 * Doc/*.tex: moved title boilerplate to separate file, added
472 copyright notice (separate file)
473
474Wed Oct 5 11:13:13 1994 Guido van Rossum <guido@voorn.cwi.nl>
475
476 * Modules/config.c.in: don't include frozen.c when frozen (the new
477 freeze script compiles it separately)
478
479 * Lib/os.py: add dummy import posixpath, for freeze script
480
481 * Python/marshal.c (r_object): plugged memory leak in reading of
482 code objects
483
484 * Modules/config.c.in (getpythonpath): always return malloc'ed
485 memory -- save a static pointer to free next time (prevents leaks)
486
487Thu Sep 29 10:35:28 1994 Guido van Rossum <guido@voorn.cwi.nl>
488
489 * Grammar/Grammar: got rid of history; changed some diagram
490 commands
491
492 * Lib/types.py: cosmetic changes
493
494 * Mac/{config.c,macosmodule.c}: new interface to (a few bits of)
495 the Mac OS
496
497 * Modules/xxmodule.c: integrated with xxobject.c by Jack
498
499 * Modules/(posix,socket}module.c: more NT changes
500
501 * Python/traceback.c: security fix -- check for buffer oveflow
502 before concatenating sys.path item and module name
503
504 * Python/ceval.c, Include/ceval.h: promote MakePendingCalls to
505 global: Py_MakePendingCalls. Also guard against recursive calls
506
507 * Python/pythonmain.c: fatal error if can't alloc mem for -c
508 string
509
510 * Python/pythonrun.c: add string "Python" to fatal error message
511
512Wed Sep 28 16:39:09 1994 Guido van Rossum <guido@voorn.cwi.nl>
513
514 * Objects/longobject.c: change ValueError to OverflowError when
515 converting to int
516
517 * Objects/xxobject.c: changed to use new style (not finished?)
518
519 * Objects/stringobject.c: use HAVE_LIMITS instead of __STDC__
520
521 * Objects/rangeobject.c: modernized
522
523 * Objects/floatobject.c: add overflow check when converting float
524 to int and implement truncation towards zero using ceil/float
525
526 * Parser/intrcheck.c: make 'interrupted' global (forgot for
527 whom...)
528
529 * Include/rename1.h: don't even define Py_FPROTO
530
531 * Python/{modsupport.c,getargs.c,Makefile.in},
532 Include/modsupport.h: moved getargs() to its own file and
533 re-implemented it entirely to support optional arguments, multiple
534 arguments without surrounding parentheses
535 (when called as newgetargs()), and better error messages
536
537 * Include/classobject.h, Objects/classobject.c,
538 Python/{ceval.c,bltinmodule.c}: entirely redone operator
539 overloading. The rules for class instances are now much more
540 relaxed than for other built-in types
541 (whose coerce must still return two objects of the same type)
542
543Sun Sep 18 07:26:39 1994 Guido van Rossum <guido@cayenne.cwi.nl>
544
545 * Python/pythonrun.c (print_error): print only last line of
546 multi-line source line
547
548 * Parser/tokenizer.c (tok_nextc): count line numbers when parsing
549 strings
550
551Fri Sep 16 15:54:56 1994 Guido van Rossum <guido@voorn.cwi.nl>
552
553 * Python/modsupport.c (do_arg): added error message if "O!" fails;
554 change type of converter for "O&" to function returning int taking
555 an object* and a void* parameter; it should return 1 for success
556 or return 0 and set an exception for failure to convert
557
558Wed Sep 14 14:08:44 1994 Guido van Rossum <guido@voorn.cwi.nl>
559
560 * Include/Python.h: new header file for new naming scheme
561
562 * various modules: #include "Python.h" and remove most remporary
563 renaming hacks
564
565 * Lib/whrandom.py: if seed is (0,0,0), initialize from current
566 time; default seed's arguments to (0,0,0)
567
568 * Python/ceval.c (eval_code), Include/ceval.h: added registry of
569 pending functions (to be used by functions that are called
570 asynchronously, like UNIX signal handlers or Mac I/O completion
571 routines)
572
573Wed Sep 14 11:05:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
574
575 * Doc/libsys.tex (section{Built-in Module \sectcode{sys}}):
576 documented sys.check_interval
577
578Tue Sep 13 21:35:19 1994 Guido van Rossum (guido@voorn.cwi.nl)
579
580 * Import/pythonrun.h, Python/{import,pythonrun}.c,
581 mac/macsetfiletype.c: changes by Jack to execute .pyc file passed
582 as command line argument. On the Mac .pyc files are given a
583 special type so they can be double-clicked
584
585 * Modules/stropmodule.c (strop_[r]find): change index range check
586 -- don't raise ValueError buit silently clip when it's out of
587 range (this is compatible with slicing)
588
Guido van Rossum0a516c91994-09-12 10:58:40 +0000589Mon Sep 12 12:53:07 1994 Guido van Rossum (guido@voorn.cwi.nl)
590
Guido van Rossumb85ae1a1994-10-06 16:15:09 +0000591 * Extensions/X11/Xmmodule.c: (Sjoerd): Implemented
592 Xm.OptionButtonGadget and Xm.OptionLabelGadget
593
594 * Modules/Setup.in: define PYTHONPATH using COREPYTHONPATH for
595 extensions; add -lm to math module definition
596
597 * Modules/Makefile.pre.in: remove *.so and so_locations on clobber
598
599 * Modules/makesetup: (Sjoerd): treat words beginning with a dollar
600 and not ending in a well-known extension as linker arguments
601
Guido van Rossum0a516c91994-09-12 10:58:40 +0000602 * Lib/urlparse.py: URL parser according to the latest Internet
603 draft
604
605 * README: added note about HP-UX
606
607Sun Sep 11 12:12:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
608
609 * Misc/indent.pro: Steen's approximation of my C style as a GNU
610 indent profile
611
612 * Modules/{Setup.in,termios.c}: add Steen's termios; also
613 Lib/[pt]ty.py, Demo/scripts/script.py, Lib/irix5/TERMIOS.py
614
615 * Demo/scripts/h2py.py: merged in Steen Lumholt's changes to
616 handle #include. Now also handles one-argument macros.
617
618 * configure.in: use uname to decide how to create / link shared
619 libraries and to set $(MACHDEP) (machine dependent subdirectory of
620 Lib)
621
Guido van Rossumb85ae1a1994-10-06 16:15:09 +0000622 * Makefile.in: shared library support; added target sharedinstall
Guido van Rossum0a516c91994-09-12 10:58:40 +0000623 which move shared libraries into Lib/$(MACHDEP)
624
625 * Modules/{Makefile.pre.in,Setup.in,makesetup}: support shared
626 libraries. Had to re-engineer rule production in makesetup
627 because sed was dumping core on the script fed to it -- now the
628 rules are always appended to the end of the Makefile.
629
630Fri Sep 9 11:35:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
631
632 * Lib/uu.py: new module, does uuencode/uudecode (thanks to Lance)
633
634 * Grammar/Grammar: fewer #diagram:break hacks needed; removed
635 history from file
636
637Thu Sep 8 10:24:41 1994 Guido van Rossum (guido@voorn.cwi.nl)
638
639 * Parser/grammar1.c (finddfa): massive speed up by using direct
640 addressing instead of searching
641
642Wed Sep 7 08:49:37 1994 Guido van Rossum (guido@voorn.cwi.nl)
643
644 * Include/rename1.h: added PyArg_GetInt
645
646 * pythonrun.h: added Py_AtExit
647
648 * Doc/libsocket.tex, Modules/socketmodule.c: added Tommy
649 Burnette's setblocking() method
650
651 * Modules/signalmodule.c: adapted to new module style (Lance);
652 added {BGN,END}_SAVE around pause() call
653
654 * Objects/object.c (DELREF): must zap type pointer *before*
655 calling free() (or other destructor)
656
657Sat Sep 3 14:12:38 1994 Guido van Rossum (guido@voorn.cwi.nl)
658
659 * Modules/{Setup.in,tkintermodule.c,tkappinit.c}: moved tkinter
660 into the main Modules directory, and its Lib and Demo
661 subdirectories into the main Lib and Demo directories. Moved
662 definition of STDWIN component and TK component of PYTHONPATH to
663 their respective sections so it's easier to remember to enable
664 them.
665
666 * Python/pythonrun.c (cleanup), Include/pythonrun.h: added
667 Py_AtExit() -- register cleanup functions for C modules
668
Guido van Rossum7522f031994-08-30 12:42:01 +0000669Tue Aug 30 10:53:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
670
671 * Python/getmtime.c: Remove mac specifics (Mac subdirectory has
672 its own version now)
673
674 * Modules/Setup.in: uses .c instead of .o now; added curses
675
676 * Modules/{rotormodule,syslogmodule}.c: new naming conventions
677
678 * Modules/cursesmodule.c: new, interface to curses
679
680 * Modules/makesetup: bugfix: add objects from sources to OBJS
681
682 * Modules/cursesmodule.c: new contribution from Lance
683
684 * Python/bltinmodule.c (builtin_tuple): use pre-existing
685 listtuple(v) for lists
686
687Mon Aug 29 15:41:02 1994 Guido van Rossum (guido@voorn.cwi.nl)
688
689 * Various places: merged THINK C 6.0 and MPW 3.2 mods: Python 1.1
690 should build flawlessly on the Mac using either compiler
691
692Fri Aug 26 10:18:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
693
694 * Doc/tut.tex (subsection{Lambda Forms}): fix typo in lambda
695 example
696
697Thu Aug 25 12:30:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
698
699 * Lib/importall.py: obsolete.
700
701 * Lib/{compileall,py_compile}.py: new modules for compiling .py
702 files.
703
704 * Modules/timemodule.c (floattime), Objects/longobject.c
705 (dgetlongvalue): add (double) casts for the benefit of the SCO C
706 compiler
707
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000708Tue Aug 23 00:52:32 1994 Guido van Rossum (guido@voorn.cwi.nl)
709
710 * Modules/Setup.*: removed all except Setup.in (huh? I thought
711 I'd done that already?!); disable gdbm by default
712
713 * Modules/makesetup: support C++ files now; these should be given
714 as file.C or file.cc or file.c++; C files can be given as file.c
715 (instead of file.o, which is still supported)
716
717 * configure.in, */Makefile*.in: OPT can now be specified in the
718 env at configure time and will then be put in all Makefiles as
719 default
720
721 * Modules/config.c.in: change mac specific things
722
723 * Python/import.c: add lost NT-specific code back in
724
725 * Parser/tokenizer.c: backup over illegal newline in string
726 literal (for "completeness" test)
727
728 * Include/node.h: make some fields short to save space during
729 parsing
730
731 * Modules/posixmodule.c: some more NT changes
732
733 * Doc/libtime.tex: get rid of references to millitime() and
734 millisleep(); document clock()
735
736Mon Aug 22 10:53:59 1994 Guido van Rossum (guido@voorn.cwi.nl)
737
738 * Lib/linecache.py: don't crash on empty filename
739
740 * Lib/macpath.py: don't return trailing colon for dirname()
741 (XXX won't do for volume names -- but otherwise glob(':*:*.py')
742 loops forever)
743
744 * Lib/traceback.py: print SyntaxError correctly
745
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000746 * Modules/signalmodule.c: added pause().
747
748 * Python/pythonrun.c (print_error): added INCREF/DECREF pair --
749 the exception returned by a syntax error (when reported) would
750 contain an object with refcnt zero!
751
752Fri Aug 19 15:35:44 1994 Guido van Rossum (guido@voorn.cwi.nl)
753
754 * */Makefile*.in: remove lib*.a before adding to it
755
756 * Lib/urllib.py: fix caching bug (by disabling the cache)
757
758 * Lib/sgi/flp.py: fix caching bug (always write the whole file to
759 the cache!)
760
761 * Doc/ref6.tex (section{Assignment statements}): added warning
762 about overlaps in lhs of assignment (e.g. "i, x[i] = 1, 2")
763
764 * Python/errors.c (err_clear): clear interpreter stack trace
765
766Wed Aug 17 16:10:07 1994 Guido van Rossum (guido@voorn.cwi.nl)
767
768 * Moved patchlevel.h from Python/ to Include/, moved all code from
769 version.c to config.c and removed version.c, and changed
770 Modules/Makefile(.pre.in) to add dependencies on $(MYLIBS) for
771 config.c (so the date in the version is always current). Also
772 changed the format of PATCHLEVEL: it is now a string containing
773 the complete version number, e.g. "1.1".
774
775 * Grammar/Grammar: Added #diagram:... comments for Kees Blom's
776 railroad diagram generator
777
778 * Doc/libstring.tex (section{Standard Module \sectcode{string}}):
779 removed references to {ato{f,i,l},index}_error
780
781 * Lib/string.py: find/rfind is now the main implementation and
782 index/rindex is a wrapper that raises index_error (which is now
783 always ValueError)
784
785 * Modules/stropmodule.c: implement find/rfind instead of
786 index/rindex (raising and catching an exception is much more
787 expensive than returning and testing -1)
Guido van Rossum2d3a9401994-08-16 22:15:49 +0000788
Guido van Rossum3d67fee1994-08-17 12:33:50 +0000789 * Lib/os.py: do fake "import posix" for freeze.py script
790
Guido van Rossum2d3a9401994-08-16 22:15:49 +0000791Tue Aug 16 23:58:30 1994 Guido van Rossum (guido@voorn.cwi.nl)
792
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000793 * Parser/parsetok.c (parsetok): don't call strncpy(str, NULL, 0)
794
Guido van Rossum2d3a9401994-08-16 22:15:49 +0000795 * Doc/libfuncs.tex (section{Built-in Functions}): added docs for
796 delattr()
797
798 * Python/bltinmodule.c: added delattr(x, 'attr'), equivalent to
799 del x.attr
800
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000801Fri Aug 12 15:00:20 1994 Guido van Rossum (guido@voorn.cwi.nl)
802
803 * Doc/libfuncs.tex: don't use $math$ in description of pow(x,y,z);
804 describe tuple()
805
806 * Doc/libposixfile.tex: use tableiii instead of tableii, so
807 partparse will work again (I know, chicken!)
808
809 * Doc/libthread.tex: Added get_ident(); updated text on module
810 availability
811
812 * Doc/myformat.perl: Added sub do_cmd_Cpp
813
814 * Python/compile.c (com_argdefs, com_arglist): avoid referencing
815 CHILD(n,i) for i >= NCH(n)
816
817 * Python/bltinmodule.c: added tuple() builtin
818
819Thu Aug 11 16:41:14 1994 Guido van Rossum (guido@voorn.cwi.nl)
820
821 * Objects/classobject.c, Include/classobject.h: added __getattr__
822 and __setattr__ support to override getattr(x, name) and
823 setattr(x, name, value) for class instances. This uses a special
824 hack whereby the class is supposed to be static: the __getattr__
825 and __setattr__ methods are looked up only once and saved in the
Guido van Rossumb85ae1a1994-10-06 16:15:09 +0000826 instance structure for speed.
827 (Later rewritten to also support __delattr__ and to store the
828 routines in the class instead of in the instance)
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000829
830Wed Aug 10 13:42:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
831
832 * configure.in, Makefile.in: remove the AC_PREFIX() call -- it's
833 more trouble than it's worth at CWI and most other people seem to
834 install Python in the default (/usr/local) anway. Changed comment
835 describing --prefix in Makefile.in
836
837 * Lib/urllib.py (ftpcache): remove debug print statement
838
839Tue Aug 9 14:32:45 1994 Guido van Rossum (guido@voorn.cwi.nl)
840
841 * Objects/{int,long,float}object.c, Include/object.h,
842 Python/bltinmodule.c: mods by Andrew Kuchling to implement
843 pow(x,y,z) == pow(x,y)%z, but without incurring overflow
844
845 * Python/import.c: if initializing a module did not enter the
846 module into sys.modules, it may have raised an exception -- don't
847 override this exception.
848
849 * Include/rename1.h: added PyMethodDef and PyObject
850
851Mon Aug 8 09:51:08 1994 Guido van Rossum (guido@voorn.cwi.nl)
852
853 * Doc/{Makefile,*.tex}: Changes by Andrew Kuchling:
854 * Added dependencies to the Makefile
855 * Added \optional{} commands all over the place (possibly not
856 finished yet)
857 * Defined \optional and \Cpp in myformat.sty
858 * Changed all occurrences of C++ to \Cpp{}, for nicely
859 formatting the + signs.
860 * Fixed typos, sentence structure in lots of places
861 * Added documentation for the rotor module
862 * Added a commented-out paragraph to libcrypto.tex that can be
863 added once the Python Cryptography Kit is released.
864 * Altered the table in libposixfile.tex a bit.
865 * Documented socket.gethostname()
866 * Started completely rewriting the Extending manual.
867
868 * Modules/{Setup.in, gdbmmodule.c}, Doc/{lib,libgdbm}.tex: added
869 Anthony Baxter's gdbm module (derived from Jack's dbm module)
870
Guido van Rossum5552eb71994-08-05 15:51:00 +0000871Fri Aug 5 11:43:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
872
873 * BUGS: new file (merger of unofficial BUGS1.0.x files)
874
875 * Modules/{Setup.in,Makefile.pre.in}: renamed some modules to
876 shorter names (dropped the "module" from the name): sunaudiodev,
877 imgformat, audioop, imageop, imgfile
878
879 * Python/import.c: support *.o/*.so as alternative for
880 *module.o/*module.so
881
882 * Modules/stropmodule.c (strop_rindex): make rindex('abc', '') do
883 the right thing (i.e. return 3 instead of 0)
884
885 * Python/bltinmodule.c (builtin_vars): correct typo in error msg
886
887 * Doc/libsocket.tex (subsection{Socket Object Methods}):
888 documented gethostname() and a few misc things
889
890 * Modules/socketmodule.c: disabled allowbroadcast() socket method
891
Guido van Rossum761c7a31994-08-01 12:04:41 +0000892Mon Aug 1 01:28:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
893
Guido van Rossum5552eb71994-08-05 15:51:00 +0000894 * Makefile.in (TAGS): Call etags w/o -t option
895
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000896 * Lib/rfc822.py: fix two bugs: error in readheaders interpreting
897 regex.match() result, and wrong logic in getfirstmatchingheader()
898 when the same header occurs twice consecutively
Guido van Rossum5552eb71994-08-05 15:51:00 +0000899
Guido van Rossum761c7a31994-08-01 12:04:41 +0000900 * Lib/test/test_types.py (6.4.1): test for particular bug in
901 integer multiply
902
903Sat Jul 30 13:31:40 1994 Guido van Rossum (guido@voorn.cwi.nl)
904
905 * Doc/libsocket.tex, Modules/socketmodule.c: send() and sendto()
906 now return actual byte count (useful for sockets in non-blocking
907 mode)
908
909Tue Jul 26 14:21:17 1994 Guido van Rossum (guido@voorn.cwi.nl)
910
911 * configure.in: check for <limits.h>
912
913 * Objects/longobject.c (newlongobject): fix long(0x80000000) and
914 add warning that it isn't actually correct on 64-bit machines;
915 include <limits.h> if HAVE_LIMITS_H is defined
916
917 * Objects/intobject.c (int_mul): check int*int overflow without
918 resorting to double precision (many thanks to John Tromp)
919
920 * Modules/signalmodule.c (signal_alarm): interface to Posix alarm()
921
922 * Python/ceval.c (call_object): print message before abort()
923
924Mon Jul 25 11:30:56 1994 Guido van Rossum (guido@voorn.cwi.nl)
925
926 * Doc/libstring.tex (section{Standard Module \sectcode{string}}):
927 documented string.count()
928
929 * Lib/string.py: added count(s, sub, i=0), returns number of
930 occurrences of sub in s[i:]
931
932 * Doc/keywords.py: program to sort table of keywords in ref2.tex
933
934 * Doc/ref2.tex (subsection{Keywords}): add 'access' and 'lambda'
935 to list of reserved words
936
Guido van Rossum64ea5351994-07-14 13:47:08 +0000937Thu Jul 14 15:26:14 1994 Guido van Rossum (guido@voorn.cwi.nl)
938
939 * README, Misc/NEWS, Python/patchlevel.h,
940 Doc/{lib,ext,tut,ref}.tex: bump version to 1.0.3; in README, fewer
941 references to it elsewhere, nor to IP numbers.
942
943Wed Jul 13 18:51:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
944
945 * Lib/mhlib.py (removefromallsequences): call putsequences with
946 proper argument
947
948Mon Jul 11 13:00:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
949
950 * Modules/selectmodule.c: don't accept negative file descriptors;
951 changed error messages slightly
952
953Thu Jul 7 12:20:10 1994 Guido van Rossum (guido@voorn.cwi.nl)
954
955 * Modules/syslogmodule.c: new module by Lance
956
957 * configure.in: don't check for strtod!
958
959 * Python/import.c: undo Mac DL mods (temporarily) and install NeXT
960 dl mods by William Lewis instead.
961
962 * Modules/posixmodule.c (posix_popen): substitute pclose for
963 fclose (how did fclose ever creep into this?)
964
965Wed Jul 6 21:45:54 1994 Guido van Rossum (guido@voorn.cwi.nl)
966
967 * Lib/{bdb,cmd,pdb}.py: Mods by Rickard Westman: No longer barfs
968 on lambda:s (outputs "<lambda>" as the function name); "a(rgs)" in
969 pdb now works; help messages added to pdb (lifted from pdb.doc).
970 Also, "h pdb" calls pdb.help(). cmd.do_help() displays topics on
971 a nicer way (I think). Also, topics for which there is a help_
972 method, but no do_method (like "pdb" above) are displayed in a
973 special way. My own mod: fix break on function to also support
974 methods.
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
Guido van Rossumcd3c0421994-07-04 22:15:27 +0000983Mon Jul 4 23:01:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
984
985 * Modules/timemodule.c (sleep, floatsleep): don't use setjmp or
986 signal, rely on err_errno() or sigcheck() instead.
987
988 * Dos/{pcmodule,dosmodule}.c, Modules/posixmodule.c: don't include
989 <setjmp.h>
990
991Sat Jul 2 00:42:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
992
993 * Lib/urllib.py: implemented new quoting rules; added splituser,
994 splitpasswd, splitattr, splitvalue; new ftp syntax (user:passwd,
995 cwd to each subdir, type={a,i,d})
996
997Fri Jul 1 17:32:51 1994 Guido van Rossum (guido@voorn.cwi.nl)
998
999 * Python/traceback.c: add function name to traceback info
1000
1001 * Object/listobject.c, Modules/{array,mpz}module.c: include
1002 <sys/types.h> for size_t
1003
Guido van Rossum32d8ba41994-07-01 15:28:52 +00001004Fri Jul 1 12:47:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
1005
1006 * Makefile.in (Makefile): add dependency on config.status
1007
1008 * configure.in: support --with-gcc[=value], --without-gcc
1009
1010 * configure.in, acconfig.h, config.h.in: check for clock_t
1011
1012 * Modules/{arraymodule,mpzmodule}.c: Include sys/types.h, for size_t
1013
1014 * Lib/test/test_types.py (6.5.1 Strings): test for nasty string
1015 formatting bug
1016
1017 * Objects/stringobject.c (formatstring): fix nasty bug in resizing
1018
Guido van Rossum6dc31a11994-06-29 09:11:20 +00001019Wed Jun 29 10:01:17 1994 Guido van Rossum (guido@voorn.cwi.nl)
1020
Guido van Rossum32d8ba41994-07-01 15:28:52 +00001021 * Doc/ref3.tex (section{The standard type hierarchy}
1022 \label{types}): fix typo
1023
Guido van Rossum6dc31a11994-06-29 09:11:20 +00001024 * Lib/packmail.py: applied patch from Lance to remove '.' and '..'
1025
1026Tue Jun 28 00:57:35 1994 Guido van Rossum (guido@voorn.cwi.nl)
1027
1028 * Doc/ref1.tex: grammar notation can use single or double quotes now
1029
1030 * configure.in (termcap): hack around conflict about clear() on
1031 IRIX 5 in shared libraries gl and termcap
1032
1033 * Python/bltinmodule.c: added callable() predicate
1034
1035Wed May 18 15:01:13 1994 Donald Beaudry (don@zippy.vicorp.com)
1036
1037 * modsupport.c (do_arg): Changed all of the int getting things to
1038 just try to get and int, instead of explicitly checking for an int
1039 first.
1040
1041 (do_arg): Added the "O&" option to allow using a user supplied
1042 conversion function.
1043
1044Wed May 18 14:10:49 1994 Donald Beaudry (don@zippy.vicorp.com)
1045
1046 * intobject.c (getintvalue): Changed to allow automatic conversion
1047 from any type that supports the nb_int method.
1048
1049 * floatobject.c (getfloatvalue): Changed to allow automatic
1050 conversion from any numeric type that supports the nb_float
1051 method.
1052
1053Wed May 4 22:56:15 1994 Donald Beaudry (don@scooter.vicorp.com)
1054
1055 * object.h -- Added tp_call member to the typeobject struct
1056 This along with a minor change to the ceval.c allows overloading
1057 of the function call operator for any class.
1058
1059Wed May 4 22:23:48 1994 Donald Beaudry (don@scooter.vicorp.com)
1060
1061 * modsupport.c -- replace the part of getargs that processes "O!",
1062 it had a minor problem with comparing the types.
1063
1064 * ceval.c -- changed call_object to make use of the tp_call
1065 field.
1066
1067Fri Jun 27 17:22:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
1068
1069 * Python/pythonmain.c: On MPW (3.2) unbuffered seems to hang, so
Guido van Rossum64ea5351994-07-14 13:47:08 +00001070 use setvbuf ... _IOLBF for -u option.
Guido van Rossum6dc31a11994-06-29 09:11:20 +00001071
1072 * Python/mystrtoul.c: MPW hack (overflow check doesn't seem to work)
1073
1074Thu Jun 23 14:46:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
1075
1076 * Modules/Makefile.pre.in (clobber): delete config.c and glmodule.c
1077
Guido van Rossum71527401994-06-23 12:45:42 +00001078Thu Jun 23 00:17:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
1079
Guido van Rossum64ea5351994-07-14 13:47:08 +00001080 * Parser/tokenizer.c: if a triple-quoted string ends in a quote
1081 followed by a newline (followed immediately by the terminating 3
1082 quotes) then a syntax error or system error ensues (one-line fix)
1083
Guido van Rossum71527401994-06-23 12:45:42 +00001084 * Doc/ref4.tex: clarify that global name space is almost always
1085 containing module's name space
1086
1087 * Lib/profile.{py,doc}: totally new versions by James Roskind;
1088 also edited source & doc to replace 'jprofile' by 'profile'
1089
1090 * Modules/posixmodule.c: don't mess with SIGPIPE any more -- this
1091 is now done in Python/pythonrun.c (saves NT dependency here)
1092
1093 * Modules/Setup.*: removed all except Setup.in (keeping them up to
1094 date was too much of a pain)
1095
1096 * Python/import.c: don't rely on three-line "dl.h", just copy the
1097 contents.
1098
1099 * Doc/libtypes.tex (subsubsection{More String Operations.}):
1100 clarified tuple vs non-tuple argument to format strings.
1101
1102Wed Jun 22 10:38:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
1103
1104 * Doc/libsocket.tex: clarify the meaning of address for those
1105 methods that or return addresses.
1106
1107 * Doc/libtypes.tex (subsubsection{File Objects.}): documented
1108 writelines.
1109
1110Tue Jun 21 15:54:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
1111
1112 * Lib/aifc.py: avoid calling read(0)
1113
1114 * Lib/sgi/cddp.py: added some functionality (Sjoerd)
1115
1116 * Include/modsupport.h: added decl for initmodule2().
1117
1118 * Parser/myreadline.c (my_readline): fixed typo in MPW-specific
1119 hack; removed debug fprintfs; added two needed #includes.
1120
1121Mon Jun 20 23:46:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
1122
1123 * Objects/fileobject.c (file_read): test for negative read count
1124 was misplaced.
1125
1126Mon Jun 18 11:20:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
1127
1128 * acconfig.h: changed GETPGRP_HAVE_ARGS into GETPGRP_HAVE_ARG
1129
1130 * Lib/posixpath.py(walk): don't descend down symbolic links
1131
1132Thu Jun 16 16:20:12 1994 Guido van Rossum (guido@voorn.cwi.nl)
1133
1134 * Modules/imgformatmodule.c: new module for Jack by Jack
1135
1136Tue Jun 14 21:07:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
1137
1138 * Fix bug in 3quoted strings where string ends in quote followed
1139 by newline
1140
1141Mon Jun 13 00:24:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
1142
1143 * Lib/multifile.py: added readlines() and read() methods
1144
1145 * Lib/mimetools.py: added functions to encode/decode standard MIME
1146 Content-transfer-encoding types (as well as uuencode)
1147
1148 * Lib/mhlib.py: new interface to MH folders and messages
1149
1150Sun Jun 12 17:38:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
1151
1152 * Modules/socketmodule.c (sock_listen): fix typo (== instead of =)
1153
1154Thu Jun 9 23:33:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
1155
1156 * Python/compile.c (parsenumber), Python/marshal.c (r_object):
1157 replace strtod() by atof()
1158
1159Tue Jun 7 11:41:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
1160
Guido van Rossumcd3c0421994-07-04 22:15:27 +00001161 * Doc/lib.tex: added warning about lineii, libposixfile and partparse
Guido van Rossum71527401994-06-23 12:45:42 +00001162
1163 * Lib/bdb.py (clear_all_breaks): this was defined with two
1164 arguments that weren't used and shouldn't have been there
1165
1166Mon Jun 6 14:53:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
1167
1168 * Python/ceval.c (call_trace): Added call to fast_2_locals so
1169 locals_2_fast won't zap locals if the trace function never looks
1170 in f.f_locals; don't XDECREF(f->f_trace)
1171
1172Sun Jun 5 13:18:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
1173
1174 * Lib/rfc822.py: Accept lines ending in CR LF as well
1175
1176Fri Jun 3 16:37:58 1994 Guido van Rossum (guido@voorn.cwi.nl)
1177
1178 * Lib/profile.py: unspecified improvements by Sjoerd
1179
1180 * Lib/{bdb,pwd,stdwin/wdb}.py: remove debugger overhead when
1181 continuing with no breakpoints; add set_trace() method and
1182 functions to forcibly enter the debugger
1183
1184 * Python/ceval.c(eval_code): give the name of the local variable
1185 when LOAD_FAST or DELETE_FAST fails
1186
1187 * frameobject.[ch], ceval.c: made fast_2_locals and locals_2_fast
1188 global and moved them to frameobject.c. getattr(f, "f_locals")
1189 now calls fast_2_locals and there are fewer other calls to it
1190
1191Thu Jun 2 13:50:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
1192
1193 * Python/ceval.c (call_trace): *p_trace can now be cleared by the
1194 trace function!
1195
1196 * Modules/{{pwd,grp}module.c,Setup.in}: split pwdmodule.c into pwd
1197 and grp modules (e.g. OS2 seems to have pwd but not grp)
1198
1199 * Modules/posixmodule.c: OS/2 mods: add #include <io.h>
1200
1201 * configure.in: test for existence of link, chown, setuid, setgid;
1202 use std macros for output; require autoconf 1.8
1203
1204 * Python/sigcheck.c: sigcheck() for use without signalmodule.c
1205
1206 * Modules/signalmodule.c: added thread compatibility (only main
1207 thread uses signals); much improved efficiency; intrcheck()
1208 doesn't call sigcheck() but only tests and clears the SIGINT
1209 tripped flag.
1210
1211 * Lots of places: replace intrcheck() by sigcheck() and remove
1212 following err_set(KeyboardInterrupt).
1213
1214Wed Jun 1 11:33:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
1215
1216 * Modules/regexmodule.c (reg_dealloc): remove bogus XDEL's.
1217
1218Tue May 31 11:22:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
1219
1220 * Python/intrcheck.c: removed sigcheck()
1221
1222 * Python/structmember.c (setmember): test for NULL value
1223
1224 * frameobject, Python/ceval.c (eval_code): moved trace variable to
1225 frame object so debugging can be switched on later
1226
1227Mon May 23 14:44:46 1994 Guido van Rossum (guido@voorn.cwi.nl)
1228
1229 * Modules/newmodule.c: new module, create empty new objects (by
1230 Tommy)
1231
1232Fri May 20 09:46:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
1233
1234 * Doc/Makefile: add DVIPS variable with default "dvips -f"
1235
1236 * Parser/myreadline.c (my_fgets): Fix position of #endif EINTR
1237
1238Wed May 18 00:21:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
1239
1240 * Doc/lib.tex: added libfcntl and libposixfile (by Jaap V)
1241
1242 * Objects/funcobject.c (func_compare): take argcount and argdefs
1243 into account
1244
1245Wed May 17 00:00:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
1246
1247 * Python/import.c: bump MAGIC because of changes below
1248
1249 * Python/{ceval,compile}.c, Include/frameobject.h: changes to code
1250 objects -- consts/names are tuples, RESERVE_LOCALS instruction
1251 gets tuple of names instead of dictionary -- so code objects are
1252 immutable and thus code and function objects are hashable
1253
1254 * Objects/listobject.c, Include/listobject.h: added listtuple() --
1255 convert list to tuple
1256
1257Tue May 17 15:40:12 1994 Guido van Rossum (guido@voorn.cwi.nl)
1258
1259 * Python/ceval.c (getframe): cast current_frame to (object *)
1260
1261 * Lib/ftplib.py (login): default user='' is translated explicitly
1262 to 'anonymous'
1263
1264Wed May 11 10:29:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
1265
1266 * Parser/tokenizer.c (tok_nextc): fix inf loop when file does not
1267 end in newline
1268
1269 * Modules/sybasemodule.c: new, interface to sybase (John Redford)
1270
1271 * Modules/signalmodule.c: new, catch unix signals (Lance)
1272
1273 * Parser/intrcheck.c, Python/ceval.c, Include/ceval.h,
1274 Python/pythonrun.c: prepare for signalmodule.c; add sigcheck()
1275 interface to intrcheck.c, add getframe() interface to ceval.c;
1276 don't override signal handlers in pythonrun.c
1277
1278Tue May 10 09:01:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
1279
1280 * Python/import.c (get_module): print dlopen debug message only of
1281 verbose
1282
Guido van Rossumc5832ff1994-05-09 15:10:49 +00001283Mon May 9 10:37:48 1994 Guido van Rossum (guido@voorn.cwi.nl)
1284
1285 * acconfig.h: added _POSIX_THREADS define
1286
1287 * configure.in: test for -lpthreads; add directory argument to
1288 --with-thread to LIBS as -L option
1289
Guido van Rossum71527401994-06-23 12:45:42 +00001290 * Python/thread.c: split in per-system files (thread.c includes
1291 thread_foobar.h for foobar threads)
1292
Guido van Rossumc5832ff1994-05-09 15:10:49 +00001293 * Objects/stringobject.c (formatstring): don't DECREF result of
1294 strobject() before using it
1295
1296 * Doc/libtypes.tex: fix typo in table of list methods; clarify
1297 truncation behavior of floating point formatting
1298
1299 * Doc/ref3.tex: clarify defaults for __repr__, __cmp__ and
1300 __str__; correct (some) descriptions of class constructors
1301
Guido van Rossumdf145031994-05-06 14:30:40 +00001302Fri May 6 11:25:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
1303
1304 * various files: micro changes needed to compile on Mac;
1305 Grouped more Mac-specific files in Mac subdirectory
1306
1307 * Lib/*.py: rewrote many functions to use default arguments
1308 instead of arbitrary argument lists
1309
1310Thu May 5 12:33:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
1311
Guido van Rossum71527401994-06-23 12:45:42 +00001312 * Modules/{cryptmodule.c,Setup.in}: new crypt(3) interface (Steve M)
Guido van Rossumdf145031994-05-06 14:30:40 +00001313
1314 * Python/bltinmodule.c, Include/bltinmodule.h: new fn setbuiltin()
1315 to set a built-in variable
1316
1317 * Python/ceval.c (eval_code): place '_' variable in __builtin__
1318 instead of in local dictionary, to avoid endless recursion when
1319 printing vars()
1320
Guido van Rossuma3d4d371994-05-04 13:10:40 +00001321========================================================================
Guido van Rossum64ea5351994-07-14 13:47:08 +00001322Release 1.0.3 (14 July 1994)
1323========================================================================
1324
1325Thu Jul 14 14:38:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
1326
1327 * copied FAQ 1.10 (which still references 1.0.2 by the way)
1328
1329Thu Jul 7 12:20:10 1994 Guido van Rossum (guido@voorn.cwi.nl)
1330
1331 * configure.in: don't check for strtod!
1332
1333Tue Jul 5 23:18:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
1334
1335 * Modules/stropmodule.c (strop_rindex): change semantics of third
1336 argument -- as in the original string.rindex, search to its right,
1337 not to its left. (Maybe both index and rindex need a 4th
1338 parameter to restrict the search on the other end?
1339
1340Fri Jul 1 12:47:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
1341
1342 * configure.in: support --with-gcc[=value], --without-gcc
1343
1344 * configure.in, acconfig.h, config.h.in: check for clock_t
1345
1346 * Objects/stringobject.c (formatstring): fix nasty bug in resizing
1347
1348Tue Jun 28 00:57:35 1994 Guido van Rossum (guido@voorn.cwi.nl)
1349
1350 * configure.in (termcap): hack around conflict about clear() on
1351 IRIX 5 in shared libraries gl and termcap
1352
1353Thu Jun 23 00:17:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
1354
1355 * Parser/tokenizer.c: if a triple-quoted string ends in a quote
1356 followed by a newline (followed immediately by the terminating 3
1357 quotes) then a syntax error or system error ensues (one-line fix)
1358
1359Sun Jun 12 17:38:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
1360
1361 * Modules/socketmodule.c (sock_listen): fix typo (== instead of =)
1362
1363Thu Jun 9 23:33:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
1364
1365 * Python/compile.c (parsenumber), Python/marshal.c (r_object):
1366 replace strtod() by atof()
1367
1368Thu Jun 2 13:50:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
1369
1370 * configure.in: test for existence of link, chown, setuid, setgid;
1371 use std macros for output; require autoconf 1.8
1372
1373Wed Jun 1 11:33:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
1374
1375 * Modules/regexmodule.c (reg_dealloc): remove bogus XDEL's.
1376
1377Tue May 31 11:22:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
1378
1379 * Python/structmember.c (setmember): test for NULL value
1380
1381Fri May 20 09:46:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
1382
1383 * Parser/myreadline.c (my_fgets): Fix position of #endif EINTR
1384
1385Wed May 11 10:29:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
1386
1387 * Parser/tokenizer.c (tok_nextc): fix inf loop when file does not
1388 end in newline
1389
1390Tue May 10 09:01:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
1391
1392 * Python/import.c (get_module): print dlopen debug message only of
1393 verbose
1394
1395Mon May 9 10:37:48 1994 Guido van Rossum (guido@voorn.cwi.nl)
1396
1397 * acconfig.h: added _POSIX_THREADS define
1398
1399 * configure.in: test for -lpthreads; add directory argument to
1400 --with-thread to LIBS as -L option
1401
1402 * Objects/stringobject.c (formatstring): don't DECREF result of
1403 strobject() before using it
1404
1405Fri May 6 11:25:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
1406
1407 * various files: micro changes needed to compile on Mac;
1408 Grouped more Mac-specific files in Mac subdirectory
1409
1410Thu May 5 12:33:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
1411
1412 * Python/bltinmodule.c, Include/bltinmodule.h: new fn setbuiltin()
1413 to set a built-in variable
1414
1415 * Python/ceval.c (eval_code): place '_' variable in __builtin__
1416 instead of in local dictionary, to avoid endless recursion when
1417 printing vars()
1418
1419========================================================================
Guido van Rossuma3d4d371994-05-04 13:10:40 +00001420Release 1.0.2 (4 May 1994)
1421========================================================================
1422
1423Wed May 4 13:12:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
Guido van Rossum8ad2a2a1994-05-04 07:44:21 +00001424
Guido van Rossum9c7e7bf1994-05-04 09:33:42 +00001425 * README: version 1.0.2
1426
1427 * Objects/fileobject.c (setfilebufsize): less error checking
1428
1429 * configure.in: test for withval != yes (autoconf 1.8 change)
1430
1431 * Makefile.in: don't remove config.status on "make clobber"
1432
Guido van Rossum8ad2a2a1994-05-04 07:44:21 +00001433 * Python/ceval.c (eval_code): removed last traces of killprint (-k
1434 option)
1435
1436 * Doc/tut.tex: documented some more new stuff
1437
1438 * Added else clause to try-except. Affected files:
1439 Grammar/Grammar, Include/graminit.h, Python/graminit.c,
1440 Python/compile.c, Doc/ref7.tex, Doc/tut.tex
1441
Guido van Rossumacfe4171994-05-03 14:53:09 +00001442Tue May 3 15:21:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
1443
1444 * Misc/python.man: documented -u; undocumented -k
1445
1446 * Python/{python,frozen}main.c: got rid of -k option; added -u
1447 option (unbuffered stdout/stderr); plus environment
1448
1449 * Python/import.c: Steven Majewski's mods for AIX
1450
1451 * Lib/lockfile.py: new module to lock files (using fcntl)
1452
1453 * Objects/fileobject.c, Include/fileobject.h: added setfilebufsize
1454 function to set buffer size (call only from C when it's safe!)
1455
1456 * Python/bltinmodule.c (builtin_open): Added 3rd parameter to give
1457 buffer size; default 2nd parameter to "r"
1458
1459Mon May 2 17:51:23 1994 Guido van Rossum (guido@voorn.cwi.nl)
1460
1461 * Modules/{al,cd,sv}module.c: added (method) casts to methodlist
1462 initializers
1463
1464Thu Apr 28 15:01:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
1465
1466 * Doc/ref2.tex: (section{Line structure}): documented line joining
1467 without backslashes inside parens
1468
Guido van Rossuma83d9541994-04-28 12:29:44 +00001469Wed Apr 27 13:15:42 1994 Guido van Rossum (guido@voorn.cwi.nl)
1470
1471 * Misc/python-mode.el: version 1.09 from Tim (grand new
1472 indentation scheme)
1473
1474 * configure.in: test for setvbuf
1475
1476 * Python/ceval.c (PRINT_EXPR): assign a non-None value to '_'
1477 before printing it
1478
1479 * Python/compile.c: only call PRINT_EXPR for interactive code
1480 (start symbol single_input), else call POP_TOP after evaluating an
1481 expression
1482
1483Tue Apr 26 16:23:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
1484
1485 * Python/bltinmodule.c (builtin_reduce): added essential INCREF()
1486 if a third argument is present
1487
1488 * Doc/tut.tex: added chapter "Recent Additions"
1489
1490Mon Apr 25 11:27:09 1994 Guido van Rossum (guido@voorn.cwi.nl)
1491
1492 * Doc/ref7.tex (section{Function definitions}): add missing '}'.
1493
1494 * Doc/ref2.tex (subsection{String literals}): documented triple
1495 quotes and double quotes.
1496
1497 * Lib/test/test_grammar.py: added tests for triple-quoted strings
1498 and strings continued with backslash-newline
1499
1500 * Objects/fileobject.c (writestring): don't do anything when
1501 writing to a Python object while an error is already set
1502
1503 * Parser/tokenizer.c: added support for triple-quoted strings and
1504 strings continued with backslash
1505
Guido van Rossumacfe4171994-05-03 14:53:09 +00001506 * Parser/tokenizer.h: moved here from Include
1507
Guido van Rossuma83d9541994-04-28 12:29:44 +00001508 * Python/compile.c (parsenumber): support triple-quoted strings.
1509 Raise SyntaxError, not SystemError for bad number syntax
1510
Guido van Rossuma143e901994-04-22 16:01:43 +00001511Fri Apr 22 17:39:20 1994 Guido van Rossum (guido@voorn.cwi.nl)
1512
1513 * Objects/{tuple,list,string,mapping}object.c,
1514 Modules/arraymodule.c, Python/compile.c: use new
1515 joinstring(_decref) interface for more compact code
1516
1517 * Objects/stringobject.c (joinstring): if error, DECREF and zero
1518 result; added joinstring_decref() which XDECREFs its second
1519 argument
1520
1521Thu Apr 21 10:59:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
1522
1523 * Doc/libtypes.tex (subsubsection{More String Operations}):
1524 documented new '%(key)s' % {...} formatting and more liberal %s
1525 interpretation (applies str() first)
1526
1527 * Doc/libfuncs.tex (section{Built-in Functions}): documented new
1528 vars() built-in function
1529
1530 * Objects/stringobject.c (formatstring): add Donald Beaudry's
1531 patch (slightly changed) to allow '%(<key>)<format>' % {...} to
1532 format dictionary entries by key. Also changed %s format to
1533 accept any type and convert it to a string using str()
1534
1535 * Python/bltinmodule.c: add new built-in function vars() which
1536 returns variables (of which dir() returns the sorted keys())
1537
1538Mon Apr 18 11:00:54 1994 Guido van Rossum (guido@voorn.cwi.nl)
1539
1540 * Doc/libppath.tex (section{Standard Module
1541 \sectcode{posixpath}}): describe for expandvars()
1542
1543 * Lib/posixpath.py (expandvars): do it using regular expressions
1544 instead of forking of a shell
1545
1546 * Lib/urllib.py (open_http, open_gopher): diagnose missing
1547 hostname
1548
1549Sun Apr 17 21:52:52 1994 Guido van Rossum (guido@voorn.cwi.nl)
1550
1551 * Python/compile.c (com_atom), Grammar/Grammar (atom): string
1552 literal concatenation -- "abc" 'def' is equivalent to 'abcdef'
1553
Guido van Rossumed3112c1994-04-14 14:27:58 +00001554Thu Apr 14 12:36:25 1994 Guido van Rossum (guido@voorn.cwi.nl)
1555
Guido van Rossuma143e901994-04-22 16:01:43 +00001556 * Lib/test/test_thread.py: new module to test threads (very basic)
1557
1558 * Python/thread.c: remove #define DEBUG 1
1559
1560 * Demo/scripts/freeze.py: changes by Jaap V and my own to make it
1561 work again
1562
1563 * Makefile.in (libainstall): install frozenmain.c
1564
1565 * Python/frozenmain.c: added getprogramname()
1566
Guido van Rossumed3112c1994-04-14 14:27:58 +00001567 * Doc/ref7.tex (section{Function definitions}): describe default
1568 parameter values
1569
1570 * Lib/test/test_grammar.py: added grammar variants for default
1571 argument expressions
1572
1573 * Python/compile.c: compile default argument values (com_argdefs
1574 plus related stuff)
1575
1576 * Python/bltinmodule.c (builtin_apply): require that the argument
1577 list is a tuple
1578
1579 * Misc/python-mode.el: change by Donald Beaudry to
1580 py-compute-indentation; and fix to that by Sjoerd
1581
1582Wed Apr 13 10:08:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
1583
1584 * Python/ceval.c (eval_code): implement SET_FUNC_ARGS opcode
1585
1586 * Include/opcode.h: added SET_FUNC_ARGS opcode
1587
1588 * Objects/funcobject.c (newfuncobject, func_memberlist): added
1589 func_argcount and func_argdefs fields and {get,set}funcargstuff()
1590 functions.
1591
1592 * Include/funcobject.h: Added func_argcount and func_argdefs
1593 fields and {get,set}funcargstuff() functions.
1594
1595 * Python/import.c (init_builtin): Give error message if module's
1596 initialization function is NULL (e.g. for 'sys').
1597 (get_module): Give error message if reloading a dynamically
1598 loadable module.
1599 (reload_module): Give error message if reloading a built-in
1600 module; correctly (I hope) reload a frozen module.
1601
1602 * Doc/ref6.tex (break and continue): rephrase definition of
1603 restrictions on where these may occur; change rules for continue
1604 to match implementation.
1605
1606 * Doc/ref4.tex (section{Code blocks, execution frames, and name
1607 spaces}): fix definition of what's local to include deleted
1608 targets; added footnote describing exec and from - import *
1609 restriction.
1610
1611 * Lib/dis.py: added LOAD_GLOBALS and EXEC_STMT to list of opcodes.
1612
1613Tue Apr 12 10:27:19 1994 Guido van Rossum (guido@voorn.cwi.nl)
1614
1615 * Python/ceval.c (eval_code): fix core dump on "raise ()" -- found
1616 by Tim Peters
1617
1618Mon Apr 11 20:48:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
1619
1620 * Python/compile.c (optimize): added optimization for LOAD_NAME
1621 suggested by Steve Majewski
1622
1623 * Python/ceval.c (eval_code: case DELETE_FAST): fix cut-paste
1624 error (w should be x) found by Steve Majewski
1625
1626Tue Mar 22 15:37:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
1627
1628 * Lib/profile.py: fix handle_return for exceptional case (fix
1629 suggested by Jim Roskind)
1630
1631 * Lib/tzparse.py (tzprog): Fix typo in test for regex.match
1632
1633 * Lib/urlopen.py: renamed to Lib/urllib.py
1634
1635Thu Mar 17 01:24:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
1636
1637 * Lib/urlopen.py: added quote() and unquote() functions
1638
1639Wed Mar 16 11:26:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
1640
1641 * Objects/mappingobject.c: allow dictionaries with more than
1642 20,000 entries.
1643
1644Thu Mar 10 11:13:24 1994 Guido van Rossum (guido@voorn.cwi.nl)
1645
1646 * Lib/{pdb,profile,bdb,codehack,stdwin/wdb}.py:
1647 codehack.getcodename() is obsolete now we have co.co_name; same
1648 for getfuncname(): f.func_name. Module codehack is still needed
1649 for getlineno(), used in profile and pdb
1650
1651Tue Mar 8 10:37:21 1994 Guido van Rossum (guido@voorn.cwi.nl)
1652
1653 * Python/modsupport.c (do_arg): Format "O!" means typechecked
1654 object; pointer argument must be preceded by typeobject
1655
1656 * Modules/threadmodule.c: don't define exit_prog if NO_EXIT_PROG
1657 is defined
1658
1659 * Python/thread.c: don't define [_]exit_prog if NO_EXIT_PROG is
1660 defined; in the SGI version, don't use signals if exit_prog is
1661 node defined defined; in the SGI version, waitpid() for exited
1662 threads.
1663
1664 * Python/pythonrun.c: don't call [_]exit_prog if NO_EXIT_PROG is
1665 defined
1666
1667 * Include/thread.h: define NO_EXIT_PROG and then don't define
1668 [_]exit_prog
1669
1670 * Modules/dbmmodule.c: Add calls to dbm_clearerr() after error on
1671 assignment (fix by Jack)
1672
Guido van Rossum131e2ab1994-03-07 12:05:46 +00001673Mon Mar 7 12:41:32 1994 Guido van Rossum (guido@voorn.cwi.nl)
1674
Guido van Rossumed3112c1994-04-14 14:27:58 +00001675 * Lib/test/test_rgbimg.py: search test file along sys.path
1676
1677 * Lib/test/test_{b1,b2,grammar}.py: tests for indefinite sequences
1678
Guido van Rossum131e2ab1994-03-07 12:05:46 +00001679 * Python/{bltinmodule,ceval}.c: Changed implied and explicit loops
1680 over sequences to allow for "indefinite" sequences a la Steve
1681 Majewski. Instead of iterating over 0, 1, 2, ..., len(a)-1, we
1682 now iterate over 0, 1, 2, ..., until we get an IndexError
1683 exception (other exceptions are still errors). This affects the
1684 semantics of the following language constructs: "for x in a: ...",
1685 "x in a", "x not in a", and the following built-in functions:
1686 filter(), map(), max(), min(), reduce().
1687
1688 * Doc/ref6.tex (section{Assignment statements}): clarify slice
1689 assignment; (section{The {\tt break} statement}): fix typo
1690
1691 * Doc/ref5.tex (subsection{Identifiers (Names)}): clarify
1692 difference between local and global
1693
1694 * Doc/ref2.tex (subsection{String literals}): fix typo in def of
1695 escapeseq
1696
1697 * Lib/addpack.py: new module to add packages to sys.path
1698
1699 * Lib/urlopen.py: added basejoin() function
1700
1701Fri Mar 4 13:07:43 1994 Guido van Rossum (guido@voorn.cwi.nl)
1702
1703 * Lib/urlopen.py(open_ftp): avoid crash when no host given
1704
Guido van Rossumf18a4f41994-03-02 11:40:46 +00001705Wed Mar 2 10:33:39 1994 Guido van Rossum (guido@voorn.cwi.nl)
1706
Guido van Rossum5e334d91994-03-02 14:23:20 +00001707 * Python/ceval.c (eval_code): use sys.check_interval to reset the
1708 ticker
1709
Guido van Rossumf18a4f41994-03-02 11:40:46 +00001710 * Lib/repr.py: added special case for class instances (which may
1711 cause exceptions in their __repr__)
1712
1713 * Lib/pdb.{py,doc}: mod by Steve Kirsch to allow setting a break
1714 on a function name
1715
1716Tue Mar 1 10:32:54 1994 Guido van Rossum (guido@voorn.cwi.nl)
1717
1718 * Python/pythonrun.c (run_tty_1): Fix wrong (uninitialized) return
1719 value
1720
1721 * Doc/ref4.tex (table 4.1): differentiated between exec stmt and
1722 eval()
1723
1724Mon Feb 28 10:49:20 1994 Guido van Rossum (guido@voorn.cwi.nl)
1725
1726 * Modules/svmodule.c: correct wrong cast of svideo_getattr
1727
1728 * README: added Linux to list of supported systems.
1729
1730 * Doc/libsocket.tex: adapt to min value of 1 for listen() backlog
1731 argument.
1732
1733 * Modules/socketmodule.c (sock_listen): ensure backlog argument is
1734 at least 1.
1735
1736Fri Feb 25 14:25:30 1994 Guido van Rossum (guido@voorn.cwi.nl)
1737
1738 * Include/osdefs.h, Modules/config.c.in: Added NT case (same as
1739 MSDOS)
1740
1741Thu Feb 24 09:58:53 1994 Guido van Rossum (guido@voorn.cwi.nl)
1742
1743 * Modules/posixmodule.c: merged in NT changes by Jaap Vermeulen
1744
1745 * README: added Mac and PC platforms to blurb.
1746
1747 * Doc/libfuncs.tex (section{Built-in Functions}): documented
1748 xrange()
1749
1750 * Doc/ref7.tex (section{Function definitions} added index entry
1751 for second ref to lambda.
1752
1753 * Lib/{bdb.py,pdb.py,stdwin/wdb.py}: call linecache.checkcache()
1754 in bdb.Bdb's reset method; remove it from the test() functions.
1755
1756Wed Feb 23 10:15:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
1757
1758 * Modules/parsermodule.c (parser_parsefile): fix fatal typo in
1759 NULL comparison
1760
1761 * Misc/python.man: fixed mess describing -d and -i options
1762
1763Tue Feb 22 09:08:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
1764
1765 * Demo2: added new subdirectory holmes, with Mark Lutz' expert
1766 system shell
1767
1768 * Demo: added new subdirectory lutz, with Mark Lutz' examples
1769 (e.g. psh.py, a nice enhanced Python shell!!!)
1770
1771 * Lib/os.py: added listdir for Windows NT
1772
1773 * Modules/timemodule.c, Parser/intrcheck.c: changes for Windows NT
1774 by Jaap Vermeulen (#ifdef _M_IX86)
1775
1776 * Makefile.in (inclinstall): added variable INCLUDEPY to specify
1777 where the include files are installed
1778
1779 * Modules/nismodule.c (nisproc_maplist_2): cast some args to
1780 (caddr_t) as required on some systems
1781
1782 * Objects/mappingobject.c (getmappingitems): correct typo (called
1783 _values instead of _items)
1784
1785Mon Feb 21 17:07:07 1994 Guido van Rossum (guido@voorn.cwi.nl)
1786
1787 * Lib/rfc822.py: added access as a dictionary
1788
1789 * Lib/urlopen.py: new module to access arbitrary files designated
1790 by a URL (Universal Resource Locator)
1791
1792 * Lib/{httplib,gopherlib}.py: new modules to interface to HTTP
1793 and gopher servers
1794
1795 * Lib/rfc822.py: moved _monthnames to where it is used; add some
1796 blank lines
1797
Guido van Rossum3da56c31994-02-18 10:19:41 +00001798Fri Feb 18 09:54:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
1799
1800 * Lib/sgi/flp.py: avoid using time.milli{sleep,timer}
1801
1802 * Lib/stdwin/WindowSched.py: avoid using time.milli{sleep,timer}
1803 -- still maintain time in milliseconds though
1804
1805 * Lib/sched.py: remove references to milli{timer,sleep} from comments
1806
1807 * Lib/os.py: made execvp more portable; added os.pathsep and
1808 os.defpath
1809
1810Thu Feb 17 12:53:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
1811
1812 * Lib/ftplib.py(FTP.makeport): call listen(1) instead of listen(0)
1813 so it works on Solaris 2
1814
1815 * Modules/makesetup: reverse order of DEFS so first Setup file can
1816 override; any non-cpp uppercase option is sent to the linker
1817
1818Wed Feb 16 10:26:59 1994 Guido van Rossum (guido@voorn.cwi.nl)
1819
1820 * Objects/fileobject.c: add name, mode, softspace and closed
1821 attributes (softspace is also writable).
1822
1823 * configure.in: in --verbose mode, don't hide compiler output
1824
Guido van Rossum2a7cbe91994-01-26 17:55:41 +00001825========================================================================
Guido van Rossume1056b31994-02-15 15:54:42 +00001826Release of 1.0.1 (Feb 15 1994)
1827========================================================================
1828
1829Tue Feb 15 11:32:42 1994 Guido van Rossum (guido@voorn.cwi.nl)
1830
1831 * Lib/string.py (atof): force the result to be float
1832
1833 * Python/modsupport.c (do_arg): don't use a local object va --
1834 this doesn't work on some compilers (e.g. WATCOM)
1835
1836Mon Feb 14 10:52:01 1994 Guido van Rossum (guido@voorn.cwi.nl)
1837
1838 * Lib/dospath.py: proper version by Jaap Vermeulen
1839
1840 * Makefile.in (Makefiles): add semicolon after ) which some Make
1841 versions need
1842
1843 * Doc/libposix.tex: added doc for posix.fdopen
1844
1845 * README: add Sequent and NeXT to list of platforms; add
1846 troubleshooting section; add hist about -Dindex for readline
1847
1848 * Lib/os.py: generalize to many os specific modules using a
1849 dictionary
1850
1851 * Lib/ospath.py: now obsolete; use os.name to import the right one
1852
1853 * configure.in: change order of -lsocket and -lnsl and insert
1854 -linet in between, so it works on Sequent (it still works on
1855 Solaris 2 -- hope it still works elsewhere as well); add test for
1856 _NEXT_SOURCE (then define _POSIX_SOURCE); remove test for dlopen;
1857
1858 * configure.in, acconfig.h, */modsupport.[ch]: rename
1859 HAVE_VARARGS_PROTOTYPES to HAVE_STDARG_PROTOTYPES, to avoid
1860 confusion
1861
1862 * Include/modsupport.h: no prototypes for getargs() and mkvalue()
1863 in case no varargs prototypes
1864
1865 * Lib/test/test_grammar.py: don't import sleep from time, but time
1866 (since sleep has portability problems)
1867
1868Fri Feb 11 23:47:46 1994 Guido van Rossum (guido@voorn.cwi.nl)
1869
1870 * Parser/intrcheck.c: added QUICKWIN version (doesn't really
1871 work); fixed MSDOS version to also set a SIGINT handler.
1872
1873 * Modules/timemodule.c (time_sleep): declare sigsave 'auto' hoping
1874 this will avoid restoring its pre-setjmp value. On non-threaded
1875 systems declare it 'static' since at least Microsoft C still puts
1876 the auto variable in a register causing a bug... Also implement
1877 the MSDOS version of floatsleep() using a busy-wait loop calling
1878 intrcheck()
1879
1880Wed Feb 9 11:43:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
1881
1882 * Lib/rfc822.py: added parsedate() and parseaddr() utility
1883 functions and getdate(), getaddr(), getaddrlist() methods; added
1884 test code when run as script
1885
1886 * Include/pythonrun.h, Python/pythonrun.c: cleanup() is now
1887 externally visible, for the benefits of embedded use.
1888
1889 * Lib/dospath.py: new module for dos stuff
1890
1891Mon Feb 7 09:50:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
1892
1893 * Modules/makesetup: add -n option between Setup files (suppresses
1894 making of .o files but keeps processing of libraries and module
1895 names)
1896
1897 * Makefile.in (libainstall): install Setup, makesetup, config.c.in
1898
1899 * Modules/Setup*: added -lX11_s to line for gl module
1900
1901 * Demo/scripts/unbirthday.py: new script, print unbirthday count
1902
1903 * Modules/audioopmodule.c: removed hack for signed on sun
1904 (there's now a test in the configure script); check that if
1905 'signed' is defined away characters aren't unsigned
1906
1907 * Modules/posixmodule.c: include mytime.h (for clock_t on NeXT)
1908
1909 * acconfig.h: add entry for 'signed' keyword
1910
1911 * configure.in: remove const from check for exec prototypes; add
1912 check for signed keyword and check for whether chars are unsigned
1913
1914Fri Feb 4 13:07:03 1994 Guido van Rossum (guido@voorn.cwi.nl)
1915
1916 * Modules/makesetup: added usage message, -c and -m options to
1917 specify config.c.in and Makefile.pre input files, -s option to
1918 specify source directory, added comments
1919
1920 * Modules/Setup.in: remove -lm from imgfile entry
1921
1922 * Modules/nismodule.c: only define YPPROC_MAPLIST, YPPROG and
1923 YPVERS if not already defined
1924
1925 * configure.in, acconfig.h, Include/modsupport.h,
1926 Python/modsupport.c: added separate check for varargs prototypes
1927 (HAVE_VARARGS_PROTOTYPES)
1928
1929Thu Feb 3 11:00:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
1930
1931 * Python/bltinmodule.c (filterstring): fix core dump of func ==
1932 None
1933
1934 * Lib/string.py: replace atoi_error, atof_error, atol_error by
1935 ValueError when the strop versions are used
1936
1937 * Modules/stropmodule.c: added atol(), added optional base
1938 argument to atoi() and atol()
1939
1940 * Objects/longobject.c, Include/longobject.h: added long_escan
1941 (like long_scan but raises exception for bad base and stores end
1942 of string into return argument)
1943
1944 * Objects/rangeobject.c (range_repr): repr must use "xrange..."
1945
1946Wed Feb 2 12:28:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
1947
1948 * Modules/stropmodule.c: added atoi() and atof()
1949
1950 * Python/modsupport.c: use stdarg.h / varargs.h depending on
1951 presence of prototypes
1952
1953 * Modules/timemodule.c (floattime): try ftime() or time() if
1954 gettime() fails
1955
1956Tue Feb 1 14:41:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
1957
1958 * Doc/Makefile (python-lib.info): change makeinfo option style
1959 from +foo to --foo
1960
1961 * Doc/README: remove invalid reference to ../misc/FTP; update
1962 description of making the info version
1963
1964 * Doc/{fix.el,fix_hack,whichlibs}: minor updates/corrections
1965
1966Mon Jan 31 11:16:38 1994 Guido van Rossum (guido@voorn.cwi.nl)
1967
1968 * Python/import.c: only use shared libraries if HAVE_DLOPEN *and*
1969 HAVE_DLFCN_H are defined; define symbol USE_SHLIB then
1970
1971 * Doc/tut.tex: lots of small changes by Tim Peters: typos,
1972 out-of-date examples, restrictions lifted, new and better ways to
1973 do some things...
1974
1975Fri Jan 28 10:59:48 1994 Guido van Rossum (guido@voorn.cwi.nl)
1976
1977 * README: added Minix note
1978
1979 * Lib/sunau.py: correct byte count calculation from frame rate
1980
1981 * Lib/aifc.py: rate should be an integer
1982
1983Thu Jan 27 12:55:17 1994 Guido van Rossum (guido@voorn.cwi.nl)
1984
1985 * Doc/ext.tex: removed obsolete reminder in line 1; correct typo
1986
1987 * Misc/FAQ: fixed some out of date info, added question on module
1988 run as script
1989
1990 * Modules/rgbimgmodule.c (initrgbimg): exception string should
1991 contain dot not comma
1992
1993 * Modules/md5module.c: fix compiler warnings about (unsigned) char
1994
1995 * Makefile.in: libinstall and maninstall should use $(srcdir)
1996
1997 * Lib/tzparse.py: don't run test() on import
1998
1999 * Lib/filewin.py: moved into Lib/stdwin
2000
2001 * Modules/cdmodule.c: fix wrong cast of cdparser_getattr
2002
2003========================================================================
Guido van Rossum2a7cbe91994-01-26 17:55:41 +00002004Release of 1.0.0 (Jan 26 1994)
2005========================================================================
2006
Guido van Rossum76821a51994-01-26 17:31:17 +00002007Wed Jan 26 14:13:39 1994 Guido van Rossum (guido@voorn.cwi.nl)
2008
Guido van Rossum2a7cbe91994-01-26 17:55:41 +00002009 * Doc/tut.tex: updated version number in invocation example
2010
2011 * Doc/Makefile: update destination of texi2html
2012
Guido van Rossum76821a51994-01-26 17:31:17 +00002013 * Misc/FAQ: updated for release 1.0.0
2014
2015 * Misc/NEWS: created -- all bits of news
2016
2017 * Misc/HISTORY: added (from old releases)
2018
2019 * Misc/README: documented some new files
2020
2021 * README: non-beta version and preface, don't ref TODO
2022
2023 * Makefile.in: got rid of references to TODO
2024
2025 * Python/version.c, Doc/???.tex: updated version and date
2026
Guido van Rossum8f0d0c81994-01-25 20:08:34 +00002027Tue Jan 25 20:11:49 1994 Guido van Rossum (guido@voorn.cwi.nl)
2028
2029 * Doc/ext.tex: revamped, finally ready for release
2030
2031 * Doc/{Makefile,myformat.perl}: support latex2html (0.5.1)
2032
2033 * README: correct typo on DL_DIRECTORY
2034
Guido van Rossum23d19391994-01-24 15:42:32 +00002035========================================================================
2036Release of 1.0.0 BETA 6 (Jan 24 1994)
2037========================================================================
Guido van Rossum2a7cbe91994-01-26 17:55:41 +00002038
Guido van Rossum23d19391994-01-24 15:42:32 +00002039Mon Jan 24 16:37:46 1994 Guido van Rossum (guido@voorn.cwi.nl)
2040
2041 * Doc/ref?.tex: Change \verb\<stuff>\ into \verb@<stuff>@ so
2042 latex2html doesn't crash
2043
2044Thu Jan 20 18:05:18 1994 Guido van Rossum (guido@voorn.cwi.nl)
2045
2046 * Ext-dummy/, README, Makefile.in: Created new directory
2047 Ext-dummy/. Ext-dummy/ contains its own README and copies of
2048 Extensions/mk{ext,mf}.py.
2049
Guido van Rossumcb38cd01994-01-18 15:09:30 +00002050Tue Jan 18 11:04:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
2051
2052 * Python/getmtime.c: Include config.h if we have it
2053
2054 * Modules/Setup.in: fixed comments about GMP version
2055
2056 * Modules/nismodule.c: define YPPROC_MAPLIST, YPPROG, YPVERS as
2057 plain integer literals, to make it work on 64 bit machines
2058
2059 * Parser/grammar.c (translabel): remove redundant decl of strchr()
2060 (which caused trouble on AIX)
2061
2062Sun Jan 16 14:13:13 1994 Guido van Rossum (guido@voorn.cwi.nl)
2063
2064 * configure.in: test for fcntl.h
2065
2066 * Modules/posixmodule.c: include fcntl.h if it exists
2067
Guido van Rossumb46152a1994-01-14 16:59:57 +00002068Fri Jan 14 17:35:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
2069
2070 * configure.in: check for sys/time.h; substitute and check for AR;
2071 check for nice()
2072
2073 * Makefile.in: make python .PRECIOUS; define OPT=-O and pass it to
2074 submakes
2075
2076 * */Makefile*in: set OPT=-O; set AR=@ar@
2077
2078 * Modules/Setup.minix: new
2079
2080 * Lib/audiodev.py: only import system specific modules if needed
2081
Guido van Rossum4c627be1994-01-13 15:47:04 +00002082Thu Jan 13 16:40:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
2083
Guido van Rossum8f0d15c1994-01-13 16:16:30 +00002084 * Modules/flmodule.c: make type objects static
2085
2086 * Modules/almodule.c: make type objects static
2087
Guido van Rossum4c627be1994-01-13 15:47:04 +00002088 * Makefile.in: add rule to build Makefile; add VPATH for that;
2089 remove dependency on configure script (you can run 'make autoconf'
Guido van Rossumb46152a1994-01-14 16:59:57 +00002090 instead); add Lib/test to path for test target;
2091
2092 * Lib/test: new subdirectory, holds all test modules
Guido van Rossum4c627be1994-01-13 15:47:04 +00002093
Guido van Rossum33033151994-01-12 09:58:23 +00002094Wed Jan 12 10:17:41 1994 Guido van Rossum (guido@voorn.cwi.nl)
2095
Guido van Rossum4c627be1994-01-13 15:47:04 +00002096 * acconfig.h: added HAVE_ALTZONE
2097
2098 * configure.in: test for altzone; check for working
2099 termcap/termlib when --with-readline used; don't test for readline
2100 function; send errors to stderr
2101
2102 * Lib/test_grammar.py: fix 64-bit int test for max negative int
2103
Guido van Rossum33033151994-01-12 09:58:23 +00002104 * Python/import.c (get_module): call dlerror() when dlopen() fails
2105 (also some layout changes)
2106
Guido van Rossum2712c161994-01-11 12:00:38 +00002107Tue Jan 11 10:56:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
2108
Guido van Rossum33033151994-01-12 09:58:23 +00002109 * Python/import.c: use RTLD_NOW (define as 2 if undefined)
2110
2111 * Makefile.in: "make (local)clean" shouldn't bother about Include;
2112 added .PRECIOUS: config.status
Guido van Rossum2712c161994-01-11 12:00:38 +00002113
2114 * Modules/md5.h: define PROTOTYES as 1 if HAVE_PROTOTYPES is
2115 defined
2116
2117 * Modules/md5module.c: grand cleanup
2118
2119 * Modules/Setup.sgi: renamed to Setup.irix4
2120
2121 * Modules/Setup.sunos5: renamed to Setup.solaris2
2122
2123 * Modules/Setup.in: some makes (e.g. Ultrix) don't strip trailing
2124 whitespace from variable definitions -- make sure there isn't any
2125 in the defs used to generate PYTHONPATH
2126
2127 * Many modules and objects: use 'staticforward' where needed
2128
2129 * Include/object.h: added #define 'staticforward' as either static
2130 or extern depending on BAD_STATIC_FORWARD
2131
2132 * acconfig.h: added BAD_STATIC_FORWARD
2133
2134 * configure.in: added test for bad static forward
2135
2136Mon Jan 10 10:35:21 1994 Guido van Rossum (guido@voorn.cwi.nl)
2137
2138 * Modules/md5module.c: SCO ODT 3.0 dependent fix
2139
2140 * Objects/xxobject.c: quote size fields as tp_basicsize instead of
2141 (incorrectly) tp_size
2142
2143 * Objects/listobject.c (cmp): arguments must be const!!!
2144
2145 * Modules/imageopmodule.c: another attempt at casting away
2146 warnings about changed semantics in ANSI C
2147
2148 * Modules/regexpr.c: cast away warning about changed semantics in
2149 ANSI C
2150
2151 * Modules/Makefile.pre.in: add LIBC_S (shared version of -lc, to
2152 be figured out by configure)
2153
2154 * README, Python/version.c: version 1.0.0 BETA 6
2155
2156 * README: fixed description of Setup (which was buried under the
2157 SVR4 exception!); added description of --prefix, --exec-prefix,
2158 --with-libm and --with-libc
2159
2160 * configure.in: added --with-libc=... and --with-libm=...
2161
2162 * Modules/Makefile.pre.in: Remove dependency of Setup on Setup.in,
2163 so it is only copied when Setup does not exist at all; add
2164 prefix=/usr/local so Setup can base default path on --prefix
2165 option to toplevel configure script
2166
2167 * Modules/Setup.in: clarified build procedure in comments; don't
2168 include GNN's timing module by default; use $(prefix) instead
2169 requiring manual edit of DESTDIR
2170
2171 * Makefile.in: replace DESTDIR by prefix and exec_prefix and
2172 updated affected targets; added inclinstall and libainstall
2173 targets
2174
2175 * Objects/accessobject.c: removed (???) from comment to avoid
2176 trigraph warning
2177
2178 * Makefile.in (libinstall): correct typo: (D)DESTDIR
2179
2180Fri Jan 7 10:34:43 1994 Guido van Rossum (guido@voorn.cwi.nl)
2181
2182 * README: describe --with-sgi-dl and --with-dl-dld
2183
2184 * Python/Makefile.in: compile import.c with -I$(DLINCLDIR)
2185
2186 * Python/import.c: check for WITH_SGI_DL and WITH_DL_DLD
2187
2188 * acconfig.h: added WITH_SGI_DL and WITH_DL_DLD
2189
2190 * configure.in: added --with-sgi-dl=DIR and
2191 --with-dl-dld=DIR,DIR; now require --with-readline=DIR and test
2192 for existing directory
2193
2194 * Lib/test_audioop.py: new module to test (you guessed it) audioop
2195
2196 * Modules/audioopmodule.c: got rid of adpcm32lin and lin2adpcm3 --
2197 Jack says they're not useful
2198
2199========================================================================
2200Release of 1.0.0 BETA 5 (Jan 6 1994)
2201========================================================================
2202
Guido van Rossume0d95c31994-01-06 14:47:25 +00002203Thu Jan 6 13:36:32 1994 Guido van Rossum (guido@voorn.cwi.nl)
2204
Guido van Rossum658c9981994-01-06 17:20:58 +00002205 * readline/Makefile: remove some cruft so it works with VPATH
2206
2207 * Lib/aifc.py: remove dependencies on AL (Sjoerd)
2208
Guido van Rossume0d95c31994-01-06 14:47:25 +00002209 * README: describe new Setup procedure
2210
2211 * Modules/Makefile.pre.in: copy Setup from $9srcdir)/Setup.in so
2212 it *really* works with VPATH
2213
2214 * Modules/Setup: renamed to Modules/Setup.in
2215
2216 * Python/pythonmain.c (realmain): fclose script file
2217
2218 * Python/import.c (get_module): fix important leak: close the .py
2219 file after parsing!
2220
2221 * README, Python/version.c: version 1.0.0 BETA 5
2222
Guido van Rossum516d4d91994-01-05 17:53:05 +00002223Wed Jan 5 16:42:35 1994 Guido van Rossum (guido@voorn.cwi.nl)
2224
2225 * Modules/rgbimgmodule.c: Only include <unistd.h> if it exists
2226
2227 * Modules/timemodule.c: don't include sys/time.h on the Mac
2228
2229 * Modules/stdwinmodule.c (initstdwin): don't fuss with sys.argv on
2230 the mac -- so {check,putback}stringlist aren't needed there
2231
2232 * Parser/intrcheck.c: Make sure <MacHeaders> is included before
2233 any other include file
2234
2235 * Modules/audioopmodule.c: include math.h after allobjects.h (so
2236 the latter can be a precompiled header file on the Mac)
2237
2238Wed Jan 5 15:34:26 1994 Guido van Rossum (guido@poseidon.cwi.nl)
2239
2240 * Python/pythonrun.c (sighandler): only call kill(getpid()) if
2241 getpid() exists; otherwise call exit(1)
2242
2243 * configure.in: added test for getpid()
2244
2245 * Modules/config.c.in: Changes for Macintosh: new default path,
2246 call wargc() in main(); 1994 copyright
2247
2248 * Python/frozenmain.c: added declarations for getversion() and
2249 getcopyright() (foei!); insert "Python " before version on banner
2250
2251 * Python/pythonmain.c: added declarations for getversion() and
2252 getcopyright() (foei!); default startupfile to "PythonStartup" on
2253 Macintosh; add fclose(fp) for startupfile; insert "Python " before
2254 version on banner
2255
Guido van Rossum2f3e8d51994-01-05 00:15:29 +00002256========================================================================
Guido van Rossum718581a1994-01-05 01:17:12 +00002257Release of 1.0.0 BETA 4 (Jan 5 1994)
2258========================================================================
2259
2260Wed Jan 5 01:21:59 1994 Guido van Rossum (guido@voorn.cwi.nl)
2261
2262 * README, version.c: bumped version to 1.0.0 BETA 4
2263
2264 * README: removed all references to --with-solaris; updated list
2265 of files and directories
2266
2267 * Modules/sunaudiodevmodule.c: define SOLARIS if
2268 HAVE_SYS_AUDIOIO_H is defined
2269
2270 * Python/thread.c: define SOLARIS if HAVE_THREAD_H is defined
2271
2272 * configure.in: added test for <thread.h> (SOLARIS thread
2273 interface); remvoe test for --with-solaris
2274
2275========================================================================
Guido van Rossum2f3e8d51994-01-05 00:15:29 +00002276Release of 1.0.0 BETA 3 (Jan 5 1994)
2277========================================================================
2278
Guido van Rossumf1009e81994-01-04 23:29:10 +00002279Wed Jan 5 00:18:45 1994 Guido van Rossum (guido@voorn.cwi.nl)
2280
Guido van Rossum04e74c41994-01-05 00:00:14 +00002281 * {Parser,Objects,Python,Makefile}/Makefile*in: made depend target
2282 work with VPATH
2283
Guido van Rossumf1009e81994-01-04 23:29:10 +00002284 * README: describe new build procedure; added section on building
2285 for multiple architectures
2286
2287 * acconfig.h: fix (reversed!) comment for SYS_SELECT_WITH_SYS_TIME
2288
2289 * Modules/Makefile.pre.in: copy Setup from $(srcdir) if not
2290 present, and use local Setup as input for makesetup script
2291
Guido van Rossum79556aa1994-01-04 22:02:27 +00002292Tue Jan 4 12:32:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
2293
2294 * Note that there are no functional changes below -- just changes
2295 to the build process and changes to avoid compiler warnings
2296
2297 * Modules/Setup: disable nis as well by default, change the
2298 pertaining comments, and change the comments about the multimedia
2299 modules to be default on
2300
2301 * fixed all warnings about function pointer initializations, and
2302 miscellanous other warnings (e.g. about extern forward references
2303 to static variables); touched random bits of code as a consequence
2304
2305 * changed configuration process and Makefiles to support VPATH;
2306 for this, config.h(.in) now lives to the toplevel directory, the
2307 toplevel Makefile is now created by configure as well, and various
2308 improvements to it have been made (e.g. working tags and TAGS
2309 targets), the makesetup script follows configure instead of
2310 preceding it, it understands srcdir and has an exception for
2311 glmodule.c, the intermediate file is called Makefile.pre, the
2312 Makefiles don't use TOP any more and are much more careful about
2313 the difference between .. and the toplevel directory, and I've
2314 improved my understanding of how configure handles srcdir
2315
2316 * Modules/threadmodule.c: refuse to compile when WITH_THREAD is not
2317 defined
2318
2319 * configure.in, acconfig.h, config.h.in, Include/ceval.h,
2320 Modules/{stdwin,thread}module.c, Python/{ceval,pythonrun}.c:
2321 renamed USE_THREAD to WITH_THREAD
2322
2323 * configure.in: add AC_PROG_INSTALL
2324
2325 * README, Python/version.c: version set to 1.0.0 BETA 3
2326
2327 * Demo, Include, Lib: added Makefile with clean/clobber targets
2328
2329 * README: added remarks on --with-svr4; unnumber special cases
2330
2331 * configure.in: only look for -lnsl and -lsocket if --with-svr4 is
2332 specified, to avoid linking with them on IRIX 5
2333
2334========================================================================
2335Release of 1.0.0 BETA 2 (Jan 3 1994)
2336========================================================================
2337
2338Mon Jan 3 22:21:24 1994 Guido van Rossum (guido@voorn.cwi.nl)
2339
2340 * Include/myselect.h: fix typo in name of SYS_SELECT_WITH_SYS_TIME
2341
2342 * Parser/pgen.h: moved here from Include; removed extern
2343 definition of 'gram'
2344
2345 * Parser/acceler.c: include node.h, now needed by parser.h
2346
2347 * README: added paragraph on testing
2348
2349 * Misc/python.man: changed date and add 1994 copyright
2350
2351 * Makefile: added test target
2352
2353 * Python/thread.c: include config.h if needed
2354
2355 * Parser/parser.h: remove references to struct _grammar and
2356 similar things
Guido van Rossum5536a3c1994-01-02 23:28:55 +00002357
Guido van Rossume182fe51994-01-03 15:21:29 +00002358 * Modules/rotormodule.c (RTR_e_char, RTR_d_char): avoid warnings
2359 by picky compilers about unsigned % signed
2360
2361 * README: added a section on building it for non-UNIX systems
2362
2363 * Makefile (configure): call autoheader when calling autoconf
2364
2365 * Include/config.h.in: now generated by autoheader
2366
2367 * acconfig.h: new file (input for autoheader)
2368
Guido van Rossum976877e1994-01-03 14:24:47 +00002369 * configure.in: added AC_REVISION call to top
2370
2371 * Modules/flmodule.c (form_setattr): one NULL should be 0
2372
2373 * Include/myselect.h: this now implies mytime.h and attempts to
2374 work around systems where sys/select.h and sys/time.h can't be
2375 included together
2376
2377 * Modules/socketmodule.c, Doc/libsocket.tex: remove socket avail()
2378 method -- you can use select instead
2379
2380 * Modules/Setup: disable dbm, it is not truly portable
2381
2382 * Lib/sunau.py: incorporate one-line fix by Sjoerd
2383
2384 * Include/pgenheaders.h: include <stdlib.h> if its symbol
2385 defined, not just on the mac
2386
2387 * Include/grammar.h: remove redundant structure tags
2388
2389 * Include/cgensupport.h: avoid possible macro argument
2390 substitution inside string literal
2391
2392 * configure.in, Include/config.h.in: add test whether sys/select.h
2393 and sys/times.h can be included by the same program
2394
Guido van Rossum313e5cb1994-01-03 03:51:06 +00002395 * Include/config.h.in: add lines for HAVE_SYS_UN_H and
2396 HAVE_GETPEERNAME
2397
2398 * Extensions/mkext.py: copy change in library order from
2399 Modules/Makefile.in.in
2400
2401 * Modules/Makefile.in.in: change library order subtly so -ltermcap
2402 follows instead of precedes -lgl_s on SGI systems; this solves
2403 (hides?) problems with clashing entry points
2404
2405 * configure.in: added sys/un.h to list of tested header files;
2406 added getpeername to list of tested functions (both for
2407 Modules/socketmodule.c)
2408
2409 * Modules/socketmodule.c: conditionally include sys/un.h and
2410 change tests for AF_UNIX to tests for HAVE_SYS_UN_H; test for
2411 HAVE_GETPEERNAME instead of NO_PEERNAME
2412
2413 * Modules/config.c.in: add marshal and __main__ built-in modules
2414
2415 * Python/sysmodule.c (list_builtin_module_names): sort the list
2416
Guido van Rossumbbf27191994-01-03 02:11:27 +00002417 * Doc/Makefile: remove 'qua' from default targets
2418
2419 * Doc/README: add reference to ext.tex, change reference to
2420 lib*.tex, explain that qua isn't built by default
2421
2422 * README: explain DESTDIR, clarify install procedure, add more
2423 explanation to some options, add description of ChangeLog, add
2424 wuarchive.wustl.edu to list of mirror sites
2425
2426 * Modules/socketmodule.c: make AF_UNIX code dependent on existence
2427 of AF_UNIX (SCO ODT 3.0 doesn't support it -- let's hope it
2428 doesn't define the symbol either)
2429
2430 * Makefile: attempt to fix install targets (added separate
2431 libinstall and maninstall)
2432
2433 * Doc/libregex.tex: documented Tracy Tims' changes
2434
Guido van Rossum5536a3c1994-01-02 23:28:55 +00002435 * Modules/regexpr.c: redid Tracy Tims' changes to minimize diffs
2436 (only two added lines now)
2437
2438 * Modules/regexmodule.c: fix core dump when asking a plain regex
2439 object for a named group
2440
2441Sun Jan 2 23:10:44 1994 Guido van Rossum (guido@voorn.cwi.nl)
2442
2443 * README, Python/version.c: changed version string to 1.0.0 BETA 2
2444
2445 * Modules/{regexpr.{c,h},regexmodule.c}: merged in Tracy Tims'
2446 mods for named subexpressions
2447
2448 * Include/regexpr.h: moved to Modules/regexpr.h
2449
2450 * Modules/timingmodule.c: change tests for no arguments
2451
2452 * configure.in: remove strtoul from AC_REPLACE_FUNCS; remove
2453 initial blank line (which got copied into configure so it wouldn't
2454 start with #!/bin/sh as required)
2455
2456 * Python/compile.c: call mystrto(u)l instrad of strto(u)l
2457
2458 * Python/Makefile.in: add mystrtoul.c to OBJS
2459
2460 * Python/mystrtoul.c: renamed from strtol.c; renamed functions to
2461 mystrto(u)l; this is now a standard source file (since some
2462 systems have a strto(u)l that doesn't report errors properly)
2463
2464 * Modules/Setup: added entry for timing module
2465
2466 * Modules/{timing.h,timingmodule.c}: new files implementing GNN's
2467 timing module
2468
2469========================================================================
2470Release of 1.0.0 BETA (Jan 1 1994)
2471========================================================================