[pypy-commit] pypy py3.6: revert bogus code
mattip
pypy.commits at gmail.com
Sun Feb 2 15:41:26 EST 2020
Author: Matti Picus <matti.picus at gmail.com>
Branch: py3.6
Changeset: r98645:0ce9e1439a97
Date: 2020-02-02 22:40 +0200
http://bitbucket.org/pypy/pypy/changeset/0ce9e1439a97/
Log: revert bogus code
diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/posix/interp_posix.py
--- a/pypy/module/posix/interp_posix.py
+++ b/pypy/module/posix/interp_posix.py
@@ -51,8 +51,6 @@
def __init__(self, space, w_obj):
self.space = space
self.w_obj = w_obj
- if space.isinstance_w(w_obj, space.w_memoryview):
- self.is_unicode = False
def as_bytes(self):
return self.space.fsencode_w(self.w_obj)
More information about the pypy-commit
mailing list