Skip to content

[meta] Replace pylib with other constructs #610

Closed
@obestwalter

Description

@obestwalter

NOTE to make the transition easier, I suggest waiting until we can drop 2.6 support (when pip 10 is released) - see milestone status.

pylib is not actively maintained anymore (last release was end of 2014) and we should slowly move to actively maintained constructs and remove constructs that trip up static code analysis in modern IDEs.

  • py.std.[stdlib module]

instead of accessing stdlib modules through this shortcut they should be used as intended (normal import)

see: #592

  • py.builtin

This is used as a py2/py3 comaptibility layer, so these should be replaced wiht use of e.g. six

  • py.path

Should be replaced with e.g. stdlib pathlib (there is a Python2 backport)

  • py.io

TODO

  • py.process

TODO

Each part should be addressed in a separate PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help:wantedIssues that have been acknowledged, a solution determined and a PR might likely be accepted.level:hardrought estimate that this might be quite hard to implementneeds:discussionIt's not quite clear if and how this should be donetype:internalshould have no impact on the user (refactoring, infrastructure, tools, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions