Seems that uasyncio.StreamReader has no readinto() method. (microPython v1.11 on ESP8266)
Any work-a-round?!?
AttributeError: 'StreamReader' object has no attribute 'readinto'
Re: AttributeError: 'StreamReader' object has no attribute 'readinto'
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
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
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: AttributeError: 'StreamReader' object has no attribute 'readinto'
The fast_io version in this repo has this method.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: AttributeError: 'StreamReader' object has no attribute 'readinto'
I have no idea to implement this.
I have already seen the pull request. I hope it will be merged and released soon.jimmo wrote: ↑Sun Dec 01, 2019 10:52 amFYI, 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