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