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