When will they fix Python _dbm?
ian.g.kelly at gmail.com
Tue Dec 6 19:52:03 EST 2016
On Dec 6, 2016 4:04 PM, <breamoreboy at gmail.com> wrote:
On Tuesday, December 6, 2016 at 9:35:19 PM UTC, Ian wrote:
> On Mon, Dec 5, 2016 at 7:45 AM, clvanwall wrote:
> > I have been a Perl programmer for 15+ years and decided to give Python
a try. My platform is windows and I installed the latest 3.5.2. Next I
decided to convert a perl program that uses a ndbm database since according
to the doc on python, it should be able to work with it. Needless to say,
I get: dbm.error: db type is dbm.ndbm, but the module is not available
> > Searching on Python Bug Tracker shows _dbm missing back in 03-03-2012!
That's a long time for a bug to be left open.
> Are you referring to http://bugs.python.org/issue14185? That's on
> Linux platforms and it has to do with building Python, not using it.
> The dbm.ndbm documentation specifically says that it provides an
> interface to the *Unix* ndbm library:
> https://docs.python.org/3/library/dbm.html#module-dbm.ndbm. I don't
> think that this module is part of the standard Windows distribution of
> Python. You might be able to find a third-party distribution of the
> module using a Windows port of ndbm, or you could try to build it
How about http://www.gnu.org/software/gdbm/gdbm.html
Well, that would be for dbm.gnu, not dbm.ndbm. And I don't see any
distribution of the Python module there in any case.
More information about the Python-list