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

kivy / pyobjus
70%

Build:
DEFAULT BRANCH: master
Repo Added 09 Nov 2018 08:11PM UTC
Files 11
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • ci-run-examples
  • ci/coveralls
  • cython-coverage
  • docs-load-framework-bundle-path
  • examples-python3-print
  • fail-early-unsupported-platform
  • fix-autoclass-str-method-names
  • fix-carray-example
  • fix-char-ptr-array
  • fix-converted-arg-lifetime
  • fix-dict-key-order
  • fix-nested-struct-make-type
  • fix-objc-hash
  • fix-protocol-forwarding
  • fix-selector-enc
  • fix-struct-arg-buffer-size
  • free-array-args
  • free-f-args
  • load-framework-raise
  • none-as-null
  • reject-embedded-nul
  • renovate/build-1.x
  • renovate/pypa-cibuildwheel-4.x
  • renovate/pytest-9.x
  • renovate/softprops-action-gh-release-2.x
  • renovate/softprops-action-gh-release-3.x
  • renovate/sphinx-9.x
  • renovate/twine-7.x
  • struct-arg-nested-test
  • struct-arg-size-from-libffi
  • type-round-trip

27 Oct 2026 09:14PM UTC coverage: 69.677% (+0.7%) from 69.022%
40585089860

push

github

web-flow
Accept str in char* arrays; raise TypeError for other types (#172)

* Accept str in char* arrays; raise TypeError for other types

CArray.as_char_ptr cast every element with an unchecked <bytes> cast, so a
str element (the normal string type on Python 3) reached PyBytes_AS_STRING
and aborted on its assertion, or would read the wrong memory without it.

Elements may now be str or bytes. str is encoded as UTF-8 and copied to
malloc'd memory that is intentionally not freed, since the Objective-C side
may keep the pointers after the call. bytes are used in place as before.
Anything else raises TypeError before any memory is allocated.

Add the first tests for char* arrays.

20 of 23 new or added lines in 1 file covered. (86.96%)

1 existing line in 1 file now uncovered.

1296 of 1860 relevant lines covered (69.68%)

0.7 hits per line

Relevant lines Covered
Build:
Build:
1860 RELEVANT LINES 1296 COVERED LINES
0.7 HITS PER LINE
Source Files on master
  • Tree
  • List 11
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
40585089860 master Accept str in char* arrays; raise TypeError for other types (#172) * Accept str in char* arrays; raise TypeError for other types CArray.as_char_ptr cast every element with an unchecked <bytes> cast, so a str element (the normal string type on Py... push 27 Oct 2026 09:28PM UTC web-flow github
69.68
40570908632 master Merge pull request #179 from AndreMiras/cython-coverage :construction_worker: Measure Python and Cython line coverage push 27 Oct 2026 07:50PM UTC web-flow github
69.02
40417918316 master Fix ObjcSelector.enc to be bytes (#170) * Add failing test: dereference a void* as ObjcSelector * Fix ObjcSelector.enc to be bytes Every other type's enc is bytes (b'i', b'c', ...). ObjcSelector.enc was the str ':', so dereference(ptr, of_type=... push 27 Oct 2026 03:32AM UTC web-flow github
51.47
40417745264 master Merge pull request #168 from ElliotGarbus/docs-load-framework-bundle-path Document that load_framework takes the framework bundle path push 27 Oct 2026 03:26AM UTC web-flow github
51.47
40417158778 master Merge pull request #169 from ElliotGarbus/examples-python3-print Convert examples to Python 3 print() and range() push 27 Oct 2026 01:37AM UTC web-flow github
51.47
40239834577 master Size struct arguments from the prepared libffi types (#166) * Size struct arguments from the prepared libffi types ObjcMethod.__call__ sized each struct argument by building a ctypes class from its signature with Factory.make_type, on every call... push 25 Oct 2026 10:22PM UTC web-flow github
51.47
40177918937 master Test passing structs that contain other structs by value (#164) Adds two testlib methods and tests for them: - echoUnknownStr: round-trips the existing unknown_str, an 80-byte anonymous struct with an anonymous struct and two CGRects nested ins... push 25 Oct 2026 08:46AM UTC web-flow github
51.47
40176857832 master Merge pull request #159 from ElliotGarbus/fix-autoclass-str-method-names Accept str selector names in `autoclass` partial loading push 25 Oct 2026 08:30AM UTC web-flow github
51.47
40174704401 master Load frameworks with dlopen on iOS; raise when NSBundle cannot load one (#158) Load frameworks with dlopen on iOS; raise when NSBundle cannot load one (#158) On iOS, NSBundle.bundleWithPath_ returns a bundle for a system framework such as WebKit... push 25 Oct 2026 07:57AM UTC web-flow github
51.47
40073722258 master Fix struct arguments passed by value: heap overrun and truncated copy (#157) * Fix heap overrun when passing a struct larger than 16 bytes by value ObjcMethod.__call__ sized each argument buffer from the argument's ffi_type, but a struct ffi_typ... push 24 Oct 2026 07:23AM UTC web-flow github
48.06
See All Builds (122)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc