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

agronholm / typeguard / 116
95%

Build:
DEFAULT BRANCH: master
Ran 10 Apr 2019 06:53AM UTC
Jobs 3
Files 1
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

pending completion
116

push

travis-ci-com

agronholm
Make type hints cache thread-safe (#59)

When the same function is type-checked in multiple threads, a race
condition exists between the full initialization of that function's type
hints in one or more threads and iterating over those hints in one or
more other threads.

This can result in `RuntimeError: OrderedDict mutated during iteration`
in functions that iterate `_CallMemo.type_hints` items.

This fix is to only add the fully initialized type hints dict to the
global type hints cache rather than put an empty dict in the cache and
then subsequently populate that dict.

315 of 330 relevant lines covered (95.45%)

2.79 hits per line

Jobs
ID Job ID Ran Files Coverage
3 116.3 (TOXENV=py35) 10 Apr 2019 06:54AM UTC 0
93.64
Travis Job 116.3
4 116.4 (TOXENV=py36) 10 Apr 2019 06:53AM UTC 0
93.03
Travis Job 116.4
5 116.5 (TOXENV=py37) 10 Apr 2019 06:54AM UTC 0
92.42
Travis Job 116.5
Source Files on build 116
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #116
  • 67a859a0 on github
  • Prev Build on master (#114)
  • Next Build on master (#117)
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