Skip to content

Conversation

@EdCaunt
Copy link
Contributor

@EdCaunt EdCaunt commented Jan 20, 2026

No description provided.

import re
import sys
from contextlib import suppress
from ctypes import util as ctypesutil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
from ctypes import util as ctypesutil
import ctypes.util

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(and then you can drop the other changes)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh interesting. I was doing it this way so there wasn't a nondescript util floating around, although I guess you are a fan of those

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There isn't, it still needs to be referenced as ctypes.util. I see your point, but there's not much I can do about a Python internal library 🤷

@codecov
Copy link

codecov bot commented Jan 20, 2026

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.96%. Comparing base (ca12d81) to head (4dfc2da).

Files with missing lines Patch % Lines
devito/arch/archinfo.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2827      +/-   ##
==========================================
- Coverage   78.98%   78.96%   -0.02%     
==========================================
  Files         248      248              
  Lines       50815    50816       +1     
  Branches     4391     4391              
==========================================
- Hits        40134    40129       -5     
- Misses       9879     9883       +4     
- Partials      802      804       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mloubout mloubout added the arch jitting, archinfo, ... label Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch jitting, archinfo, ...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants