[Bf-python] Python 2.2 Type API changes, Object.c diff version 3 (final?)

Joseph Gilbert models at paposo.com
Tue Jul 20 13:48:51 CEST 2004


I can see these diffs - I keep getting page cannot be displayed errors.

-----Original Message-----
From: bf-python-admin at blender.org [mailto:bf-python-admin at blender.org]On
Behalf Of Yann Vernier
Sent: Monday, July 19, 2004 10:04 AM
To: Blender Foundation Python list
Subject: Re: [Bf-python] Python 2.2 Type API changes, Object.c diff
version 3 (final?)


http://donkey.dyndns.org/~yann/blender/Object.c.diff3

I believe this version works correctly. Apparently it's object.Layer,
not object.layer, and I had miscopied that in the previous diffs. This
one also removes setattr completely, incidentally fixing a few return
codes (setting unknown attributes is not really a successful operation).

And, with this version, I'm also down to fewer code lines than the
previous code, not counting the macro expansions. Those don't actually
increase executable size (unless you're aligning functions on very
sparse boundaries) but do take a few extra lines with the local
variables.

-- 
PGP fingerprint = 9242 DC15 2502 FEAB E15F  84C6 D538 EC09 5380 5746




More information about the Bf-python mailing list