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

petl-developers / petl / 42655955018
94%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2026 04:38PM UTC
Jobs 1
Files 135
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

09 Nov 2026 04:33PM UTC coverage: 93.654% (+0.009%) from 93.645%
42655955018

push

github

web-flow
Keep randomtable iterators independent of global random state (#799)

This PR fixes unstable seeded output from `randomtable()` when two
iterators are consumed together or other code calls Python's random
generator between rows. For example, two iterators over `randomtable(3,
4, seed=42)` currently return different first data rows.

Changes:

Use a separate `random.Random(seed)` instance for each iterator. This
preserves the existing seeded values and streaming behavior while
keeping iterations independent and leaving Python's global random state
unchanged.

Co-authored-by: Juarez Rudsatz <juarezr@gmail.com>

28 of 28 new or added lines in 2 files covered. (100.0%)

16632 of 17759 relevant lines covered (93.65%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42655955018.1 09 Nov 2026 04:38PM UTC 135
93.65
GitHub Action Run
Source Files on build 42655955018
  • Tree
  • List 135
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c0892541 on github
  • Prev Build on master (#42654897938)
  • Next Build on master (#42657044530)
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