/usr/lib64/python2.6/site-packages/mx/Misc
NameSizeModeActions
Cache.py67380644editdlrm
Cache.pyc64820644editdlrm
Cache.pyo64820644editdlrm
CommandLine.py187060644editdlrm
CommandLine.pyc183610644editdlrm
CommandLine.pyo183610644editdlrm
ConfigFile.py295410644editdlrm
ConfigFile.pyc330040644editdlrm
ConfigFile.pyo330040644editdlrm
Cookie.py56250644editdlrm
Cookie.pyc57070644editdlrm
Cookie.pyo57070644editdlrm
COPYRIGHT10300644editdlrm
CSV.py185200644editdlrm
CSV.pyc181440644editdlrm
CSV.pyo181440644editdlrm
ExitFunctions.py23080644editdlrm
ExitFunctions.pyc28600644editdlrm
ExitFunctions.pyo28600644editdlrm
FileLock.py124190644editdlrm
FileLock.pyc120250644editdlrm
FileLock.pyo120250644editdlrm
LazyModule.py44000644editdlrm
LazyModule.pyc42440644editdlrm
LazyModule.pyo42440644editdlrm
LICENSE45870644editdlrm
Namespace.py154550644editdlrm
Namespace.pyc180510644editdlrm
Namespace.pyo180510644editdlrm
OrderedMapping.py131070644editdlrm
OrderedMapping.pyc150530644editdlrm
OrderedMapping.pyo150530644editdlrm
PackageTools.py116810644editdlrm
PackageTools.pyc113460644editdlrm
PackageTools.pyo113460644editdlrm
__init__.py00644editdlrm
__init__.pyc1410644editdlrm
__init__.pyo1410644editdlrm
Edit: /usr/lib64/python2.6/site-packages/mx/Misc/LazyModule.pyc (4244B)
Ρς οHEc@s#dZdZddd„ƒYZdS(s Helper to enable simple lazy module import. 'Lazy' means the actual import is deferred until an attribute is requested from the module's namespace. This has the advantage of allowing all imports to be done at the top of a script (in a prominent and visible place) without having a great impact on startup time. Copyright (c) 1999-2005, Marc-Andre Lemburg; mailto:mal@lemburg.com See the documentation for further information on copyrights, or contact the author. All Rights Reserved. it LazyModulecBs\eZdZdZdZdZdZdZdd„Z d„Z d„Z d„Z d„Z RS( sα Lazy module class. Lazy modules are imported into the given namespaces whenever a non-special attribute (there are some attributes like __doc__ that class instances handle without calling __getattr__) is requested. The module is then registered under the given name in locals usually replacing the import wrapper instance. The import itself is done using globals as global namespace. Example of creating a lazy load module: ISO = LazyModule('ISO',locals(),globals()) Later, requesting an attribute from ISO will load the module automatically into the locals() namespace, overriding the LazyModule instance: t = ISO.Week(1998,1,1) itcCs}||_|djo |}n||_|iddƒ}|o|d||_||_n||_|_d|_dS(sε Create a LazyModule instance wrapping module name. The module will later on be registered in locals under the given module name. globals is optional and defaults to locals. t__name__Rt.iN(t_LazyModule__lazymodule_localstNonet_LazyModule__lazymodule_globalstgetRt_LazyModule__lazymodule_namet_LazyModule__lazymodule_init(tselftnametlocalstglobalstmainname((s8/usr/lib64/python2.6/site-packages/mx/Misc/LazyModule.pyt__init__9s     cCs‘|i}|io |i|Sto d|GHnt||i|idƒ|i|<}|ii|iƒd|idLazyModule: Module load triggered by attribute %r write access(R RRRRRRtsetattr(R R tvalueR((s8/usr/lib64/python2.6/site-packages/mx/Misc/LazyModule.pyt __setattr__ws      cCs d|iS(Ns(R(R ((s8/usr/lib64/python2.6/site-packages/mx/Misc/LazyModule.pyt__repr__ˆsN(Rt __module__t__doc__R RRRRRRRRRR (((s8/usr/lib64/python2.6/site-packages/mx/Misc/LazyModule.pyRs   N((R"RR(((s8/usr/lib64/python2.6/site-packages/mx/Misc/LazyModule.pyt s