RDFLib / FuXi

Chimezie Ogbuji's FuXi reasoner. NON-FUNCTIONING, RETAINED FOR ARCHIVAL PURPOSES. For working code plus version and associated support requirements see:
http://code.google.com/p/fuxi/
51 stars 28 forks source link

Fixed issue with unicode and Rete #10

Closed avengerpenguin closed 5 years ago

avengerpenguin commented 9 years ago

Replaced uses of str() in AlphaNode.py with unicode() as it made it impossible to do inference with non-ascii terms.

Added non-ascii data to existing Rete tests, which reproduced the error before the change was made.

avengerpenguin commented 9 years ago

So, this actually breaks for Python 3. I'm not sure what to do that works for Python 2 and 3 here.