Skip to content

runtime, strings, bytes: undo use of runtime as dumping ground for shared code #19792

@josharian

Description

@josharian

From CL 38693:

@martisch said:

I think it is not a good general direction that more and more code is shared between string and bytes by moving it into the runtime and that code seems actually not be used by the runtime.
Maybe a separate github discussion would be good about alternatives and moving the shared code out of the runtime and just e.g. importing the bytes package code into the string package

@randall77 replied:

This is a good question. We are starting to dump a lot of stuff in runtime that is really just "stuff that two other packages have to share". Perhaps a new internal package somewhere would be more appropriate.

This issue is to continue/resolve the discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions