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