Python PyTables API Bridge for Version 2.3.1 and 3.0.0 -
did implement open source bridge make python programs work pytables 2.3.1 , pytables 3.0.0 @ same time?
although pytables promises work old api until 3.1.0, encountered glitches. example, createarray
takes keyword argument object
, whereas new create_array
relies on obj
instead. calling createarray
object
argument (using pytables 3.0.0) automatically translated create_array(object=...)
fails type error. could, of course, fix single glitch in code, wonder if implemented full wrap old api guarantee compatibility beyond 3.1.0.
thanks , cheers, robert
you can read migrating guide (in particular consistent create_xxx() signatures section
) , release notes aware of api changes, specially backward incompatible changes. see main think break compatibility function/method parameters have been renamed more pep8 compliant. think full bridge looking doesn't exist yet, have manage incompatibility changes hand. anyway can use pt2to3 tool making migration less painful.
update
you can ask pytables google groups: pytables-dev , pytables-users.
Comments
Post a Comment