utils and pack are imported at startup in r2866. Please report problems if any, and it will be reverted.
Bruno On 06/05/11 22:51, Bruno Chareyre wrote: > 2/ functions, like sphere(), SpherePack(), aabbWalls(), can't be used just >>> like this, we need to always type utils.sphere. I don't see advantage, and >>> it's not always obvious which module contains a given function. Would it be >>> a problem to make such functions reachable from the global namespace (just >>> adding "from utils import *" in yade.py)? >> We should be careful with that. A lot of user's scripts will not work >> after such modification. >> I dont know... > When something is already imported, importing it again or typing > alreadyimported.function() is fully harmless. So, such change would be > 200% backward compatible. > > Bruno > > _______________________________________________ > Mailing list: https://launchpad.net/~yade-dev > Post to : [email protected] > Unsubscribe : https://launchpad.net/~yade-dev > More help : https://help.launchpad.net/ListHelp > -- _______________ Bruno Chareyre Associate Professor ENSE³ - Grenoble INP Lab. 3SR BP 53 - 38041, Grenoble cedex 9 - France Tél : +33 4 56 52 86 21 Fax : +33 4 76 82 70 43 ________________ _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

