blob: 8f490d1b290542d9f75371a59c73d0f5215dbaff [file] [log] [blame]
Guido van Rossumdf145031994-05-06 14:30:40 +00001Fri May 6 11:25:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
2
3 * various files: micro changes needed to compile on Mac;
4 Grouped more Mac-specific files in Mac subdirectory
5
6 * Lib/*.py: rewrote many functions to use default arguments
7 instead of arbitrary argument lists
8
9Thu May 5 12:33:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
10
11 * Modules/{cryptmodule.c,Setup.*}: new crypt(3) interface (Steve M)
12
13 * Python/bltinmodule.c, Include/bltinmodule.h: new fn setbuiltin()
14 to set a built-in variable
15
16 * Python/ceval.c (eval_code): place '_' variable in __builtin__
17 instead of in local dictionary, to avoid endless recursion when
18 printing vars()
19
Guido van Rossuma3d4d371994-05-04 13:10:40 +000020========================================================================
21Release 1.0.2 (4 May 1994)
22========================================================================
23
24Wed May 4 13:12:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
Guido van Rossum8ad2a2a1994-05-04 07:44:21 +000025
Guido van Rossum9c7e7bf1994-05-04 09:33:42 +000026 * README: version 1.0.2
27
28 * Objects/fileobject.c (setfilebufsize): less error checking
29
30 * configure.in: test for withval != yes (autoconf 1.8 change)
31
32 * Makefile.in: don't remove config.status on "make clobber"
33
Guido van Rossum8ad2a2a1994-05-04 07:44:21 +000034 * Python/ceval.c (eval_code): removed last traces of killprint (-k
35 option)
36
37 * Doc/tut.tex: documented some more new stuff
38
39 * Added else clause to try-except. Affected files:
40 Grammar/Grammar, Include/graminit.h, Python/graminit.c,
41 Python/compile.c, Doc/ref7.tex, Doc/tut.tex
42
Guido van Rossumacfe4171994-05-03 14:53:09 +000043Tue May 3 15:21:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
44
45 * Misc/python.man: documented -u; undocumented -k
46
47 * Python/{python,frozen}main.c: got rid of -k option; added -u
48 option (unbuffered stdout/stderr); plus environment
49
50 * Python/import.c: Steven Majewski's mods for AIX
51
52 * Lib/lockfile.py: new module to lock files (using fcntl)
53
54 * Objects/fileobject.c, Include/fileobject.h: added setfilebufsize
55 function to set buffer size (call only from C when it's safe!)
56
57 * Python/bltinmodule.c (builtin_open): Added 3rd parameter to give
58 buffer size; default 2nd parameter to "r"
59
60Mon May 2 17:51:23 1994 Guido van Rossum (guido@voorn.cwi.nl)
61
62 * Modules/{al,cd,sv}module.c: added (method) casts to methodlist
63 initializers
64
65Thu Apr 28 15:01:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
66
67 * Doc/ref2.tex: (section{Line structure}): documented line joining
68 without backslashes inside parens
69
Guido van Rossuma83d9541994-04-28 12:29:44 +000070Wed Apr 27 13:15:42 1994 Guido van Rossum (guido@voorn.cwi.nl)
71
72 * Misc/python-mode.el: version 1.09 from Tim (grand new
73 indentation scheme)
74
75 * configure.in: test for setvbuf
76
77 * Python/ceval.c (PRINT_EXPR): assign a non-None value to '_'
78 before printing it
79
80 * Python/compile.c: only call PRINT_EXPR for interactive code
81 (start symbol single_input), else call POP_TOP after evaluating an
82 expression
83
84Tue Apr 26 16:23:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
85
86 * Python/bltinmodule.c (builtin_reduce): added essential INCREF()
87 if a third argument is present
88
89 * Doc/tut.tex: added chapter "Recent Additions"
90
91Mon Apr 25 11:27:09 1994 Guido van Rossum (guido@voorn.cwi.nl)
92
93 * Doc/ref7.tex (section{Function definitions}): add missing '}'.
94
95 * Doc/ref2.tex (subsection{String literals}): documented triple
96 quotes and double quotes.
97
98 * Lib/test/test_grammar.py: added tests for triple-quoted strings
99 and strings continued with backslash-newline
100
101 * Objects/fileobject.c (writestring): don't do anything when
102 writing to a Python object while an error is already set
103
104 * Parser/tokenizer.c: added support for triple-quoted strings and
105 strings continued with backslash
106
Guido van Rossumacfe4171994-05-03 14:53:09 +0000107 * Parser/tokenizer.h: moved here from Include
108
Guido van Rossuma83d9541994-04-28 12:29:44 +0000109 * Python/compile.c (parsenumber): support triple-quoted strings.
110 Raise SyntaxError, not SystemError for bad number syntax
111
Guido van Rossuma143e901994-04-22 16:01:43 +0000112Fri Apr 22 17:39:20 1994 Guido van Rossum (guido@voorn.cwi.nl)
113
114 * Objects/{tuple,list,string,mapping}object.c,
115 Modules/arraymodule.c, Python/compile.c: use new
116 joinstring(_decref) interface for more compact code
117
118 * Objects/stringobject.c (joinstring): if error, DECREF and zero
119 result; added joinstring_decref() which XDECREFs its second
120 argument
121
122Thu Apr 21 10:59:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
123
124 * Doc/libtypes.tex (subsubsection{More String Operations}):
125 documented new '%(key)s' % {...} formatting and more liberal %s
126 interpretation (applies str() first)
127
128 * Doc/libfuncs.tex (section{Built-in Functions}): documented new
129 vars() built-in function
130
131 * Objects/stringobject.c (formatstring): add Donald Beaudry's
132 patch (slightly changed) to allow '%(<key>)<format>' % {...} to
133 format dictionary entries by key. Also changed %s format to
134 accept any type and convert it to a string using str()
135
136 * Python/bltinmodule.c: add new built-in function vars() which
137 returns variables (of which dir() returns the sorted keys())
138
139Mon Apr 18 11:00:54 1994 Guido van Rossum (guido@voorn.cwi.nl)
140
141 * Doc/libppath.tex (section{Standard Module
142 \sectcode{posixpath}}): describe for expandvars()
143
144 * Lib/posixpath.py (expandvars): do it using regular expressions
145 instead of forking of a shell
146
147 * Lib/urllib.py (open_http, open_gopher): diagnose missing
148 hostname
149
150Sun Apr 17 21:52:52 1994 Guido van Rossum (guido@voorn.cwi.nl)
151
152 * Python/compile.c (com_atom), Grammar/Grammar (atom): string
153 literal concatenation -- "abc" 'def' is equivalent to 'abcdef'
154
Guido van Rossumed3112c1994-04-14 14:27:58 +0000155Thu Apr 14 12:36:25 1994 Guido van Rossum (guido@voorn.cwi.nl)
156
Guido van Rossuma143e901994-04-22 16:01:43 +0000157 * Lib/test/test_thread.py: new module to test threads (very basic)
158
159 * Python/thread.c: remove #define DEBUG 1
160
161 * Demo/scripts/freeze.py: changes by Jaap V and my own to make it
162 work again
163
164 * Makefile.in (libainstall): install frozenmain.c
165
166 * Python/frozenmain.c: added getprogramname()
167
Guido van Rossumed3112c1994-04-14 14:27:58 +0000168 * Doc/ref7.tex (section{Function definitions}): describe default
169 parameter values
170
171 * Lib/test/test_grammar.py: added grammar variants for default
172 argument expressions
173
174 * Python/compile.c: compile default argument values (com_argdefs
175 plus related stuff)
176
177 * Python/bltinmodule.c (builtin_apply): require that the argument
178 list is a tuple
179
180 * Misc/python-mode.el: change by Donald Beaudry to
181 py-compute-indentation; and fix to that by Sjoerd
182
183Wed Apr 13 10:08:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
184
185 * Python/ceval.c (eval_code): implement SET_FUNC_ARGS opcode
186
187 * Include/opcode.h: added SET_FUNC_ARGS opcode
188
189 * Objects/funcobject.c (newfuncobject, func_memberlist): added
190 func_argcount and func_argdefs fields and {get,set}funcargstuff()
191 functions.
192
193 * Include/funcobject.h: Added func_argcount and func_argdefs
194 fields and {get,set}funcargstuff() functions.
195
196 * Python/import.c (init_builtin): Give error message if module's
197 initialization function is NULL (e.g. for 'sys').
198 (get_module): Give error message if reloading a dynamically
199 loadable module.
200 (reload_module): Give error message if reloading a built-in
201 module; correctly (I hope) reload a frozen module.
202
203 * Doc/ref6.tex (break and continue): rephrase definition of
204 restrictions on where these may occur; change rules for continue
205 to match implementation.
206
207 * Doc/ref4.tex (section{Code blocks, execution frames, and name
208 spaces}): fix definition of what's local to include deleted
209 targets; added footnote describing exec and from - import *
210 restriction.
211
212 * Lib/dis.py: added LOAD_GLOBALS and EXEC_STMT to list of opcodes.
213
214Tue Apr 12 10:27:19 1994 Guido van Rossum (guido@voorn.cwi.nl)
215
216 * Python/ceval.c (eval_code): fix core dump on "raise ()" -- found
217 by Tim Peters
218
219Mon Apr 11 20:48:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
220
221 * Python/compile.c (optimize): added optimization for LOAD_NAME
222 suggested by Steve Majewski
223
224 * Python/ceval.c (eval_code: case DELETE_FAST): fix cut-paste
225 error (w should be x) found by Steve Majewski
226
227Tue Mar 22 15:37:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
228
229 * Lib/profile.py: fix handle_return for exceptional case (fix
230 suggested by Jim Roskind)
231
232 * Lib/tzparse.py (tzprog): Fix typo in test for regex.match
233
234 * Lib/urlopen.py: renamed to Lib/urllib.py
235
236Thu Mar 17 01:24:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
237
238 * Lib/urlopen.py: added quote() and unquote() functions
239
240Wed Mar 16 11:26:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
241
242 * Objects/mappingobject.c: allow dictionaries with more than
243 20,000 entries.
244
245Thu Mar 10 11:13:24 1994 Guido van Rossum (guido@voorn.cwi.nl)
246
247 * Lib/{pdb,profile,bdb,codehack,stdwin/wdb}.py:
248 codehack.getcodename() is obsolete now we have co.co_name; same
249 for getfuncname(): f.func_name. Module codehack is still needed
250 for getlineno(), used in profile and pdb
251
252Tue Mar 8 10:37:21 1994 Guido van Rossum (guido@voorn.cwi.nl)
253
254 * Python/modsupport.c (do_arg): Format "O!" means typechecked
255 object; pointer argument must be preceded by typeobject
256
257 * Modules/threadmodule.c: don't define exit_prog if NO_EXIT_PROG
258 is defined
259
260 * Python/thread.c: don't define [_]exit_prog if NO_EXIT_PROG is
261 defined; in the SGI version, don't use signals if exit_prog is
262 node defined defined; in the SGI version, waitpid() for exited
263 threads.
264
265 * Python/pythonrun.c: don't call [_]exit_prog if NO_EXIT_PROG is
266 defined
267
268 * Include/thread.h: define NO_EXIT_PROG and then don't define
269 [_]exit_prog
270
271 * Modules/dbmmodule.c: Add calls to dbm_clearerr() after error on
272 assignment (fix by Jack)
273
Guido van Rossum131e2ab1994-03-07 12:05:46 +0000274Mon Mar 7 12:41:32 1994 Guido van Rossum (guido@voorn.cwi.nl)
275
Guido van Rossumed3112c1994-04-14 14:27:58 +0000276 * Lib/test/test_rgbimg.py: search test file along sys.path
277
278 * Lib/test/test_{b1,b2,grammar}.py: tests for indefinite sequences
279
Guido van Rossum131e2ab1994-03-07 12:05:46 +0000280 * Python/{bltinmodule,ceval}.c: Changed implied and explicit loops
281 over sequences to allow for "indefinite" sequences a la Steve
282 Majewski. Instead of iterating over 0, 1, 2, ..., len(a)-1, we
283 now iterate over 0, 1, 2, ..., until we get an IndexError
284 exception (other exceptions are still errors). This affects the
285 semantics of the following language constructs: "for x in a: ...",
286 "x in a", "x not in a", and the following built-in functions:
287 filter(), map(), max(), min(), reduce().
288
289 * Doc/ref6.tex (section{Assignment statements}): clarify slice
290 assignment; (section{The {\tt break} statement}): fix typo
291
292 * Doc/ref5.tex (subsection{Identifiers (Names)}): clarify
293 difference between local and global
294
295 * Doc/ref2.tex (subsection{String literals}): fix typo in def of
296 escapeseq
297
298 * Lib/addpack.py: new module to add packages to sys.path
299
300 * Lib/urlopen.py: added basejoin() function
301
302Fri Mar 4 13:07:43 1994 Guido van Rossum (guido@voorn.cwi.nl)
303
304 * Lib/urlopen.py(open_ftp): avoid crash when no host given
305
Guido van Rossumf18a4f41994-03-02 11:40:46 +0000306Wed Mar 2 10:33:39 1994 Guido van Rossum (guido@voorn.cwi.nl)
307
Guido van Rossum5e334d91994-03-02 14:23:20 +0000308 * Python/ceval.c (eval_code): use sys.check_interval to reset the
309 ticker
310
Guido van Rossumf18a4f41994-03-02 11:40:46 +0000311 * Lib/repr.py: added special case for class instances (which may
312 cause exceptions in their __repr__)
313
314 * Lib/pdb.{py,doc}: mod by Steve Kirsch to allow setting a break
315 on a function name
316
317Tue Mar 1 10:32:54 1994 Guido van Rossum (guido@voorn.cwi.nl)
318
319 * Python/pythonrun.c (run_tty_1): Fix wrong (uninitialized) return
320 value
321
322 * Doc/ref4.tex (table 4.1): differentiated between exec stmt and
323 eval()
324
325Mon Feb 28 10:49:20 1994 Guido van Rossum (guido@voorn.cwi.nl)
326
327 * Modules/svmodule.c: correct wrong cast of svideo_getattr
328
329 * README: added Linux to list of supported systems.
330
331 * Doc/libsocket.tex: adapt to min value of 1 for listen() backlog
332 argument.
333
334 * Modules/socketmodule.c (sock_listen): ensure backlog argument is
335 at least 1.
336
337Fri Feb 25 14:25:30 1994 Guido van Rossum (guido@voorn.cwi.nl)
338
339 * Include/osdefs.h, Modules/config.c.in: Added NT case (same as
340 MSDOS)
341
342Thu Feb 24 09:58:53 1994 Guido van Rossum (guido@voorn.cwi.nl)
343
344 * Modules/posixmodule.c: merged in NT changes by Jaap Vermeulen
345
346 * README: added Mac and PC platforms to blurb.
347
348 * Doc/libfuncs.tex (section{Built-in Functions}): documented
349 xrange()
350
351 * Doc/ref7.tex (section{Function definitions} added index entry
352 for second ref to lambda.
353
354 * Lib/{bdb.py,pdb.py,stdwin/wdb.py}: call linecache.checkcache()
355 in bdb.Bdb's reset method; remove it from the test() functions.
356
357Wed Feb 23 10:15:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
358
359 * Modules/parsermodule.c (parser_parsefile): fix fatal typo in
360 NULL comparison
361
362 * Misc/python.man: fixed mess describing -d and -i options
363
364Tue Feb 22 09:08:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
365
366 * Demo2: added new subdirectory holmes, with Mark Lutz' expert
367 system shell
368
369 * Demo: added new subdirectory lutz, with Mark Lutz' examples
370 (e.g. psh.py, a nice enhanced Python shell!!!)
371
372 * Lib/os.py: added listdir for Windows NT
373
374 * Modules/timemodule.c, Parser/intrcheck.c: changes for Windows NT
375 by Jaap Vermeulen (#ifdef _M_IX86)
376
377 * Makefile.in (inclinstall): added variable INCLUDEPY to specify
378 where the include files are installed
379
380 * Modules/nismodule.c (nisproc_maplist_2): cast some args to
381 (caddr_t) as required on some systems
382
383 * Objects/mappingobject.c (getmappingitems): correct typo (called
384 _values instead of _items)
385
386Mon Feb 21 17:07:07 1994 Guido van Rossum (guido@voorn.cwi.nl)
387
388 * Lib/rfc822.py: added access as a dictionary
389
390 * Lib/urlopen.py: new module to access arbitrary files designated
391 by a URL (Universal Resource Locator)
392
393 * Lib/{httplib,gopherlib}.py: new modules to interface to HTTP
394 and gopher servers
395
396 * Lib/rfc822.py: moved _monthnames to where it is used; add some
397 blank lines
398
Guido van Rossum3da56c31994-02-18 10:19:41 +0000399Fri Feb 18 09:54:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
400
401 * Lib/sgi/flp.py: avoid using time.milli{sleep,timer}
402
403 * Lib/stdwin/WindowSched.py: avoid using time.milli{sleep,timer}
404 -- still maintain time in milliseconds though
405
406 * Lib/sched.py: remove references to milli{timer,sleep} from comments
407
408 * Lib/os.py: made execvp more portable; added os.pathsep and
409 os.defpath
410
411Thu Feb 17 12:53:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
412
413 * Lib/ftplib.py(FTP.makeport): call listen(1) instead of listen(0)
414 so it works on Solaris 2
415
416 * Modules/makesetup: reverse order of DEFS so first Setup file can
417 override; any non-cpp uppercase option is sent to the linker
418
419Wed Feb 16 10:26:59 1994 Guido van Rossum (guido@voorn.cwi.nl)
420
421 * Objects/fileobject.c: add name, mode, softspace and closed
422 attributes (softspace is also writable).
423
424 * configure.in: in --verbose mode, don't hide compiler output
425
Guido van Rossum2a7cbe91994-01-26 17:55:41 +0000426========================================================================
Guido van Rossume1056b31994-02-15 15:54:42 +0000427Release of 1.0.1 (Feb 15 1994)
428========================================================================
429
430Tue Feb 15 11:32:42 1994 Guido van Rossum (guido@voorn.cwi.nl)
431
432 * Lib/string.py (atof): force the result to be float
433
434 * Python/modsupport.c (do_arg): don't use a local object va --
435 this doesn't work on some compilers (e.g. WATCOM)
436
437Mon Feb 14 10:52:01 1994 Guido van Rossum (guido@voorn.cwi.nl)
438
439 * Lib/dospath.py: proper version by Jaap Vermeulen
440
441 * Makefile.in (Makefiles): add semicolon after ) which some Make
442 versions need
443
444 * Doc/libposix.tex: added doc for posix.fdopen
445
446 * README: add Sequent and NeXT to list of platforms; add
447 troubleshooting section; add hist about -Dindex for readline
448
449 * Lib/os.py: generalize to many os specific modules using a
450 dictionary
451
452 * Lib/ospath.py: now obsolete; use os.name to import the right one
453
454 * configure.in: change order of -lsocket and -lnsl and insert
455 -linet in between, so it works on Sequent (it still works on
456 Solaris 2 -- hope it still works elsewhere as well); add test for
457 _NEXT_SOURCE (then define _POSIX_SOURCE); remove test for dlopen;
458
459 * configure.in, acconfig.h, */modsupport.[ch]: rename
460 HAVE_VARARGS_PROTOTYPES to HAVE_STDARG_PROTOTYPES, to avoid
461 confusion
462
463 * Include/modsupport.h: no prototypes for getargs() and mkvalue()
464 in case no varargs prototypes
465
466 * Lib/test/test_grammar.py: don't import sleep from time, but time
467 (since sleep has portability problems)
468
469Fri Feb 11 23:47:46 1994 Guido van Rossum (guido@voorn.cwi.nl)
470
471 * Parser/intrcheck.c: added QUICKWIN version (doesn't really
472 work); fixed MSDOS version to also set a SIGINT handler.
473
474 * Modules/timemodule.c (time_sleep): declare sigsave 'auto' hoping
475 this will avoid restoring its pre-setjmp value. On non-threaded
476 systems declare it 'static' since at least Microsoft C still puts
477 the auto variable in a register causing a bug... Also implement
478 the MSDOS version of floatsleep() using a busy-wait loop calling
479 intrcheck()
480
481Wed Feb 9 11:43:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
482
483 * Lib/rfc822.py: added parsedate() and parseaddr() utility
484 functions and getdate(), getaddr(), getaddrlist() methods; added
485 test code when run as script
486
487 * Include/pythonrun.h, Python/pythonrun.c: cleanup() is now
488 externally visible, for the benefits of embedded use.
489
490 * Lib/dospath.py: new module for dos stuff
491
492Mon Feb 7 09:50:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
493
494 * Modules/makesetup: add -n option between Setup files (suppresses
495 making of .o files but keeps processing of libraries and module
496 names)
497
498 * Makefile.in (libainstall): install Setup, makesetup, config.c.in
499
500 * Modules/Setup*: added -lX11_s to line for gl module
501
502 * Demo/scripts/unbirthday.py: new script, print unbirthday count
503
504 * Modules/audioopmodule.c: removed hack for signed on sun
505 (there's now a test in the configure script); check that if
506 'signed' is defined away characters aren't unsigned
507
508 * Modules/posixmodule.c: include mytime.h (for clock_t on NeXT)
509
510 * acconfig.h: add entry for 'signed' keyword
511
512 * configure.in: remove const from check for exec prototypes; add
513 check for signed keyword and check for whether chars are unsigned
514
515Fri Feb 4 13:07:03 1994 Guido van Rossum (guido@voorn.cwi.nl)
516
517 * Modules/makesetup: added usage message, -c and -m options to
518 specify config.c.in and Makefile.pre input files, -s option to
519 specify source directory, added comments
520
521 * Modules/Setup.in: remove -lm from imgfile entry
522
523 * Modules/nismodule.c: only define YPPROC_MAPLIST, YPPROG and
524 YPVERS if not already defined
525
526 * configure.in, acconfig.h, Include/modsupport.h,
527 Python/modsupport.c: added separate check for varargs prototypes
528 (HAVE_VARARGS_PROTOTYPES)
529
530Thu Feb 3 11:00:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
531
532 * Python/bltinmodule.c (filterstring): fix core dump of func ==
533 None
534
535 * Lib/string.py: replace atoi_error, atof_error, atol_error by
536 ValueError when the strop versions are used
537
538 * Modules/stropmodule.c: added atol(), added optional base
539 argument to atoi() and atol()
540
541 * Objects/longobject.c, Include/longobject.h: added long_escan
542 (like long_scan but raises exception for bad base and stores end
543 of string into return argument)
544
545 * Objects/rangeobject.c (range_repr): repr must use "xrange..."
546
547Wed Feb 2 12:28:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
548
549 * Modules/stropmodule.c: added atoi() and atof()
550
551 * Python/modsupport.c: use stdarg.h / varargs.h depending on
552 presence of prototypes
553
554 * Modules/timemodule.c (floattime): try ftime() or time() if
555 gettime() fails
556
557Tue Feb 1 14:41:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
558
559 * Doc/Makefile (python-lib.info): change makeinfo option style
560 from +foo to --foo
561
562 * Doc/README: remove invalid reference to ../misc/FTP; update
563 description of making the info version
564
565 * Doc/{fix.el,fix_hack,whichlibs}: minor updates/corrections
566
567Mon Jan 31 11:16:38 1994 Guido van Rossum (guido@voorn.cwi.nl)
568
569 * Python/import.c: only use shared libraries if HAVE_DLOPEN *and*
570 HAVE_DLFCN_H are defined; define symbol USE_SHLIB then
571
572 * Doc/tut.tex: lots of small changes by Tim Peters: typos,
573 out-of-date examples, restrictions lifted, new and better ways to
574 do some things...
575
576Fri Jan 28 10:59:48 1994 Guido van Rossum (guido@voorn.cwi.nl)
577
578 * README: added Minix note
579
580 * Lib/sunau.py: correct byte count calculation from frame rate
581
582 * Lib/aifc.py: rate should be an integer
583
584Thu Jan 27 12:55:17 1994 Guido van Rossum (guido@voorn.cwi.nl)
585
586 * Doc/ext.tex: removed obsolete reminder in line 1; correct typo
587
588 * Misc/FAQ: fixed some out of date info, added question on module
589 run as script
590
591 * Modules/rgbimgmodule.c (initrgbimg): exception string should
592 contain dot not comma
593
594 * Modules/md5module.c: fix compiler warnings about (unsigned) char
595
596 * Makefile.in: libinstall and maninstall should use $(srcdir)
597
598 * Lib/tzparse.py: don't run test() on import
599
600 * Lib/filewin.py: moved into Lib/stdwin
601
602 * Modules/cdmodule.c: fix wrong cast of cdparser_getattr
603
604========================================================================
Guido van Rossum2a7cbe91994-01-26 17:55:41 +0000605Release of 1.0.0 (Jan 26 1994)
606========================================================================
607
Guido van Rossum76821a51994-01-26 17:31:17 +0000608Wed Jan 26 14:13:39 1994 Guido van Rossum (guido@voorn.cwi.nl)
609
Guido van Rossum2a7cbe91994-01-26 17:55:41 +0000610 * Doc/tut.tex: updated version number in invocation example
611
612 * Doc/Makefile: update destination of texi2html
613
Guido van Rossum76821a51994-01-26 17:31:17 +0000614 * Misc/FAQ: updated for release 1.0.0
615
616 * Misc/NEWS: created -- all bits of news
617
618 * Misc/HISTORY: added (from old releases)
619
620 * Misc/README: documented some new files
621
622 * README: non-beta version and preface, don't ref TODO
623
624 * Makefile.in: got rid of references to TODO
625
626 * Python/version.c, Doc/???.tex: updated version and date
627
Guido van Rossum8f0d0c81994-01-25 20:08:34 +0000628Tue Jan 25 20:11:49 1994 Guido van Rossum (guido@voorn.cwi.nl)
629
630 * Doc/ext.tex: revamped, finally ready for release
631
632 * Doc/{Makefile,myformat.perl}: support latex2html (0.5.1)
633
634 * README: correct typo on DL_DIRECTORY
635
Guido van Rossum23d19391994-01-24 15:42:32 +0000636========================================================================
637Release of 1.0.0 BETA 6 (Jan 24 1994)
638========================================================================
Guido van Rossum2a7cbe91994-01-26 17:55:41 +0000639
Guido van Rossum23d19391994-01-24 15:42:32 +0000640Mon Jan 24 16:37:46 1994 Guido van Rossum (guido@voorn.cwi.nl)
641
642 * Doc/ref?.tex: Change \verb\<stuff>\ into \verb@<stuff>@ so
643 latex2html doesn't crash
644
645Thu Jan 20 18:05:18 1994 Guido van Rossum (guido@voorn.cwi.nl)
646
647 * Ext-dummy/, README, Makefile.in: Created new directory
648 Ext-dummy/. Ext-dummy/ contains its own README and copies of
649 Extensions/mk{ext,mf}.py.
650
Guido van Rossumcb38cd01994-01-18 15:09:30 +0000651Tue Jan 18 11:04:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
652
653 * Python/getmtime.c: Include config.h if we have it
654
655 * Modules/Setup.in: fixed comments about GMP version
656
657 * Modules/nismodule.c: define YPPROC_MAPLIST, YPPROG, YPVERS as
658 plain integer literals, to make it work on 64 bit machines
659
660 * Parser/grammar.c (translabel): remove redundant decl of strchr()
661 (which caused trouble on AIX)
662
663Sun Jan 16 14:13:13 1994 Guido van Rossum (guido@voorn.cwi.nl)
664
665 * configure.in: test for fcntl.h
666
667 * Modules/posixmodule.c: include fcntl.h if it exists
668
Guido van Rossumb46152a1994-01-14 16:59:57 +0000669Fri Jan 14 17:35:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
670
671 * configure.in: check for sys/time.h; substitute and check for AR;
672 check for nice()
673
674 * Makefile.in: make python .PRECIOUS; define OPT=-O and pass it to
675 submakes
676
677 * */Makefile*in: set OPT=-O; set AR=@ar@
678
679 * Modules/Setup.minix: new
680
681 * Lib/audiodev.py: only import system specific modules if needed
682
Guido van Rossum4c627be1994-01-13 15:47:04 +0000683Thu Jan 13 16:40:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
684
Guido van Rossum8f0d15c1994-01-13 16:16:30 +0000685 * Modules/flmodule.c: make type objects static
686
687 * Modules/almodule.c: make type objects static
688
Guido van Rossum4c627be1994-01-13 15:47:04 +0000689 * Makefile.in: add rule to build Makefile; add VPATH for that;
690 remove dependency on configure script (you can run 'make autoconf'
Guido van Rossumb46152a1994-01-14 16:59:57 +0000691 instead); add Lib/test to path for test target;
692
693 * Lib/test: new subdirectory, holds all test modules
Guido van Rossum4c627be1994-01-13 15:47:04 +0000694
Guido van Rossum33033151994-01-12 09:58:23 +0000695Wed Jan 12 10:17:41 1994 Guido van Rossum (guido@voorn.cwi.nl)
696
Guido van Rossum4c627be1994-01-13 15:47:04 +0000697 * acconfig.h: added HAVE_ALTZONE
698
699 * configure.in: test for altzone; check for working
700 termcap/termlib when --with-readline used; don't test for readline
701 function; send errors to stderr
702
703 * Lib/test_grammar.py: fix 64-bit int test for max negative int
704
Guido van Rossum33033151994-01-12 09:58:23 +0000705 * Python/import.c (get_module): call dlerror() when dlopen() fails
706 (also some layout changes)
707
Guido van Rossum2712c161994-01-11 12:00:38 +0000708Tue Jan 11 10:56:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
709
Guido van Rossum33033151994-01-12 09:58:23 +0000710 * Python/import.c: use RTLD_NOW (define as 2 if undefined)
711
712 * Makefile.in: "make (local)clean" shouldn't bother about Include;
713 added .PRECIOUS: config.status
Guido van Rossum2712c161994-01-11 12:00:38 +0000714
715 * Modules/md5.h: define PROTOTYES as 1 if HAVE_PROTOTYPES is
716 defined
717
718 * Modules/md5module.c: grand cleanup
719
720 * Modules/Setup.sgi: renamed to Setup.irix4
721
722 * Modules/Setup.sunos5: renamed to Setup.solaris2
723
724 * Modules/Setup.in: some makes (e.g. Ultrix) don't strip trailing
725 whitespace from variable definitions -- make sure there isn't any
726 in the defs used to generate PYTHONPATH
727
728 * Many modules and objects: use 'staticforward' where needed
729
730 * Include/object.h: added #define 'staticforward' as either static
731 or extern depending on BAD_STATIC_FORWARD
732
733 * acconfig.h: added BAD_STATIC_FORWARD
734
735 * configure.in: added test for bad static forward
736
737Mon Jan 10 10:35:21 1994 Guido van Rossum (guido@voorn.cwi.nl)
738
739 * Modules/md5module.c: SCO ODT 3.0 dependent fix
740
741 * Objects/xxobject.c: quote size fields as tp_basicsize instead of
742 (incorrectly) tp_size
743
744 * Objects/listobject.c (cmp): arguments must be const!!!
745
746 * Modules/imageopmodule.c: another attempt at casting away
747 warnings about changed semantics in ANSI C
748
749 * Modules/regexpr.c: cast away warning about changed semantics in
750 ANSI C
751
752 * Modules/Makefile.pre.in: add LIBC_S (shared version of -lc, to
753 be figured out by configure)
754
755 * README, Python/version.c: version 1.0.0 BETA 6
756
757 * README: fixed description of Setup (which was buried under the
758 SVR4 exception!); added description of --prefix, --exec-prefix,
759 --with-libm and --with-libc
760
761 * configure.in: added --with-libc=... and --with-libm=...
762
763 * Modules/Makefile.pre.in: Remove dependency of Setup on Setup.in,
764 so it is only copied when Setup does not exist at all; add
765 prefix=/usr/local so Setup can base default path on --prefix
766 option to toplevel configure script
767
768 * Modules/Setup.in: clarified build procedure in comments; don't
769 include GNN's timing module by default; use $(prefix) instead
770 requiring manual edit of DESTDIR
771
772 * Makefile.in: replace DESTDIR by prefix and exec_prefix and
773 updated affected targets; added inclinstall and libainstall
774 targets
775
776 * Objects/accessobject.c: removed (???) from comment to avoid
777 trigraph warning
778
779 * Makefile.in (libinstall): correct typo: (D)DESTDIR
780
781Fri Jan 7 10:34:43 1994 Guido van Rossum (guido@voorn.cwi.nl)
782
783 * README: describe --with-sgi-dl and --with-dl-dld
784
785 * Python/Makefile.in: compile import.c with -I$(DLINCLDIR)
786
787 * Python/import.c: check for WITH_SGI_DL and WITH_DL_DLD
788
789 * acconfig.h: added WITH_SGI_DL and WITH_DL_DLD
790
791 * configure.in: added --with-sgi-dl=DIR and
792 --with-dl-dld=DIR,DIR; now require --with-readline=DIR and test
793 for existing directory
794
795 * Lib/test_audioop.py: new module to test (you guessed it) audioop
796
797 * Modules/audioopmodule.c: got rid of adpcm32lin and lin2adpcm3 --
798 Jack says they're not useful
799
800========================================================================
801Release of 1.0.0 BETA 5 (Jan 6 1994)
802========================================================================
803
Guido van Rossume0d95c31994-01-06 14:47:25 +0000804Thu Jan 6 13:36:32 1994 Guido van Rossum (guido@voorn.cwi.nl)
805
Guido van Rossum658c9981994-01-06 17:20:58 +0000806 * readline/Makefile: remove some cruft so it works with VPATH
807
808 * Lib/aifc.py: remove dependencies on AL (Sjoerd)
809
Guido van Rossume0d95c31994-01-06 14:47:25 +0000810 * README: describe new Setup procedure
811
812 * Modules/Makefile.pre.in: copy Setup from $9srcdir)/Setup.in so
813 it *really* works with VPATH
814
815 * Modules/Setup: renamed to Modules/Setup.in
816
817 * Python/pythonmain.c (realmain): fclose script file
818
819 * Python/import.c (get_module): fix important leak: close the .py
820 file after parsing!
821
822 * README, Python/version.c: version 1.0.0 BETA 5
823
Guido van Rossum516d4d91994-01-05 17:53:05 +0000824Wed Jan 5 16:42:35 1994 Guido van Rossum (guido@voorn.cwi.nl)
825
826 * Modules/rgbimgmodule.c: Only include <unistd.h> if it exists
827
828 * Modules/timemodule.c: don't include sys/time.h on the Mac
829
830 * Modules/stdwinmodule.c (initstdwin): don't fuss with sys.argv on
831 the mac -- so {check,putback}stringlist aren't needed there
832
833 * Parser/intrcheck.c: Make sure <MacHeaders> is included before
834 any other include file
835
836 * Modules/audioopmodule.c: include math.h after allobjects.h (so
837 the latter can be a precompiled header file on the Mac)
838
839Wed Jan 5 15:34:26 1994 Guido van Rossum (guido@poseidon.cwi.nl)
840
841 * Python/pythonrun.c (sighandler): only call kill(getpid()) if
842 getpid() exists; otherwise call exit(1)
843
844 * configure.in: added test for getpid()
845
846 * Modules/config.c.in: Changes for Macintosh: new default path,
847 call wargc() in main(); 1994 copyright
848
849 * Python/frozenmain.c: added declarations for getversion() and
850 getcopyright() (foei!); insert "Python " before version on banner
851
852 * Python/pythonmain.c: added declarations for getversion() and
853 getcopyright() (foei!); default startupfile to "PythonStartup" on
854 Macintosh; add fclose(fp) for startupfile; insert "Python " before
855 version on banner
856
Guido van Rossum2f3e8d51994-01-05 00:15:29 +0000857========================================================================
Guido van Rossum718581a1994-01-05 01:17:12 +0000858Release of 1.0.0 BETA 4 (Jan 5 1994)
859========================================================================
860
861Wed Jan 5 01:21:59 1994 Guido van Rossum (guido@voorn.cwi.nl)
862
863 * README, version.c: bumped version to 1.0.0 BETA 4
864
865 * README: removed all references to --with-solaris; updated list
866 of files and directories
867
868 * Modules/sunaudiodevmodule.c: define SOLARIS if
869 HAVE_SYS_AUDIOIO_H is defined
870
871 * Python/thread.c: define SOLARIS if HAVE_THREAD_H is defined
872
873 * configure.in: added test for <thread.h> (SOLARIS thread
874 interface); remvoe test for --with-solaris
875
876========================================================================
Guido van Rossum2f3e8d51994-01-05 00:15:29 +0000877Release of 1.0.0 BETA 3 (Jan 5 1994)
878========================================================================
879
Guido van Rossumf1009e81994-01-04 23:29:10 +0000880Wed Jan 5 00:18:45 1994 Guido van Rossum (guido@voorn.cwi.nl)
881
Guido van Rossum04e74c41994-01-05 00:00:14 +0000882 * {Parser,Objects,Python,Makefile}/Makefile*in: made depend target
883 work with VPATH
884
Guido van Rossumf1009e81994-01-04 23:29:10 +0000885 * README: describe new build procedure; added section on building
886 for multiple architectures
887
888 * acconfig.h: fix (reversed!) comment for SYS_SELECT_WITH_SYS_TIME
889
890 * Modules/Makefile.pre.in: copy Setup from $(srcdir) if not
891 present, and use local Setup as input for makesetup script
892
Guido van Rossum79556aa1994-01-04 22:02:27 +0000893Tue Jan 4 12:32:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
894
895 * Note that there are no functional changes below -- just changes
896 to the build process and changes to avoid compiler warnings
897
898 * Modules/Setup: disable nis as well by default, change the
899 pertaining comments, and change the comments about the multimedia
900 modules to be default on
901
902 * fixed all warnings about function pointer initializations, and
903 miscellanous other warnings (e.g. about extern forward references
904 to static variables); touched random bits of code as a consequence
905
906 * changed configuration process and Makefiles to support VPATH;
907 for this, config.h(.in) now lives to the toplevel directory, the
908 toplevel Makefile is now created by configure as well, and various
909 improvements to it have been made (e.g. working tags and TAGS
910 targets), the makesetup script follows configure instead of
911 preceding it, it understands srcdir and has an exception for
912 glmodule.c, the intermediate file is called Makefile.pre, the
913 Makefiles don't use TOP any more and are much more careful about
914 the difference between .. and the toplevel directory, and I've
915 improved my understanding of how configure handles srcdir
916
917 * Modules/threadmodule.c: refuse to compile when WITH_THREAD is not
918 defined
919
920 * configure.in, acconfig.h, config.h.in, Include/ceval.h,
921 Modules/{stdwin,thread}module.c, Python/{ceval,pythonrun}.c:
922 renamed USE_THREAD to WITH_THREAD
923
924 * configure.in: add AC_PROG_INSTALL
925
926 * README, Python/version.c: version set to 1.0.0 BETA 3
927
928 * Demo, Include, Lib: added Makefile with clean/clobber targets
929
930 * README: added remarks on --with-svr4; unnumber special cases
931
932 * configure.in: only look for -lnsl and -lsocket if --with-svr4 is
933 specified, to avoid linking with them on IRIX 5
934
935========================================================================
936Release of 1.0.0 BETA 2 (Jan 3 1994)
937========================================================================
938
939Mon Jan 3 22:21:24 1994 Guido van Rossum (guido@voorn.cwi.nl)
940
941 * Include/myselect.h: fix typo in name of SYS_SELECT_WITH_SYS_TIME
942
943 * Parser/pgen.h: moved here from Include; removed extern
944 definition of 'gram'
945
946 * Parser/acceler.c: include node.h, now needed by parser.h
947
948 * README: added paragraph on testing
949
950 * Misc/python.man: changed date and add 1994 copyright
951
952 * Makefile: added test target
953
954 * Python/thread.c: include config.h if needed
955
956 * Parser/parser.h: remove references to struct _grammar and
957 similar things
Guido van Rossum5536a3c1994-01-02 23:28:55 +0000958
Guido van Rossume182fe51994-01-03 15:21:29 +0000959 * Modules/rotormodule.c (RTR_e_char, RTR_d_char): avoid warnings
960 by picky compilers about unsigned % signed
961
962 * README: added a section on building it for non-UNIX systems
963
964 * Makefile (configure): call autoheader when calling autoconf
965
966 * Include/config.h.in: now generated by autoheader
967
968 * acconfig.h: new file (input for autoheader)
969
Guido van Rossum976877e1994-01-03 14:24:47 +0000970 * configure.in: added AC_REVISION call to top
971
972 * Modules/flmodule.c (form_setattr): one NULL should be 0
973
974 * Include/myselect.h: this now implies mytime.h and attempts to
975 work around systems where sys/select.h and sys/time.h can't be
976 included together
977
978 * Modules/socketmodule.c, Doc/libsocket.tex: remove socket avail()
979 method -- you can use select instead
980
981 * Modules/Setup: disable dbm, it is not truly portable
982
983 * Lib/sunau.py: incorporate one-line fix by Sjoerd
984
985 * Include/pgenheaders.h: include <stdlib.h> if its symbol
986 defined, not just on the mac
987
988 * Include/grammar.h: remove redundant structure tags
989
990 * Include/cgensupport.h: avoid possible macro argument
991 substitution inside string literal
992
993 * configure.in, Include/config.h.in: add test whether sys/select.h
994 and sys/times.h can be included by the same program
995
Guido van Rossum313e5cb1994-01-03 03:51:06 +0000996 * Include/config.h.in: add lines for HAVE_SYS_UN_H and
997 HAVE_GETPEERNAME
998
999 * Extensions/mkext.py: copy change in library order from
1000 Modules/Makefile.in.in
1001
1002 * Modules/Makefile.in.in: change library order subtly so -ltermcap
1003 follows instead of precedes -lgl_s on SGI systems; this solves
1004 (hides?) problems with clashing entry points
1005
1006 * configure.in: added sys/un.h to list of tested header files;
1007 added getpeername to list of tested functions (both for
1008 Modules/socketmodule.c)
1009
1010 * Modules/socketmodule.c: conditionally include sys/un.h and
1011 change tests for AF_UNIX to tests for HAVE_SYS_UN_H; test for
1012 HAVE_GETPEERNAME instead of NO_PEERNAME
1013
1014 * Modules/config.c.in: add marshal and __main__ built-in modules
1015
1016 * Python/sysmodule.c (list_builtin_module_names): sort the list
1017
Guido van Rossumbbf27191994-01-03 02:11:27 +00001018 * Doc/Makefile: remove 'qua' from default targets
1019
1020 * Doc/README: add reference to ext.tex, change reference to
1021 lib*.tex, explain that qua isn't built by default
1022
1023 * README: explain DESTDIR, clarify install procedure, add more
1024 explanation to some options, add description of ChangeLog, add
1025 wuarchive.wustl.edu to list of mirror sites
1026
1027 * Modules/socketmodule.c: make AF_UNIX code dependent on existence
1028 of AF_UNIX (SCO ODT 3.0 doesn't support it -- let's hope it
1029 doesn't define the symbol either)
1030
1031 * Makefile: attempt to fix install targets (added separate
1032 libinstall and maninstall)
1033
1034 * Doc/libregex.tex: documented Tracy Tims' changes
1035
Guido van Rossum5536a3c1994-01-02 23:28:55 +00001036 * Modules/regexpr.c: redid Tracy Tims' changes to minimize diffs
1037 (only two added lines now)
1038
1039 * Modules/regexmodule.c: fix core dump when asking a plain regex
1040 object for a named group
1041
1042Sun Jan 2 23:10:44 1994 Guido van Rossum (guido@voorn.cwi.nl)
1043
1044 * README, Python/version.c: changed version string to 1.0.0 BETA 2
1045
1046 * Modules/{regexpr.{c,h},regexmodule.c}: merged in Tracy Tims'
1047 mods for named subexpressions
1048
1049 * Include/regexpr.h: moved to Modules/regexpr.h
1050
1051 * Modules/timingmodule.c: change tests for no arguments
1052
1053 * configure.in: remove strtoul from AC_REPLACE_FUNCS; remove
1054 initial blank line (which got copied into configure so it wouldn't
1055 start with #!/bin/sh as required)
1056
1057 * Python/compile.c: call mystrto(u)l instrad of strto(u)l
1058
1059 * Python/Makefile.in: add mystrtoul.c to OBJS
1060
1061 * Python/mystrtoul.c: renamed from strtol.c; renamed functions to
1062 mystrto(u)l; this is now a standard source file (since some
1063 systems have a strto(u)l that doesn't report errors properly)
1064
1065 * Modules/Setup: added entry for timing module
1066
1067 * Modules/{timing.h,timingmodule.c}: new files implementing GNN's
1068 timing module
1069
1070========================================================================
1071Release of 1.0.0 BETA (Jan 1 1994)
1072========================================================================