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

Gallopsled / pwntools / 8775368710
19%

Build:
DEFAULT BRANCH: dev
Ran 21 Apr 2024 08:46PM UTC
Jobs 1
Files 151
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

21 Apr 2024 08:37PM UTC coverage: 74.059% (+0.7%) from 73.386%
8775368710

push

github

web-flow
Return buffered data on first EOF in tube.readline() (#2376)

* Return buffered data on first EOF in tube.readline()

When there is still data available in the tube buffer when an EOFError occurs in
`tube.recvline()`, return that data even though it doesn't contain a newline.
The next time `tube.recvline()` is called afterwards will raise EOFError normally.

This behavior is in line with the GNU readline implementation and avoids
loss of data. It allows `tube.stream()` to print everything that's received before
the receiving end terminates.

A new warning is logged when data is returned due to an EOF informing
about the lack of the trailing newline character.

Fixes #2366

* Update CHANGELOG

* Add context.throw_eof_on_incomplete_line

Allow to control the behavior of `tube.recvline` and
be able to suppress the new warning.

* Cleanup docs

4651 of 7430 branches covered (62.6%)

10 of 11 new or added lines in 2 files covered. (90.91%)

6 existing lines in 3 files now uncovered.

13061 of 17636 relevant lines covered (74.06%)

0.74 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
81.8
-0.09% pwnlib/context/__init__.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
79.57
0.09% pwnlib/tubes/tube.py
2
67.38
-1.42% pwnlib/tubes/sock.py
3
76.19
1.06% pwnlib/memleak.py
Jobs
ID Job ID Ran Files Coverage
1 8775368710.1 21 Apr 2024 08:46PM UTC 151
74.06
Source Files on build 8775368710
  • Tree
  • List 151
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • f2f55f3e on github
  • Prev Build on dev (#8775286617)
  • Next Build on dev (#8775807976)
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