gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <>
Subject Re: [PATCH][] Refactoring and fixes
Date Wed, 23 Apr 2003 11:11:34 GMT
Nicola Ken Barozzi wrote:
> Some fixes (like the encoding on workspace dumps that was failing), 
> enhancements like use of a property file, and refactoring of files:
>  (put them in the 'python dir')
>  - the core, with the object model and resolving
>  - utility code, like property load and file caching
>   gump.cfg     - gump conf

Instead of a cfg file, this can simply be pure python.  Making it python 
would make it more powerful in terms of what expressions are allowed in 
the file.  And easier to access from the code (no getGumpConfig calls).

Look at my config file for my weblogging software:

>       - create a merge.xml workspace in the cache dir
>     - resolve a project build dependencies - later also build
>  - graphical view of the object model
> I would like to serialize the workspace with pickle to cahce between 
> invocations but it fails (@see Why?

I'm not a fan of pickle as it doesn't handle the case where the class 
changes between invocations.  I invested the time to create support for 
dumping any or all of the workspace in xml format.  Why can't we use that?

> I'll now add a ruper function in gumputil and see if I can build :-)
> Sam, can you now commit this somewhere?

Why, don't you have karma any more?

- Sam Ruby

View raw message