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