Skip to content

email.charset is too restrictively stubbed #2767

Closed

Description

@joshuamorton

There are two issues I noticed with the python3 stubs for email.charset.

  1. add_charset takes Union[str, Charset]`, not just charset

  2. Some module level constants like QP and BASE64 are not stubbed. They're also not available in __all__, but are necessary for idiomatic use of the add_charset function.

(PR to fix these issues to follow shortly)

Activity

  1. added a commit that references this issue on Feb 9, 2019
    b0eb6c2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions