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