Mark Dickinson <dicki...@gmail.com> added the comment:
> Unfortunately, there's little information about how Trinket is implemented. > Is it CPython-based? >From a little playing around, Trinket only provides a subset of Python (one >might say "batteries not included"), and it's not clear what its basis is. >None of `sys.version_info`, `sys.platform`, `sys.float_info`, >`sys.float_repr_style`, `int.bit_length` or `math.fmod` was available in my >Python 2 tests. 1 % 0.1 gives 0.1, but 1 // 0.1 gives 10, so the invariant that Tim mentions is broken on Trinket. @Au Vo: it looks as though you should take this up with the Trinket developers. It looks like a problem with their Python-subset implementation. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36028> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com