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