<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/basics/class_new.py, branch main</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-08-31T21:43:52+00:00</updated>
<entry>
<title>tests/class_new: Add another testcase for __new__/__init__ interaction.</title>
<updated>2017-08-31T21:43:52+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-08-31T21:39:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b349479a49aab440b2f38fc6e45b3df4bf7a1aa7'/>
<id>urn:sha1:b349479a49aab440b2f38fc6e45b3df4bf7a1aa7</id>
<content type='text'>
Similar to the existing testcase, but test that returning both value of
native type and instance of another user class from __new__ lead to
__init__ not being called, for better coverage.
</content>
</entry>
<entry>
<title>tests/class_new: Add checks for __init__ being called and other improvements.</title>
<updated>2017-08-30T18:33:42+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-08-30T18:33:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=35be9e805fcdc1e0d541b64b62e381fa0b490812'/>
<id>urn:sha1:35be9e805fcdc1e0d541b64b62e381fa0b490812</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/basics: Convert "sys.exit()" to "raise SystemExit".</title>
<updated>2017-06-10T17:03:01+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-06-10T17:03:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a2803b74f48849cb3a11fb492fee891044ecc1f4'/>
<id>urn:sha1:a2803b74f48849cb3a11fb492fee891044ecc1f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/basic/[a-f]*: Make skippable.</title>
<updated>2017-02-14T21:57:56+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-02-14T21:57:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=83623b2fdeee0ada918ee4f91a99f3d732c3dee7'/>
<id>urn:sha1:83623b2fdeee0ada918ee4f91a99f3d732c3dee7</id>
<content type='text'>
For small ports which don't have all features enabled.
</content>
</entry>
<entry>
<title>tests: Add more tests to improve coverage, mostly testing exceptions.</title>
<updated>2015-08-21T11:02:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-21T10:56:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d007cb890394d9d26c6fafb133532a5175d91eb2'/>
<id>urn:sha1:d007cb890394d9d26c6fafb133532a5175d91eb2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Automatically ake __new__ a staticmethod.</title>
<updated>2014-07-05T04:55:00+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-05T04:55:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0182385ab0b4a1b2e549c92f8f5b621135aeb975'/>
<id>urn:sha1:0182385ab0b4a1b2e549c92f8f5b621135aeb975</id>
<content type='text'>
Addresses issue #622.
</content>
</entry>
<entry>
<title>py: Initial attempts to actually allow implementing __new__ in Python.</title>
<updated>2014-05-21T21:32:00+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-05-21T21:32:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=806ea1f6ca2b1b50bb4634be6c39ad83d8af7e89'/>
<id>urn:sha1:806ea1f6ca2b1b50bb4634be6c39ad83d8af7e89</id>
<content type='text'>
Caveat is that __new__ should recurse to base class __new__, and ultimately,
object.__new__ is what handles instance allocation.
</content>
</entry>
</feed>
