HomePhorge

[Python 3] dropped module anydbm

Description

[Python 3] dropped module anydbm

Summary:
like D3355,

Note: The anydbm module has been renamed to dbm in Python 3. The 2to3 tool will automatically adapt imports when converting your sources to Python 3.
https://docs.python.org/2.7/library/anydbm.html
dbm linked to
https://docs.python.org/2.7/library/dbm.html#module-dbm
Note: The dbm module has been renamed to dbm.ndbm in Python 3. The 2to3 tool will automatically adapt imports when converting your sources to Python 3.

so I tested db file, created with 2.7 and used with dbm.ndbm in 3.7

Reviewers: PyKolab Developers, sicherha

Reviewed By: PyKolab Developers, sicherha

Differential Revision: https://git.kolab.org/D3430

Details

Provenance
sicherhaAuthored on Mar 13 2022, 8:49 PM
sicherhaPushed on Mar 13 2022, 8:51 PM
Reviewer
PyKolab Developers
Differential Revision
D3430: [Python 3] dropped module anydbm
Parents
rP81921eb1f994: [Python 3] relative imports fixes (dynamic imports)
Branches
Unknown
Tags
Unknown
Build Status
Buildable 38641