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