|
| 1 | +Mon Jan 9 14:20:16 1995 Guido van Rossum < [email protected]> |
| 2 | + |
| 3 | + * Python/thread_pthread.h: Alpha OSF/1 fix |
| 4 | + |
| 5 | + * Python/importdl.c (load_dynamic_module): removed bogus check for |
| 6 | + reloading of dynamically loaded modules (tested uninitialized |
| 7 | + local variable) |
| 8 | + |
| 9 | + * Include/{frameobject.h,ceval.h,bltinmodule.h,rename1}, |
| 10 | + Python/{ceval.c,import.c,pythonrun.c,bltinmodule.c}, |
| 11 | + Object/frameobject.c: changed handling of builtins. Each frame |
| 12 | + now has a pointer to the dictionary of builtins to be used in that |
| 13 | + frame, initialized from __builtins__ in the globals passed to the |
| 14 | + frame. Only run_node() and exec_code_module() initialize |
| 15 | + __builtins__ to the dictionary of the real __builtin__ module. |
| 16 | + Furthermore, a frame is in "restricted" mode if its builtins are |
| 17 | + not the real __builtin__ module. In restricted mode, some other |
| 18 | + modules and object types restrict their interfaces. Subtle |
| 19 | + change: eval_code() no longer automatically fills in the default |
| 20 | + globals; this must be done by the caller (who can then also |
| 21 | + explicitly stick in the builtins if needed). bltinmodule.c no |
| 22 | + longer exports {get,set}builtin() but instead exports |
| 23 | + getbuiltindict(). ceval.c export getbuiltins() and |
| 24 | + getrestricted() in analogy of getglobals(). |
| 25 | + |
| 26 | + * Include/sysmodule.h, Python/{sysmodule.c,ceval.c}, |
| 27 | + Doc/libsys.tex: change sys.check_interval Python variable into |
| 28 | + Python function sys.setcheckinterval(interval) and C variable |
| 29 | + sys_checkinterval |
| 30 | + |
| 31 | + * Mac/macosmodule.c: use new getargs interface; add |
| 32 | + {Get,Set}FileInfo |
| 33 | + |
| 34 | +Sat Jan 7 09:40:24 1995 Guido van Rossum < [email protected]> |
| 35 | + |
| 36 | + * Python/compile.c: support import A.B...Z; added doc strings to |
| 37 | + modules, classes and function |
| 38 | + |
| 39 | + * Python/ceval.c: use new instancebinop interface |
| 40 | + |
| 41 | + * Python/bltinmodule.c: restructured coerce(), divmod(), pow() to |
| 42 | + use new instancebinop interface |
| 43 | + |
| 44 | + * Objects/classobject.c: added 5th (function) parameter to |
| 45 | + instancebinop, to support things like Rational * float; added |
| 46 | + documentation strings to classes and methods |
| 47 | + |
| 48 | + * Objects/methodobject.c: changed drastically, the object now |
| 49 | + contains a pointer to the struct methodlist (which must be |
| 50 | + static); added attributes __name__, __doc__ and __self__ |
| 51 | + |
| 52 | + * Objects/funcobject.c: added __doc__ attribute (alias func_doc), |
| 53 | + initialized from first constand in code object if it is a string, |
| 54 | + else to None |
| 55 | + |
| 56 | + * Objects/moduleobject.c: initialize __doc__ to None |
| 57 | + |
| 58 | + * Objects/typeobject.c: added getattr(), supporting __doc__ and |
| 59 | + __name__ |
| 60 | + |
| 61 | + * Objects/object.c: raise AttributeError, not TypeError for object |
| 62 | + without attributes |
| 63 | + |
| 64 | + * Python/modsupport.c, Include/modsupport.h: add doc string |
| 65 | + parameter to initmodule3 (renamed from initmodule2); new |
| 66 | + newmethodobject() interface |
| 67 | + |
| 68 | + * Modules/signalmodule.c (initsignal): don't call |
| 69 | + newmethodobject() directly -- rely on initmodule() |
| 70 | + |
| 71 | + * Modules/newmodule.c: rationalize argument checking, redo |
| 72 | + lay-out, add __doc__ strings |
| 73 | + |
| 74 | + * Include/object.h: added tp_str (to implement str()), tp_doc, and |
| 75 | + some dummy fields |
| 76 | + |
| 77 | + * Include/methodobject.h: added ml_doc member to struct methodlist |
| 78 | + and renamed ml_varargs to ml_flags; changed newmethodobject() to |
| 79 | + take a struct methodlist * argument instead of individual parts; |
| 80 | + got rid of ML_FREENAME again |
| 81 | + |
| 82 | + * Include/funcobject.h: added func_doc struct member |
| 83 | + |
| 84 | + * Include/classobject.h: added 5th (function) parameter to |
| 85 | + instancebinop, to support things like Rational * float |
| 86 | + |
| 87 | + * Grammar/Grammar: changed import to support NAME.NAME...NAME |
| 88 | + |
| 89 | + * Python/importdl.c (load_dynamic_module): NT dlls have extension |
| 90 | + .pyd, not .dll |
| 91 | + |
| 92 | +Thu Jan 5 11:00:13 1995 Guido van Rossum < [email protected]> |
| 93 | + |
| 94 | + * Demo/scripts/mboxconvert.py: invent Message-ID if none present |
| 95 | + |
1 | 96 | Wed Jan 4 18:23:09 1995 Guido van Rossum < [email protected]> |
2 | 97 |
|
3 | 98 | * Python/modsupport.c (initmodule2), Include/methodobject.h, |
|
0 commit comments