Skip to content
This repository has been archived by the owner on Jan 28, 2019. It is now read-only.

add use_bultin_types option #163

Merged
merged 2 commits into from
Jul 20, 2018

Conversation

anthrotype
Copy link
Member

Fixes #162

This is True on python3, and False on python2 by default.
Can be set explicitly to obtain the same treatment for bytes vs data on both py2 and 3.

@anthrotype
Copy link
Member Author

and of course this also adds the plistlib.Data class, that wraps bytes and allows to distinguish them from str on python 2 (or when use_builtin_types is False).

@anthrotype anthrotype merged commit 0da87b4 into unified-font-object:master Jul 20, 2018
@anthrotype anthrotype deleted the use-bultin-types branch July 20, 2018 18:36
@anthrotype
Copy link
Member Author

i'll tag a new release tomorrow

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant