Ticket #207 (closed defect: fixed)
VersionMapping._cache isn't concurrent access safe
| Reported by: | ferringb | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.4.7.6 |
| Component: | pkgcore | Version: | 0.4.7.4 |
| Keywords: | Cc: |
Description (last modified by ferringb) (diff)
_cache is a dictionary, blows up via due to dict modification while itering: fex,
>>> from pkgcore.config import load_config
>>> from pkgcore.ebuild.atom import atom
>>> repo = load_config().repo
>>> iall = iter(repo)
>>> repo.match(atom("dev-util/diffball"))
>>> iall.next()
>>> repo.match(atom("sys-apps/pkgcore"))
>>> list(iall) # boom.
Change History
Note: See
TracTickets for help on using
tickets.
