summaryrefslogtreecommitdiffstats
path: root/pym/portage/proxy/lazyimport.py
Commit message (Collapse)AuthorAgeFilesLines
* emerge: lazy imports, optimize --helpZac Medico2012-10-141-2/+2
|
* Raise ValueError if fromlist contains an extra comma.Zac Medico2010-08-191-0/+3
|
* Fix lazyimport() to handle partially imported modules by creatingZac Medico2010-08-121-1/+5
| | | | proxies, instead of raising ImportError.
* Add a sanity check in _preload_portage_submodules() to ensure that theZac Medico2010-08-041-0/+4
| | | | loop always terminates.
* Fix infinite loop in _preload_portage_submodules().Zac Medico2010-08-031-0/+1
|
* Fix typo in docstring.Zac Medico2010-08-031-1/+1
|
* Bug #330645 - Make _unregister_module_proxy() detect partially importedZac Medico2010-08-031-12/+17
| | | | | modules (indicated when an AttributeError is caught) and handle them appropriately.
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* When portage upgrades or downgrades itself, preload lazily referenced portageZac Medico2010-03-091-0/+18
| | | | | | submodules into memory so that imports won't fail later. svn path=/main/trunk/; revision=15778
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-1/+1
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Use range() instead of xrange() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-211-1/+1
| | | | | | (2to3-3.1 -f xrange -nw ${FILES}) svn path=/main/trunk/; revision=14317
* Define basestring as str when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-211-0/+3
| | | | svn path=/main/trunk/; revision=14316
* Use a lock to ensure that threaded code doesn't cause problems with proxyZac Medico2009-02-221-15/+36
| | | | | | registration and unregistration. svn path=/main/trunk/; revision=12683
* Fix _LazyImportFrom to use the correct module name when registering andZac Medico2009-02-221-11/+14
| | | | | | unregistering. svn path=/main/trunk/; revision=12679
* Make lazyimport proxies trigger automatic destruction of other proxies forZac Medico2009-02-221-0/+33
| | | | | | | modules that have been imported. This way, destruction of a single proxy can trigger destruction of all the rest. svn path=/main/trunk/; revision=12678
* Fix typo in __all__.Zac Medico2009-02-221-1/+1
| | | | svn path=/main/trunk/; revision=12677
* Reduce bloat in portage.util by splitting ObjectProxy and lazyimport into aZac Medico2009-02-221-0/+118
new portage.proxy package. svn path=/main/trunk/; revision=12676