Skip to content

Python Docker images are missing dbm.gnu support #151

@sebk-666

Description

@sebk-666

Hi,
I tested multiple of the official Python 3.x Docker images and they all are missing support for dbm.gnu.
While there is a <lib>/dbm/gnu.py file that imports _gdbm, the corresponding _gdbm.cpython.*.solibrary in <lib>/lib-dynload/ is missing.

I tested on python:3.4, python:3.5, python:3.6, python:3.4-alpine - all with the same result.

# python3
Python 3.4.5 (default, Sep 24 2016, 05:29:30)
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbm.gnu
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.4/dbm/gnu.py", line 3, in <module>
    from _gdbm import *
ImportError: No module named '_gdbm'

Sebastian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy