[issue32922] dbm.open() encodes filename with default encoding rather than the filesystem encoding

Josh Friend report at bugs.python.org
Fri Feb 23 10:11:08 EST 2018


New submission from Josh Friend <josh at fueledbycaffeine.com>:

Armin Rigo from the PyPy project pointed this out to me: https://bitbucket.org/pypy/pypy/issues/2755/dbmopen-expects-a-str-for-filename-throws

This could probably lead to some weird behavior given the right filename

----------
components: Library (Lib)
messages: 312636
nosy: Josh Friend
priority: normal
severity: normal
status: open
title: dbm.open() encodes filename with default encoding rather than the filesystem encoding
type: behavior
versions: Python 2.7, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32922>
_______________________________________


More information about the Python-bugs-list mailing list