• Tim Peters's avatar
    Port from ZODB 3.2. · 056eaa64
    Tim Peters authored
    DemoStorage:  Added implementations for registerDB() and new_oid().  As
    Tres discovered the hard way, wrapping a ZEO client storage as a
    DemoStorage base storage yields insane behavior otherwise.
    
    BaseStorage.new_oid():  Rewrite to eliminate recursion, and hence also the
    need for the undocumented and irregular `last=` argument.
    
    Other:  removed the `last=` argument to new_oid() every place that felt
    compelled to spread that insanity ;-).  Seriously, it served no purpose
    at all elsewhere, and looks like people just cut 'n pasted in fear.
    056eaa64
ServerStub.py 9.97 KB