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