<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/basics/int_bytes.py, branch 6.1.0-beta.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.0-beta.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.0-beta.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-02-14T20:12:20+00:00</updated>
<entry>
<title>Implement to_bytes(..., signed=True)</title>
<updated>2020-02-14T20:12:20+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-02-14T20:12:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c592bd612ad8231f61681aa40cd51b6bbfcb307f'/>
<id>urn:sha1:c592bd612ad8231f61681aa40cd51b6bbfcb307f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use approx of original @godlygeek code for smallints; add tests</title>
<updated>2019-05-12T15:17:29+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2019-05-12T15:17:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8664a6574b4cb448df26bfaa0e12eb203cc5d759'/>
<id>urn:sha1:8664a6574b4cb448df26bfaa0e12eb203cc5d759</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add tests for overflows converting ints to bytes</title>
<updated>2019-05-09T07:22:24+00:00</updated>
<author>
<name>Matt Wozniski</name>
<email>godlygeek+git@gmail.com</email>
</author>
<published>2019-05-09T07:19:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e041df73bb7bf424bcf571f25e3459359c4f36ed'/>
<id>urn:sha1:e041df73bb7bf424bcf571f25e3459359c4f36ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Initial merge of micropython v1.9.2 into circuitpython 2.0.0 (in development) master.</title>
<updated>2017-08-26T02:17:07+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2017-08-26T02:17:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ef61b5ecb59e9b4e37e3e3c023c62d583c23eb16'/>
<id>urn:sha1:ef61b5ecb59e9b4e37e3e3c023c62d583c23eb16</id>
<content type='text'>
cpx build compiles and loads and works in repl; test suite not run yet
esp8266 not tested yet
</content>
</entry>
<entry>
<title>Turn on Rosie CI testing to test new builds on real hardware.</title>
<updated>2017-08-12T00:16:13+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-07-03T22:05:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fab634e3eeb456e9d5dffa2cabb9ded39c45d6b6'/>
<id>urn:sha1:fab634e3eeb456e9d5dffa2cabb9ded39c45d6b6</id>
<content type='text'>
This introduces a skip_if module that can be used by tests to
determine when they should be skipped due to the environment.

Some tests have been split in order to have finer grained skip
control.
</content>
</entry>
<entry>
<title>py/objint: In to_bytes(), allow length arg to be any int and check sign.</title>
<updated>2017-06-15T04:21:02+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-06-15T04:21:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e269cabe3ed8bed1b7181359febb686edbb748ae'/>
<id>urn:sha1:e269cabe3ed8bed1b7181359febb686edbb748ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objint: Support "big" byte-order in int.to_bytes().</title>
<updated>2017-06-15T03:56:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-06-15T03:56:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8c5632a869f10445dc5091c39ec73ca49cf83454'/>
<id>urn:sha1:8c5632a869f10445dc5091c39ec73ca49cf83454</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/basics: Add tests for int.from_bytes when src has trailing zeros.</title>
<updated>2017-04-25T02:07:02+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-04-25T02:07:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=810133d97d4391151e86af90508222c480f362b7'/>
<id>urn:sha1:810133d97d4391151e86af90508222c480f362b7</id>
<content type='text'>
The trailing zeros should be truncated from the converted value.
</content>
</entry>
<entry>
<title>tests/basic: Split tests into working with small ints and not working.</title>
<updated>2017-03-03T21:13:27+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-03-03T21:13:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3ab6aa3a6d0506e805caa19369bef279c1c789b4'/>
<id>urn:sha1:3ab6aa3a6d0506e805caa19369bef279c1c789b4</id>
<content type='text'>
Tests which don't work with small ints are suffixed with _intbig.py. Some
of these may still work with long long ints and need to be reclassified
later.
</content>
</entry>
<entry>
<title>py: Support conversion of bignum to bytes.</title>
<updated>2015-04-25T22:16:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-25T22:16:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=271d18eb08ec488ee45f8e6cd852e8236074f082'/>
<id>urn:sha1:271d18eb08ec488ee45f8e6cd852e8236074f082</id>
<content type='text'>
This gets int.to_bytes working for bignum, and also struct.pack with 'q'
and 'Q' args on 32-bit machines.

Addresses issue #1155.
</content>
</entry>
</feed>
