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

agronholm / cbor2 / 22529269973
95%

Build:
DEFAULT BRANCH: master
Ran 28 Feb 2026 09:21PM UTC
Jobs 1
Files 8
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

28 Feb 2026 09:21PM UTC coverage: 94.58%. Remained the same
22529269973

push

github

web-flow
Set default read_size to 1 for backwards compatibility (#275)

The buffered reads introduced in 5.8.0 could cause issues when code needs to access the stream position after decoding. This changes the default back to 1 (matching 5.7.1 behavior) while allowing users to opt-in to faster decoding by passing read_size=4096.

Implementation details:
- Use function pointer dispatch to eliminate runtime checks for read_size=1
- Skip buffer allocation entirely for unbuffered path
- Add read_size parameter to load() and loads() for API completeness

---------

Co-authored-by: Alex Grönholm <alex.gronholm@nextday.fi>

1047 of 1107 relevant lines covered (94.58%)

10.33 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
18
95.94
0.0% _decoder.py
Jobs
ID Job ID Ran Files Coverage
1 22529269973.1 28 Feb 2026 09:21PM UTC 8
94.58
GitHub Action Run
Source Files on build 22529269973
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22529269973
  • e61a5f36 on github
  • Prev Build on master (#22525890704)
  • Next Build on master (#22600086145)
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