[Buildbot-commits] [Buildbot] #1025: don't use functions as dictionary keys

Buildbot buildbot-devel at lists.sourceforge.net
Wed Oct 27 17:49:15 UTC 2010


#1025: don't use functions as dictionary keys
------------------------+---------------------------------------------------
Reporter:  dustin       |       Owner:       
    Type:  enhancement  |      Status:  new  
Priority:  major        |   Milestone:  0.8.3
 Version:  master       |    Keywords:       
------------------------+---------------------------------------------------
 The Scheduler loop keeps a hash of functions to call, using the functions
 themselves as hash keys.  This can cause strange phenomena, especially
 when the functions are bound methods of a class that has {{{__hash__}}} or
 {{{__cmp__}}} methods.

-- 
Ticket URL: <http://buildbot.net/trac/ticket/1025>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list