Skip to content

support str type parameter in plistlib.loads #113537

@aisk

Description

@aisk

Feature or enhancement

Proposal:

The plistlib's loads function only accepts bytes as input. If the input format is XML against binary, it's normal to pass a XML content in str type in user codes.

json.loads and tomllib.loads also accept str as input.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions