[Python-Dev] Playing with descr-branch

Thomas Heller thomas.heller@ion-tof.com
Thu, 5 Jul 2001 15:36:55 +0200


Guido,

some feedback from first experiments with descr-branch:

The test-suite seems to work, as does the test_descr.py script
run standalone.

Immediate crash (access vialoation) on executing:

C:\sf\desc-branch\python\dist\src\PCbuild>python
Python 2.2a0 (#16, Jul  5 2001, 12:26:08) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
>>> class C:
...   def foo(*a): return a
...   goo = classmethod(foo)
...
>>> C.goo

The crash can be avoided by executing C = c()
before calling C.goo.

Just an observation...
Currently this code does not seem stable enough to
play with.

Thomas