blob: 2cceded7ce4764fdb7d7d2981b0d4a61a0e3221e [file] [log] [blame]
Guido van Rossum0a516c91994-09-12 10:58:40 +00001Mon Sep 12 12:53:07 1994 Guido van Rossum (guido@voorn.cwi.nl)
2
3 * Lib/urlparse.py: URL parser according to the latest Internet
4 draft
5
6 * README: added note about HP-UX
7
8Sun Sep 11 12:12:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
9
10 * Misc/indent.pro: Steen's approximation of my C style as a GNU
11 indent profile
12
13 * Modules/{Setup.in,termios.c}: add Steen's termios; also
14 Lib/[pt]ty.py, Demo/scripts/script.py, Lib/irix5/TERMIOS.py
15
16 * Demo/scripts/h2py.py: merged in Steen Lumholt's changes to
17 handle #include. Now also handles one-argument macros.
18
19 * configure.in: use uname to decide how to create / link shared
20 libraries and to set $(MACHDEP) (machine dependent subdirectory of
21 Lib)
22
23 * Makefile.in: shared library support; added targer sharedinstall
24 which move shared libraries into Lib/$(MACHDEP)
25
26 * Modules/{Makefile.pre.in,Setup.in,makesetup}: support shared
27 libraries. Had to re-engineer rule production in makesetup
28 because sed was dumping core on the script fed to it -- now the
29 rules are always appended to the end of the Makefile.
30
31Fri Sep 9 11:35:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
32
33 * Lib/uu.py: new module, does uuencode/uudecode (thanks to Lance)
34
35 * Grammar/Grammar: fewer #diagram:break hacks needed; removed
36 history from file
37
38Thu Sep 8 10:24:41 1994 Guido van Rossum (guido@voorn.cwi.nl)
39
40 * Parser/grammar1.c (finddfa): massive speed up by using direct
41 addressing instead of searching
42
43Wed Sep 7 08:49:37 1994 Guido van Rossum (guido@voorn.cwi.nl)
44
45 * Include/rename1.h: added PyArg_GetInt
46
47 * pythonrun.h: added Py_AtExit
48
49 * Doc/libsocket.tex, Modules/socketmodule.c: added Tommy
50 Burnette's setblocking() method
51
52 * Modules/signalmodule.c: adapted to new module style (Lance);
53 added {BGN,END}_SAVE around pause() call
54
55 * Objects/object.c (DELREF): must zap type pointer *before*
56 calling free() (or other destructor)
57
58Sat Sep 3 14:12:38 1994 Guido van Rossum (guido@voorn.cwi.nl)
59
60 * Modules/{Setup.in,tkintermodule.c,tkappinit.c}: moved tkinter
61 into the main Modules directory, and its Lib and Demo
62 subdirectories into the main Lib and Demo directories. Moved
63 definition of STDWIN component and TK component of PYTHONPATH to
64 their respective sections so it's easier to remember to enable
65 them.
66
67 * Python/pythonrun.c (cleanup), Include/pythonrun.h: added
68 Py_AtExit() -- register cleanup functions for C modules
69
Guido van Rossum7522f031994-08-30 12:42:01 +000070Tue Aug 30 10:53:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
71
72 * Python/getmtime.c: Remove mac specifics (Mac subdirectory has
73 its own version now)
74
75 * Modules/Setup.in: uses .c instead of .o now; added curses
76
77 * Modules/{rotormodule,syslogmodule}.c: new naming conventions
78
79 * Modules/cursesmodule.c: new, interface to curses
80
81 * Modules/makesetup: bugfix: add objects from sources to OBJS
82
83 * Modules/cursesmodule.c: new contribution from Lance
84
85 * Python/bltinmodule.c (builtin_tuple): use pre-existing
86 listtuple(v) for lists
87
88Mon Aug 29 15:41:02 1994 Guido van Rossum (guido@voorn.cwi.nl)
89
90 * Various places: merged THINK C 6.0 and MPW 3.2 mods: Python 1.1
91 should build flawlessly on the Mac using either compiler
92
93Fri Aug 26 10:18:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
94
95 * Doc/tut.tex (subsection{Lambda Forms}): fix typo in lambda
96 example
97
98Thu Aug 25 12:30:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
99
100 * Lib/importall.py: obsolete.
101
102 * Lib/{compileall,py_compile}.py: new modules for compiling .py
103 files.
104
105 * Modules/timemodule.c (floattime), Objects/longobject.c
106 (dgetlongvalue): add (double) casts for the benefit of the SCO C
107 compiler
108
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000109Tue Aug 23 00:52:32 1994 Guido van Rossum (guido@voorn.cwi.nl)
110
111 * Modules/Setup.*: removed all except Setup.in (huh? I thought
112 I'd done that already?!); disable gdbm by default
113
114 * Modules/makesetup: support C++ files now; these should be given
115 as file.C or file.cc or file.c++; C files can be given as file.c
116 (instead of file.o, which is still supported)
117
118 * configure.in, */Makefile*.in: OPT can now be specified in the
119 env at configure time and will then be put in all Makefiles as
120 default
121
122 * Modules/config.c.in: change mac specific things
123
124 * Python/import.c: add lost NT-specific code back in
125
126 * Parser/tokenizer.c: backup over illegal newline in string
127 literal (for "completeness" test)
128
129 * Include/node.h: make some fields short to save space during
130 parsing
131
132 * Modules/posixmodule.c: some more NT changes
133
134 * Doc/libtime.tex: get rid of references to millitime() and
135 millisleep(); document clock()
136
137Mon Aug 22 10:53:59 1994 Guido van Rossum (guido@voorn.cwi.nl)
138
139 * Lib/linecache.py: don't crash on empty filename
140
141 * Lib/macpath.py: don't return trailing colon for dirname()
142 (XXX won't do for volume names -- but otherwise glob(':*:*.py')
143 loops forever)
144
145 * Lib/traceback.py: print SyntaxError correctly
146
147 * Lib/stat.py: moved to posixstat.py; added macstat.py which has
148 the constants for the Mac; and created new stat.py which includes
149 the right one
150
151 * Modules/signalmodule.c: added pause().
152
153 * Python/pythonrun.c (print_error): added INCREF/DECREF pair --
154 the exception returned by a syntax error (when reported) would
155 contain an object with refcnt zero!
156
157Fri Aug 19 15:35:44 1994 Guido van Rossum (guido@voorn.cwi.nl)
158
159 * */Makefile*.in: remove lib*.a before adding to it
160
161 * Lib/urllib.py: fix caching bug (by disabling the cache)
162
163 * Lib/sgi/flp.py: fix caching bug (always write the whole file to
164 the cache!)
165
166 * Doc/ref6.tex (section{Assignment statements}): added warning
167 about overlaps in lhs of assignment (e.g. "i, x[i] = 1, 2")
168
169 * Python/errors.c (err_clear): clear interpreter stack trace
170
171Wed Aug 17 16:10:07 1994 Guido van Rossum (guido@voorn.cwi.nl)
172
173 * Moved patchlevel.h from Python/ to Include/, moved all code from
174 version.c to config.c and removed version.c, and changed
175 Modules/Makefile(.pre.in) to add dependencies on $(MYLIBS) for
176 config.c (so the date in the version is always current). Also
177 changed the format of PATCHLEVEL: it is now a string containing
178 the complete version number, e.g. "1.1".
179
180 * Grammar/Grammar: Added #diagram:... comments for Kees Blom's
181 railroad diagram generator
182
183 * Doc/libstring.tex (section{Standard Module \sectcode{string}}):
184 removed references to {ato{f,i,l},index}_error
185
186 * Lib/string.py: find/rfind is now the main implementation and
187 index/rindex is a wrapper that raises index_error (which is now
188 always ValueError)
189
190 * Modules/stropmodule.c: implement find/rfind instead of
191 index/rindex (raising and catching an exception is much more
192 expensive than returning and testing -1)
Guido van Rossum2d3a9401994-08-16 22:15:49 +0000193
Guido van Rossum3d67fee1994-08-17 12:33:50 +0000194 * Lib/os.py: do fake "import posix" for freeze.py script
195
Guido van Rossum2d3a9401994-08-16 22:15:49 +0000196Tue Aug 16 23:58:30 1994 Guido van Rossum (guido@voorn.cwi.nl)
197
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000198 * Parser/parsetok.c (parsetok): don't call strncpy(str, NULL, 0)
199
Guido van Rossum2d3a9401994-08-16 22:15:49 +0000200 * Doc/libfuncs.tex (section{Built-in Functions}): added docs for
201 delattr()
202
203 * Python/bltinmodule.c: added delattr(x, 'attr'), equivalent to
204 del x.attr
205
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000206Fri Aug 12 15:00:20 1994 Guido van Rossum (guido@voorn.cwi.nl)
207
208 * Doc/libfuncs.tex: don't use $math$ in description of pow(x,y,z);
209 describe tuple()
210
211 * Doc/libposixfile.tex: use tableiii instead of tableii, so
212 partparse will work again (I know, chicken!)
213
214 * Doc/libthread.tex: Added get_ident(); updated text on module
215 availability
216
217 * Doc/myformat.perl: Added sub do_cmd_Cpp
218
219 * Python/compile.c (com_argdefs, com_arglist): avoid referencing
220 CHILD(n,i) for i >= NCH(n)
221
222 * Python/bltinmodule.c: added tuple() builtin
223
224Thu Aug 11 16:41:14 1994 Guido van Rossum (guido@voorn.cwi.nl)
225
226 * Objects/classobject.c, Include/classobject.h: added __getattr__
227 and __setattr__ support to override getattr(x, name) and
228 setattr(x, name, value) for class instances. This uses a special
229 hack whereby the class is supposed to be static: the __getattr__
230 and __setattr__ methods are looked up only once and saved in the
231 instance structure for speed
232
233Wed Aug 10 13:42:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
234
235 * configure.in, Makefile.in: remove the AC_PREFIX() call -- it's
236 more trouble than it's worth at CWI and most other people seem to
237 install Python in the default (/usr/local) anway. Changed comment
238 describing --prefix in Makefile.in
239
240 * Lib/urllib.py (ftpcache): remove debug print statement
241
242Tue Aug 9 14:32:45 1994 Guido van Rossum (guido@voorn.cwi.nl)
243
244 * Objects/{int,long,float}object.c, Include/object.h,
245 Python/bltinmodule.c: mods by Andrew Kuchling to implement
246 pow(x,y,z) == pow(x,y)%z, but without incurring overflow
247
248 * Python/import.c: if initializing a module did not enter the
249 module into sys.modules, it may have raised an exception -- don't
250 override this exception.
251
252 * Include/rename1.h: added PyMethodDef and PyObject
253
254Mon Aug 8 09:51:08 1994 Guido van Rossum (guido@voorn.cwi.nl)
255
256 * Doc/{Makefile,*.tex}: Changes by Andrew Kuchling:
257 * Added dependencies to the Makefile
258 * Added \optional{} commands all over the place (possibly not
259 finished yet)
260 * Defined \optional and \Cpp in myformat.sty
261 * Changed all occurrences of C++ to \Cpp{}, for nicely
262 formatting the + signs.
263 * Fixed typos, sentence structure in lots of places
264 * Added documentation for the rotor module
265 * Added a commented-out paragraph to libcrypto.tex that can be
266 added once the Python Cryptography Kit is released.
267 * Altered the table in libposixfile.tex a bit.
268 * Documented socket.gethostname()
269 * Started completely rewriting the Extending manual.
270
271 * Modules/{Setup.in, gdbmmodule.c}, Doc/{lib,libgdbm}.tex: added
272 Anthony Baxter's gdbm module (derived from Jack's dbm module)
273
Guido van Rossum5552eb71994-08-05 15:51:00 +0000274Fri Aug 5 11:43:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
275
276 * BUGS: new file (merger of unofficial BUGS1.0.x files)
277
278 * Modules/{Setup.in,Makefile.pre.in}: renamed some modules to
279 shorter names (dropped the "module" from the name): sunaudiodev,
280 imgformat, audioop, imageop, imgfile
281
282 * Python/import.c: support *.o/*.so as alternative for
283 *module.o/*module.so
284
285 * Modules/stropmodule.c (strop_rindex): make rindex('abc', '') do
286 the right thing (i.e. return 3 instead of 0)
287
288 * Python/bltinmodule.c (builtin_vars): correct typo in error msg
289
290 * Doc/libsocket.tex (subsection{Socket Object Methods}):
291 documented gethostname() and a few misc things
292
293 * Modules/socketmodule.c: disabled allowbroadcast() socket method
294
Guido van Rossum761c7a31994-08-01 12:04:41 +0000295Mon Aug 1 01:28:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
296
Guido van Rossum5552eb71994-08-05 15:51:00 +0000297 * Makefile.in (TAGS): Call etags w/o -t option
298
Guido van Rossumfda5fb21994-08-12 13:18:41 +0000299 * Lib/rfc822.py: fix two bugs: error in readheaders interpreting
300 regex.match() result, and wrong logic in getfirstmatchingheader()
301 when the same header occurs twice consecutively
Guido van Rossum5552eb71994-08-05 15:51:00 +0000302
Guido van Rossum761c7a31994-08-01 12:04:41 +0000303 * Lib/test/test_types.py (6.4.1): test for particular bug in
304 integer multiply
305
306Sat Jul 30 13:31:40 1994 Guido van Rossum (guido@voorn.cwi.nl)
307
308 * Doc/libsocket.tex, Modules/socketmodule.c: send() and sendto()
309 now return actual byte count (useful for sockets in non-blocking
310 mode)
311
312Tue Jul 26 14:21:17 1994 Guido van Rossum (guido@voorn.cwi.nl)
313
314 * configure.in: check for <limits.h>
315
316 * Objects/longobject.c (newlongobject): fix long(0x80000000) and
317 add warning that it isn't actually correct on 64-bit machines;
318 include <limits.h> if HAVE_LIMITS_H is defined
319
320 * Objects/intobject.c (int_mul): check int*int overflow without
321 resorting to double precision (many thanks to John Tromp)
322
323 * Modules/signalmodule.c (signal_alarm): interface to Posix alarm()
324
325 * Python/ceval.c (call_object): print message before abort()
326
327Mon Jul 25 11:30:56 1994 Guido van Rossum (guido@voorn.cwi.nl)
328
329 * Doc/libstring.tex (section{Standard Module \sectcode{string}}):
330 documented string.count()
331
332 * Lib/string.py: added count(s, sub, i=0), returns number of
333 occurrences of sub in s[i:]
334
335 * Doc/keywords.py: program to sort table of keywords in ref2.tex
336
337 * Doc/ref2.tex (subsection{Keywords}): add 'access' and 'lambda'
338 to list of reserved words
339
Guido van Rossum64ea5351994-07-14 13:47:08 +0000340Thu Jul 14 15:26:14 1994 Guido van Rossum (guido@voorn.cwi.nl)
341
342 * README, Misc/NEWS, Python/patchlevel.h,
343 Doc/{lib,ext,tut,ref}.tex: bump version to 1.0.3; in README, fewer
344 references to it elsewhere, nor to IP numbers.
345
346Wed Jul 13 18:51:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
347
348 * Lib/mhlib.py (removefromallsequences): call putsequences with
349 proper argument
350
351Mon Jul 11 13:00:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
352
353 * Modules/selectmodule.c: don't accept negative file descriptors;
354 changed error messages slightly
355
356Thu Jul 7 12:20:10 1994 Guido van Rossum (guido@voorn.cwi.nl)
357
358 * Modules/syslogmodule.c: new module by Lance
359
360 * configure.in: don't check for strtod!
361
362 * Python/import.c: undo Mac DL mods (temporarily) and install NeXT
363 dl mods by William Lewis instead.
364
365 * Modules/posixmodule.c (posix_popen): substitute pclose for
366 fclose (how did fclose ever creep into this?)
367
368Wed Jul 6 21:45:54 1994 Guido van Rossum (guido@voorn.cwi.nl)
369
370 * Lib/{bdb,cmd,pdb}.py: Mods by Rickard Westman: No longer barfs
371 on lambda:s (outputs "<lambda>" as the function name); "a(rgs)" in
372 pdb now works; help messages added to pdb (lifted from pdb.doc).
373 Also, "h pdb" calls pdb.help(). cmd.do_help() displays topics on
374 a nicer way (I think). Also, topics for which there is a help_
375 method, but no do_method (like "pdb" above) are displayed in a
376 special way. My own mod: fix break on function to also support
377 methods.
378
379Tue Jul 5 23:18:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
380
381 * Modules/stropmodule.c (strop_rindex): change semantics of third
382 argument -- as in the original string.rindex, search to its right,
383 not to its left. (Maybe both index and rindex need a 4th
384 parameter to restrict the search on the other end?
385
Guido van Rossumcd3c0421994-07-04 22:15:27 +0000386Mon Jul 4 23:01:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
387
388 * Modules/timemodule.c (sleep, floatsleep): don't use setjmp or
389 signal, rely on err_errno() or sigcheck() instead.
390
391 * Dos/{pcmodule,dosmodule}.c, Modules/posixmodule.c: don't include
392 <setjmp.h>
393
394Sat Jul 2 00:42:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
395
396 * Lib/urllib.py: implemented new quoting rules; added splituser,
397 splitpasswd, splitattr, splitvalue; new ftp syntax (user:passwd,
398 cwd to each subdir, type={a,i,d})
399
400Fri Jul 1 17:32:51 1994 Guido van Rossum (guido@voorn.cwi.nl)
401
402 * Python/traceback.c: add function name to traceback info
403
404 * Object/listobject.c, Modules/{array,mpz}module.c: include
405 <sys/types.h> for size_t
406
Guido van Rossum32d8ba41994-07-01 15:28:52 +0000407Fri Jul 1 12:47:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
408
409 * Makefile.in (Makefile): add dependency on config.status
410
411 * configure.in: support --with-gcc[=value], --without-gcc
412
413 * configure.in, acconfig.h, config.h.in: check for clock_t
414
415 * Modules/{arraymodule,mpzmodule}.c: Include sys/types.h, for size_t
416
417 * Lib/test/test_types.py (6.5.1 Strings): test for nasty string
418 formatting bug
419
420 * Objects/stringobject.c (formatstring): fix nasty bug in resizing
421
Guido van Rossum6dc31a11994-06-29 09:11:20 +0000422Wed Jun 29 10:01:17 1994 Guido van Rossum (guido@voorn.cwi.nl)
423
Guido van Rossum32d8ba41994-07-01 15:28:52 +0000424 * Doc/ref3.tex (section{The standard type hierarchy}
425 \label{types}): fix typo
426
Guido van Rossum6dc31a11994-06-29 09:11:20 +0000427 * Lib/packmail.py: applied patch from Lance to remove '.' and '..'
428
429Tue Jun 28 00:57:35 1994 Guido van Rossum (guido@voorn.cwi.nl)
430
431 * Doc/ref1.tex: grammar notation can use single or double quotes now
432
433 * configure.in (termcap): hack around conflict about clear() on
434 IRIX 5 in shared libraries gl and termcap
435
436 * Python/bltinmodule.c: added callable() predicate
437
438Wed May 18 15:01:13 1994 Donald Beaudry (don@zippy.vicorp.com)
439
440 * modsupport.c (do_arg): Changed all of the int getting things to
441 just try to get and int, instead of explicitly checking for an int
442 first.
443
444 (do_arg): Added the "O&" option to allow using a user supplied
445 conversion function.
446
447Wed May 18 14:10:49 1994 Donald Beaudry (don@zippy.vicorp.com)
448
449 * intobject.c (getintvalue): Changed to allow automatic conversion
450 from any type that supports the nb_int method.
451
452 * floatobject.c (getfloatvalue): Changed to allow automatic
453 conversion from any numeric type that supports the nb_float
454 method.
455
456Wed May 4 22:56:15 1994 Donald Beaudry (don@scooter.vicorp.com)
457
458 * object.h -- Added tp_call member to the typeobject struct
459 This along with a minor change to the ceval.c allows overloading
460 of the function call operator for any class.
461
462Wed May 4 22:23:48 1994 Donald Beaudry (don@scooter.vicorp.com)
463
464 * modsupport.c -- replace the part of getargs that processes "O!",
465 it had a minor problem with comparing the types.
466
467 * ceval.c -- changed call_object to make use of the tp_call
468 field.
469
470Fri Jun 27 17:22:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
471
472 * Python/pythonmain.c: On MPW (3.2) unbuffered seems to hang, so
Guido van Rossum64ea5351994-07-14 13:47:08 +0000473 use setvbuf ... _IOLBF for -u option.
Guido van Rossum6dc31a11994-06-29 09:11:20 +0000474
475 * Python/mystrtoul.c: MPW hack (overflow check doesn't seem to work)
476
477Thu Jun 23 14:46:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
478
479 * Modules/Makefile.pre.in (clobber): delete config.c and glmodule.c
480
Guido van Rossum71527401994-06-23 12:45:42 +0000481Thu Jun 23 00:17:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
482
Guido van Rossum64ea5351994-07-14 13:47:08 +0000483 * 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
Guido van Rossum71527401994-06-23 12:45:42 +0000487 * Doc/ref4.tex: clarify that global name space is almost always
488 containing module's name space
489
490 * Lib/profile.{py,doc}: totally new versions by James Roskind;
491 also edited source & doc to replace 'jprofile' by 'profile'
492
493 * Modules/posixmodule.c: don't mess with SIGPIPE any more -- this
494 is now done in Python/pythonrun.c (saves NT dependency here)
495
496 * Modules/Setup.*: removed all except Setup.in (keeping them up to
497 date was too much of a pain)
498
499 * Python/import.c: don't rely on three-line "dl.h", just copy the
500 contents.
501
502 * Doc/libtypes.tex (subsubsection{More String Operations.}):
503 clarified tuple vs non-tuple argument to format strings.
504
505Wed Jun 22 10:38:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
506
507 * Doc/libsocket.tex: clarify the meaning of address for those
508 methods that or return addresses.
509
510 * Doc/libtypes.tex (subsubsection{File Objects.}): documented
511 writelines.
512
513Tue Jun 21 15:54:36 1994 Guido van Rossum (guido@voorn.cwi.nl)
514
515 * Lib/aifc.py: avoid calling read(0)
516
517 * Lib/sgi/cddp.py: added some functionality (Sjoerd)
518
519 * Include/modsupport.h: added decl for initmodule2().
520
521 * Parser/myreadline.c (my_readline): fixed typo in MPW-specific
522 hack; removed debug fprintfs; added two needed #includes.
523
524Mon Jun 20 23:46:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
525
526 * Objects/fileobject.c (file_read): test for negative read count
527 was misplaced.
528
529Mon Jun 18 11:20:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
530
531 * acconfig.h: changed GETPGRP_HAVE_ARGS into GETPGRP_HAVE_ARG
532
533 * Lib/posixpath.py(walk): don't descend down symbolic links
534
535Thu Jun 16 16:20:12 1994 Guido van Rossum (guido@voorn.cwi.nl)
536
537 * Modules/imgformatmodule.c: new module for Jack by Jack
538
539Tue Jun 14 21:07:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
540
541 * Fix bug in 3quoted strings where string ends in quote followed
542 by newline
543
544Mon Jun 13 00:24:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
545
546 * Lib/multifile.py: added readlines() and read() methods
547
548 * Lib/mimetools.py: added functions to encode/decode standard MIME
549 Content-transfer-encoding types (as well as uuencode)
550
551 * Lib/mhlib.py: new interface to MH folders and messages
552
553Sun Jun 12 17:38:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
554
555 * Modules/socketmodule.c (sock_listen): fix typo (== instead of =)
556
557Thu Jun 9 23:33:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
558
559 * Python/compile.c (parsenumber), Python/marshal.c (r_object):
560 replace strtod() by atof()
561
562Tue Jun 7 11:41:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
563
Guido van Rossumcd3c0421994-07-04 22:15:27 +0000564 * Doc/lib.tex: added warning about lineii, libposixfile and partparse
Guido van Rossum71527401994-06-23 12:45:42 +0000565
566 * Lib/bdb.py (clear_all_breaks): this was defined with two
567 arguments that weren't used and shouldn't have been there
568
569Mon Jun 6 14:53:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
570
571 * Python/ceval.c (call_trace): Added call to fast_2_locals so
572 locals_2_fast won't zap locals if the trace function never looks
573 in f.f_locals; don't XDECREF(f->f_trace)
574
575Sun Jun 5 13:18:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
576
577 * Lib/rfc822.py: Accept lines ending in CR LF as well
578
579Fri Jun 3 16:37:58 1994 Guido van Rossum (guido@voorn.cwi.nl)
580
581 * Lib/profile.py: unspecified improvements by Sjoerd
582
583 * Lib/{bdb,pwd,stdwin/wdb}.py: remove debugger overhead when
584 continuing with no breakpoints; add set_trace() method and
585 functions to forcibly enter the debugger
586
587 * Python/ceval.c(eval_code): give the name of the local variable
588 when LOAD_FAST or DELETE_FAST fails
589
590 * frameobject.[ch], ceval.c: made fast_2_locals and locals_2_fast
591 global and moved them to frameobject.c. getattr(f, "f_locals")
592 now calls fast_2_locals and there are fewer other calls to it
593
594Thu Jun 2 13:50:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
595
596 * Python/ceval.c (call_trace): *p_trace can now be cleared by the
597 trace function!
598
599 * Modules/{{pwd,grp}module.c,Setup.in}: split pwdmodule.c into pwd
600 and grp modules (e.g. OS2 seems to have pwd but not grp)
601
602 * Modules/posixmodule.c: OS/2 mods: add #include <io.h>
603
604 * configure.in: test for existence of link, chown, setuid, setgid;
605 use std macros for output; require autoconf 1.8
606
607 * Python/sigcheck.c: sigcheck() for use without signalmodule.c
608
609 * Modules/signalmodule.c: added thread compatibility (only main
610 thread uses signals); much improved efficiency; intrcheck()
611 doesn't call sigcheck() but only tests and clears the SIGINT
612 tripped flag.
613
614 * Lots of places: replace intrcheck() by sigcheck() and remove
615 following err_set(KeyboardInterrupt).
616
617Wed Jun 1 11:33:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
618
619 * Modules/regexmodule.c (reg_dealloc): remove bogus XDEL's.
620
621Tue May 31 11:22:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
622
623 * Python/intrcheck.c: removed sigcheck()
624
625 * Python/structmember.c (setmember): test for NULL value
626
627 * frameobject, Python/ceval.c (eval_code): moved trace variable to
628 frame object so debugging can be switched on later
629
630Mon May 23 14:44:46 1994 Guido van Rossum (guido@voorn.cwi.nl)
631
632 * Modules/newmodule.c: new module, create empty new objects (by
633 Tommy)
634
635Fri May 20 09:46:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
636
637 * Doc/Makefile: add DVIPS variable with default "dvips -f"
638
639 * Parser/myreadline.c (my_fgets): Fix position of #endif EINTR
640
641Wed May 18 00:21:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
642
643 * Doc/lib.tex: added libfcntl and libposixfile (by Jaap V)
644
645 * Objects/funcobject.c (func_compare): take argcount and argdefs
646 into account
647
648Wed May 17 00:00:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
649
650 * Python/import.c: bump MAGIC because of changes below
651
652 * Python/{ceval,compile}.c, Include/frameobject.h: changes to code
653 objects -- consts/names are tuples, RESERVE_LOCALS instruction
654 gets tuple of names instead of dictionary -- so code objects are
655 immutable and thus code and function objects are hashable
656
657 * Objects/listobject.c, Include/listobject.h: added listtuple() --
658 convert list to tuple
659
660Tue May 17 15:40:12 1994 Guido van Rossum (guido@voorn.cwi.nl)
661
662 * Python/ceval.c (getframe): cast current_frame to (object *)
663
664 * Lib/ftplib.py (login): default user='' is translated explicitly
665 to 'anonymous'
666
667Wed May 11 10:29:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
668
669 * Parser/tokenizer.c (tok_nextc): fix inf loop when file does not
670 end in newline
671
672 * Modules/sybasemodule.c: new, interface to sybase (John Redford)
673
674 * Modules/signalmodule.c: new, catch unix signals (Lance)
675
676 * Parser/intrcheck.c, Python/ceval.c, Include/ceval.h,
677 Python/pythonrun.c: prepare for signalmodule.c; add sigcheck()
678 interface to intrcheck.c, add getframe() interface to ceval.c;
679 don't override signal handlers in pythonrun.c
680
681Tue May 10 09:01:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
682
683 * Python/import.c (get_module): print dlopen debug message only of
684 verbose
685
Guido van Rossumc5832ff1994-05-09 15:10:49 +0000686Mon May 9 10:37:48 1994 Guido van Rossum (guido@voorn.cwi.nl)
687
688 * acconfig.h: added _POSIX_THREADS define
689
690 * configure.in: test for -lpthreads; add directory argument to
691 --with-thread to LIBS as -L option
692
Guido van Rossum71527401994-06-23 12:45:42 +0000693 * Python/thread.c: split in per-system files (thread.c includes
694 thread_foobar.h for foobar threads)
695
Guido van Rossumc5832ff1994-05-09 15:10:49 +0000696 * Objects/stringobject.c (formatstring): don't DECREF result of
697 strobject() before using it
698
699 * Doc/libtypes.tex: fix typo in table of list methods; clarify
700 truncation behavior of floating point formatting
701
702 * Doc/ref3.tex: clarify defaults for __repr__, __cmp__ and
703 __str__; correct (some) descriptions of class constructors
704
Guido van Rossumdf145031994-05-06 14:30:40 +0000705Fri May 6 11:25:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
706
707 * various files: micro changes needed to compile on Mac;
708 Grouped more Mac-specific files in Mac subdirectory
709
710 * Lib/*.py: rewrote many functions to use default arguments
711 instead of arbitrary argument lists
712
713Thu May 5 12:33:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
714
Guido van Rossum71527401994-06-23 12:45:42 +0000715 * Modules/{cryptmodule.c,Setup.in}: new crypt(3) interface (Steve M)
Guido van Rossumdf145031994-05-06 14:30:40 +0000716
717 * Python/bltinmodule.c, Include/bltinmodule.h: new fn setbuiltin()
718 to set a built-in variable
719
720 * Python/ceval.c (eval_code): place '_' variable in __builtin__
721 instead of in local dictionary, to avoid endless recursion when
722 printing vars()
723
Guido van Rossuma3d4d371994-05-04 13:10:40 +0000724========================================================================
Guido van Rossum64ea5351994-07-14 13:47:08 +0000725Release 1.0.3 (14 July 1994)
726========================================================================
727
728Thu Jul 14 14:38:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
729
730 * copied FAQ 1.10 (which still references 1.0.2 by the way)
731
732Thu Jul 7 12:20:10 1994 Guido van Rossum (guido@voorn.cwi.nl)
733
734 * configure.in: don't check for strtod!
735
736Tue Jul 5 23:18:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
737
738 * Modules/stropmodule.c (strop_rindex): change semantics of third
739 argument -- as in the original string.rindex, search to its right,
740 not to its left. (Maybe both index and rindex need a 4th
741 parameter to restrict the search on the other end?
742
743Fri Jul 1 12:47:05 1994 Guido van Rossum (guido@voorn.cwi.nl)
744
745 * configure.in: support --with-gcc[=value], --without-gcc
746
747 * configure.in, acconfig.h, config.h.in: check for clock_t
748
749 * Objects/stringobject.c (formatstring): fix nasty bug in resizing
750
751Tue Jun 28 00:57:35 1994 Guido van Rossum (guido@voorn.cwi.nl)
752
753 * configure.in (termcap): hack around conflict about clear() on
754 IRIX 5 in shared libraries gl and termcap
755
756Thu Jun 23 00:17:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
757
758 * Parser/tokenizer.c: if a triple-quoted string ends in a quote
759 followed by a newline (followed immediately by the terminating 3
760 quotes) then a syntax error or system error ensues (one-line fix)
761
762Sun Jun 12 17:38:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
763
764 * Modules/socketmodule.c (sock_listen): fix typo (== instead of =)
765
766Thu Jun 9 23:33:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
767
768 * Python/compile.c (parsenumber), Python/marshal.c (r_object):
769 replace strtod() by atof()
770
771Thu Jun 2 13:50:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
772
773 * configure.in: test for existence of link, chown, setuid, setgid;
774 use std macros for output; require autoconf 1.8
775
776Wed Jun 1 11:33:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
777
778 * Modules/regexmodule.c (reg_dealloc): remove bogus XDEL's.
779
780Tue May 31 11:22:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
781
782 * Python/structmember.c (setmember): test for NULL value
783
784Fri May 20 09:46:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
785
786 * Parser/myreadline.c (my_fgets): Fix position of #endif EINTR
787
788Wed May 11 10:29:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
789
790 * Parser/tokenizer.c (tok_nextc): fix inf loop when file does not
791 end in newline
792
793Tue May 10 09:01:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
794
795 * Python/import.c (get_module): print dlopen debug message only of
796 verbose
797
798Mon May 9 10:37:48 1994 Guido van Rossum (guido@voorn.cwi.nl)
799
800 * acconfig.h: added _POSIX_THREADS define
801
802 * configure.in: test for -lpthreads; add directory argument to
803 --with-thread to LIBS as -L option
804
805 * Objects/stringobject.c (formatstring): don't DECREF result of
806 strobject() before using it
807
808Fri May 6 11:25:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
809
810 * various files: micro changes needed to compile on Mac;
811 Grouped more Mac-specific files in Mac subdirectory
812
813Thu May 5 12:33:31 1994 Guido van Rossum (guido@voorn.cwi.nl)
814
815 * Python/bltinmodule.c, Include/bltinmodule.h: new fn setbuiltin()
816 to set a built-in variable
817
818 * Python/ceval.c (eval_code): place '_' variable in __builtin__
819 instead of in local dictionary, to avoid endless recursion when
820 printing vars()
821
822========================================================================
Guido van Rossuma3d4d371994-05-04 13:10:40 +0000823Release 1.0.2 (4 May 1994)
824========================================================================
825
826Wed May 4 13:12:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
Guido van Rossum8ad2a2a1994-05-04 07:44:21 +0000827
Guido van Rossum9c7e7bf1994-05-04 09:33:42 +0000828 * README: version 1.0.2
829
830 * Objects/fileobject.c (setfilebufsize): less error checking
831
832 * configure.in: test for withval != yes (autoconf 1.8 change)
833
834 * Makefile.in: don't remove config.status on "make clobber"
835
Guido van Rossum8ad2a2a1994-05-04 07:44:21 +0000836 * Python/ceval.c (eval_code): removed last traces of killprint (-k
837 option)
838
839 * Doc/tut.tex: documented some more new stuff
840
841 * Added else clause to try-except. Affected files:
842 Grammar/Grammar, Include/graminit.h, Python/graminit.c,
843 Python/compile.c, Doc/ref7.tex, Doc/tut.tex
844
Guido van Rossumacfe4171994-05-03 14:53:09 +0000845Tue May 3 15:21:47 1994 Guido van Rossum (guido@voorn.cwi.nl)
846
847 * Misc/python.man: documented -u; undocumented -k
848
849 * Python/{python,frozen}main.c: got rid of -k option; added -u
850 option (unbuffered stdout/stderr); plus environment
851
852 * Python/import.c: Steven Majewski's mods for AIX
853
854 * Lib/lockfile.py: new module to lock files (using fcntl)
855
856 * Objects/fileobject.c, Include/fileobject.h: added setfilebufsize
857 function to set buffer size (call only from C when it's safe!)
858
859 * Python/bltinmodule.c (builtin_open): Added 3rd parameter to give
860 buffer size; default 2nd parameter to "r"
861
862Mon May 2 17:51:23 1994 Guido van Rossum (guido@voorn.cwi.nl)
863
864 * Modules/{al,cd,sv}module.c: added (method) casts to methodlist
865 initializers
866
867Thu Apr 28 15:01:50 1994 Guido van Rossum (guido@voorn.cwi.nl)
868
869 * Doc/ref2.tex: (section{Line structure}): documented line joining
870 without backslashes inside parens
871
Guido van Rossuma83d9541994-04-28 12:29:44 +0000872Wed Apr 27 13:15:42 1994 Guido van Rossum (guido@voorn.cwi.nl)
873
874 * Misc/python-mode.el: version 1.09 from Tim (grand new
875 indentation scheme)
876
877 * configure.in: test for setvbuf
878
879 * Python/ceval.c (PRINT_EXPR): assign a non-None value to '_'
880 before printing it
881
882 * Python/compile.c: only call PRINT_EXPR for interactive code
883 (start symbol single_input), else call POP_TOP after evaluating an
884 expression
885
886Tue Apr 26 16:23:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
887
888 * Python/bltinmodule.c (builtin_reduce): added essential INCREF()
889 if a third argument is present
890
891 * Doc/tut.tex: added chapter "Recent Additions"
892
893Mon Apr 25 11:27:09 1994 Guido van Rossum (guido@voorn.cwi.nl)
894
895 * Doc/ref7.tex (section{Function definitions}): add missing '}'.
896
897 * Doc/ref2.tex (subsection{String literals}): documented triple
898 quotes and double quotes.
899
900 * Lib/test/test_grammar.py: added tests for triple-quoted strings
901 and strings continued with backslash-newline
902
903 * Objects/fileobject.c (writestring): don't do anything when
904 writing to a Python object while an error is already set
905
906 * Parser/tokenizer.c: added support for triple-quoted strings and
907 strings continued with backslash
908
Guido van Rossumacfe4171994-05-03 14:53:09 +0000909 * Parser/tokenizer.h: moved here from Include
910
Guido van Rossuma83d9541994-04-28 12:29:44 +0000911 * Python/compile.c (parsenumber): support triple-quoted strings.
912 Raise SyntaxError, not SystemError for bad number syntax
913
Guido van Rossuma143e901994-04-22 16:01:43 +0000914Fri Apr 22 17:39:20 1994 Guido van Rossum (guido@voorn.cwi.nl)
915
916 * Objects/{tuple,list,string,mapping}object.c,
917 Modules/arraymodule.c, Python/compile.c: use new
918 joinstring(_decref) interface for more compact code
919
920 * Objects/stringobject.c (joinstring): if error, DECREF and zero
921 result; added joinstring_decref() which XDECREFs its second
922 argument
923
924Thu Apr 21 10:59:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
925
926 * Doc/libtypes.tex (subsubsection{More String Operations}):
927 documented new '%(key)s' % {...} formatting and more liberal %s
928 interpretation (applies str() first)
929
930 * Doc/libfuncs.tex (section{Built-in Functions}): documented new
931 vars() built-in function
932
933 * Objects/stringobject.c (formatstring): add Donald Beaudry's
934 patch (slightly changed) to allow '%(<key>)<format>' % {...} to
935 format dictionary entries by key. Also changed %s format to
936 accept any type and convert it to a string using str()
937
938 * Python/bltinmodule.c: add new built-in function vars() which
939 returns variables (of which dir() returns the sorted keys())
940
941Mon Apr 18 11:00:54 1994 Guido van Rossum (guido@voorn.cwi.nl)
942
943 * Doc/libppath.tex (section{Standard Module
944 \sectcode{posixpath}}): describe for expandvars()
945
946 * Lib/posixpath.py (expandvars): do it using regular expressions
947 instead of forking of a shell
948
949 * Lib/urllib.py (open_http, open_gopher): diagnose missing
950 hostname
951
952Sun Apr 17 21:52:52 1994 Guido van Rossum (guido@voorn.cwi.nl)
953
954 * Python/compile.c (com_atom), Grammar/Grammar (atom): string
955 literal concatenation -- "abc" 'def' is equivalent to 'abcdef'
956
Guido van Rossumed3112c1994-04-14 14:27:58 +0000957Thu Apr 14 12:36:25 1994 Guido van Rossum (guido@voorn.cwi.nl)
958
Guido van Rossuma143e901994-04-22 16:01:43 +0000959 * Lib/test/test_thread.py: new module to test threads (very basic)
960
961 * Python/thread.c: remove #define DEBUG 1
962
963 * Demo/scripts/freeze.py: changes by Jaap V and my own to make it
964 work again
965
966 * Makefile.in (libainstall): install frozenmain.c
967
968 * Python/frozenmain.c: added getprogramname()
969
Guido van Rossumed3112c1994-04-14 14:27:58 +0000970 * Doc/ref7.tex (section{Function definitions}): describe default
971 parameter values
972
973 * Lib/test/test_grammar.py: added grammar variants for default
974 argument expressions
975
976 * Python/compile.c: compile default argument values (com_argdefs
977 plus related stuff)
978
979 * Python/bltinmodule.c (builtin_apply): require that the argument
980 list is a tuple
981
982 * Misc/python-mode.el: change by Donald Beaudry to
983 py-compute-indentation; and fix to that by Sjoerd
984
985Wed Apr 13 10:08:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
986
987 * Python/ceval.c (eval_code): implement SET_FUNC_ARGS opcode
988
989 * Include/opcode.h: added SET_FUNC_ARGS opcode
990
991 * Objects/funcobject.c (newfuncobject, func_memberlist): added
992 func_argcount and func_argdefs fields and {get,set}funcargstuff()
993 functions.
994
995 * Include/funcobject.h: Added func_argcount and func_argdefs
996 fields and {get,set}funcargstuff() functions.
997
998 * Python/import.c (init_builtin): Give error message if module's
999 initialization function is NULL (e.g. for 'sys').
1000 (get_module): Give error message if reloading a dynamically
1001 loadable module.
1002 (reload_module): Give error message if reloading a built-in
1003 module; correctly (I hope) reload a frozen module.
1004
1005 * Doc/ref6.tex (break and continue): rephrase definition of
1006 restrictions on where these may occur; change rules for continue
1007 to match implementation.
1008
1009 * Doc/ref4.tex (section{Code blocks, execution frames, and name
1010 spaces}): fix definition of what's local to include deleted
1011 targets; added footnote describing exec and from - import *
1012 restriction.
1013
1014 * Lib/dis.py: added LOAD_GLOBALS and EXEC_STMT to list of opcodes.
1015
1016Tue Apr 12 10:27:19 1994 Guido van Rossum (guido@voorn.cwi.nl)
1017
1018 * Python/ceval.c (eval_code): fix core dump on "raise ()" -- found
1019 by Tim Peters
1020
1021Mon Apr 11 20:48:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
1022
1023 * Python/compile.c (optimize): added optimization for LOAD_NAME
1024 suggested by Steve Majewski
1025
1026 * Python/ceval.c (eval_code: case DELETE_FAST): fix cut-paste
1027 error (w should be x) found by Steve Majewski
1028
1029Tue Mar 22 15:37:06 1994 Guido van Rossum (guido@voorn.cwi.nl)
1030
1031 * Lib/profile.py: fix handle_return for exceptional case (fix
1032 suggested by Jim Roskind)
1033
1034 * Lib/tzparse.py (tzprog): Fix typo in test for regex.match
1035
1036 * Lib/urlopen.py: renamed to Lib/urllib.py
1037
1038Thu Mar 17 01:24:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
1039
1040 * Lib/urlopen.py: added quote() and unquote() functions
1041
1042Wed Mar 16 11:26:29 1994 Guido van Rossum (guido@voorn.cwi.nl)
1043
1044 * Objects/mappingobject.c: allow dictionaries with more than
1045 20,000 entries.
1046
1047Thu Mar 10 11:13:24 1994 Guido van Rossum (guido@voorn.cwi.nl)
1048
1049 * Lib/{pdb,profile,bdb,codehack,stdwin/wdb}.py:
1050 codehack.getcodename() is obsolete now we have co.co_name; same
1051 for getfuncname(): f.func_name. Module codehack is still needed
1052 for getlineno(), used in profile and pdb
1053
1054Tue Mar 8 10:37:21 1994 Guido van Rossum (guido@voorn.cwi.nl)
1055
1056 * Python/modsupport.c (do_arg): Format "O!" means typechecked
1057 object; pointer argument must be preceded by typeobject
1058
1059 * Modules/threadmodule.c: don't define exit_prog if NO_EXIT_PROG
1060 is defined
1061
1062 * Python/thread.c: don't define [_]exit_prog if NO_EXIT_PROG is
1063 defined; in the SGI version, don't use signals if exit_prog is
1064 node defined defined; in the SGI version, waitpid() for exited
1065 threads.
1066
1067 * Python/pythonrun.c: don't call [_]exit_prog if NO_EXIT_PROG is
1068 defined
1069
1070 * Include/thread.h: define NO_EXIT_PROG and then don't define
1071 [_]exit_prog
1072
1073 * Modules/dbmmodule.c: Add calls to dbm_clearerr() after error on
1074 assignment (fix by Jack)
1075
Guido van Rossum131e2ab1994-03-07 12:05:46 +00001076Mon Mar 7 12:41:32 1994 Guido van Rossum (guido@voorn.cwi.nl)
1077
Guido van Rossumed3112c1994-04-14 14:27:58 +00001078 * Lib/test/test_rgbimg.py: search test file along sys.path
1079
1080 * Lib/test/test_{b1,b2,grammar}.py: tests for indefinite sequences
1081
Guido van Rossum131e2ab1994-03-07 12:05:46 +00001082 * Python/{bltinmodule,ceval}.c: Changed implied and explicit loops
1083 over sequences to allow for "indefinite" sequences a la Steve
1084 Majewski. Instead of iterating over 0, 1, 2, ..., len(a)-1, we
1085 now iterate over 0, 1, 2, ..., until we get an IndexError
1086 exception (other exceptions are still errors). This affects the
1087 semantics of the following language constructs: "for x in a: ...",
1088 "x in a", "x not in a", and the following built-in functions:
1089 filter(), map(), max(), min(), reduce().
1090
1091 * Doc/ref6.tex (section{Assignment statements}): clarify slice
1092 assignment; (section{The {\tt break} statement}): fix typo
1093
1094 * Doc/ref5.tex (subsection{Identifiers (Names)}): clarify
1095 difference between local and global
1096
1097 * Doc/ref2.tex (subsection{String literals}): fix typo in def of
1098 escapeseq
1099
1100 * Lib/addpack.py: new module to add packages to sys.path
1101
1102 * Lib/urlopen.py: added basejoin() function
1103
1104Fri Mar 4 13:07:43 1994 Guido van Rossum (guido@voorn.cwi.nl)
1105
1106 * Lib/urlopen.py(open_ftp): avoid crash when no host given
1107
Guido van Rossumf18a4f41994-03-02 11:40:46 +00001108Wed Mar 2 10:33:39 1994 Guido van Rossum (guido@voorn.cwi.nl)
1109
Guido van Rossum5e334d91994-03-02 14:23:20 +00001110 * Python/ceval.c (eval_code): use sys.check_interval to reset the
1111 ticker
1112
Guido van Rossumf18a4f41994-03-02 11:40:46 +00001113 * Lib/repr.py: added special case for class instances (which may
1114 cause exceptions in their __repr__)
1115
1116 * Lib/pdb.{py,doc}: mod by Steve Kirsch to allow setting a break
1117 on a function name
1118
1119Tue Mar 1 10:32:54 1994 Guido van Rossum (guido@voorn.cwi.nl)
1120
1121 * Python/pythonrun.c (run_tty_1): Fix wrong (uninitialized) return
1122 value
1123
1124 * Doc/ref4.tex (table 4.1): differentiated between exec stmt and
1125 eval()
1126
1127Mon Feb 28 10:49:20 1994 Guido van Rossum (guido@voorn.cwi.nl)
1128
1129 * Modules/svmodule.c: correct wrong cast of svideo_getattr
1130
1131 * README: added Linux to list of supported systems.
1132
1133 * Doc/libsocket.tex: adapt to min value of 1 for listen() backlog
1134 argument.
1135
1136 * Modules/socketmodule.c (sock_listen): ensure backlog argument is
1137 at least 1.
1138
1139Fri Feb 25 14:25:30 1994 Guido van Rossum (guido@voorn.cwi.nl)
1140
1141 * Include/osdefs.h, Modules/config.c.in: Added NT case (same as
1142 MSDOS)
1143
1144Thu Feb 24 09:58:53 1994 Guido van Rossum (guido@voorn.cwi.nl)
1145
1146 * Modules/posixmodule.c: merged in NT changes by Jaap Vermeulen
1147
1148 * README: added Mac and PC platforms to blurb.
1149
1150 * Doc/libfuncs.tex (section{Built-in Functions}): documented
1151 xrange()
1152
1153 * Doc/ref7.tex (section{Function definitions} added index entry
1154 for second ref to lambda.
1155
1156 * Lib/{bdb.py,pdb.py,stdwin/wdb.py}: call linecache.checkcache()
1157 in bdb.Bdb's reset method; remove it from the test() functions.
1158
1159Wed Feb 23 10:15:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
1160
1161 * Modules/parsermodule.c (parser_parsefile): fix fatal typo in
1162 NULL comparison
1163
1164 * Misc/python.man: fixed mess describing -d and -i options
1165
1166Tue Feb 22 09:08:22 1994 Guido van Rossum (guido@voorn.cwi.nl)
1167
1168 * Demo2: added new subdirectory holmes, with Mark Lutz' expert
1169 system shell
1170
1171 * Demo: added new subdirectory lutz, with Mark Lutz' examples
1172 (e.g. psh.py, a nice enhanced Python shell!!!)
1173
1174 * Lib/os.py: added listdir for Windows NT
1175
1176 * Modules/timemodule.c, Parser/intrcheck.c: changes for Windows NT
1177 by Jaap Vermeulen (#ifdef _M_IX86)
1178
1179 * Makefile.in (inclinstall): added variable INCLUDEPY to specify
1180 where the include files are installed
1181
1182 * Modules/nismodule.c (nisproc_maplist_2): cast some args to
1183 (caddr_t) as required on some systems
1184
1185 * Objects/mappingobject.c (getmappingitems): correct typo (called
1186 _values instead of _items)
1187
1188Mon Feb 21 17:07:07 1994 Guido van Rossum (guido@voorn.cwi.nl)
1189
1190 * Lib/rfc822.py: added access as a dictionary
1191
1192 * Lib/urlopen.py: new module to access arbitrary files designated
1193 by a URL (Universal Resource Locator)
1194
1195 * Lib/{httplib,gopherlib}.py: new modules to interface to HTTP
1196 and gopher servers
1197
1198 * Lib/rfc822.py: moved _monthnames to where it is used; add some
1199 blank lines
1200
Guido van Rossum3da56c31994-02-18 10:19:41 +00001201Fri Feb 18 09:54:34 1994 Guido van Rossum (guido@voorn.cwi.nl)
1202
1203 * Lib/sgi/flp.py: avoid using time.milli{sleep,timer}
1204
1205 * Lib/stdwin/WindowSched.py: avoid using time.milli{sleep,timer}
1206 -- still maintain time in milliseconds though
1207
1208 * Lib/sched.py: remove references to milli{timer,sleep} from comments
1209
1210 * Lib/os.py: made execvp more portable; added os.pathsep and
1211 os.defpath
1212
1213Thu Feb 17 12:53:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
1214
1215 * Lib/ftplib.py(FTP.makeport): call listen(1) instead of listen(0)
1216 so it works on Solaris 2
1217
1218 * Modules/makesetup: reverse order of DEFS so first Setup file can
1219 override; any non-cpp uppercase option is sent to the linker
1220
1221Wed Feb 16 10:26:59 1994 Guido van Rossum (guido@voorn.cwi.nl)
1222
1223 * Objects/fileobject.c: add name, mode, softspace and closed
1224 attributes (softspace is also writable).
1225
1226 * configure.in: in --verbose mode, don't hide compiler output
1227
Guido van Rossum2a7cbe91994-01-26 17:55:41 +00001228========================================================================
Guido van Rossume1056b31994-02-15 15:54:42 +00001229Release of 1.0.1 (Feb 15 1994)
1230========================================================================
1231
1232Tue Feb 15 11:32:42 1994 Guido van Rossum (guido@voorn.cwi.nl)
1233
1234 * Lib/string.py (atof): force the result to be float
1235
1236 * Python/modsupport.c (do_arg): don't use a local object va --
1237 this doesn't work on some compilers (e.g. WATCOM)
1238
1239Mon Feb 14 10:52:01 1994 Guido van Rossum (guido@voorn.cwi.nl)
1240
1241 * Lib/dospath.py: proper version by Jaap Vermeulen
1242
1243 * Makefile.in (Makefiles): add semicolon after ) which some Make
1244 versions need
1245
1246 * Doc/libposix.tex: added doc for posix.fdopen
1247
1248 * README: add Sequent and NeXT to list of platforms; add
1249 troubleshooting section; add hist about -Dindex for readline
1250
1251 * Lib/os.py: generalize to many os specific modules using a
1252 dictionary
1253
1254 * Lib/ospath.py: now obsolete; use os.name to import the right one
1255
1256 * configure.in: change order of -lsocket and -lnsl and insert
1257 -linet in between, so it works on Sequent (it still works on
1258 Solaris 2 -- hope it still works elsewhere as well); add test for
1259 _NEXT_SOURCE (then define _POSIX_SOURCE); remove test for dlopen;
1260
1261 * configure.in, acconfig.h, */modsupport.[ch]: rename
1262 HAVE_VARARGS_PROTOTYPES to HAVE_STDARG_PROTOTYPES, to avoid
1263 confusion
1264
1265 * Include/modsupport.h: no prototypes for getargs() and mkvalue()
1266 in case no varargs prototypes
1267
1268 * Lib/test/test_grammar.py: don't import sleep from time, but time
1269 (since sleep has portability problems)
1270
1271Fri Feb 11 23:47:46 1994 Guido van Rossum (guido@voorn.cwi.nl)
1272
1273 * Parser/intrcheck.c: added QUICKWIN version (doesn't really
1274 work); fixed MSDOS version to also set a SIGINT handler.
1275
1276 * Modules/timemodule.c (time_sleep): declare sigsave 'auto' hoping
1277 this will avoid restoring its pre-setjmp value. On non-threaded
1278 systems declare it 'static' since at least Microsoft C still puts
1279 the auto variable in a register causing a bug... Also implement
1280 the MSDOS version of floatsleep() using a busy-wait loop calling
1281 intrcheck()
1282
1283Wed Feb 9 11:43:11 1994 Guido van Rossum (guido@voorn.cwi.nl)
1284
1285 * Lib/rfc822.py: added parsedate() and parseaddr() utility
1286 functions and getdate(), getaddr(), getaddrlist() methods; added
1287 test code when run as script
1288
1289 * Include/pythonrun.h, Python/pythonrun.c: cleanup() is now
1290 externally visible, for the benefits of embedded use.
1291
1292 * Lib/dospath.py: new module for dos stuff
1293
1294Mon Feb 7 09:50:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
1295
1296 * Modules/makesetup: add -n option between Setup files (suppresses
1297 making of .o files but keeps processing of libraries and module
1298 names)
1299
1300 * Makefile.in (libainstall): install Setup, makesetup, config.c.in
1301
1302 * Modules/Setup*: added -lX11_s to line for gl module
1303
1304 * Demo/scripts/unbirthday.py: new script, print unbirthday count
1305
1306 * Modules/audioopmodule.c: removed hack for signed on sun
1307 (there's now a test in the configure script); check that if
1308 'signed' is defined away characters aren't unsigned
1309
1310 * Modules/posixmodule.c: include mytime.h (for clock_t on NeXT)
1311
1312 * acconfig.h: add entry for 'signed' keyword
1313
1314 * configure.in: remove const from check for exec prototypes; add
1315 check for signed keyword and check for whether chars are unsigned
1316
1317Fri Feb 4 13:07:03 1994 Guido van Rossum (guido@voorn.cwi.nl)
1318
1319 * Modules/makesetup: added usage message, -c and -m options to
1320 specify config.c.in and Makefile.pre input files, -s option to
1321 specify source directory, added comments
1322
1323 * Modules/Setup.in: remove -lm from imgfile entry
1324
1325 * Modules/nismodule.c: only define YPPROC_MAPLIST, YPPROG and
1326 YPVERS if not already defined
1327
1328 * configure.in, acconfig.h, Include/modsupport.h,
1329 Python/modsupport.c: added separate check for varargs prototypes
1330 (HAVE_VARARGS_PROTOTYPES)
1331
1332Thu Feb 3 11:00:26 1994 Guido van Rossum (guido@voorn.cwi.nl)
1333
1334 * Python/bltinmodule.c (filterstring): fix core dump of func ==
1335 None
1336
1337 * Lib/string.py: replace atoi_error, atof_error, atol_error by
1338 ValueError when the strop versions are used
1339
1340 * Modules/stropmodule.c: added atol(), added optional base
1341 argument to atoi() and atol()
1342
1343 * Objects/longobject.c, Include/longobject.h: added long_escan
1344 (like long_scan but raises exception for bad base and stores end
1345 of string into return argument)
1346
1347 * Objects/rangeobject.c (range_repr): repr must use "xrange..."
1348
1349Wed Feb 2 12:28:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
1350
1351 * Modules/stropmodule.c: added atoi() and atof()
1352
1353 * Python/modsupport.c: use stdarg.h / varargs.h depending on
1354 presence of prototypes
1355
1356 * Modules/timemodule.c (floattime): try ftime() or time() if
1357 gettime() fails
1358
1359Tue Feb 1 14:41:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
1360
1361 * Doc/Makefile (python-lib.info): change makeinfo option style
1362 from +foo to --foo
1363
1364 * Doc/README: remove invalid reference to ../misc/FTP; update
1365 description of making the info version
1366
1367 * Doc/{fix.el,fix_hack,whichlibs}: minor updates/corrections
1368
1369Mon Jan 31 11:16:38 1994 Guido van Rossum (guido@voorn.cwi.nl)
1370
1371 * Python/import.c: only use shared libraries if HAVE_DLOPEN *and*
1372 HAVE_DLFCN_H are defined; define symbol USE_SHLIB then
1373
1374 * Doc/tut.tex: lots of small changes by Tim Peters: typos,
1375 out-of-date examples, restrictions lifted, new and better ways to
1376 do some things...
1377
1378Fri Jan 28 10:59:48 1994 Guido van Rossum (guido@voorn.cwi.nl)
1379
1380 * README: added Minix note
1381
1382 * Lib/sunau.py: correct byte count calculation from frame rate
1383
1384 * Lib/aifc.py: rate should be an integer
1385
1386Thu Jan 27 12:55:17 1994 Guido van Rossum (guido@voorn.cwi.nl)
1387
1388 * Doc/ext.tex: removed obsolete reminder in line 1; correct typo
1389
1390 * Misc/FAQ: fixed some out of date info, added question on module
1391 run as script
1392
1393 * Modules/rgbimgmodule.c (initrgbimg): exception string should
1394 contain dot not comma
1395
1396 * Modules/md5module.c: fix compiler warnings about (unsigned) char
1397
1398 * Makefile.in: libinstall and maninstall should use $(srcdir)
1399
1400 * Lib/tzparse.py: don't run test() on import
1401
1402 * Lib/filewin.py: moved into Lib/stdwin
1403
1404 * Modules/cdmodule.c: fix wrong cast of cdparser_getattr
1405
1406========================================================================
Guido van Rossum2a7cbe91994-01-26 17:55:41 +00001407Release of 1.0.0 (Jan 26 1994)
1408========================================================================
1409
Guido van Rossum76821a51994-01-26 17:31:17 +00001410Wed Jan 26 14:13:39 1994 Guido van Rossum (guido@voorn.cwi.nl)
1411
Guido van Rossum2a7cbe91994-01-26 17:55:41 +00001412 * Doc/tut.tex: updated version number in invocation example
1413
1414 * Doc/Makefile: update destination of texi2html
1415
Guido van Rossum76821a51994-01-26 17:31:17 +00001416 * Misc/FAQ: updated for release 1.0.0
1417
1418 * Misc/NEWS: created -- all bits of news
1419
1420 * Misc/HISTORY: added (from old releases)
1421
1422 * Misc/README: documented some new files
1423
1424 * README: non-beta version and preface, don't ref TODO
1425
1426 * Makefile.in: got rid of references to TODO
1427
1428 * Python/version.c, Doc/???.tex: updated version and date
1429
Guido van Rossum8f0d0c81994-01-25 20:08:34 +00001430Tue Jan 25 20:11:49 1994 Guido van Rossum (guido@voorn.cwi.nl)
1431
1432 * Doc/ext.tex: revamped, finally ready for release
1433
1434 * Doc/{Makefile,myformat.perl}: support latex2html (0.5.1)
1435
1436 * README: correct typo on DL_DIRECTORY
1437
Guido van Rossum23d19391994-01-24 15:42:32 +00001438========================================================================
1439Release of 1.0.0 BETA 6 (Jan 24 1994)
1440========================================================================
Guido van Rossum2a7cbe91994-01-26 17:55:41 +00001441
Guido van Rossum23d19391994-01-24 15:42:32 +00001442Mon Jan 24 16:37:46 1994 Guido van Rossum (guido@voorn.cwi.nl)
1443
1444 * Doc/ref?.tex: Change \verb\<stuff>\ into \verb@<stuff>@ so
1445 latex2html doesn't crash
1446
1447Thu Jan 20 18:05:18 1994 Guido van Rossum (guido@voorn.cwi.nl)
1448
1449 * Ext-dummy/, README, Makefile.in: Created new directory
1450 Ext-dummy/. Ext-dummy/ contains its own README and copies of
1451 Extensions/mk{ext,mf}.py.
1452
Guido van Rossumcb38cd01994-01-18 15:09:30 +00001453Tue Jan 18 11:04:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
1454
1455 * Python/getmtime.c: Include config.h if we have it
1456
1457 * Modules/Setup.in: fixed comments about GMP version
1458
1459 * Modules/nismodule.c: define YPPROC_MAPLIST, YPPROG, YPVERS as
1460 plain integer literals, to make it work on 64 bit machines
1461
1462 * Parser/grammar.c (translabel): remove redundant decl of strchr()
1463 (which caused trouble on AIX)
1464
1465Sun Jan 16 14:13:13 1994 Guido van Rossum (guido@voorn.cwi.nl)
1466
1467 * configure.in: test for fcntl.h
1468
1469 * Modules/posixmodule.c: include fcntl.h if it exists
1470
Guido van Rossumb46152a1994-01-14 16:59:57 +00001471Fri Jan 14 17:35:33 1994 Guido van Rossum (guido@voorn.cwi.nl)
1472
1473 * configure.in: check for sys/time.h; substitute and check for AR;
1474 check for nice()
1475
1476 * Makefile.in: make python .PRECIOUS; define OPT=-O and pass it to
1477 submakes
1478
1479 * */Makefile*in: set OPT=-O; set AR=@ar@
1480
1481 * Modules/Setup.minix: new
1482
1483 * Lib/audiodev.py: only import system specific modules if needed
1484
Guido van Rossum4c627be1994-01-13 15:47:04 +00001485Thu Jan 13 16:40:28 1994 Guido van Rossum (guido@voorn.cwi.nl)
1486
Guido van Rossum8f0d15c1994-01-13 16:16:30 +00001487 * Modules/flmodule.c: make type objects static
1488
1489 * Modules/almodule.c: make type objects static
1490
Guido van Rossum4c627be1994-01-13 15:47:04 +00001491 * Makefile.in: add rule to build Makefile; add VPATH for that;
1492 remove dependency on configure script (you can run 'make autoconf'
Guido van Rossumb46152a1994-01-14 16:59:57 +00001493 instead); add Lib/test to path for test target;
1494
1495 * Lib/test: new subdirectory, holds all test modules
Guido van Rossum4c627be1994-01-13 15:47:04 +00001496
Guido van Rossum33033151994-01-12 09:58:23 +00001497Wed Jan 12 10:17:41 1994 Guido van Rossum (guido@voorn.cwi.nl)
1498
Guido van Rossum4c627be1994-01-13 15:47:04 +00001499 * acconfig.h: added HAVE_ALTZONE
1500
1501 * configure.in: test for altzone; check for working
1502 termcap/termlib when --with-readline used; don't test for readline
1503 function; send errors to stderr
1504
1505 * Lib/test_grammar.py: fix 64-bit int test for max negative int
1506
Guido van Rossum33033151994-01-12 09:58:23 +00001507 * Python/import.c (get_module): call dlerror() when dlopen() fails
1508 (also some layout changes)
1509
Guido van Rossum2712c161994-01-11 12:00:38 +00001510Tue Jan 11 10:56:00 1994 Guido van Rossum (guido@voorn.cwi.nl)
1511
Guido van Rossum33033151994-01-12 09:58:23 +00001512 * Python/import.c: use RTLD_NOW (define as 2 if undefined)
1513
1514 * Makefile.in: "make (local)clean" shouldn't bother about Include;
1515 added .PRECIOUS: config.status
Guido van Rossum2712c161994-01-11 12:00:38 +00001516
1517 * Modules/md5.h: define PROTOTYES as 1 if HAVE_PROTOTYPES is
1518 defined
1519
1520 * Modules/md5module.c: grand cleanup
1521
1522 * Modules/Setup.sgi: renamed to Setup.irix4
1523
1524 * Modules/Setup.sunos5: renamed to Setup.solaris2
1525
1526 * Modules/Setup.in: some makes (e.g. Ultrix) don't strip trailing
1527 whitespace from variable definitions -- make sure there isn't any
1528 in the defs used to generate PYTHONPATH
1529
1530 * Many modules and objects: use 'staticforward' where needed
1531
1532 * Include/object.h: added #define 'staticforward' as either static
1533 or extern depending on BAD_STATIC_FORWARD
1534
1535 * acconfig.h: added BAD_STATIC_FORWARD
1536
1537 * configure.in: added test for bad static forward
1538
1539Mon Jan 10 10:35:21 1994 Guido van Rossum (guido@voorn.cwi.nl)
1540
1541 * Modules/md5module.c: SCO ODT 3.0 dependent fix
1542
1543 * Objects/xxobject.c: quote size fields as tp_basicsize instead of
1544 (incorrectly) tp_size
1545
1546 * Objects/listobject.c (cmp): arguments must be const!!!
1547
1548 * Modules/imageopmodule.c: another attempt at casting away
1549 warnings about changed semantics in ANSI C
1550
1551 * Modules/regexpr.c: cast away warning about changed semantics in
1552 ANSI C
1553
1554 * Modules/Makefile.pre.in: add LIBC_S (shared version of -lc, to
1555 be figured out by configure)
1556
1557 * README, Python/version.c: version 1.0.0 BETA 6
1558
1559 * README: fixed description of Setup (which was buried under the
1560 SVR4 exception!); added description of --prefix, --exec-prefix,
1561 --with-libm and --with-libc
1562
1563 * configure.in: added --with-libc=... and --with-libm=...
1564
1565 * Modules/Makefile.pre.in: Remove dependency of Setup on Setup.in,
1566 so it is only copied when Setup does not exist at all; add
1567 prefix=/usr/local so Setup can base default path on --prefix
1568 option to toplevel configure script
1569
1570 * Modules/Setup.in: clarified build procedure in comments; don't
1571 include GNN's timing module by default; use $(prefix) instead
1572 requiring manual edit of DESTDIR
1573
1574 * Makefile.in: replace DESTDIR by prefix and exec_prefix and
1575 updated affected targets; added inclinstall and libainstall
1576 targets
1577
1578 * Objects/accessobject.c: removed (???) from comment to avoid
1579 trigraph warning
1580
1581 * Makefile.in (libinstall): correct typo: (D)DESTDIR
1582
1583Fri Jan 7 10:34:43 1994 Guido van Rossum (guido@voorn.cwi.nl)
1584
1585 * README: describe --with-sgi-dl and --with-dl-dld
1586
1587 * Python/Makefile.in: compile import.c with -I$(DLINCLDIR)
1588
1589 * Python/import.c: check for WITH_SGI_DL and WITH_DL_DLD
1590
1591 * acconfig.h: added WITH_SGI_DL and WITH_DL_DLD
1592
1593 * configure.in: added --with-sgi-dl=DIR and
1594 --with-dl-dld=DIR,DIR; now require --with-readline=DIR and test
1595 for existing directory
1596
1597 * Lib/test_audioop.py: new module to test (you guessed it) audioop
1598
1599 * Modules/audioopmodule.c: got rid of adpcm32lin and lin2adpcm3 --
1600 Jack says they're not useful
1601
1602========================================================================
1603Release of 1.0.0 BETA 5 (Jan 6 1994)
1604========================================================================
1605
Guido van Rossume0d95c31994-01-06 14:47:25 +00001606Thu Jan 6 13:36:32 1994 Guido van Rossum (guido@voorn.cwi.nl)
1607
Guido van Rossum658c9981994-01-06 17:20:58 +00001608 * readline/Makefile: remove some cruft so it works with VPATH
1609
1610 * Lib/aifc.py: remove dependencies on AL (Sjoerd)
1611
Guido van Rossume0d95c31994-01-06 14:47:25 +00001612 * README: describe new Setup procedure
1613
1614 * Modules/Makefile.pre.in: copy Setup from $9srcdir)/Setup.in so
1615 it *really* works with VPATH
1616
1617 * Modules/Setup: renamed to Modules/Setup.in
1618
1619 * Python/pythonmain.c (realmain): fclose script file
1620
1621 * Python/import.c (get_module): fix important leak: close the .py
1622 file after parsing!
1623
1624 * README, Python/version.c: version 1.0.0 BETA 5
1625
Guido van Rossum516d4d91994-01-05 17:53:05 +00001626Wed Jan 5 16:42:35 1994 Guido van Rossum (guido@voorn.cwi.nl)
1627
1628 * Modules/rgbimgmodule.c: Only include <unistd.h> if it exists
1629
1630 * Modules/timemodule.c: don't include sys/time.h on the Mac
1631
1632 * Modules/stdwinmodule.c (initstdwin): don't fuss with sys.argv on
1633 the mac -- so {check,putback}stringlist aren't needed there
1634
1635 * Parser/intrcheck.c: Make sure <MacHeaders> is included before
1636 any other include file
1637
1638 * Modules/audioopmodule.c: include math.h after allobjects.h (so
1639 the latter can be a precompiled header file on the Mac)
1640
1641Wed Jan 5 15:34:26 1994 Guido van Rossum (guido@poseidon.cwi.nl)
1642
1643 * Python/pythonrun.c (sighandler): only call kill(getpid()) if
1644 getpid() exists; otherwise call exit(1)
1645
1646 * configure.in: added test for getpid()
1647
1648 * Modules/config.c.in: Changes for Macintosh: new default path,
1649 call wargc() in main(); 1994 copyright
1650
1651 * Python/frozenmain.c: added declarations for getversion() and
1652 getcopyright() (foei!); insert "Python " before version on banner
1653
1654 * Python/pythonmain.c: added declarations for getversion() and
1655 getcopyright() (foei!); default startupfile to "PythonStartup" on
1656 Macintosh; add fclose(fp) for startupfile; insert "Python " before
1657 version on banner
1658
Guido van Rossum2f3e8d51994-01-05 00:15:29 +00001659========================================================================
Guido van Rossum718581a1994-01-05 01:17:12 +00001660Release of 1.0.0 BETA 4 (Jan 5 1994)
1661========================================================================
1662
1663Wed Jan 5 01:21:59 1994 Guido van Rossum (guido@voorn.cwi.nl)
1664
1665 * README, version.c: bumped version to 1.0.0 BETA 4
1666
1667 * README: removed all references to --with-solaris; updated list
1668 of files and directories
1669
1670 * Modules/sunaudiodevmodule.c: define SOLARIS if
1671 HAVE_SYS_AUDIOIO_H is defined
1672
1673 * Python/thread.c: define SOLARIS if HAVE_THREAD_H is defined
1674
1675 * configure.in: added test for <thread.h> (SOLARIS thread
1676 interface); remvoe test for --with-solaris
1677
1678========================================================================
Guido van Rossum2f3e8d51994-01-05 00:15:29 +00001679Release of 1.0.0 BETA 3 (Jan 5 1994)
1680========================================================================
1681
Guido van Rossumf1009e81994-01-04 23:29:10 +00001682Wed Jan 5 00:18:45 1994 Guido van Rossum (guido@voorn.cwi.nl)
1683
Guido van Rossum04e74c41994-01-05 00:00:14 +00001684 * {Parser,Objects,Python,Makefile}/Makefile*in: made depend target
1685 work with VPATH
1686
Guido van Rossumf1009e81994-01-04 23:29:10 +00001687 * README: describe new build procedure; added section on building
1688 for multiple architectures
1689
1690 * acconfig.h: fix (reversed!) comment for SYS_SELECT_WITH_SYS_TIME
1691
1692 * Modules/Makefile.pre.in: copy Setup from $(srcdir) if not
1693 present, and use local Setup as input for makesetup script
1694
Guido van Rossum79556aa1994-01-04 22:02:27 +00001695Tue Jan 4 12:32:16 1994 Guido van Rossum (guido@voorn.cwi.nl)
1696
1697 * Note that there are no functional changes below -- just changes
1698 to the build process and changes to avoid compiler warnings
1699
1700 * Modules/Setup: disable nis as well by default, change the
1701 pertaining comments, and change the comments about the multimedia
1702 modules to be default on
1703
1704 * fixed all warnings about function pointer initializations, and
1705 miscellanous other warnings (e.g. about extern forward references
1706 to static variables); touched random bits of code as a consequence
1707
1708 * changed configuration process and Makefiles to support VPATH;
1709 for this, config.h(.in) now lives to the toplevel directory, the
1710 toplevel Makefile is now created by configure as well, and various
1711 improvements to it have been made (e.g. working tags and TAGS
1712 targets), the makesetup script follows configure instead of
1713 preceding it, it understands srcdir and has an exception for
1714 glmodule.c, the intermediate file is called Makefile.pre, the
1715 Makefiles don't use TOP any more and are much more careful about
1716 the difference between .. and the toplevel directory, and I've
1717 improved my understanding of how configure handles srcdir
1718
1719 * Modules/threadmodule.c: refuse to compile when WITH_THREAD is not
1720 defined
1721
1722 * configure.in, acconfig.h, config.h.in, Include/ceval.h,
1723 Modules/{stdwin,thread}module.c, Python/{ceval,pythonrun}.c:
1724 renamed USE_THREAD to WITH_THREAD
1725
1726 * configure.in: add AC_PROG_INSTALL
1727
1728 * README, Python/version.c: version set to 1.0.0 BETA 3
1729
1730 * Demo, Include, Lib: added Makefile with clean/clobber targets
1731
1732 * README: added remarks on --with-svr4; unnumber special cases
1733
1734 * configure.in: only look for -lnsl and -lsocket if --with-svr4 is
1735 specified, to avoid linking with them on IRIX 5
1736
1737========================================================================
1738Release of 1.0.0 BETA 2 (Jan 3 1994)
1739========================================================================
1740
1741Mon Jan 3 22:21:24 1994 Guido van Rossum (guido@voorn.cwi.nl)
1742
1743 * Include/myselect.h: fix typo in name of SYS_SELECT_WITH_SYS_TIME
1744
1745 * Parser/pgen.h: moved here from Include; removed extern
1746 definition of 'gram'
1747
1748 * Parser/acceler.c: include node.h, now needed by parser.h
1749
1750 * README: added paragraph on testing
1751
1752 * Misc/python.man: changed date and add 1994 copyright
1753
1754 * Makefile: added test target
1755
1756 * Python/thread.c: include config.h if needed
1757
1758 * Parser/parser.h: remove references to struct _grammar and
1759 similar things
Guido van Rossum5536a3c1994-01-02 23:28:55 +00001760
Guido van Rossume182fe51994-01-03 15:21:29 +00001761 * Modules/rotormodule.c (RTR_e_char, RTR_d_char): avoid warnings
1762 by picky compilers about unsigned % signed
1763
1764 * README: added a section on building it for non-UNIX systems
1765
1766 * Makefile (configure): call autoheader when calling autoconf
1767
1768 * Include/config.h.in: now generated by autoheader
1769
1770 * acconfig.h: new file (input for autoheader)
1771
Guido van Rossum976877e1994-01-03 14:24:47 +00001772 * configure.in: added AC_REVISION call to top
1773
1774 * Modules/flmodule.c (form_setattr): one NULL should be 0
1775
1776 * Include/myselect.h: this now implies mytime.h and attempts to
1777 work around systems where sys/select.h and sys/time.h can't be
1778 included together
1779
1780 * Modules/socketmodule.c, Doc/libsocket.tex: remove socket avail()
1781 method -- you can use select instead
1782
1783 * Modules/Setup: disable dbm, it is not truly portable
1784
1785 * Lib/sunau.py: incorporate one-line fix by Sjoerd
1786
1787 * Include/pgenheaders.h: include <stdlib.h> if its symbol
1788 defined, not just on the mac
1789
1790 * Include/grammar.h: remove redundant structure tags
1791
1792 * Include/cgensupport.h: avoid possible macro argument
1793 substitution inside string literal
1794
1795 * configure.in, Include/config.h.in: add test whether sys/select.h
1796 and sys/times.h can be included by the same program
1797
Guido van Rossum313e5cb1994-01-03 03:51:06 +00001798 * Include/config.h.in: add lines for HAVE_SYS_UN_H and
1799 HAVE_GETPEERNAME
1800
1801 * Extensions/mkext.py: copy change in library order from
1802 Modules/Makefile.in.in
1803
1804 * Modules/Makefile.in.in: change library order subtly so -ltermcap
1805 follows instead of precedes -lgl_s on SGI systems; this solves
1806 (hides?) problems with clashing entry points
1807
1808 * configure.in: added sys/un.h to list of tested header files;
1809 added getpeername to list of tested functions (both for
1810 Modules/socketmodule.c)
1811
1812 * Modules/socketmodule.c: conditionally include sys/un.h and
1813 change tests for AF_UNIX to tests for HAVE_SYS_UN_H; test for
1814 HAVE_GETPEERNAME instead of NO_PEERNAME
1815
1816 * Modules/config.c.in: add marshal and __main__ built-in modules
1817
1818 * Python/sysmodule.c (list_builtin_module_names): sort the list
1819
Guido van Rossumbbf27191994-01-03 02:11:27 +00001820 * Doc/Makefile: remove 'qua' from default targets
1821
1822 * Doc/README: add reference to ext.tex, change reference to
1823 lib*.tex, explain that qua isn't built by default
1824
1825 * README: explain DESTDIR, clarify install procedure, add more
1826 explanation to some options, add description of ChangeLog, add
1827 wuarchive.wustl.edu to list of mirror sites
1828
1829 * Modules/socketmodule.c: make AF_UNIX code dependent on existence
1830 of AF_UNIX (SCO ODT 3.0 doesn't support it -- let's hope it
1831 doesn't define the symbol either)
1832
1833 * Makefile: attempt to fix install targets (added separate
1834 libinstall and maninstall)
1835
1836 * Doc/libregex.tex: documented Tracy Tims' changes
1837
Guido van Rossum5536a3c1994-01-02 23:28:55 +00001838 * Modules/regexpr.c: redid Tracy Tims' changes to minimize diffs
1839 (only two added lines now)
1840
1841 * Modules/regexmodule.c: fix core dump when asking a plain regex
1842 object for a named group
1843
1844Sun Jan 2 23:10:44 1994 Guido van Rossum (guido@voorn.cwi.nl)
1845
1846 * README, Python/version.c: changed version string to 1.0.0 BETA 2
1847
1848 * Modules/{regexpr.{c,h},regexmodule.c}: merged in Tracy Tims'
1849 mods for named subexpressions
1850
1851 * Include/regexpr.h: moved to Modules/regexpr.h
1852
1853 * Modules/timingmodule.c: change tests for no arguments
1854
1855 * configure.in: remove strtoul from AC_REPLACE_FUNCS; remove
1856 initial blank line (which got copied into configure so it wouldn't
1857 start with #!/bin/sh as required)
1858
1859 * Python/compile.c: call mystrto(u)l instrad of strto(u)l
1860
1861 * Python/Makefile.in: add mystrtoul.c to OBJS
1862
1863 * Python/mystrtoul.c: renamed from strtol.c; renamed functions to
1864 mystrto(u)l; this is now a standard source file (since some
1865 systems have a strto(u)l that doesn't report errors properly)
1866
1867 * Modules/Setup: added entry for timing module
1868
1869 * Modules/{timing.h,timingmodule.c}: new files implementing GNN's
1870 timing module
1871
1872========================================================================
1873Release of 1.0.0 BETA (Jan 1 1994)
1874========================================================================