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