This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author BTaskaya
Recipients BTaskaya
Date 2020-05-08.14:55:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588949755.54.0.0616905460961.issue40563@roundup.psfhosted.org>
In-reply-to
Content
>>> dbm.open("/tmp/x.db", "n").close()
>>> from pathlib import Path
>>> tmp = Path("/tmp")
>>> dbm.open(tmp / "x.db", "n").close()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/dbm/__init__.py", line 95, in open
    return mod.open(file, flag, mode)
TypeError: open() argument 1 must be str, not PosixPath
History
Date User Action Args
2020-05-08 14:55:55BTaskayasetrecipients: + BTaskaya
2020-05-08 14:55:55BTaskayasetmessageid: <1588949755.54.0.0616905460961.issue40563@roundup.psfhosted.org>
2020-05-08 14:55:55BTaskayalinkissue40563 messages
2020-05-08 14:55:55BTaskayacreate