Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | emerge: lazy imports, optimize --help | Zac Medico | 2012-10-14 | 1 | -2/+2 |
| | |||||
* | ObjectProxy: implement __enter__ and __exit__ | Zac Medico | 2012-09-09 | 1 | -1/+8 |
| | |||||
* | Raise ValueError if fromlist contains an extra comma. | Zac Medico | 2010-08-19 | 1 | -0/+3 |
| | |||||
* | Fix lazyimport() to handle partially imported modules by creating | Zac Medico | 2010-08-12 | 1 | -1/+5 |
| | | | | proxies, instead of raising ImportError. | ||||
* | Add a sanity check in _preload_portage_submodules() to ensure that the | Zac Medico | 2010-08-04 | 1 | -0/+4 |
| | | | | loop always terminates. | ||||
* | Fix infinite loop in _preload_portage_submodules(). | Zac Medico | 2010-08-03 | 1 | -0/+1 |
| | |||||
* | Fix typo in docstring. | Zac Medico | 2010-08-03 | 1 | -1/+1 |
| | |||||
* | Bug #330645 - Make _unregister_module_proxy() detect partially imported | Zac Medico | 2010-08-03 | 1 | -12/+17 |
| | | | | | modules (indicated when an AttributeError is caught) and handle them appropriately. | ||||
* | Implement __unicode__ for python2. | Zac Medico | 2010-03-27 | 1 | -0/+3 |
| | |||||
* | Remove all svn $Id keywords. | Zac Medico | 2010-03-24 | 3 | -3/+0 |
| | |||||
* | When portage upgrades or downgrades itself, preload lazily referenced portage | Zac Medico | 2010-03-09 | 1 | -0/+18 |
| | | | | | | submodules into memory so that imports won't fail later. svn path=/main/trunk/; revision=15778 | ||||
* | Add ObjectProxy __gt__, __ge__, __lt__, and __le__ methods to fix TypeError | Zac Medico | 2010-02-28 | 1 | -0/+12 |
| | | | | | | | | | | with python3 reported by Arfrever: File "/usr/lib/portage/pym/portage/__init__.py", line 513, in portageexit if secpass > 1 and os.environ.get("SANDBOX_ON") != "1": TypeError: unorderable types: _LazyImportFrom() > int() svn path=/main/trunk/; revision=15497 | ||||
* | Define portage.proxy.objectproxy.ObjectProxy.__add__() to fix problem with ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-11-05 | 1 | -0/+3 |
| | | | | | | string concatenation reported by dol-sen. svn path=/main/trunk/; revision=14778 | ||||
* | Remove ugly code from __len__, since defining __bool__ fixes the same | Zac Medico | 2009-09-25 | 1 | -9/+1 |
| | | | | | | issue. svn path=/main/trunk/; revision=14428 | ||||
* | Define __bool__() for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-25 | 1 | -1/+6 |
| | | | | svn path=/main/trunk/; revision=14427 | ||||
* | For python 3.x with boolean target, len() results in TypeError, so | Zac Medico | 2009-09-22 | 1 | -1/+9 |
| | | | | | | make __len__ return 0 or 1 in this case. svn path=/main/trunk/; revision=14377 | ||||
* | Use dict.(keys|values|items)() instead of ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -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 Arahesis | 2009-09-21 | 1 | -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 Arahesis | 2009-09-21 | 1 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=14316 | ||||
* | Implement ObjectProxy.__int__(). | Zac Medico | 2009-08-12 | 1 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=14006 | ||||
* | Use a lock to ensure that threaded code doesn't cause problems with proxy | Zac Medico | 2009-02-22 | 1 | -15/+36 |
| | | | | | | registration and unregistration. svn path=/main/trunk/; revision=12683 | ||||
* | Fix _LazyImportFrom to use the correct module name when registering and | Zac Medico | 2009-02-22 | 1 | -11/+14 |
| | | | | | | unregistering. svn path=/main/trunk/; revision=12679 | ||||
* | Make lazyimport proxies trigger automatic destruction of other proxies for | Zac Medico | 2009-02-22 | 1 | -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 Medico | 2009-02-22 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=12677 | ||||
* | Reduce bloat in portage.util by splitting ObjectProxy and lazyimport into a | Zac Medico | 2009-02-22 | 3 | -0/+187 |
new portage.proxy package. svn path=/main/trunk/; revision=12676 |