[pypy-issue] [issue1383] ''.encode(None) -> TypeError

Armin Rigo tracker at bugs.pypy.org
Mon Jan 28 14:16:24 CET 2013

New submission from Armin Rigo <armin.rigo at gmail.com>:

CPython: ''.encode(None) -> TypeError

PyPy: ''.encode(None) -> ''

I'm putting it as a bug because I'm unsure about which other places accept an
app-level None as the encoding.  There are certainly some, because
_get_encoding_and_errors() checks for it.

messages: 5227
nosy: arigo, pypy-issue
priority: bug
status: unread
title: ''.encode(None) -> TypeError

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list