Draft: python3 update
here are changes that are not compatible in py2
and py3
, i use six
to keep compatibility
Changes
-
Data Mapping
can't support different data type nowData Mapping use BTrees (like OLBTree from Zope/BTrees package) which use keys that must be comparable with <
because they are internally stored in a sorted structure.
but in
py3
, it raise error when compare between different types, for example,tuple
andlist
TypeError: '<' not supported between instances of 'tuple' and 'list'
i think it's hard to make it supported, so only update test for now
-
some
method
andscript
now usesix
to keep compatibility inpy2&3