• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

micropython / micropython / 14043 / 5
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 24 Jul 2020 03:14PM UTC
Files 274
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Jul 2020 02:58PM UTC coverage: 98.017%. Remained the same
MAKEOPTS="-j4"

push

travis-ci-com

dpgeorge
py/compile: Don't await __aiter__ special method in async-for.

MicroPython's original implementation of __aiter__ was correct for an
earlier (provisional) version of PEP492 (CPython 3.5), where __aiter__ was
an async-def function.  But that changed in the final version of PEP492 (in
CPython 3.5.2) where the function was changed to a normal one.  See
https://www.python.org/dev/peps/pep-0492/#why-aiter-does-not-return-an-awaitable
See also the note at the end of this subsection in the docs:
https://docs.python.org/3.5/reference/datamodel.html#asynchronous-iterators
And for completeness the BPO: https://bugs.python.org/issue27243

To be consistent with the Python spec as it stands today (and now that
PEP492 is final) this commit changes MicroPython's behaviour to match
CPython:  __aiter__ should return an async-iterable object, but is not
itself awaitable.

The relevant tests are updated to match.

See #6267.

19478 of 19872 relevant lines covered (98.02%)

429248.13 hits per line

Source Files on job 14043.5 (MAKEOPTS="-j4")
  • Tree
  • List 0
  • Changed 65
  • Source Changed 1
  • Coverage Changed 65
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13609
  • Travis Job 14043.5
  • 37e1b5c8 on github
  • Prev Job for MAKEOPTS="-j4" on master (#14042.5)
  • Next Job for MAKEOPTS="-j4" on master (#14047.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc