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

ICRAR / ijson / 158
99%
master: 100%

Build:
Build:
LAST BUILD BRANCH: release-3.2.0
DEFAULT BRANCH: master
Ran 15 Apr 2020 02:41PM UTC
Jobs 11
Files 45
Run time 1min
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
158

push

travis-ci-com

rtobar
Reintroduce common.* functions

This commit re-introduces the common.* functions that were removed
during the redesign of ijson 3. In ijson 2.X these functions were the
building blocks over which the backend-specific functions were built
upon. However, with the redesign of the library in version 3 they were
not needed anymore and they were removed.

It turns out users around the globe used these methods, as they iterated
over events in ways we didn't anticipate. Thus, there is value in adding
these functions back, even if it's not in a fully-performant way. With
time we can think of moving these functions into each backend so they
use the backend's underlying function, which is important for
performance.

Tests have been added to double-check that the behavior is the expected
one. In the case of items and kvitems we event skip through a few events
before reading the rest, which cannot be safely done with parse, as its
state machine depends on reading all events in order.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch master
# Your branch is up to date with 'origin/master'.
#
# Changes to be committed:
#	modified:   ijson/common.py
#	modified:   tests.py
#
# Untracked files:
#	dump.py
#	lala.py
#	notes/compare results.ipynb
#

1339 of 1351 relevant lines covered (99.11%)

239.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 158.1 (YAJL_VERSION=1.0.12) 15 Apr 2020 02:41PM UTC 0
71.01
Travis Job 158.1
2 158.2 15 Apr 2020 02:41PM UTC 0
87.25
Travis Job 158.2
3 158.3 (YAJL_VERSION=1.0.9) 15 Apr 2020 02:42PM UTC 0
72.03
Travis Job 158.3
4 158.4 15 Apr 2020 02:41PM UTC 0
87.83
Travis Job 158.4
5 158.5 (UPLOAD_C_COVERAGE=yes) 15 Apr 2020 02:41PM UTC 0
99.33
Travis Job 158.5
6 158.6 15 Apr 2020 02:41PM UTC 0
91.22
Travis Job 158.6
7 158.7 15 Apr 2020 02:41PM UTC 0
91.22
Travis Job 158.7
8 158.8 (YAJL_VERSION=none) 15 Apr 2020 02:42PM UTC 0
66.71
Travis Job 158.8
9 158.9 15 Apr 2020 02:43PM UTC 0
91.41
Travis Job 158.9
10 158.10 15 Apr 2020 02:42PM UTC 0
91.41
Travis Job 158.10
11 158.11 15 Apr 2020 02:43PM UTC 0
83.04
Travis Job 158.11
Source Files on build 158
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #158
  • e1543cba on github
  • Next Build on common_functions (#159)
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