<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/repl.c, 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>2021-03-15T13:57:36+00:00</updated>
<entry>
<title>run code formatting script</title>
<updated>2021-03-15T13:57:36+00:00</updated>
<author>
<name>microDev</name>
<email>70126934+microDev1@users.noreply.github.com</email>
</author>
<published>2021-03-15T13:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a52eb88031620a81521b937f2a0651dbac2bb350'/>
<id>urn:sha1:a52eb88031620a81521b937f2a0651dbac2bb350</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add license to some obvious files.</title>
<updated>2020-07-06T18:16:25+00:00</updated>
<author>
<name>Diego Elio Pettenò</name>
<email>flameeyes@flameeyes.com</email>
</author>
<published>2020-06-03T22:40:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=34b4993d63a6b576f29d624385c681f679b4124c'/>
<id>urn:sha1:34b4993d63a6b576f29d624385c681f679b4124c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #1859 from scottbelden/tabbing</title>
<updated>2019-05-08T18:49:11+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@adafruit.com</email>
</author>
<published>2019-05-08T18:49:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bec84f20abb716c0d8052554d841c1291ddf64cc'/>
<id>urn:sha1:bec84f20abb716c0d8052554d841c1291ddf64cc</id>
<content type='text'>
enter four spaces when there are no matches</content>
</entry>
<entry>
<title>enter four spaces when there are no matches</title>
<updated>2019-05-07T17:55:20+00:00</updated>
<author>
<name>scottbelden</name>
<email>scottabelden@gmail.com</email>
</author>
<published>2019-05-07T17:55:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=786cb40073dca41ae510093375e84ba41b7e9fb5'/>
<id>urn:sha1:786cb40073dca41ae510093375e84ba41b7e9fb5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix tests and clarify first character access</title>
<updated>2019-05-07T16:30:55+00:00</updated>
<author>
<name>Kathryn Lingel</name>
<email>kathryn@lingel.net</email>
</author>
<published>2019-05-07T16:30:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=eb3cb4d99bc324d941e4fd32fd30c86ebf4c44e3'/>
<id>urn:sha1:eb3cb4d99bc324d941e4fd32fd30c86ebf4c44e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Filter private methods from tab completion</title>
<updated>2019-05-06T19:16:29+00:00</updated>
<author>
<name>Kathryn Lingel</name>
<email>kathryn@lingel.net</email>
</author>
<published>2019-05-06T19:16:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=54aa1ce6deb1b2505b8ab2ce4c9ecc5899466b2d'/>
<id>urn:sha1:54aa1ce6deb1b2505b8ab2ce4c9ecc5899466b2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/repl: Fix handling of unmatched brackets and unfinished quotes.</title>
<updated>2018-05-18T05:23:02+00:00</updated>
<author>
<name>Li Weiwei</name>
<email>liweiwei@yeweitech.org</email>
</author>
<published>2018-05-18T03:15:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3e6ab82179f7b9a1df915f4bd0d6e48a454d942c'/>
<id>urn:sha1:3e6ab82179f7b9a1df915f4bd0d6e48a454d942c</id>
<content type='text'>
Before this patch:

    &gt;&gt;&gt; print(')
    ... ')
    Traceback (most recent call last):
      File "&lt;stdin&gt;", line 1
    SyntaxError: invalid syntax

After this patch:

    &gt;&gt;&gt; print(')
    Traceback (most recent call last):
      File "&lt;stdin&gt;", line 1
    SyntaxError: invalid syntax

This matches CPython and prevents getting stuck in REPL continuation when a
1-quote is unmatched.
</content>
</entry>
<entry>
<title>py/repl: Initialise q_last variable to prevent compiler warnings.</title>
<updated>2018-05-11T03:48:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-11T03:48:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6046e68fe19ca3e88e6e55438be9b2dee98723af'/>
<id>urn:sha1:6046e68fe19ca3e88e6e55438be9b2dee98723af</id>
<content type='text'>
Some older compilers cannot deduce that q_last is always written to before
being read.
</content>
</entry>
<entry>
<title>py/repl: Use mp_load_method_protected to prevent leaking of exceptions.</title>
<updated>2018-05-10T13:05:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-10T13:05:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7241d90272f4dfe4100723393cc2f348f5d32c0a'/>
<id>urn:sha1:7241d90272f4dfe4100723393cc2f348f5d32c0a</id>
<content type='text'>
This patch fixes the possibility of a crash of the REPL when tab-completing
an object which raises an exception when its attributes are accessed.

See issue #3729.
</content>
</entry>
<entry>
<title>py/{modbuiltins,repl}: Start qstr probing from after empty qstr.</title>
<updated>2018-05-09T06:15:02+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-09T06:15:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=eb88803ac859db07726481501aea5c0e6bbf3705'/>
<id>urn:sha1:eb88803ac859db07726481501aea5c0e6bbf3705</id>
<content type='text'>
The list of qstrs starts with MP_QSTR_NULL followed by MP_QSTR_, and these
should never appear in dir() or REPL tab completion, so skip them.
</content>
</entry>
</feed>
