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

micropython / micropython / 14579
98%

Build:
DEFAULT BRANCH: master
Ran 29 Oct 2020 03:59AM UTC
Jobs 1
Files 277
Run time 24s
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
14579

push

travis-ci-com

dpgeorge
extmod/modurandom: Support urandom.seed() without an argument.

If a port provides MICROPY_PY_URANDOM_SEED_INIT_FUNC as a source of
randomness then this will be used when urandom.seed() is called without
an argument (or with None as the argument) to seed the pRNG.

Other related changes in this commit:
- mod_urandom___init__ is changed to call seed() without arguments, instead
  of explicitly passing in the result of MICROPY_PY_URANDOM_SEED_INIT_FUNC.
- mod_urandom___init__ will only ever seed the pRNG once (before it could
  seed it again if imported by, eg, random and then urandom).
- The Yasmarang state is moved to the BSS for builds where the state is
  guaranteed to be initialised on import of the (u)random module.

Signed-off-by: Damien George <damien@micropython.org>

19507 of 19901 relevant lines covered (98.02%)

414029.48 hits per line

Jobs
ID Job ID Ran Files Coverage
6 14579.6 (MAKEOPTS="-j4") 29 Oct 2020 03:59AM UTC 0
98.02
Travis Job 14579.6
Source Files on build 14579
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #14579
  • 6f348008 on github
  • Prev Build on master (#14577)
  • Next Build on master (#14581)
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