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