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