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

Gallopsled / pwntools / 8775368710 / 1
19%
dev: 19%

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

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%)

13061 of 17636 relevant lines covered (74.06%)

0.74 hits per line

Source Files on job 8775368710.1
  • 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 Build 8775368710
  • f2f55f3e on github
  • Prev Job for on dev (#8775286617.1)
  • Next Job for on dev (#8775807976.1)
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