[Buildbot-commits] [Buildbot] #960: Convert all buildbot classes to new style, i.e. inherit from object.

Buildbot buildbot-devel at lists.sourceforge.net
Thu Aug 19 14:10:07 UTC 2010


#960: Convert all buildbot classes to new style, i.e. inherit from object.
-------------------+--------------------------------------------------------
Reporter:  maruel  |       Owner:       
    Type:  task    |      Status:  new  
Priority:  major   |   Milestone:  0.8.2
 Version:  0.8.1   |    Keywords:  tests
-------------------+--------------------------------------------------------

Comment(by catlee):

 We should sprinkle some `__slots__` goodness around at the same time.  A
 simple change uses the following sizes, according to asizeof[1]:

 {{{
 Current old-style class:  2576 bytes
 New-style class:          2568 bytes
 New-style class w/ slots: 1144 bytes
 }}}

 [1] http://code.activestate.com/recipes/546530/

-- 
Ticket URL: <http://buildbot.net/trac/ticket/960#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list