<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/unix/qstrdefsport.h, branch esp-extra-scripts</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-04-16T12:18:09+00:00</updated>
<entry>
<title>py: Add rules for automated extraction of qstrs from sources.</title>
<updated>2016-04-16T12:18:09+00:00</updated>
<author>
<name>Jan Čapek</name>
<email>jan.capek@braiins.cz</email>
</author>
<published>2016-03-10T09:22:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d76c65f599b77aa275eda3d2248cde16f6be7e10'/>
<id>urn:sha1:d76c65f599b77aa275eda3d2248cde16f6be7e10</id>
<content type='text'>
- add template rule that converts a specified source file into a qstring file

- add special rule for generating a central header that contains all
  extracted/autogenerated strings - defined by QSTR_DEFS_COLLECTED
  variable. Each platform appends a list of sources that may contain
  qstrings into a new build variable: SRC_QSTR. Any autogenerated
  prerequisities are should be appened to SRC_QSTR_AUTO_DEPS variable.

- remove most qstrings from py/qstrdefs, keep only qstrings that
  contain special characters - these cannot be easily detected in the
  sources without additional annotations

- remove most manual qstrdefs, use qstrdef autogen for: py, cc3200,
  stmhal, teensy, unix, windows, pic16bit:

   - remove all micropython generic qstrdefs except for the special strings that contain special characters (e.g. /,+,&lt;,&gt; etc.)
   - remove all port specific qstrdefs except for special strings
   - append sources for qstr generation in platform makefiles (SRC_QSTR)
</content>
</entry>
<entry>
<title>unix/file: Parse "buffering" argument of open() builtin.</title>
<updated>2016-04-02T14:23:46+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-04-02T14:20:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e5fa163a4c02531a5f4e49669b66b09fd1ea2785'/>
<id>urn:sha1:e5fa163a4c02531a5f4e49669b66b09fd1ea2785</id>
<content type='text'>
It's ignored (unbuffered, raw I/O is used), but least makes it compatible
with CPython.
</content>
</entry>
<entry>
<title>unix: Enable VfsFat support.</title>
<updated>2016-02-14T17:15:22+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-02-13T21:03:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8a43a41b3aa662c44bef46002529467036ea81cf'/>
<id>urn:sha1:8a43a41b3aa662c44bef46002529467036ea81cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix: Add socket.inet_ntop function</title>
<updated>2016-01-11T10:08:07+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2016-01-11T05:37:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=11b97d7ec5f6ae715de1c1a77597413fccd8edab'/>
<id>urn:sha1:11b97d7ec5f6ae715de1c1a77597413fccd8edab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix: Implement uos.dupterm(). Conditional on MICROPY_PY_OS_DUPTERM.</title>
<updated>2015-12-27T23:13:21+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-27T23:12:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2c1620ce1fe3bb2d011ccaca701191927f1d49d6'/>
<id>urn:sha1:2c1620ce1fe3bb2d011ccaca701191927f1d49d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>uos: Add errno() function to get/set errno value.</title>
<updated>2015-12-15T22:38:26+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-15T22:38:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=130fde81307984e4616b6a0bcdd38b640e732d76'/>
<id>urn:sha1:130fde81307984e4616b6a0bcdd38b640e732d76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix/modos: Implement ilistdir().</title>
<updated>2015-12-14T21:48:12+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-14T21:48:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d874702fe1e5822f8a3e1662657ac27d0b15bb68'/>
<id>urn:sha1:d874702fe1e5822f8a3e1662657ac27d0b15bb68</id>
<content type='text'>
ilistdir() returns iterator which yields triples of (name, type, ino)
where ino is inode number for entry's data, type of entry (file/dir/etc.),
and name of file/dir. listdir() can be easily implemented in terms of this
iterator (which is otherwise more efficient in terms of memory use and may
save expensive call to stat() for each returned entry).

CPython has os.scandir() which also returns an iterator, but it yields
more complex objects of DirEntry type. scandir() can also be easily
implemented in terms of ilistdir().
</content>
</entry>
<entry>
<title>unix/modtime: Add strftime() function (only single argument is supported).</title>
<updated>2015-12-13T22:10:57+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-13T22:10:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8fb255dc342a88b039f132f4fe28b91ce917650d'/>
<id>urn:sha1:8fb255dc342a88b039f132f4fe28b91ce917650d</id>
<content type='text'>
Following "don't rely on FFI for basic functionality" approach.
</content>
</entry>
<entry>
<title>unix: Rename "_os" module to "uos" for consistency with baremetal ports.</title>
<updated>2015-12-11T22:04:35+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-11T22:04:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a6eff059b92faf9746fd148af697281791b2aeed'/>
<id>urn:sha1:a6eff059b92faf9746fd148af697281791b2aeed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix/modsocket: Implement sockaddr() function to decode raw socket address.</title>
<updated>2015-11-20T23:38:59+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-11-20T23:38:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3ba61656bdc725e6dda46f05b5a65247b3ce7925'/>
<id>urn:sha1:3ba61656bdc725e6dda46f05b5a65247b3ce7925</id>
<content type='text'>
Return tuple of (address_family, net_addr, [port, [extra_data]]). net_addr
is still raw network address as bytes object, but suitable for passing to
inet_ntop() function. At the very least, sockaddr() will separate address
family value from binary socket address (and currently, only AF_INET family
is decoded).
</content>
</entry>
</feed>
