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

micropython / micropython / 14670
98%

Build:
DEFAULT BRANCH: master
Ran 13 Nov 2020 12:26AM UTC
Jobs 1
Files 277
Run time 32s
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

pending completion
14670

push

travis-ci-com

dpgeorge
extmod/machine_mem: Only allow integers in machine.memX subscript.

Prior to this change machine.mem32['foo'] (or using any other non-integer
subscript) could result in a fault due to 'foo' being interpreted as an
integer.  And when writing code it's hard to tell if the fault is due to a
bad subscript type, or an integer subscript that specifies an invalid
memory address.

The type of the object used in the subscript is now tested to be an
integer by using mp_obj_get_int_truncated instead of
mp_obj_int_get_truncated.  The performance hit of this change is minimal,
and machine.memX objects are more for convenience than performance (there
are many other ways to read/write memory in a faster way),

Fixes issue #6588.

19510 of 19904 relevant lines covered (98.02%)

421235.14 hits per line

Jobs
ID Job ID Ran Files Coverage
6 14670.6 (MAKEOPTS="-j4") 13 Nov 2020 12:26AM UTC 0
98.02
Travis Job 14670.6
Source Files on build 14670
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #14670
  • 922f81df on github
  • Prev Build on master (#14658)
  • Next Build on master (#14672)
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