Merged from trunk 10770:10780
authorFabian Groffen <grobian@gentoo.org>
Wed, 25 Jun 2008 09:00:23 +0000 (09:00 -0000)
committerFabian Groffen <grobian@gentoo.org>
Wed, 25 Jun 2008 09:00:23 +0000 (09:00 -0000)
commit8c0b78bac9395e7b6ff2962566c965b07c1ee67f
treec27046d079c901ed5c28e1d88e0dd22654c833d1
parenta93ccf96757dc9bc9dcdfc3c45717503223ea6c9
   Merged from trunk 10770:10780

   | 10771   | Bug #229233 - Fix Atom -> str breakage in the                |
   | zmedico | depgraph.display_problems() package.provided warning         |
   |         | message.                                                     |

   | 10772   | Use weakref.WeakValueDictionary to make cached Atom          |
   | zmedico | instances eligible for garbage collection when no strong     |
   |         | references remain.                                           |

   | 10773   | If dep calculation time exceeds 20 seconds then              |
   | zmedico | automatically enable "complete" mode since any performance   |
   |         | difference is not as likely to be noticed by the user after  |
   |         | this much time has passed.                                   |

   | 10774   | Fix spelling of depgraph._complete_threshold.                |
   | zmedico |                                                              |

   | 10775   | Bug #229069 - Before deleting the depgraph, break references |
   | zmedico | pointing to the depgraph from Package instances in the merge |
   |         | list. This helps reduce the heap size a lot.                 |

   | 10776   | For the Package.metadata attribute, only implement the dict  |
   | zmedico | interface instead of actually inheriting from dict. This     |
   |         | slightly decreases the memory footprint by defining          |
   |         | __slots__ and storing items as object attributes.            |

   | 10777   | Remove the BlockerDB._blocker_cache attribute and just       |
   | zmedico | create new instances on demand instead of taking space on    |
   |         | the heap.                                                    |

   | 10778   | Make clear_caches() call portage.dircache.clear().           |
   | zmedico |                                                              |

   | 10779   | Use os.listdir() instead of portage.listdir() to avoid       |
   | zmedico | needless caching of directories that only need to be listed  |
   |         | once.                                                        |

   | 10780   | Implement __contains__, pop() and clear() for                |
   | zmedico | Package.metadata attributes.                                 |

svn path=/main/branches/prefix/; revision=10781
pym/_emerge/__init__.py
pym/portage/__init__.py
pym/portage/dbapi/vartree.py
pym/portage/dep.py