lvh / async-pep

Draft PEP for asynchronous IO
ISC License
62 stars 7 forks source link

Allow both bytearrays and bytestrings #1

Closed lvh closed 13 years ago

lvh commented 13 years ago

The code currently says that things must be bytestrings. Shouldn't bytearrays be allowed too?

(An excellent find by khorn, but I'm taking credit anyway)

lvh commented 13 years ago

Turns out this should be "buffer of bytes". Thanks, Yhg1s!