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