Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
8a30adc3
Commit
8a30adc3
authored
Jan 09, 1995
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
the usual
parent
6135a87f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
101 additions
and
7 deletions
+101
-7
BUGS
BUGS
+6
-5
ChangeLog
ChangeLog
+95
-0
TODO
TODO
+0
-2
No files found.
BUGS
View file @
8a30adc3
...
@@ -28,13 +28,11 @@ DECREF can cause recursive calls to methods of the object being
...
@@ -28,13 +28,11 @@ DECREF can cause recursive calls to methods of the object being
modified. Other files too. [Only partially fixed -- listobject.c is
modified. Other files too. [Only partially fixed -- listobject.c is
still suspect.]
still suspect.]
(-) struct module aligns doubles wrongly when compiled with -DDEBUG on
sparc
(-) if __getattr__ prints something, calling repr(x) from cmd line
(-) if __getattr__ prints something, calling repr(x) from cmd line
forgets a newline
forgets a newline
(-) doneimport() should be called *before* the Py_AtExit code is called
(-) doneimport() should be called *before* the Py_AtExit code is
called [problem: what if other threads are still active?]
Environmental bugs
Environmental bugs
------------------
------------------
...
@@ -55,12 +53,15 @@ Environmental bugs
...
@@ -55,12 +53,15 @@ Environmental bugs
doesn't create it
doesn't create it
(-) HP doesn't compile out of the box (needs LIBS=-ldld or
(-) HP doesn't compile out of the box (needs LIBS=-ldld or
LIBS=/usr/lib/libdld.sl)
LIBS=/usr/lib/libdld.sl)
[hard to test without a HP machine handy]
======================================================================
======================================================================
BUGS present in 1.1.1 and fixed in 1.2
BUGS present in 1.1.1 and fixed in 1.2
--------------------------------------
--------------------------------------
(*) struct module aligns doubles wrongly when compiled with -DDEBUG on
sparc
(*) memory leak (namebuf) in initmodule2
(*) memory leak (namebuf) in initmodule2
(*) hash() of float values returns bogus values
(*) hash() of float values returns bogus values
...
...
ChangeLog
View file @
8a30adc3
Mon Jan 9 14:20:16 1995 Guido van Rossum <guido@voorn.cwi.nl>
* Python/thread_pthread.h: Alpha OSF/1 fix
* Python/importdl.c (load_dynamic_module): removed bogus check for
reloading of dynamically loaded modules (tested uninitialized
local variable)
* Include/{frameobject.h,ceval.h,bltinmodule.h,rename1},
Python/{ceval.c,import.c,pythonrun.c,bltinmodule.c},
Object/frameobject.c: changed handling of builtins. Each frame
now has a pointer to the dictionary of builtins to be used in that
frame, initialized from __builtins__ in the globals passed to the
frame. Only run_node() and exec_code_module() initialize
__builtins__ to the dictionary of the real __builtin__ module.
Furthermore, a frame is in "restricted" mode if its builtins are
not the real __builtin__ module. In restricted mode, some other
modules and object types restrict their interfaces. Subtle
change: eval_code() no longer automatically fills in the default
globals; this must be done by the caller (who can then also
explicitly stick in the builtins if needed). bltinmodule.c no
longer exports {get,set}builtin() but instead exports
getbuiltindict(). ceval.c export getbuiltins() and
getrestricted() in analogy of getglobals().
* Include/sysmodule.h, Python/{sysmodule.c,ceval.c},
Doc/libsys.tex: change sys.check_interval Python variable into
Python function sys.setcheckinterval(interval) and C variable
sys_checkinterval
* Mac/macosmodule.c: use new getargs interface; add
{Get,Set}FileInfo
Sat Jan 7 09:40:24 1995 Guido van Rossum <guido@voorn.cwi.nl>
* Python/compile.c: support import A.B...Z; added doc strings to
modules, classes and function
* Python/ceval.c: use new instancebinop interface
* Python/bltinmodule.c: restructured coerce(), divmod(), pow() to
use new instancebinop interface
* Objects/classobject.c: added 5th (function) parameter to
instancebinop, to support things like Rational * float; added
documentation strings to classes and methods
* Objects/methodobject.c: changed drastically, the object now
contains a pointer to the struct methodlist (which must be
static); added attributes __name__, __doc__ and __self__
* Objects/funcobject.c: added __doc__ attribute (alias func_doc),
initialized from first constand in code object if it is a string,
else to None
* Objects/moduleobject.c: initialize __doc__ to None
* Objects/typeobject.c: added getattr(), supporting __doc__ and
__name__
* Objects/object.c: raise AttributeError, not TypeError for object
without attributes
* Python/modsupport.c, Include/modsupport.h: add doc string
parameter to initmodule3 (renamed from initmodule2); new
newmethodobject() interface
* Modules/signalmodule.c (initsignal): don't call
newmethodobject() directly -- rely on initmodule()
* Modules/newmodule.c: rationalize argument checking, redo
lay-out, add __doc__ strings
* Include/object.h: added tp_str (to implement str()), tp_doc, and
some dummy fields
* Include/methodobject.h: added ml_doc member to struct methodlist
and renamed ml_varargs to ml_flags; changed newmethodobject() to
take a struct methodlist * argument instead of individual parts;
got rid of ML_FREENAME again
* Include/funcobject.h: added func_doc struct member
* Include/classobject.h: added 5th (function) parameter to
instancebinop, to support things like Rational * float
* Grammar/Grammar: changed import to support NAME.NAME...NAME
* Python/importdl.c (load_dynamic_module): NT dlls have extension
.pyd, not .dll
Thu Jan 5 11:00:13 1995 Guido van Rossum <guido@voorn.cwi.nl>
* Demo/scripts/mboxconvert.py: invent Message-ID if none present
Wed Jan 4 18:23:09 1995 Guido van Rossum <guido@voorn.cwi.nl>
Wed Jan 4 18:23:09 1995 Guido van Rossum <guido@voorn.cwi.nl>
* Python/modsupport.c (initmodule2), Include/methodobject.h,
* Python/modsupport.c (initmodule2), Include/methodobject.h,
...
...
TODO
View file @
8a30adc3
...
@@ -20,8 +20,6 @@
...
@@ -20,8 +20,6 @@
(-) modules should be able to define a module destructor hook
(-) modules should be able to define a module destructor hook
(-) goaway() / cleanup() should call AtExit funcs *after* doneimport()
(-) destroy modules in reverse order of importation
(-) destroy modules in reverse order of importation
(-) make array a standard built-in object
(-) make array a standard built-in object
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment