blob: cc19e53f3df00373950b426de84c9e24e97196a2 [file] [log] [blame]
Guido van Rossum5552eb71994-08-05 15:51:00 +00001Fri Aug 5 11:43:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
2
3 * BUGS: new file (merger of unofficial BUGS1.0.x files)
4
5 * Modules/{Setup.in,Makefile.pre.in}: renamed some modules to
6 shorter names (dropped the "module" from the name): sunaudiodev,
7 imgformat, audioop, imageop, imgfile
8
9 * Python/import.c: support *.o/*.so as alternative for
10 *module.o/*module.so
11
12 * Modules/stropmodule.c (strop_rindex): make rindex('abc', '') do
13 the right thing (i.e. return 3 instead of 0)
14
15 * Python/bltinmodule.c (builtin_vars): correct typo in error msg
16
17 * Doc/libsocket.tex (subsection{Socket Object Methods}):
18 documented gethostname() and a few misc things
19
20 * Modules/socketmodule.c: disabled allowbroadcast() socket method
21
Guido van Rossum761c7a31994-08-01 12:04:41 +000022Mon Aug 1 01:28:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
23
Guido van Rossum5552eb71994-08-05 15:51:00 +000024 * Makefile.in (TAGS): Call etags w/o -t option
25
26 * Lib/rfc822.py: fix two bugs
27
Guido van Rossum761c7a31994-08-01 12:04:41 +000028 * Lib/test/test_types.py (6.4.1): test for particular bug in
29 integer multiply
30
31Sat Jul 30 13:31:40 1994 Guido van Rossum (guido@voorn.cwi.nl)
32
33 * Doc/libsocket.tex, Modules/socketmodule.c: send() and sendto()
34 now return actual byte count (useful for sockets in non-blocking
35 mode)
36
37Tue Jul 26 14:21:17 1994 Guido van Rossum (guido@voorn.cwi.nl)
38
39 * configure.in: check for <limits.h>
40
41 * Objects/longobject.c (newlongobject): fix long(0x80000000) and
42 add warning that it isn't actually correct on 64-bit machines;
43 include <limits.h> if HAVE_LIMITS_H is defined
44
45 * Objects/intobject.c (int_mul): check int*int overflow without
46 resorting to double precision (many thanks to John Tromp)
47
48 * Modules/signalmodule.c (signal_alarm): interface to Posix alarm()
49
50 * Python/ceval.c (call_object): print message before abort()
51
52Mon Jul 25 11:30:56 1994 Guido van Rossum (guido@voorn.cwi.nl)
53
54 * Doc/libstring.tex (section{Standard Module \sectcode{string}}):
55 documented string.count()
56
57 * Lib/string.py: added count(s, sub, i=0), returns number of
58 occurrences of sub in s[i:]
59
60 * Doc/keywords.py: program to sort table of keywords in ref2.tex
61
62 * Doc/ref2.tex (subsection{Keywords}): add 'access' and 'lambda'
63 to list of reserved words
64
Guido van Rossum64ea5351994-07-14 13:47:08 +000065Thu Jul 14 15:26:14 1994 Guido van Rossum (guido@voorn.cwi.nl)
66
67 * README, Misc/NEWS, Python/patchlevel.h,
68 Doc/{lib,ext,tut,ref}.tex: bump version to 1.0.3; in README, fewer
69 references to it elsewhere, nor to IP numbers.
70
71Wed Jul 13 18:51:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
72
73 * Lib/mhlib.py (removefromallsequences): call putsequences with
74 proper argument
75
76Mon Jul 11 13:00:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
77
78 * Modules/selectmodule.c: don't accept negative file descriptors;
79 changed error messages slightly
80
81Thu Jul 7 12:20:10 1994 Guido van Rossum (guido@voorn.cwi.nl)
82
83 * Modules/syslogmodule.c: new module by Lance
84
85 * configure.in: don't check for strtod!
86
87 * Python/import.c: undo Mac DL mods (temporarily) and install NeXT
88 dl mods by William Lewis instead.
89
90 * Modules/posixmodule.c (posix_popen): substitute pclose for
91 fclose (how did fclose ever creep into this?)
92
93Wed Jul 6 21:45:54 1994 Guido van Rossum (guido@voorn.cwi.nl)
94
95 * Lib/{bdb,cmd,pdb}.py: Mods by Rickard Westman: No longer barfs
96 on lambda:s (outputs "<lambda>" as the function name); "a(rgs)" in
97 pdb now works; help messages added to pdb (lifted from pdb.doc).
98 Also, "h pdb" calls pdb.help(). cmd.do_help() displays topics on
99 a nicer way (I think). Also, topics for which there is a help_
100 method, but no do_method (like "pdb" above) are displayed in a
101 special way. My own mod: fix break on function to also support
102 methods.
103
104Tue Jul 5 23:18:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
105
106 * Modules/stropmodule.c (strop_rindex): change semantics of third
107 argument -- as in the original string.rindex, search to its right,
108 not to its left. (Maybe both index and rindex need a 4th
109 parameter to restrict the search on the other end?
110
Guido van Rossumcd3c0421994-07-04 22:15:27 +0000111Mon Jul 4 23:01:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
112
113 * Modules/timemodule.c (sleep, floatsleep): don't use setjmp or
114 signal, rely on err_errno() or sigcheck() instead.
115
116 * Dos/{pcmodule,dosmodule}.c, Modules/posixmodule.c: don't include
117 <setjmp.h>
118
119Sat Jul 2 00:42:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
120
121 * Lib/urllib.py: implemented new quoting rules; added splituser,
122 splitpasswd, splitattr, splitvalue; new ftp syntax (user:passwd,
123 cwd to each subdir, type={a,i,d})
124
125Fri Jul 1 17:32:51 1994 Guido van Rossum (guido@voorn.cwi.nl)
126
127 * Python/traceback.c: add function name to traceback info
128
129 * Object/listobject.c, Modules/{array,mpz}module.c: include
130 <sys/types.h> for size_t
131
Guido van Rossum32d8ba41994-07-01 15:28:52 +0000132Fri Jul 1 12:47:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
133
134 * Makefile.in (Makefile): add dependency on config.status
135
136 * configure.in: support --with-gcc[=value], --without-gcc
137
138 * configure.in, acconfig.h, config.h.in: check for clock_t
139
140 * Modules/{arraymodule,mpzmodule}.c: Include sys/types.h, for size_t
141
142 * Lib/test/test_types.py (6.5.1 Strings): test for nasty string
143 formatting bug
144
145 * Objects/stringobject.c (formatstring): fix nasty bug in resizing
146
Guido van Rossum6dc31a11994-06-29 09:11:20 +0000147Wed Jun 29 10:01:17 1994 Guido van Rossum (guido@voorn.cwi.nl)
148
Guido van Rossum32d8ba41994-07-01 15:28:52 +0000149 * Doc/ref3.tex (section{The standard type hierarchy}
150 \label{types}): fix typo
151
Guido van Rossum6dc31a11994-06-29 09:11:20 +0000152 * Lib/packmail.py: applied patch from Lance to remove '.' and '..'
153
154Tue Jun 28 00:57:35 1994 Guido van Rossum (guido@voorn.cwi.nl)
155
156 * Doc/ref1.tex: grammar notation can use single or double quotes now
157
158 * configure.in (termcap): hack around conflict about clear() on
159 IRIX 5 in shared libraries gl and termcap
160
161 * Python/bltinmodule.c: added callable() predicate
162
163Wed May 18 15:01:13 1994 Donald Beaudry (don@zippy.vicorp.com)
164
165 * modsupport.c (do_arg): Changed all of the int getting things to
166 just try to get and int, instead of explicitly checking for an int
167 first.
168
169 (do_arg): Added the "O&" option to allow using a user supplied
170 conversion function.
171
172Wed May 18 14:10:49 1994 Donald Beaudry (don@zippy.vicorp.com)
173
174 * intobject.c (getintvalue): Changed to allow automatic conversion
175 from any type that supports the nb_int method.
176
177 * floatobject.c (getfloatvalue): Changed to allow automatic
178 conversion from any numeric type that supports the nb_float
179 method.
180
181Wed May 4 22:56:15 1994 Donald Beaudry (don@scooter.vicorp.com)
182
183 * object.h -- Added tp_call member to the typeobject struct
184 This along with a minor change to the ceval.c allows overloading
185 of the function call operator for any class.
186
187Wed May 4 22:23:48 1994 Donald Beaudry (don@scooter.vicorp.com)
188
189 * modsupport.c -- replace the part of getargs that processes "O!",
190 it had a minor problem with comparing the types.
191
192 * ceval.c -- changed call_object to make use of the tp_call
193 field.
194
195Fri Jun 27 17:22:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
196
197 * Python/pythonmain.c: On MPW (3.2) unbuffered seems to hang, so
Guido van Rossum64ea5351994-07-14 13:47:08 +0000198 use setvbuf ... _IOLBF for -u option.
Guido van Rossum6dc31a11994-06-29 09:11:20 +0000199
200 * Python/mystrtoul.c: MPW hack (overflow check doesn't seem to work)
201
202Thu Jun 23 14:46:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
203
204 * Modules/Makefile.pre.in (clobber): delete config.c and glmodule.c
205
Guido van Rossum71527401994-06-23 12:45:42 +0000206Thu Jun 23 00:17:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
207
Guido van Rossum64ea5351994-07-14 13:47:08 +0000208 * Parser/tokenizer.c: if a triple-quoted string ends in a quote
209 followed by a newline (followed immediately by the terminating 3
210 quotes) then a syntax error or system error ensues (one-line fix)
211
Guido van Rossum71527401994-06-23 12:45:42 +0000212 * Doc/ref4.tex: clarify that global name space is almost always
213 containing module's name space
214
215 * Lib/profile.{py,doc}: totally new versions by James Roskind;
216 also edited source & doc to replace 'jprofile' by 'profile'
217
218 * Modules/posixmodule.c: don't mess with SIGPIPE any more -- this
219 is now done in Python/pythonrun.c (saves NT dependency here)
220
221 * Modules/Setup.*: removed all except Setup.in (keeping them up to
222 date was too much of a pain)
223
224 * Python/import.c: don't rely on three-line "dl.h", just copy the
225 contents.
226
227 * Doc/libtypes.tex (subsubsection{More String Operations.}):
228 clarified tuple vs non-tuple argument to format strings.
229
230Wed Jun 22 10:38:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
231
232 * Doc/libsocket.tex: clarify the meaning of address for those
233 methods that or return addresses.
234
235 * Doc/libtypes.tex (subsubsection{File Objects.}): documented
236 writelines.
237
238Tue Jun 21 15:54:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
239
240 * Lib/aifc.py: avoid calling read(0)
241
242 * Lib/sgi/cddp.py: added some functionality (Sjoerd)
243
244 * Include/modsupport.h: added decl for initmodule2().
245
246 * Parser/myreadline.c (my_readline): fixed typo in MPW-specific
247 hack; removed debug fprintfs; added two needed #includes.
248
249Mon Jun 20 23:46:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
250
251 * Objects/fileobject.c (file_read): test for negative read count
252 was misplaced.
253
254Mon Jun 18 11:20:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
255
256 * acconfig.h: changed GETPGRP_HAVE_ARGS into GETPGRP_HAVE_ARG
257
258 * Lib/posixpath.py(walk): don't descend down symbolic links
259
260Thu Jun 16 16:20:12 1994 Guido van Rossum (guido@voorn.cwi.nl)
261
262 * Modules/imgformatmodule.c: new module for Jack by Jack
263
264Tue Jun 14 21:07:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
265
266 * Fix bug in 3quoted strings where string ends in quote followed
267 by newline
268
269Mon Jun 13 00:24:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
270
271 * Lib/multifile.py: added readlines() and read() methods
272
273 * Lib/mimetools.py: added functions to encode/decode standard MIME
274 Content-transfer-encoding types (as well as uuencode)
275
276 * Lib/mhlib.py: new interface to MH folders and messages
277
278Sun Jun 12 17:38:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
279
280 * Modules/socketmodule.c (sock_listen): fix typo (== instead of =)
281
282Thu Jun 9 23:33:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
283
284 * Python/compile.c (parsenumber), Python/marshal.c (r_object):
285 replace strtod() by atof()
286
287Tue Jun 7 11:41:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
288
Guido van Rossumcd3c0421994-07-04 22:15:27 +0000289 * Doc/lib.tex: added warning about lineii, libposixfile and partparse
Guido van Rossum71527401994-06-23 12:45:42 +0000290
291 * Lib/bdb.py (clear_all_breaks): this was defined with two
292 arguments that weren't used and shouldn't have been there
293
294Mon Jun 6 14:53:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
295
296 * Python/ceval.c (call_trace): Added call to fast_2_locals so
297 locals_2_fast won't zap locals if the trace function never looks
298 in f.f_locals; don't XDECREF(f->f_trace)
299
300Sun Jun 5 13:18:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
301
302 * Lib/rfc822.py: Accept lines ending in CR LF as well
303
304Fri Jun 3 16:37:58 1994 Guido van Rossum (guido@voorn.cwi.nl)
305
306 * Lib/profile.py: unspecified improvements by Sjoerd
307
308 * Lib/{bdb,pwd,stdwin/wdb}.py: remove debugger overhead when
309 continuing with no breakpoints; add set_trace() method and
310 functions to forcibly enter the debugger
311
312 * Python/ceval.c(eval_code): give the name of the local variable
313 when LOAD_FAST or DELETE_FAST fails
314
315 * frameobject.[ch], ceval.c: made fast_2_locals and locals_2_fast
316 global and moved them to frameobject.c. getattr(f, "f_locals")
317 now calls fast_2_locals and there are fewer other calls to it
318
319Thu Jun 2 13:50:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
320
321 * Python/ceval.c (call_trace): *p_trace can now be cleared by the
322 trace function!
323
324 * Modules/{{pwd,grp}module.c,Setup.in}: split pwdmodule.c into pwd
325 and grp modules (e.g. OS2 seems to have pwd but not grp)
326
327 * Modules/posixmodule.c: OS/2 mods: add #include <io.h>
328
329 * configure.in: test for existence of link, chown, setuid, setgid;
330 use std macros for output; require autoconf 1.8
331
332 * Python/sigcheck.c: sigcheck() for use without signalmodule.c
333
334 * Modules/signalmodule.c: added thread compatibility (only main
335 thread uses signals); much improved efficiency; intrcheck()
336 doesn't call sigcheck() but only tests and clears the SIGINT
337 tripped flag.
338
339 * Lots of places: replace intrcheck() by sigcheck() and remove
340 following err_set(KeyboardInterrupt).
341
342Wed Jun 1 11:33:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
343
344 * Modules/regexmodule.c (reg_dealloc): remove bogus XDEL's.
345
346Tue May 31 11:22:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
347
348 * Python/intrcheck.c: removed sigcheck()
349
350 * Python/structmember.c (setmember): test for NULL value
351
352 * frameobject, Python/ceval.c (eval_code): moved trace variable to
353 frame object so debugging can be switched on later
354
355Mon May 23 14:44:46 1994 Guido van Rossum (guido@voorn.cwi.nl)
356
357 * Modules/newmodule.c: new module, create empty new objects (by
358 Tommy)
359
360Fri May 20 09:46:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
361
362 * Doc/Makefile: add DVIPS variable with default "dvips -f"
363
364 * Parser/myreadline.c (my_fgets): Fix position of #endif EINTR
365
366Wed May 18 00:21:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
367
368 * Doc/lib.tex: added libfcntl and libposixfile (by Jaap V)
369
370 * Objects/funcobject.c (func_compare): take argcount and argdefs
371 into account
372
373Wed May 17 00:00:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
374
375 * Python/import.c: bump MAGIC because of changes below
376
377 * Python/{ceval,compile}.c, Include/frameobject.h: changes to code
378 objects -- consts/names are tuples, RESERVE_LOCALS instruction
379 gets tuple of names instead of dictionary -- so code objects are
380 immutable and thus code and function objects are hashable
381
382 * Objects/listobject.c, Include/listobject.h: added listtuple() --
383 convert list to tuple
384
385Tue May 17 15:40:12 1994 Guido van Rossum (guido@voorn.cwi.nl)
386
387 * Python/ceval.c (getframe): cast current_frame to (object *)
388
389 * Lib/ftplib.py (login): default user='' is translated explicitly
390 to 'anonymous'
391
392Wed May 11 10:29:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
393
394 * Parser/tokenizer.c (tok_nextc): fix inf loop when file does not
395 end in newline
396
397 * Modules/sybasemodule.c: new, interface to sybase (John Redford)
398
399 * Modules/signalmodule.c: new, catch unix signals (Lance)
400
401 * Parser/intrcheck.c, Python/ceval.c, Include/ceval.h,
402 Python/pythonrun.c: prepare for signalmodule.c; add sigcheck()
403 interface to intrcheck.c, add getframe() interface to ceval.c;
404 don't override signal handlers in pythonrun.c
405
406Tue May 10 09:01:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
407
408 * Python/import.c (get_module): print dlopen debug message only of
409 verbose
410
Guido van Rossumc5832ff1994-05-09 15:10:49 +0000411Mon May 9 10:37:48 1994 Guido van Rossum (guido@voorn.cwi.nl)
412
413 * acconfig.h: added _POSIX_THREADS define
414
415 * configure.in: test for -lpthreads; add directory argument to
416 --with-thread to LIBS as -L option
417
Guido van Rossum71527401994-06-23 12:45:42 +0000418 * Python/thread.c: split in per-system files (thread.c includes
419 thread_foobar.h for foobar threads)
420
Guido van Rossumc5832ff1994-05-09 15:10:49 +0000421 * Objects/stringobject.c (formatstring): don't DECREF result of
422 strobject() before using it
423
424 * Doc/libtypes.tex: fix typo in table of list methods; clarify
425 truncation behavior of floating point formatting
426
427 * Doc/ref3.tex: clarify defaults for __repr__, __cmp__ and
428 __str__; correct (some) descriptions of class constructors
429
Guido van Rossumdf145031994-05-06 14:30:40 +0000430Fri May 6 11:25:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
431
432 * various files: micro changes needed to compile on Mac;
433 Grouped more Mac-specific files in Mac subdirectory
434
435 * Lib/*.py: rewrote many functions to use default arguments
436 instead of arbitrary argument lists
437
438Thu May 5 12:33:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
439
Guido van Rossum71527401994-06-23 12:45:42 +0000440 * Modules/{cryptmodule.c,Setup.in}: new crypt(3) interface (Steve M)
Guido van Rossumdf145031994-05-06 14:30:40 +0000441
442 * Python/bltinmodule.c, Include/bltinmodule.h: new fn setbuiltin()
443 to set a built-in variable
444
445 * Python/ceval.c (eval_code): place '_' variable in __builtin__
446 instead of in local dictionary, to avoid endless recursion when
447 printing vars()
448
Guido van Rossuma3d4d371994-05-04 13:10:40 +0000449========================================================================
Guido van Rossum64ea5351994-07-14 13:47:08 +0000450Release 1.0.3 (14 July 1994)
451========================================================================
452
453Thu Jul 14 14:38:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
454
455 * copied FAQ 1.10 (which still references 1.0.2 by the way)
456
457Thu Jul 7 12:20:10 1994 Guido van Rossum (guido@voorn.cwi.nl)
458
459 * configure.in: don't check for strtod!
460
461Tue Jul 5 23:18:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
462
463 * Modules/stropmodule.c (strop_rindex): change semantics of third
464 argument -- as in the original string.rindex, search to its right,
465 not to its left. (Maybe both index and rindex need a 4th
466 parameter to restrict the search on the other end?
467
468Fri Jul 1 12:47:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
469
470 * configure.in: support --with-gcc[=value], --without-gcc
471
472 * configure.in, acconfig.h, config.h.in: check for clock_t
473
474 * Objects/stringobject.c (formatstring): fix nasty bug in resizing
475
476Tue Jun 28 00:57:35 1994 Guido van Rossum (guido@voorn.cwi.nl)
477
478 * configure.in (termcap): hack around conflict about clear() on
479 IRIX 5 in shared libraries gl and termcap
480
481Thu Jun 23 00:17:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
482
483 * Parser/tokenizer.c: if a triple-quoted string ends in a quote
484 followed by a newline (followed immediately by the terminating 3
485 quotes) then a syntax error or system error ensues (one-line fix)
486
487Sun Jun 12 17:38:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
488
489 * Modules/socketmodule.c (sock_listen): fix typo (== instead of =)
490
491Thu Jun 9 23:33:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
492
493 * Python/compile.c (parsenumber), Python/marshal.c (r_object):
494 replace strtod() by atof()
495
496Thu Jun 2 13:50:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
497
498 * configure.in: test for existence of link, chown, setuid, setgid;
499 use std macros for output; require autoconf 1.8
500
501Wed Jun 1 11:33:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
502
503 * Modules/regexmodule.c (reg_dealloc): remove bogus XDEL's.
504
505Tue May 31 11:22:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
506
507 * Python/structmember.c (setmember): test for NULL value
508
509Fri May 20 09:46:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
510
511 * Parser/myreadline.c (my_fgets): Fix position of #endif EINTR
512
513Wed May 11 10:29:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
514
515 * Parser/tokenizer.c (tok_nextc): fix inf loop when file does not
516 end in newline
517
518Tue May 10 09:01:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
519
520 * Python/import.c (get_module): print dlopen debug message only of
521 verbose
522
523Mon May 9 10:37:48 1994 Guido van Rossum (guido@voorn.cwi.nl)
524
525 * acconfig.h: added _POSIX_THREADS define
526
527 * configure.in: test for -lpthreads; add directory argument to
528 --with-thread to LIBS as -L option
529
530 * Objects/stringobject.c (formatstring): don't DECREF result of
531 strobject() before using it
532
533Fri May 6 11:25:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
534
535 * various files: micro changes needed to compile on Mac;
536 Grouped more Mac-specific files in Mac subdirectory
537
538Thu May 5 12:33:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
539
540 * Python/bltinmodule.c, Include/bltinmodule.h: new fn setbuiltin()
541 to set a built-in variable
542
543 * Python/ceval.c (eval_code): place '_' variable in __builtin__
544 instead of in local dictionary, to avoid endless recursion when
545 printing vars()
546
547========================================================================
Guido van Rossuma3d4d371994-05-04 13:10:40 +0000548Release 1.0.2 (4 May 1994)
549========================================================================
550
551Wed May 4 13:12:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
Guido van Rossum8ad2a2a1994-05-04 07:44:21 +0000552
Guido van Rossum9c7e7bf1994-05-04 09:33:42 +0000553 * README: version 1.0.2
554
555 * Objects/fileobject.c (setfilebufsize): less error checking
556
557 * configure.in: test for withval != yes (autoconf 1.8 change)
558
559 * Makefile.in: don't remove config.status on "make clobber"
560
Guido van Rossum8ad2a2a1994-05-04 07:44:21 +0000561 * Python/ceval.c (eval_code): removed last traces of killprint (-k
562 option)
563
564 * Doc/tut.tex: documented some more new stuff
565
566 * Added else clause to try-except. Affected files:
567 Grammar/Grammar, Include/graminit.h, Python/graminit.c,
568 Python/compile.c, Doc/ref7.tex, Doc/tut.tex
569
Guido van Rossumacfe4171994-05-03 14:53:09 +0000570Tue May 3 15:21:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
571
572 * Misc/python.man: documented -u; undocumented -k
573
574 * Python/{python,frozen}main.c: got rid of -k option; added -u
575 option (unbuffered stdout/stderr); plus environment
576
577 * Python/import.c: Steven Majewski's mods for AIX
578
579 * Lib/lockfile.py: new module to lock files (using fcntl)
580
581 * Objects/fileobject.c, Include/fileobject.h: added setfilebufsize
582 function to set buffer size (call only from C when it's safe!)
583
584 * Python/bltinmodule.c (builtin_open): Added 3rd parameter to give
585 buffer size; default 2nd parameter to "r"
586
587Mon May 2 17:51:23 1994 Guido van Rossum (guido@voorn.cwi.nl)
588
589 * Modules/{al,cd,sv}module.c: added (method) casts to methodlist
590 initializers
591
592Thu Apr 28 15:01:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
593
594 * Doc/ref2.tex: (section{Line structure}): documented line joining
595 without backslashes inside parens
596
Guido van Rossuma83d9541994-04-28 12:29:44 +0000597Wed Apr 27 13:15:42 1994 Guido van Rossum (guido@voorn.cwi.nl)
598
599 * Misc/python-mode.el: version 1.09 from Tim (grand new
600 indentation scheme)
601
602 * configure.in: test for setvbuf
603
604 * Python/ceval.c (PRINT_EXPR): assign a non-None value to '_'
605 before printing it
606
607 * Python/compile.c: only call PRINT_EXPR for interactive code
608 (start symbol single_input), else call POP_TOP after evaluating an
609 expression
610
611Tue Apr 26 16:23:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
612
613 * Python/bltinmodule.c (builtin_reduce): added essential INCREF()
614 if a third argument is present
615
616 * Doc/tut.tex: added chapter "Recent Additions"
617
618Mon Apr 25 11:27:09 1994 Guido van Rossum (guido@voorn.cwi.nl)
619
620 * Doc/ref7.tex (section{Function definitions}): add missing '}'.
621
622 * Doc/ref2.tex (subsection{String literals}): documented triple
623 quotes and double quotes.
624
625 * Lib/test/test_grammar.py: added tests for triple-quoted strings
626 and strings continued with backslash-newline
627
628 * Objects/fileobject.c (writestring): don't do anything when
629 writing to a Python object while an error is already set
630
631 * Parser/tokenizer.c: added support for triple-quoted strings and
632 strings continued with backslash
633
Guido van Rossumacfe4171994-05-03 14:53:09 +0000634 * Parser/tokenizer.h: moved here from Include
635
Guido van Rossuma83d9541994-04-28 12:29:44 +0000636 * Python/compile.c (parsenumber): support triple-quoted strings.
637 Raise SyntaxError, not SystemError for bad number syntax
638
Guido van Rossuma143e901994-04-22 16:01:43 +0000639Fri Apr 22 17:39:20 1994 Guido van Rossum (guido@voorn.cwi.nl)
640
641 * Objects/{tuple,list,string,mapping}object.c,
642 Modules/arraymodule.c, Python/compile.c: use new
643 joinstring(_decref) interface for more compact code
644
645 * Objects/stringobject.c (joinstring): if error, DECREF and zero
646 result; added joinstring_decref() which XDECREFs its second
647 argument
648
649Thu Apr 21 10:59:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
650
651 * Doc/libtypes.tex (subsubsection{More String Operations}):
652 documented new '%(key)s' % {...} formatting and more liberal %s
653 interpretation (applies str() first)
654
655 * Doc/libfuncs.tex (section{Built-in Functions}): documented new
656 vars() built-in function
657
658 * Objects/stringobject.c (formatstring): add Donald Beaudry's
659 patch (slightly changed) to allow '%(<key>)<format>' % {...} to
660 format dictionary entries by key. Also changed %s format to
661 accept any type and convert it to a string using str()
662
663 * Python/bltinmodule.c: add new built-in function vars() which
664 returns variables (of which dir() returns the sorted keys())
665
666Mon Apr 18 11:00:54 1994 Guido van Rossum (guido@voorn.cwi.nl)
667
668 * Doc/libppath.tex (section{Standard Module
669 \sectcode{posixpath}}): describe for expandvars()
670
671 * Lib/posixpath.py (expandvars): do it using regular expressions
672 instead of forking of a shell
673
674 * Lib/urllib.py (open_http, open_gopher): diagnose missing
675 hostname
676
677Sun Apr 17 21:52:52 1994 Guido van Rossum (guido@voorn.cwi.nl)
678
679 * Python/compile.c (com_atom), Grammar/Grammar (atom): string
680 literal concatenation -- "abc" 'def' is equivalent to 'abcdef'
681
Guido van Rossumed3112c1994-04-14 14:27:58 +0000682Thu Apr 14 12:36:25 1994 Guido van Rossum (guido@voorn.cwi.nl)
683
Guido van Rossuma143e901994-04-22 16:01:43 +0000684 * Lib/test/test_thread.py: new module to test threads (very basic)
685
686 * Python/thread.c: remove #define DEBUG 1
687
688 * Demo/scripts/freeze.py: changes by Jaap V and my own to make it
689 work again
690
691 * Makefile.in (libainstall): install frozenmain.c
692
693 * Python/frozenmain.c: added getprogramname()
694
Guido van Rossumed3112c1994-04-14 14:27:58 +0000695 * Doc/ref7.tex (section{Function definitions}): describe default
696 parameter values
697
698 * Lib/test/test_grammar.py: added grammar variants for default
699 argument expressions
700
701 * Python/compile.c: compile default argument values (com_argdefs
702 plus related stuff)
703
704 * Python/bltinmodule.c (builtin_apply): require that the argument
705 list is a tuple
706
707 * Misc/python-mode.el: change by Donald Beaudry to
708 py-compute-indentation; and fix to that by Sjoerd
709
710Wed Apr 13 10:08:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
711
712 * Python/ceval.c (eval_code): implement SET_FUNC_ARGS opcode
713
714 * Include/opcode.h: added SET_FUNC_ARGS opcode
715
716 * Objects/funcobject.c (newfuncobject, func_memberlist): added
717 func_argcount and func_argdefs fields and {get,set}funcargstuff()
718 functions.
719
720 * Include/funcobject.h: Added func_argcount and func_argdefs
721 fields and {get,set}funcargstuff() functions.
722
723 * Python/import.c (init_builtin): Give error message if module's
724 initialization function is NULL (e.g. for 'sys').
725 (get_module): Give error message if reloading a dynamically
726 loadable module.
727 (reload_module): Give error message if reloading a built-in
728 module; correctly (I hope) reload a frozen module.
729
730 * Doc/ref6.tex (break and continue): rephrase definition of
731 restrictions on where these may occur; change rules for continue
732 to match implementation.
733
734 * Doc/ref4.tex (section{Code blocks, execution frames, and name
735 spaces}): fix definition of what's local to include deleted
736 targets; added footnote describing exec and from - import *
737 restriction.
738
739 * Lib/dis.py: added LOAD_GLOBALS and EXEC_STMT to list of opcodes.
740
741Tue Apr 12 10:27:19 1994 Guido van Rossum (guido@voorn.cwi.nl)
742
743 * Python/ceval.c (eval_code): fix core dump on "raise ()" -- found
744 by Tim Peters
745
746Mon Apr 11 20:48:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
747
748 * Python/compile.c (optimize): added optimization for LOAD_NAME
749 suggested by Steve Majewski
750
751 * Python/ceval.c (eval_code: case DELETE_FAST): fix cut-paste
752 error (w should be x) found by Steve Majewski
753
754Tue Mar 22 15:37:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
755
756 * Lib/profile.py: fix handle_return for exceptional case (fix
757 suggested by Jim Roskind)
758
759 * Lib/tzparse.py (tzprog): Fix typo in test for regex.match
760
761 * Lib/urlopen.py: renamed to Lib/urllib.py
762
763Thu Mar 17 01:24:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
764
765 * Lib/urlopen.py: added quote() and unquote() functions
766
767Wed Mar 16 11:26:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
768
769 * Objects/mappingobject.c: allow dictionaries with more than
770 20,000 entries.
771
772Thu Mar 10 11:13:24 1994 Guido van Rossum (guido@voorn.cwi.nl)
773
774 * Lib/{pdb,profile,bdb,codehack,stdwin/wdb}.py:
775 codehack.getcodename() is obsolete now we have co.co_name; same
776 for getfuncname(): f.func_name. Module codehack is still needed
777 for getlineno(), used in profile and pdb
778
779Tue Mar 8 10:37:21 1994 Guido van Rossum (guido@voorn.cwi.nl)
780
781 * Python/modsupport.c (do_arg): Format "O!" means typechecked
782 object; pointer argument must be preceded by typeobject
783
784 * Modules/threadmodule.c: don't define exit_prog if NO_EXIT_PROG
785 is defined
786
787 * Python/thread.c: don't define [_]exit_prog if NO_EXIT_PROG is
788 defined; in the SGI version, don't use signals if exit_prog is
789 node defined defined; in the SGI version, waitpid() for exited
790 threads.
791
792 * Python/pythonrun.c: don't call [_]exit_prog if NO_EXIT_PROG is
793 defined
794
795 * Include/thread.h: define NO_EXIT_PROG and then don't define
796 [_]exit_prog
797
798 * Modules/dbmmodule.c: Add calls to dbm_clearerr() after error on
799 assignment (fix by Jack)
800
Guido van Rossum131e2ab1994-03-07 12:05:46 +0000801Mon Mar 7 12:41:32 1994 Guido van Rossum (guido@voorn.cwi.nl)
802
Guido van Rossumed3112c1994-04-14 14:27:58 +0000803 * Lib/test/test_rgbimg.py: search test file along sys.path
804
805 * Lib/test/test_{b1,b2,grammar}.py: tests for indefinite sequences
806
Guido van Rossum131e2ab1994-03-07 12:05:46 +0000807 * Python/{bltinmodule,ceval}.c: Changed implied and explicit loops
808 over sequences to allow for "indefinite" sequences a la Steve
809 Majewski. Instead of iterating over 0, 1, 2, ..., len(a)-1, we
810 now iterate over 0, 1, 2, ..., until we get an IndexError
811 exception (other exceptions are still errors). This affects the
812 semantics of the following language constructs: "for x in a: ...",
813 "x in a", "x not in a", and the following built-in functions:
814 filter(), map(), max(), min(), reduce().
815
816 * Doc/ref6.tex (section{Assignment statements}): clarify slice
817 assignment; (section{The {\tt break} statement}): fix typo
818
819 * Doc/ref5.tex (subsection{Identifiers (Names)}): clarify
820 difference between local and global
821
822 * Doc/ref2.tex (subsection{String literals}): fix typo in def of
823 escapeseq
824
825 * Lib/addpack.py: new module to add packages to sys.path
826
827 * Lib/urlopen.py: added basejoin() function
828
829Fri Mar 4 13:07:43 1994 Guido van Rossum (guido@voorn.cwi.nl)
830
831 * Lib/urlopen.py(open_ftp): avoid crash when no host given
832
Guido van Rossumf18a4f41994-03-02 11:40:46 +0000833Wed Mar 2 10:33:39 1994 Guido van Rossum (guido@voorn.cwi.nl)
834
Guido van Rossum5e334d91994-03-02 14:23:20 +0000835 * Python/ceval.c (eval_code): use sys.check_interval to reset the
836 ticker
837
Guido van Rossumf18a4f41994-03-02 11:40:46 +0000838 * Lib/repr.py: added special case for class instances (which may
839 cause exceptions in their __repr__)
840
841 * Lib/pdb.{py,doc}: mod by Steve Kirsch to allow setting a break
842 on a function name
843
844Tue Mar 1 10:32:54 1994 Guido van Rossum (guido@voorn.cwi.nl)
845
846 * Python/pythonrun.c (run_tty_1): Fix wrong (uninitialized) return
847 value
848
849 * Doc/ref4.tex (table 4.1): differentiated between exec stmt and
850 eval()
851
852Mon Feb 28 10:49:20 1994 Guido van Rossum (guido@voorn.cwi.nl)
853
854 * Modules/svmodule.c: correct wrong cast of svideo_getattr
855
856 * README: added Linux to list of supported systems.
857
858 * Doc/libsocket.tex: adapt to min value of 1 for listen() backlog
859 argument.
860
861 * Modules/socketmodule.c (sock_listen): ensure backlog argument is
862 at least 1.
863
864Fri Feb 25 14:25:30 1994 Guido van Rossum (guido@voorn.cwi.nl)
865
866 * Include/osdefs.h, Modules/config.c.in: Added NT case (same as
867 MSDOS)
868
869Thu Feb 24 09:58:53 1994 Guido van Rossum (guido@voorn.cwi.nl)
870
871 * Modules/posixmodule.c: merged in NT changes by Jaap Vermeulen
872
873 * README: added Mac and PC platforms to blurb.
874
875 * Doc/libfuncs.tex (section{Built-in Functions}): documented
876 xrange()
877
878 * Doc/ref7.tex (section{Function definitions} added index entry
879 for second ref to lambda.
880
881 * Lib/{bdb.py,pdb.py,stdwin/wdb.py}: call linecache.checkcache()
882 in bdb.Bdb's reset method; remove it from the test() functions.
883
884Wed Feb 23 10:15:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
885
886 * Modules/parsermodule.c (parser_parsefile): fix fatal typo in
887 NULL comparison
888
889 * Misc/python.man: fixed mess describing -d and -i options
890
891Tue Feb 22 09:08:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
892
893 * Demo2: added new subdirectory holmes, with Mark Lutz' expert
894 system shell
895
896 * Demo: added new subdirectory lutz, with Mark Lutz' examples
897 (e.g. psh.py, a nice enhanced Python shell!!!)
898
899 * Lib/os.py: added listdir for Windows NT
900
901 * Modules/timemodule.c, Parser/intrcheck.c: changes for Windows NT
902 by Jaap Vermeulen (#ifdef _M_IX86)
903
904 * Makefile.in (inclinstall): added variable INCLUDEPY to specify
905 where the include files are installed
906
907 * Modules/nismodule.c (nisproc_maplist_2): cast some args to
908 (caddr_t) as required on some systems
909
910 * Objects/mappingobject.c (getmappingitems): correct typo (called
911 _values instead of _items)
912
913Mon Feb 21 17:07:07 1994 Guido van Rossum (guido@voorn.cwi.nl)
914
915 * Lib/rfc822.py: added access as a dictionary
916
917 * Lib/urlopen.py: new module to access arbitrary files designated
918 by a URL (Universal Resource Locator)
919
920 * Lib/{httplib,gopherlib}.py: new modules to interface to HTTP
921 and gopher servers
922
923 * Lib/rfc822.py: moved _monthnames to where it is used; add some
924 blank lines
925
Guido van Rossum3da56c31994-02-18 10:19:41 +0000926Fri Feb 18 09:54:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
927
928 * Lib/sgi/flp.py: avoid using time.milli{sleep,timer}
929
930 * Lib/stdwin/WindowSched.py: avoid using time.milli{sleep,timer}
931 -- still maintain time in milliseconds though
932
933 * Lib/sched.py: remove references to milli{timer,sleep} from comments
934
935 * Lib/os.py: made execvp more portable; added os.pathsep and
936 os.defpath
937
938Thu Feb 17 12:53:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
939
940 * Lib/ftplib.py(FTP.makeport): call listen(1) instead of listen(0)
941 so it works on Solaris 2
942
943 * Modules/makesetup: reverse order of DEFS so first Setup file can
944 override; any non-cpp uppercase option is sent to the linker
945
946Wed Feb 16 10:26:59 1994 Guido van Rossum (guido@voorn.cwi.nl)
947
948 * Objects/fileobject.c: add name, mode, softspace and closed
949 attributes (softspace is also writable).
950
951 * configure.in: in --verbose mode, don't hide compiler output
952
Guido van Rossum2a7cbe91994-01-26 17:55:41 +0000953========================================================================
Guido van Rossume1056b31994-02-15 15:54:42 +0000954Release of 1.0.1 (Feb 15 1994)
955========================================================================
956
957Tue Feb 15 11:32:42 1994 Guido van Rossum (guido@voorn.cwi.nl)
958
959 * Lib/string.py (atof): force the result to be float
960
961 * Python/modsupport.c (do_arg): don't use a local object va --
962 this doesn't work on some compilers (e.g. WATCOM)
963
964Mon Feb 14 10:52:01 1994 Guido van Rossum (guido@voorn.cwi.nl)
965
966 * Lib/dospath.py: proper version by Jaap Vermeulen
967
968 * Makefile.in (Makefiles): add semicolon after ) which some Make
969 versions need
970
971 * Doc/libposix.tex: added doc for posix.fdopen
972
973 * README: add Sequent and NeXT to list of platforms; add
974 troubleshooting section; add hist about -Dindex for readline
975
976 * Lib/os.py: generalize to many os specific modules using a
977 dictionary
978
979 * Lib/ospath.py: now obsolete; use os.name to import the right one
980
981 * configure.in: change order of -lsocket and -lnsl and insert
982 -linet in between, so it works on Sequent (it still works on
983 Solaris 2 -- hope it still works elsewhere as well); add test for
984 _NEXT_SOURCE (then define _POSIX_SOURCE); remove test for dlopen;
985
986 * configure.in, acconfig.h, */modsupport.[ch]: rename
987 HAVE_VARARGS_PROTOTYPES to HAVE_STDARG_PROTOTYPES, to avoid
988 confusion
989
990 * Include/modsupport.h: no prototypes for getargs() and mkvalue()
991 in case no varargs prototypes
992
993 * Lib/test/test_grammar.py: don't import sleep from time, but time
994 (since sleep has portability problems)
995
996Fri Feb 11 23:47:46 1994 Guido van Rossum (guido@voorn.cwi.nl)
997
998 * Parser/intrcheck.c: added QUICKWIN version (doesn't really
999 work); fixed MSDOS version to also set a SIGINT handler.
1000
1001 * Modules/timemodule.c (time_sleep): declare sigsave 'auto' hoping
1002 this will avoid restoring its pre-setjmp value. On non-threaded
1003 systems declare it 'static' since at least Microsoft C still puts
1004 the auto variable in a register causing a bug... Also implement
1005 the MSDOS version of floatsleep() using a busy-wait loop calling
1006 intrcheck()
1007
1008Wed Feb 9 11:43:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
1009
1010 * Lib/rfc822.py: added parsedate() and parseaddr() utility
1011 functions and getdate(), getaddr(), getaddrlist() methods; added
1012 test code when run as script
1013
1014 * Include/pythonrun.h, Python/pythonrun.c: cleanup() is now
1015 externally visible, for the benefits of embedded use.
1016
1017 * Lib/dospath.py: new module for dos stuff
1018
1019Mon Feb 7 09:50:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
1020
1021 * Modules/makesetup: add -n option between Setup files (suppresses
1022 making of .o files but keeps processing of libraries and module
1023 names)
1024
1025 * Makefile.in (libainstall): install Setup, makesetup, config.c.in
1026
1027 * Modules/Setup*: added -lX11_s to line for gl module
1028
1029 * Demo/scripts/unbirthday.py: new script, print unbirthday count
1030
1031 * Modules/audioopmodule.c: removed hack for signed on sun
1032 (there's now a test in the configure script); check that if
1033 'signed' is defined away characters aren't unsigned
1034
1035 * Modules/posixmodule.c: include mytime.h (for clock_t on NeXT)
1036
1037 * acconfig.h: add entry for 'signed' keyword
1038
1039 * configure.in: remove const from check for exec prototypes; add
1040 check for signed keyword and check for whether chars are unsigned
1041
1042Fri Feb 4 13:07:03 1994 Guido van Rossum (guido@voorn.cwi.nl)
1043
1044 * Modules/makesetup: added usage message, -c and -m options to
1045 specify config.c.in and Makefile.pre input files, -s option to
1046 specify source directory, added comments
1047
1048 * Modules/Setup.in: remove -lm from imgfile entry
1049
1050 * Modules/nismodule.c: only define YPPROC_MAPLIST, YPPROG and
1051 YPVERS if not already defined
1052
1053 * configure.in, acconfig.h, Include/modsupport.h,
1054 Python/modsupport.c: added separate check for varargs prototypes
1055 (HAVE_VARARGS_PROTOTYPES)
1056
1057Thu Feb 3 11:00:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
1058
1059 * Python/bltinmodule.c (filterstring): fix core dump of func ==
1060 None
1061
1062 * Lib/string.py: replace atoi_error, atof_error, atol_error by
1063 ValueError when the strop versions are used
1064
1065 * Modules/stropmodule.c: added atol(), added optional base
1066 argument to atoi() and atol()
1067
1068 * Objects/longobject.c, Include/longobject.h: added long_escan
1069 (like long_scan but raises exception for bad base and stores end
1070 of string into return argument)
1071
1072 * Objects/rangeobject.c (range_repr): repr must use "xrange..."
1073
1074Wed Feb 2 12:28:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
1075
1076 * Modules/stropmodule.c: added atoi() and atof()
1077
1078 * Python/modsupport.c: use stdarg.h / varargs.h depending on
1079 presence of prototypes
1080
1081 * Modules/timemodule.c (floattime): try ftime() or time() if
1082 gettime() fails
1083
1084Tue Feb 1 14:41:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
1085
1086 * Doc/Makefile (python-lib.info): change makeinfo option style
1087 from +foo to --foo
1088
1089 * Doc/README: remove invalid reference to ../misc/FTP; update
1090 description of making the info version
1091
1092 * Doc/{fix.el,fix_hack,whichlibs}: minor updates/corrections
1093
1094Mon Jan 31 11:16:38 1994 Guido van Rossum (guido@voorn.cwi.nl)
1095
1096 * Python/import.c: only use shared libraries if HAVE_DLOPEN *and*
1097 HAVE_DLFCN_H are defined; define symbol USE_SHLIB then
1098
1099 * Doc/tut.tex: lots of small changes by Tim Peters: typos,
1100 out-of-date examples, restrictions lifted, new and better ways to
1101 do some things...
1102
1103Fri Jan 28 10:59:48 1994 Guido van Rossum (guido@voorn.cwi.nl)
1104
1105 * README: added Minix note
1106
1107 * Lib/sunau.py: correct byte count calculation from frame rate
1108
1109 * Lib/aifc.py: rate should be an integer
1110
1111Thu Jan 27 12:55:17 1994 Guido van Rossum (guido@voorn.cwi.nl)
1112
1113 * Doc/ext.tex: removed obsolete reminder in line 1; correct typo
1114
1115 * Misc/FAQ: fixed some out of date info, added question on module
1116 run as script
1117
1118 * Modules/rgbimgmodule.c (initrgbimg): exception string should
1119 contain dot not comma
1120
1121 * Modules/md5module.c: fix compiler warnings about (unsigned) char
1122
1123 * Makefile.in: libinstall and maninstall should use $(srcdir)
1124
1125 * Lib/tzparse.py: don't run test() on import
1126
1127 * Lib/filewin.py: moved into Lib/stdwin
1128
1129 * Modules/cdmodule.c: fix wrong cast of cdparser_getattr
1130
1131========================================================================
Guido van Rossum2a7cbe91994-01-26 17:55:41 +00001132Release of 1.0.0 (Jan 26 1994)
1133========================================================================
1134
Guido van Rossum76821a51994-01-26 17:31:17 +00001135Wed Jan 26 14:13:39 1994 Guido van Rossum (guido@voorn.cwi.nl)
1136
Guido van Rossum2a7cbe91994-01-26 17:55:41 +00001137 * Doc/tut.tex: updated version number in invocation example
1138
1139 * Doc/Makefile: update destination of texi2html
1140
Guido van Rossum76821a51994-01-26 17:31:17 +00001141 * Misc/FAQ: updated for release 1.0.0
1142
1143 * Misc/NEWS: created -- all bits of news
1144
1145 * Misc/HISTORY: added (from old releases)
1146
1147 * Misc/README: documented some new files
1148
1149 * README: non-beta version and preface, don't ref TODO
1150
1151 * Makefile.in: got rid of references to TODO
1152
1153 * Python/version.c, Doc/???.tex: updated version and date
1154
Guido van Rossum8f0d0c81994-01-25 20:08:34 +00001155Tue Jan 25 20:11:49 1994 Guido van Rossum (guido@voorn.cwi.nl)
1156
1157 * Doc/ext.tex: revamped, finally ready for release
1158
1159 * Doc/{Makefile,myformat.perl}: support latex2html (0.5.1)
1160
1161 * README: correct typo on DL_DIRECTORY
1162
Guido van Rossum23d19391994-01-24 15:42:32 +00001163========================================================================
1164Release of 1.0.0 BETA 6 (Jan 24 1994)
1165========================================================================
Guido van Rossum2a7cbe91994-01-26 17:55:41 +00001166
Guido van Rossum23d19391994-01-24 15:42:32 +00001167Mon Jan 24 16:37:46 1994 Guido van Rossum (guido@voorn.cwi.nl)
1168
1169 * Doc/ref?.tex: Change \verb\<stuff>\ into \verb@<stuff>@ so
1170 latex2html doesn't crash
1171
1172Thu Jan 20 18:05:18 1994 Guido van Rossum (guido@voorn.cwi.nl)
1173
1174 * Ext-dummy/, README, Makefile.in: Created new directory
1175 Ext-dummy/. Ext-dummy/ contains its own README and copies of
1176 Extensions/mk{ext,mf}.py.
1177
Guido van Rossumcb38cd01994-01-18 15:09:30 +00001178Tue Jan 18 11:04:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
1179
1180 * Python/getmtime.c: Include config.h if we have it
1181
1182 * Modules/Setup.in: fixed comments about GMP version
1183
1184 * Modules/nismodule.c: define YPPROC_MAPLIST, YPPROG, YPVERS as
1185 plain integer literals, to make it work on 64 bit machines
1186
1187 * Parser/grammar.c (translabel): remove redundant decl of strchr()
1188 (which caused trouble on AIX)
1189
1190Sun Jan 16 14:13:13 1994 Guido van Rossum (guido@voorn.cwi.nl)
1191
1192 * configure.in: test for fcntl.h
1193
1194 * Modules/posixmodule.c: include fcntl.h if it exists
1195
Guido van Rossumb46152a1994-01-14 16:59:57 +00001196Fri Jan 14 17:35:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
1197
1198 * configure.in: check for sys/time.h; substitute and check for AR;
1199 check for nice()
1200
1201 * Makefile.in: make python .PRECIOUS; define OPT=-O and pass it to
1202 submakes
1203
1204 * */Makefile*in: set OPT=-O; set AR=@ar@
1205
1206 * Modules/Setup.minix: new
1207
1208 * Lib/audiodev.py: only import system specific modules if needed
1209
Guido van Rossum4c627be1994-01-13 15:47:04 +00001210Thu Jan 13 16:40:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
1211
Guido van Rossum8f0d15c1994-01-13 16:16:30 +00001212 * Modules/flmodule.c: make type objects static
1213
1214 * Modules/almodule.c: make type objects static
1215
Guido van Rossum4c627be1994-01-13 15:47:04 +00001216 * Makefile.in: add rule to build Makefile; add VPATH for that;
1217 remove dependency on configure script (you can run 'make autoconf'
Guido van Rossumb46152a1994-01-14 16:59:57 +00001218 instead); add Lib/test to path for test target;
1219
1220 * Lib/test: new subdirectory, holds all test modules
Guido van Rossum4c627be1994-01-13 15:47:04 +00001221
Guido van Rossum33033151994-01-12 09:58:23 +00001222Wed Jan 12 10:17:41 1994 Guido van Rossum (guido@voorn.cwi.nl)
1223
Guido van Rossum4c627be1994-01-13 15:47:04 +00001224 * acconfig.h: added HAVE_ALTZONE
1225
1226 * configure.in: test for altzone; check for working
1227 termcap/termlib when --with-readline used; don't test for readline
1228 function; send errors to stderr
1229
1230 * Lib/test_grammar.py: fix 64-bit int test for max negative int
1231
Guido van Rossum33033151994-01-12 09:58:23 +00001232 * Python/import.c (get_module): call dlerror() when dlopen() fails
1233 (also some layout changes)
1234
Guido van Rossum2712c161994-01-11 12:00:38 +00001235Tue Jan 11 10:56:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
1236
Guido van Rossum33033151994-01-12 09:58:23 +00001237 * Python/import.c: use RTLD_NOW (define as 2 if undefined)
1238
1239 * Makefile.in: "make (local)clean" shouldn't bother about Include;
1240 added .PRECIOUS: config.status
Guido van Rossum2712c161994-01-11 12:00:38 +00001241
1242 * Modules/md5.h: define PROTOTYES as 1 if HAVE_PROTOTYPES is
1243 defined
1244
1245 * Modules/md5module.c: grand cleanup
1246
1247 * Modules/Setup.sgi: renamed to Setup.irix4
1248
1249 * Modules/Setup.sunos5: renamed to Setup.solaris2
1250
1251 * Modules/Setup.in: some makes (e.g. Ultrix) don't strip trailing
1252 whitespace from variable definitions -- make sure there isn't any
1253 in the defs used to generate PYTHONPATH
1254
1255 * Many modules and objects: use 'staticforward' where needed
1256
1257 * Include/object.h: added #define 'staticforward' as either static
1258 or extern depending on BAD_STATIC_FORWARD
1259
1260 * acconfig.h: added BAD_STATIC_FORWARD
1261
1262 * configure.in: added test for bad static forward
1263
1264Mon Jan 10 10:35:21 1994 Guido van Rossum (guido@voorn.cwi.nl)
1265
1266 * Modules/md5module.c: SCO ODT 3.0 dependent fix
1267
1268 * Objects/xxobject.c: quote size fields as tp_basicsize instead of
1269 (incorrectly) tp_size
1270
1271 * Objects/listobject.c (cmp): arguments must be const!!!
1272
1273 * Modules/imageopmodule.c: another attempt at casting away
1274 warnings about changed semantics in ANSI C
1275
1276 * Modules/regexpr.c: cast away warning about changed semantics in
1277 ANSI C
1278
1279 * Modules/Makefile.pre.in: add LIBC_S (shared version of -lc, to
1280 be figured out by configure)
1281
1282 * README, Python/version.c: version 1.0.0 BETA 6
1283
1284 * README: fixed description of Setup (which was buried under the
1285 SVR4 exception!); added description of --prefix, --exec-prefix,
1286 --with-libm and --with-libc
1287
1288 * configure.in: added --with-libc=... and --with-libm=...
1289
1290 * Modules/Makefile.pre.in: Remove dependency of Setup on Setup.in,
1291 so it is only copied when Setup does not exist at all; add
1292 prefix=/usr/local so Setup can base default path on --prefix
1293 option to toplevel configure script
1294
1295 * Modules/Setup.in: clarified build procedure in comments; don't
1296 include GNN's timing module by default; use $(prefix) instead
1297 requiring manual edit of DESTDIR
1298
1299 * Makefile.in: replace DESTDIR by prefix and exec_prefix and
1300 updated affected targets; added inclinstall and libainstall
1301 targets
1302
1303 * Objects/accessobject.c: removed (???) from comment to avoid
1304 trigraph warning
1305
1306 * Makefile.in (libinstall): correct typo: (D)DESTDIR
1307
1308Fri Jan 7 10:34:43 1994 Guido van Rossum (guido@voorn.cwi.nl)
1309
1310 * README: describe --with-sgi-dl and --with-dl-dld
1311
1312 * Python/Makefile.in: compile import.c with -I$(DLINCLDIR)
1313
1314 * Python/import.c: check for WITH_SGI_DL and WITH_DL_DLD
1315
1316 * acconfig.h: added WITH_SGI_DL and WITH_DL_DLD
1317
1318 * configure.in: added --with-sgi-dl=DIR and
1319 --with-dl-dld=DIR,DIR; now require --with-readline=DIR and test
1320 for existing directory
1321
1322 * Lib/test_audioop.py: new module to test (you guessed it) audioop
1323
1324 * Modules/audioopmodule.c: got rid of adpcm32lin and lin2adpcm3 --
1325 Jack says they're not useful
1326
1327========================================================================
1328Release of 1.0.0 BETA 5 (Jan 6 1994)
1329========================================================================
1330
Guido van Rossume0d95c31994-01-06 14:47:25 +00001331Thu Jan 6 13:36:32 1994 Guido van Rossum (guido@voorn.cwi.nl)
1332
Guido van Rossum658c9981994-01-06 17:20:58 +00001333 * readline/Makefile: remove some cruft so it works with VPATH
1334
1335 * Lib/aifc.py: remove dependencies on AL (Sjoerd)
1336
Guido van Rossume0d95c31994-01-06 14:47:25 +00001337 * README: describe new Setup procedure
1338
1339 * Modules/Makefile.pre.in: copy Setup from $9srcdir)/Setup.in so
1340 it *really* works with VPATH
1341
1342 * Modules/Setup: renamed to Modules/Setup.in
1343
1344 * Python/pythonmain.c (realmain): fclose script file
1345
1346 * Python/import.c (get_module): fix important leak: close the .py
1347 file after parsing!
1348
1349 * README, Python/version.c: version 1.0.0 BETA 5
1350
Guido van Rossum516d4d91994-01-05 17:53:05 +00001351Wed Jan 5 16:42:35 1994 Guido van Rossum (guido@voorn.cwi.nl)
1352
1353 * Modules/rgbimgmodule.c: Only include <unistd.h> if it exists
1354
1355 * Modules/timemodule.c: don't include sys/time.h on the Mac
1356
1357 * Modules/stdwinmodule.c (initstdwin): don't fuss with sys.argv on
1358 the mac -- so {check,putback}stringlist aren't needed there
1359
1360 * Parser/intrcheck.c: Make sure <MacHeaders> is included before
1361 any other include file
1362
1363 * Modules/audioopmodule.c: include math.h after allobjects.h (so
1364 the latter can be a precompiled header file on the Mac)
1365
1366Wed Jan 5 15:34:26 1994 Guido van Rossum (guido@poseidon.cwi.nl)
1367
1368 * Python/pythonrun.c (sighandler): only call kill(getpid()) if
1369 getpid() exists; otherwise call exit(1)
1370
1371 * configure.in: added test for getpid()
1372
1373 * Modules/config.c.in: Changes for Macintosh: new default path,
1374 call wargc() in main(); 1994 copyright
1375
1376 * Python/frozenmain.c: added declarations for getversion() and
1377 getcopyright() (foei!); insert "Python " before version on banner
1378
1379 * Python/pythonmain.c: added declarations for getversion() and
1380 getcopyright() (foei!); default startupfile to "PythonStartup" on
1381 Macintosh; add fclose(fp) for startupfile; insert "Python " before
1382 version on banner
1383
Guido van Rossum2f3e8d51994-01-05 00:15:29 +00001384========================================================================
Guido van Rossum718581a1994-01-05 01:17:12 +00001385Release of 1.0.0 BETA 4 (Jan 5 1994)
1386========================================================================
1387
1388Wed Jan 5 01:21:59 1994 Guido van Rossum (guido@voorn.cwi.nl)
1389
1390 * README, version.c: bumped version to 1.0.0 BETA 4
1391
1392 * README: removed all references to --with-solaris; updated list
1393 of files and directories
1394
1395 * Modules/sunaudiodevmodule.c: define SOLARIS if
1396 HAVE_SYS_AUDIOIO_H is defined
1397
1398 * Python/thread.c: define SOLARIS if HAVE_THREAD_H is defined
1399
1400 * configure.in: added test for <thread.h> (SOLARIS thread
1401 interface); remvoe test for --with-solaris
1402
1403========================================================================
Guido van Rossum2f3e8d51994-01-05 00:15:29 +00001404Release of 1.0.0 BETA 3 (Jan 5 1994)
1405========================================================================
1406
Guido van Rossumf1009e81994-01-04 23:29:10 +00001407Wed Jan 5 00:18:45 1994 Guido van Rossum (guido@voorn.cwi.nl)
1408
Guido van Rossum04e74c41994-01-05 00:00:14 +00001409 * {Parser,Objects,Python,Makefile}/Makefile*in: made depend target
1410 work with VPATH
1411
Guido van Rossumf1009e81994-01-04 23:29:10 +00001412 * README: describe new build procedure; added section on building
1413 for multiple architectures
1414
1415 * acconfig.h: fix (reversed!) comment for SYS_SELECT_WITH_SYS_TIME
1416
1417 * Modules/Makefile.pre.in: copy Setup from $(srcdir) if not
1418 present, and use local Setup as input for makesetup script
1419
Guido van Rossum79556aa1994-01-04 22:02:27 +00001420Tue Jan 4 12:32:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
1421
1422 * Note that there are no functional changes below -- just changes
1423 to the build process and changes to avoid compiler warnings
1424
1425 * Modules/Setup: disable nis as well by default, change the
1426 pertaining comments, and change the comments about the multimedia
1427 modules to be default on
1428
1429 * fixed all warnings about function pointer initializations, and
1430 miscellanous other warnings (e.g. about extern forward references
1431 to static variables); touched random bits of code as a consequence
1432
1433 * changed configuration process and Makefiles to support VPATH;
1434 for this, config.h(.in) now lives to the toplevel directory, the
1435 toplevel Makefile is now created by configure as well, and various
1436 improvements to it have been made (e.g. working tags and TAGS
1437 targets), the makesetup script follows configure instead of
1438 preceding it, it understands srcdir and has an exception for
1439 glmodule.c, the intermediate file is called Makefile.pre, the
1440 Makefiles don't use TOP any more and are much more careful about
1441 the difference between .. and the toplevel directory, and I've
1442 improved my understanding of how configure handles srcdir
1443
1444 * Modules/threadmodule.c: refuse to compile when WITH_THREAD is not
1445 defined
1446
1447 * configure.in, acconfig.h, config.h.in, Include/ceval.h,
1448 Modules/{stdwin,thread}module.c, Python/{ceval,pythonrun}.c:
1449 renamed USE_THREAD to WITH_THREAD
1450
1451 * configure.in: add AC_PROG_INSTALL
1452
1453 * README, Python/version.c: version set to 1.0.0 BETA 3
1454
1455 * Demo, Include, Lib: added Makefile with clean/clobber targets
1456
1457 * README: added remarks on --with-svr4; unnumber special cases
1458
1459 * configure.in: only look for -lnsl and -lsocket if --with-svr4 is
1460 specified, to avoid linking with them on IRIX 5
1461
1462========================================================================
1463Release of 1.0.0 BETA 2 (Jan 3 1994)
1464========================================================================
1465
1466Mon Jan 3 22:21:24 1994 Guido van Rossum (guido@voorn.cwi.nl)
1467
1468 * Include/myselect.h: fix typo in name of SYS_SELECT_WITH_SYS_TIME
1469
1470 * Parser/pgen.h: moved here from Include; removed extern
1471 definition of 'gram'
1472
1473 * Parser/acceler.c: include node.h, now needed by parser.h
1474
1475 * README: added paragraph on testing
1476
1477 * Misc/python.man: changed date and add 1994 copyright
1478
1479 * Makefile: added test target
1480
1481 * Python/thread.c: include config.h if needed
1482
1483 * Parser/parser.h: remove references to struct _grammar and
1484 similar things
Guido van Rossum5536a3c1994-01-02 23:28:55 +00001485
Guido van Rossume182fe51994-01-03 15:21:29 +00001486 * Modules/rotormodule.c (RTR_e_char, RTR_d_char): avoid warnings
1487 by picky compilers about unsigned % signed
1488
1489 * README: added a section on building it for non-UNIX systems
1490
1491 * Makefile (configure): call autoheader when calling autoconf
1492
1493 * Include/config.h.in: now generated by autoheader
1494
1495 * acconfig.h: new file (input for autoheader)
1496
Guido van Rossum976877e1994-01-03 14:24:47 +00001497 * configure.in: added AC_REVISION call to top
1498
1499 * Modules/flmodule.c (form_setattr): one NULL should be 0
1500
1501 * Include/myselect.h: this now implies mytime.h and attempts to
1502 work around systems where sys/select.h and sys/time.h can't be
1503 included together
1504
1505 * Modules/socketmodule.c, Doc/libsocket.tex: remove socket avail()
1506 method -- you can use select instead
1507
1508 * Modules/Setup: disable dbm, it is not truly portable
1509
1510 * Lib/sunau.py: incorporate one-line fix by Sjoerd
1511
1512 * Include/pgenheaders.h: include <stdlib.h> if its symbol
1513 defined, not just on the mac
1514
1515 * Include/grammar.h: remove redundant structure tags
1516
1517 * Include/cgensupport.h: avoid possible macro argument
1518 substitution inside string literal
1519
1520 * configure.in, Include/config.h.in: add test whether sys/select.h
1521 and sys/times.h can be included by the same program
1522
Guido van Rossum313e5cb1994-01-03 03:51:06 +00001523 * Include/config.h.in: add lines for HAVE_SYS_UN_H and
1524 HAVE_GETPEERNAME
1525
1526 * Extensions/mkext.py: copy change in library order from
1527 Modules/Makefile.in.in
1528
1529 * Modules/Makefile.in.in: change library order subtly so -ltermcap
1530 follows instead of precedes -lgl_s on SGI systems; this solves
1531 (hides?) problems with clashing entry points
1532
1533 * configure.in: added sys/un.h to list of tested header files;
1534 added getpeername to list of tested functions (both for
1535 Modules/socketmodule.c)
1536
1537 * Modules/socketmodule.c: conditionally include sys/un.h and
1538 change tests for AF_UNIX to tests for HAVE_SYS_UN_H; test for
1539 HAVE_GETPEERNAME instead of NO_PEERNAME
1540
1541 * Modules/config.c.in: add marshal and __main__ built-in modules
1542
1543 * Python/sysmodule.c (list_builtin_module_names): sort the list
1544
Guido van Rossumbbf27191994-01-03 02:11:27 +00001545 * Doc/Makefile: remove 'qua' from default targets
1546
1547 * Doc/README: add reference to ext.tex, change reference to
1548 lib*.tex, explain that qua isn't built by default
1549
1550 * README: explain DESTDIR, clarify install procedure, add more
1551 explanation to some options, add description of ChangeLog, add
1552 wuarchive.wustl.edu to list of mirror sites
1553
1554 * Modules/socketmodule.c: make AF_UNIX code dependent on existence
1555 of AF_UNIX (SCO ODT 3.0 doesn't support it -- let's hope it
1556 doesn't define the symbol either)
1557
1558 * Makefile: attempt to fix install targets (added separate
1559 libinstall and maninstall)
1560
1561 * Doc/libregex.tex: documented Tracy Tims' changes
1562
Guido van Rossum5536a3c1994-01-02 23:28:55 +00001563 * Modules/regexpr.c: redid Tracy Tims' changes to minimize diffs
1564 (only two added lines now)
1565
1566 * Modules/regexmodule.c: fix core dump when asking a plain regex
1567 object for a named group
1568
1569Sun Jan 2 23:10:44 1994 Guido van Rossum (guido@voorn.cwi.nl)
1570
1571 * README, Python/version.c: changed version string to 1.0.0 BETA 2
1572
1573 * Modules/{regexpr.{c,h},regexmodule.c}: merged in Tracy Tims'
1574 mods for named subexpressions
1575
1576 * Include/regexpr.h: moved to Modules/regexpr.h
1577
1578 * Modules/timingmodule.c: change tests for no arguments
1579
1580 * configure.in: remove strtoul from AC_REPLACE_FUNCS; remove
1581 initial blank line (which got copied into configure so it wouldn't
1582 start with #!/bin/sh as required)
1583
1584 * Python/compile.c: call mystrto(u)l instrad of strto(u)l
1585
1586 * Python/Makefile.in: add mystrtoul.c to OBJS
1587
1588 * Python/mystrtoul.c: renamed from strtol.c; renamed functions to
1589 mystrto(u)l; this is now a standard source file (since some
1590 systems have a strto(u)l that doesn't report errors properly)
1591
1592 * Modules/Setup: added entry for timing module
1593
1594 * Modules/{timing.h,timingmodule.c}: new files implementing GNN's
1595 timing module
1596
1597========================================================================
1598Release of 1.0.0 BETA (Jan 1 1994)
1599========================================================================