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