• Jérome Perrin's avatar
    IdTool: expect bytes for group_id · 2d8d7adf
    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.
    2d8d7adf
ZODBContinuousIncreasingIdGenerator.py 6.74 KB