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

pfalcon / micropython / 1530
97%
master: 98%

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

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

Jobs
ID Job ID Ran Files Coverage
4 1530.4 (NAME="unix coverage build and tests") 03 Jan 2019 09:17PM UTC 0
97.74
Travis Job 1530.4
Source Files on build 1530
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1530
  • b121c063 on github
  • Prev Build on pfalcon (#1528)
  • Next Build on pfalcon (#1531)
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