<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/basics/gen_yield_from_throw3.py, branch 6.0.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2018-03-30T01:43:38+00:00</updated>
<entry>
<title>py/runtime: Be sure that non-intercepted thrown object is an exception.</title>
<updated>2018-03-30T01:43:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-03-30T01:37:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f50b64cab58025e080f994147b75a8ffc55d2b35'/>
<id>urn:sha1:f50b64cab58025e080f994147b75a8ffc55d2b35</id>
<content type='text'>
The VM expects that, if mp_resume() returns MP_VM_RETURN_EXCEPTION, then
the returned value is an exception instance (eg to add a traceback to it).
It's possible that a value passed to a generator's throw() is not an
exception so must be explicitly checked for if the thrown value is not
intercepted by the generator.

Thanks to @jepler for finding the bug.
</content>
</entry>
<entry>
<title>tests: Update tests, and add new ones, for recent generator tweaks.</title>
<updated>2017-01-16T13:17:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-16T13:17:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=96baaa68a4430efd585f2186976cfa473ca73bfc'/>
<id>urn:sha1:96baaa68a4430efd585f2186976cfa473ca73bfc</id>
<content type='text'>
</content>
</entry>
</feed>
