[pypy-issue] Issue #2168: ValueError: binary mode doesn't take an errors argument (pypy/pypy)

falsetru issues-reply at bitbucket.org
Wed Oct 21 04:36:54 EDT 2015


New issue 2168: ValueError: binary mode doesn't take an errors argument
https://bitbucket.org/pypy/pypy/issues/2168/valueerror-binary-mode-doesnt-take-an

falsetru:

ValueError message mismatch.

In CPython 2.7:

```
#!python
>>> import io
>>> io.open('/tmp/test.txt', 'wb', encoding='utf-8')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: binary mode doesn't take an encoding argument

```

In Pypy 2.6.1:

```
#!python
>>>> import io
>>>> io.open('/tmp/test.txt', 'wb', encoding='utf-8')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: binary mode doesn't take an errors argument

```





More information about the pypy-issue mailing list