<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/misc/sys_exc_info.py, branch master</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=master</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-03-31T22:27:10+00:00</updated>
<entry>
<title>tests: Modify tests that print repr of an exception with 1 arg.</title>
<updated>2020-03-31T22:27:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-08-17T05:46:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8f0147cf00e3fa8db283adbd1698c60fbe76a62a'/>
<id>urn:sha1:8f0147cf00e3fa8db283adbd1698c60fbe76a62a</id>
<content type='text'>
In Python 3.7 the behaviour of repr() of an exception with one argument
changed: it no longer prints a trailing comma in the argument list.  See
https://bugs.python.org/issue30399

This patch modifies tests that rely on this behaviour to not rely on it.
And the python34.py test is updated to include a test for this behaviour
with a .exp file.
</content>
</entry>
<entry>
<title>tests: Convert remaining "sys.exit()" to "raise SystemExit".</title>
<updated>2017-06-10T17:34:38+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-06-10T17:14:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=85d809d1f4e35a511e0a56b3411126e05a31c01b'/>
<id>urn:sha1:85d809d1f4e35a511e0a56b3411126e05a31c01b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vm: On exiting except block, clear sys.exc_info() value.</title>
<updated>2015-04-25T22:40:37+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-04-25T22:20:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ae2c81ff388d9b06bc11ac1e14bd5d71b4f4637c'/>
<id>urn:sha1:ae2c81ff388d9b06bc11ac1e14bd5d71b4f4637c</id>
<content type='text'>
This doesn't handle case fo enclosed except blocks, but once again,
sys.exc_info() support is a workaround for software which uses it
instead of properly catching exceptions via variable in except clause.
</content>
</entry>
<entry>
<title>modsys: Add basic sys.exc_info() implementation.</title>
<updated>2015-04-25T00:49:23+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-04-25T00:17:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8b85d14b92a65e92862861038c0fe96e6c616c3e'/>
<id>urn:sha1:8b85d14b92a65e92862861038c0fe96e6c616c3e</id>
<content type='text'>
The implementation is very basic and non-compliant and provided solely for
CPython compatibility. The function itself is bad Python2 heritage, its
usage is discouraged.
</content>
</entry>
</feed>
