#2258: RuntimeError when emiting event
-------------------+--------------------------------------------------------
 Reporter:  bro    |       Owner:       
     Type:  bug    |      Status:  new  
 Priority:  minor  |   Milestone:  1.3.6
Component:  core   |     Version:  1.3.5
 Keywords:         |  
-------------------+--------------------------------------------------------

Comment(by gazpachoking):

 We certainly don't __need__ six, and if it was only this one spot I'd say
 we shouldn't use it. But it has a lot of useful functions I suspect we
 will want to use other places if we want the code to be python 2 and 3
 compatible. Using .keys() will have the same problem we have now on python
 3, the dict can't change while you are iterating over that. The six
 iter*() methods just give a way to consistently get an iterator on both
 python 2 and 3, which we would then turn into a list before iterating
 over.

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2258#comment:11>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to