AttributeError: 'StreamReader' object has no attribute 'readinto'

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: AttributeError: 'StreamReader' object has no attribute 'readinto'

Post by jimmo » Sun Dec 01, 2019 10:52 am

Not at the moment, but you might be able to add it yourself?

FYI, there's a new version of uasyncio that will hopefully be merged soon but you can see it at https://github.com/micropython/micropython/pull/5332

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: AttributeError: 'StreamReader' object has no attribute 'readinto'

Post by pythoncoder » Sun Dec 01, 2019 11:07 am

The fast_io version in this repo has this method.
Peter Hinch
Index to my micropython libraries.

jedie
Posts: 252
Joined: Fri Jan 29, 2016 12:32 pm
Contact:

Re: AttributeError: 'StreamReader' object has no attribute 'readinto'

Post by jedie » Sun Dec 01, 2019 4:30 pm

jimmo wrote:
Sun Dec 01, 2019 10:52 am
Not at the moment, but you might be able to add it yourself?
I have no idea to implement this.
jimmo wrote:
Sun Dec 01, 2019 10:52 am
FYI, there's a new version of uasyncio that will hopefully be merged soon but you can see it at https://github.com/micropython/micropython/pull/5332
I have already seen the pull request. I hope it will be merged and released soon.

Post Reply