Term
Term copied to clipboard
Bug: Pyrlang elixir example is not working with current master
I changed to 85bdc60a1b54e638f1dcfe930cd9ce18df89fecb and it works well, but with current master: f35aba478d6c5494bc716ec1a64be202ed53f61a the elixir example has a bug like list is not hashable
Hi, yea I've seen it too. Though it was py3.7 but We'll look at it
Took a quick look, seems to be some inconsistency between the rust and python implementation. As a workaround you could do:
diff --git a/term/codec.py b/term/codec.py
index 05ead98..55fbf81 100644
--- a/term/codec.py
+++ b/term/codec.py
@@ -8,6 +8,7 @@ LOG = logging.getLogger("term")
try:
+ raise ImportError
import term.native_codec_impl as co_impl
except ImportError:
LOG.warning("Native term ETF codec library import failed, falling back to slower Python impl")