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

pfalcon / micropython / 1530 / 4
97%
master: 98%

Build:
Build:
LAST BUILD BRANCH: pfalcon
DEFAULT BRANCH: master
Ran 03 Jan 2019 09:17PM UTC
Files 244
Run time 31s
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

03 Jan 2019 09:13PM UTC coverage: 97.739%. Remained the same
NAME="unix coverage build and tests"

push

travis-ci

pfalcon
py/objfun: Add function type contructor.

Allows to construct a faunction object from bytecode. The signature is:

FunctionType = type(lambda: 0)
FunctionType(codeobj, const_table, globals[, argdefs])

codeobj should be code object endcoded as bianry buffer (it includes
bytecode and metadata). const_table is constant table as used by
code object. globals are function globals. argdefs are argument definitions,
as required by MicroPython internal representation and includes default
argument values and tuple/dict for *args and **kwargs if used.

This sinature is different from CPython sugnature:

FunctionType(code, globals[, name[, argdefs[, closure]]])

The meaning of parameters is also different, e.g. code is CodeType object
(not raw bytes), argdefs are only default argument values, etc.

Availability of constructor is controlled by MICROPY_PY_FUNCTION_CONSTRUCTOR.

Change-Id: I186334aba

18547 of 18976 relevant lines covered (97.74%)

317819.31 hits per line

Source Files on job 1530.4 (NAME="unix coverage build and tests")
  • Tree
  • List 0
  • Changed 45
  • Source Changed 0
  • Coverage Changed 45
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1491
  • Travis Job 1530.4
  • b121c063 on github
  • Prev Job for NAME="unix coverage build and tests" on pfalcon (#1528.4)
  • Next Job for NAME="unix coverage build and tests" on pfalcon (#1531.4)
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