callback can't unsubscribe itself in python3
Bug #1592983 reported by
Kevin Benton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Kevin Benton |
Bug Description
The callback manager uses .items() which is not a copy of the subscribers dict in python3. This means that a callback that wants to unsubscribe itself will die in python3 with an error:
b' self.manager.
b' File "/home/
b' errors = self._notify_
b' File "/home/
b' for callback_id, callback in callbacks:'
b'RuntimeError: dictionary changed size during iteration'
b''
Changed in neutron: | |
assignee: | nobody → Kevin Benton (kevinbenton) |
importance: | Undecided → Low |
tags: | added: neutron-proactive-backport-potential |
tags: | removed: neutron-proactive-backport-potential |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/330209
Review: https:/