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