[Bf-committers] Python RNA Type Registration

Pacific Morrowind pacificmorrowind at gmail.com
Fri Mar 5 18:54:28 CET 2010

Well since you're asking for more comments on this from casual coders. 
I'll just stick in my 2 cents.
I guess I would say I'm a bit more than casual coder... code 99% Python 
but working as secondary dev on both the NifTools nif import/export 
scripts for Blender and PyFFI, and as primary dev for Wrye Bash (a game 
specific modding/mod user tool).
I think that having to manually register each individual class is sucky 
and highly error prone with each update; yes you can get around that but 
I think something semiautomatic is better.
However I'm happy with any solution; don't have a whole lot of concern 
that you 3 will be able to come up with something that you can all agree 
on and is highly workable.
Pacific Morrowind

On 04/03/2010 4:13 PM, Martin Poirier wrote:
> Hello again,
> --- On Wed, 3/3/10, Campbell Barton<ideasman42 at gmail.com>  wrote:
>> Discussed with Brecht yesterday.
>> - We agree class enumeration is ugly and should be
>> replaced.
>> - We agree it would be acceptable to collect classes
>> automatically and
>> register all with 1 or 2 lines at the bottom of the
>> script.
>> - At some point it doesn't make sense to discuss if
>> something is
>> complicated or not, harder to debug etc. I just need to
>> test it, try
>> make changes, see what happens when things go wrong etc.
> I think it's also important to consider that this isn't just something that is used by people doing a lot of python dev but also by casual coders. Dalai raised a good point, but I wished we had more input from others.
>> Nevertheless this MUST be fixed before release, My
>> impression is that
>> you are worried the current system will stick if we don't
>> replace
>> soon, which is why you want to get this in?
> Mostly that and the fact that I find the explicit registration method prone to errors and bad boilerplate code.
> Maintaining the patch (conflicts every time someone modifies the stupid class lists) is an annoyance but not really an issue.
>> After this mail I'm left thinking this might be more
>> important then I
>> originally thought, will see of I can get time to work on
>> it.
>> Otherwise it can be put on hold.
> I know what happens with things that are put on hold, so you can expect me to keep insisting.
> Martin
>        __________________________________________________________________
> Looking for the perfect gift? Give the gift of Flickr!
> http://www.flickr.com/gift/
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers

More information about the Bf-committers mailing list