[Python-checkins] CVS: python/dist/src PLAN.txt,1.1.2.19,1.1.2.20
Tim Peters
tim_one@users.sourceforge.net
Sat, 07 Jul 2001 21:30:31 -0700
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv20230/descr/dist/src
Modified Files:
Tag: descr-branch
PLAN.txt
Log Message:
test_generators.py
Passes again.
ceval.c
Redid genobject type object to use PyObject_GenericGetAttr; got
rid of genobject's custom getattr routine.
typeobject.c
Improved the docstring wrapperbase tab_next uses for .next().
PLAN.txt
Added note about major (IMO) lost dir() functionality (one of the
reasons test_generators.py failed is that dir(object) usually
returns an empty list now).
Index: PLAN.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Attic/PLAN.txt,v
retrieving revision 1.1.2.19
retrieving revision 1.1.2.20
diff -C2 -r1.1.2.19 -r1.1.2.20
*** PLAN.txt 2001/07/08 02:07:09 1.1.2.19
--- PLAN.txt 2001/07/08 04:30:29 1.1.2.20
***************
*** 159,163 ****
These are currently not present (conformant to PEP 252, which proposes
to drop them) but we may have to add them back. This can be done in a
! generic way with not too much effort.
Another area: going all the way with classes and instances means that
--- 159,166 ----
These are currently not present (conformant to PEP 252, which proposes
to drop them) but we may have to add them back. This can be done in a
! generic way with not too much effort. Tim adds: Perhaps that dir(object)
! rarely returns anything but [] now is a consequence of this. I'm very
! used to doing, e.g., dir([]) or dir("") in an interactive shell to jog my
! memory; also one of the reasons test_generators failed.
Another area: going all the way with classes and instances means that
***************
*** 285,298 ****
Testing Python subclass of dict...
I expect this is a merge glitch that slipped past me.
!
! test_generators.py
! All of the computational tests pass.
! It's failing because attempting to assign to the .gi_running attr
! of a generator-iterator object was expected to raise
! TypeError: object has read-only attributes
! but is now raising
! AttributeError: 'generator' object has no attribute 'gi_running'
! How generator-iterators define attributes should be reworked.
!
+ If some non-Windows test has an expected-output file in descr-branch
that has been removed on the trunk since descr-fork, it will probably
--- 288,292 ----
Testing Python subclass of dict...
I expect this is a merge glitch that slipped past me.
!
+ If some non-Windows test has an expected-output file in descr-branch
that has been removed on the trunk since descr-fork, it will probably