Merged from trunk -r12779:12785
| 12780 | In LazyItemsDict.__deepcopy__(), enable deepcopy of lazy |
| zmedico | items as it was before. This requires |
| | _LazyItem.__deepcopy__() to be overridden since the default |
| | implementation can fail silently, leaving some attributes |
| | unset. |
| 12781 | Implement _getitem instead of __getitem__ so that the base |
| zmedico | class __getitem__ implementation is used for _mtime_ and |
| | _eclasses_ handling. |
| 12782 | Make EXPORT_FUNCTIONS store it's arguments in an environment |
| zmedico | variable and perform the function generation after the |
| | current inherit call has returned. This way an eclass can |
| | call EXPORT_FUNCTIONS either before or after it inherits |
| | other eclasses, and the result is still the same. Thanks to |
| | Donnie Berkholz <dberkholz@g.o> for reporting. |
| 12783 | Fix PECLASS logic inside inherit() so that ECLASS is always |
| zmedico | restored to the correct value after recursion (previously it |
| | would be restored to the wrong value if more than one eclass |
| | was passed into the inherit call). |
| 12784 | Revert previous 2 commits due to bugs. |
| zmedico | |
| 12785 | Make EXPORT_FUNCTIONS store it's arguments in an environment |
| zmedico | variable and perform the function generation after the |
| | current inherit call has returned. This allows an eclass to |
| | call EXPORT_FUNCTIONS either before or after it inherits |
| | other eclasses, and the result is still the same. Thanks to |
| | Donnie Berkholz <dberkholz@g.o> for reporting. |
svn path=/main/branches/prefix/; revision=12789