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