![](https://secure.gravatar.com/avatar/2c1bbda1fbfa050465bc2a4448866c09.jpg?s=120&d=mm&r=g)
July 26, 2007
12:10 p.m.
I'm approaching "how to make cache failures not crash on you every time you import anything". So in short, file like ll_os.py looks right now: if cache.defined('XXX'): TYPE = cache.inttype(...) register_external(...) Idea is that if any of the functions involved in creation of external (cache functions...), show a warning and than create a register_external stub which will explode if referenced (by ie a specific extregistry entry). The question is how it should look like than. My idea is: class Os(registeringclass): def register_os_uname(...): ... def register_os_other(...): ... and so on. This will create huge indentation. Any other ideas? Cheers, fijal :.
6408
Age (days ago)
6408
Last active (days ago)
0 comments
1 participants
participants (1)
-
Maciek Fijalkowski