• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pfalcon / pycopy / 2089 / 5
0%
pfalcon: 97%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: pfalcon
Ran 31 Mar 2020 09:16PM UTC
Files 277
Run time 25s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Mar 2020 09:13PM UTC coverage: 0.0%. First build
MAKEOPTS="-j4" XTENSA_CROSS_ROOT="${HOME}/persist/toolchain-xtensa" XTENSA_CROSS_BINDIR="${XTENSA_CROSS_ROOT}/bin" NAME="unix coverage build and tests"

push

travis-ci

pfalcon
<a href="https://github.com/pfalcon/pycopy/commit/<a class=hub.com/pfalcon/pycopy/commit/<a class="double-link" href="https://git"><a class=hub.com/pfalcon/pycopy/commit/<a class="double-link" href="https://git"><a class=hub.com/pfalcon/pycopy/commit/<a class="double-link" href="https://git"><a class=hub.com/pfalcon/pycopy/commit/<a class="double-link" href="https://git"><a class=hub.com/pfalcon/pycopy/commit/4b149fb8a4fb18e954ba7113d1495ccf822e394f">4b149fb8a">&lt;a href=&quot;https://github.com/pfalcon/pycopy/commit/</a><a class="double-link" href="https://github.com/pfalcon/pycopy/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://git">&lt;a class=</a>hub.com/pfalcon/pycopy/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://git">&lt;a class=</a>hub.com/pfalcon/pycopy/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://git">&lt;a class=</a>hub.com/pfalcon/pycopy/commit/4b149fb8a4fb18e954ba7113d1495ccf822e394f">4b149fb8a</a><a href="https://github.com/pfalcon/pycopy/commit/4b149fb8a4fb18e954ba7113d1495ccf822e394f">&quot;&gt;&amp;lt;a href=&amp;quot;https://github.com/pfalcon/pycopy/commit/&lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/pfalcon/pycopy/commit/&amp;lt;a class=&amp;quot;double-link&amp;quot; href=&amp;quot;https://git&quot;&gt;&amp;lt;a class=&lt;/a&gt;hub.com/pfalcon/pycopy/commit/4b149fb8a4fb18e954ba7113d1495ccf822e394f&quot;&gt;4b149fb8a&lt;/a&gt;&lt;a href=&quot;https://github.com/pfalcon/pycopy/commit/4b149fb8a4fb18e954ba7113d1495ccf822e394f&quot;&gt;&amp;lt;a href=&amp;quot;https://github.com/pfalcon/pycopy/commit/4b149fb8a4fb18e954ba7113d1495ccf822e394f&amp;quot;&amp;gt;&amp;amp;quot;&amp;amp;gt;py/objstringio: Add += operator for BytesIO/StringIO.

There&amp;amp;amp;#39;s a common anti-pattern of using a string as an accumulating string
buffer, e.g.:

buf = &amp;amp;amp;quot;&amp;amp;amp;quot;
while ...:
    buf += &amp;amp;amp;quot;something&amp;amp;amp;quot;
use(buf)

This is highly inefficient. The right pattern is to use StringIO, but
this requires rewriting code to use .write() method:

buf = StringIO()
while ...:
    buf.write(&amp;amp;amp;quot;something&amp;amp;amp;quot;)
use(buf.getvalue())

Instead, by introducing implementation of __iadd__ (+=) method, effectively
making it an alias for .write(), it allows for very clear and co... (continued)

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Source Files on job 2089.5 (MAKEOPTS="-j4" XTENSA_CROSS_ROOT="${HOME}/persist/toolchain-xtensa" XTENSA_CROSS_BINDIR="${XTENSA_CROSS_ROOT}/bin" NAME="unix coverage build and tests")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 359
  • Travis Job 2089.5
  • 4b149fb8 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc