the console_encoding variable seems to be unused (no occurence in any import of _compat.py). Yet, the read op on sys.stdout.encoding is throwing an error in nvim ...