Page MenuHomePhorge

[Python 3] dropped module anydbm
ClosedPublic

Authored by ghane on Mar 13 2022, 7:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 19, 9:21 PM
Unknown Object (File)
Fri, Jul 19, 10:23 AM
Unknown Object (File)
Jun 22 2024, 12:17 PM
Unknown Object (File)
Jun 22 2024, 8:13 AM
Unknown Object (File)
Jun 13 2024, 12:11 PM
Unknown Object (File)
Jun 13 2024, 4:03 AM
Unknown Object (File)
Jun 12 2024, 6:31 PM
Unknown Object (File)
Jun 10 2024, 6:17 PM
Subscribers
None

Details

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

Diff Detail

Repository
rP pykolab
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

ghane requested review of this revision.Mar 13 2022, 7:11 PM
ghane created this revision.
ghane added a reviewer: PyKolab Developers.
This revision is now accepted and ready to land.Mar 13 2022, 8:50 PM
This revision was automatically updated to reflect the committed changes.