Skip to content

Status of 'noload' in Python 3 stdlib ? (i.e. let's try to kill this module for Python 3) #35

@jmuchemb

Description

@jmuchemb

zodbpickle has recently entered Debian. And since it forks code from Python, it led to the following discussion:
https://lists.debian.org/debian-security-tracker/2018/04/msg00021.html

In particular, I discovered that https://bugs.python.org/issue6784 is fixed and if we manage to get back the noload operation in Python 3 (it existed in Python 2), we could stop forking the stdlib modules.

  1. About issue 6784, there's apparently only a small difference between upstream and zodbpickle. Upstream does not have errors='bytes' (used in ZODB._compat), but I guess we can achieve the same result with:
try:
  return loads(s)
except UnicodeDecodeError:
  return loads(s, encoding='bytes')
  1. What's the status 'noload' in Python 3 stdlib ? I could not find anything in bugs.python.org.

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