Skip to content

VIP: native hex string literals #4206

@charles-cooper

Description

@charles-cooper

Simple Summary

per title

Motivation

make it easier to copy bytestrings which are in hex format

Specification

introduce hex string literals like x"abcd". the parser should treat x"abcd" the same as b"\xab\xcd".

Backwards Compatibility

backwards compatible

Dependencies

none

References

Copyright

Copyright and related rights waived via CC0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions