Message368446
>>> 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 |
|
Date |
User |
Action |
Args |
2020-05-08 14:55:55 | BTaskaya | set | recipients:
+ BTaskaya |
2020-05-08 14:55:55 | BTaskaya | set | messageid: <1588949755.54.0.0616905460961.issue40563@roundup.psfhosted.org> |
2020-05-08 14:55:55 | BTaskaya | link | issue40563 messages |
2020-05-08 14:55:55 | BTaskaya | create | |
|