Skip to content

Make str and bytes be proper types #355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 21, 2014

Conversation

pfalcon
Copy link
Contributor

@pfalcon pfalcon commented Mar 21, 2014

This makes 'str' and 'bytes' be proper type objects and implements standard Python3 constructor arguments, including efficient str<->bytes conversion. This implements first part of #349.

Paul Sokolovsky added 3 commits March 22, 2014 00:07
…rea.

This is pre-requisite for having efficient implementation of str<->bytes
conversion, and having that efficient is required with unfortunare
str vs bytes dichotomy in Python3.
@dpgeorge
Copy link
Member

Would it be sensible to put the hash and length info in the data? (Like qstr has it.) Or were you already thinking of this for the next stage? :)

@pfalcon
Copy link
Contributor Author

pfalcon commented Mar 21, 2014

Yes, next stage, per #349 discussion ;-)

dpgeorge added a commit that referenced this pull request Mar 21, 2014
Make str and bytes be proper types
@dpgeorge dpgeorge merged commit 093b8a5 into micropython:master Mar 21, 2014
@pfalcon pfalcon deleted the str-bytes-types branch January 4, 2015 00:54
tannewt pushed a commit to tannewt/circuitpython that referenced this pull request Nov 7, 2017
…ith an 8Mbyte chip) (micropython#355)

Add supersized (8Mbyte SPI flash) FeatherM0Express support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants