[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pyformex-dev] Important change in script globals !

From: Benedict Verhegghe
Subject: [pyformex-dev] Important change in script globals !
Date: Thu, 08 Dec 2011 21:47:05 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110626 Icedove/3.1.11

To all pyFormex devs:

At some point in the past I started experimenting with automatic
insertion of the exported symbols (in pf.PF) into the Globals() offered
to the scripts.
Now I ran into some major problems that were caused by this feature. And
it really was a bad decision, because the pf.PF may contain keys that
are not valid as Python symbols.

Therefore I have decided to no longer include the pf.PF contents into
the script globals. While this may break some scripts (typically with
unknown globals), I haven't found any yet. And we can always use other
solutions when the removed feature is needed.


======================================================================= Benedict Verhegghe                        Universiteit Gent
E-mail: address@hidden                    IBiTech-bioMMeda
Tel: +32 9 332 4226                               Campus Heymans-Blok B
Fax: +32 9 332 4159                       De Pintelaan 185, B-9000 GENT

reply via email to

[Prev in Thread] Current Thread [Next in Thread]