SynBioDex / pySBOL2

A pure Python implementation of the SBOL standard.
Apache License 2.0
20 stars 6 forks source link

PythonicInterface class is missing #395

Closed tcmitchell closed 3 years ago

tcmitchell commented 3 years ago

pysbol defines a PythonicInterface class that is used by a project when defining an extension. There is no PythonicInterface class in pySBOL2, so it is not compatible with programs that use PythonicInterface.

Should PythonicInterface be added? If so, what functionality does it provide and who can it be properly tested for compatibility?

Was pysbol's PythonicInterface intended for use in programs/libraries? Was it necessary when defining extensions?

bbartley commented 3 years ago

The PythonicInterface is obsolete and isn't needed. This was a contrivance for SWIG pySBOL, but in fact, it is now obsolete even for SWIG-pySBOL. Before I figured out a cleaner way to do it, I used this mix-in class to convert the SWIG-like behavior of extension objects into something more Pythonic.