Skip to content

Byte/string inconsistencies between different dbm modules #48049

@smontanaro

Description

@smontanaro
BPO 3799
Nosy @gvanrossum, @smontanaro, @warsaw, @brettcannon, @jcea, @tiran
Files
  • dumb.diff
  • dumb_to_utf8.diff: Move dbm.dumb to UTF-8 internally with writing to disk in Latin-1
  • doc_dbm_strings.diff: Document that dbm implementations store in bytes and convert as needed
  • specify_open_encoding.diff
  • mydb2write.py: dumbdbm write (Python 2.5)
  • mydb3read.py: dbm.dumb read script (Python 3.0)
  • pickle2write.py: Write out a simple user-defined class in 2.x to a file
  • pickle3read.py: Read a pickle file for a user-defined class in Py3K
  • mydb2write.py: My version of Skip's acid code working with encoded Unicode
  • mydb3read.py: My version of Skip's acid code working that reads the 2.x-written db
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/brettcannon'
    closed_at = <Date 2008-11-25.19:19:36.244>
    created_at = <Date 2008-09-06.21:59:31.995>
    labels = ['type-bug', 'library', 'release-blocker']
    title = 'Byte/string inconsistencies between different dbm modules'
    updated_at = <Date 2008-11-25.19:19:36.202>
    user = 'https://github.com/smontanaro'

    bugs.python.org fields:

    activity = <Date 2008-11-25.19:19:36.202>
    actor = 'brett.cannon'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2008-11-25.19:19:36.244>
    closer = 'brett.cannon'
    components = ['Library (Lib)']
    creation = <Date 2008-09-06.21:59:31.995>
    creator = 'skip.montanaro'
    dependencies = []
    files = ['11418', '12067', '12084', '12085', '12095', '12096', '12097', '12098', '12099', '12100']
    hgrepos = []
    issue_num = 3799
    keywords = ['patch', 'needs review']
    message_count = 29.0
    messages = ['72711', '72740', '72743', '72745', '72757', '72963', '74655', '75537', '75541', '76080', '76082', '76085', '76155', '76156', '76157', '76186', '76187', '76188', '76189', '76195', '76196', '76197', '76198', '76199', '76245', '76363', '76371', '76378', '76420']
    nosy_count = 6.0
    nosy_names = ['gvanrossum', 'skip.montanaro', 'barry', 'brett.cannon', 'jcea', 'christian.heimes']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'commit review'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue3799'
    versions = ['Python 3.0']

    Metadata

    Metadata

    Assignees

    Labels

    release-blockerstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions