• Jérome Perrin's avatar
    IdTool: expect bytes for group_id · f2baabfd
    Jérome Perrin authored
    group_id is used as key of OOBtree and as [documented], it's not
    possible to mix keys that can not be compared, so we can not have a mix
    of string and bytes.
    
    🤔 a BTree can not contain str and bytes as keys (the same way that on
    python2 it can not contain unicode and str), basically we just need a
    consistent type and something compatible with how we transform the data
    from python2 databases.
    f2baabfd
ZODBContinuousIncreasingIdGenerator.py 6.74 KB