René's URL Explorer Experiment


Title: Fix #15215 (misra.py: analyse_ctu_info() does not close the ctu-info files) by g-chauvel · Pull Request #9025 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Fix #15215 (misra.py: analyse_ctu_info() does not close the ctu-info files) by g-chauvel · Pull Request #9025 · cppcheck-opensource/cppcheck

X Title: Fix #15215 (misra.py: analyse_ctu_info() does not close the ctu-info files) by g-chauvel · Pull Request #9025 · cppcheck-opensource/cppcheck

Description: static analysis of C/C++ code. Contribute to cppcheck-opensource/cppcheck development by creating an account on GitHub.

Open Graph Description: analyse_ctu_info() does not close the ctu-info files. This gives a ResourceWarning in Python dev mode. PYTHONDEVMODE=1 cppcheck -q --addon=misra addons/test/misra/misra-ctu-1-test.c addons/test/mis...

X Description: analyse_ctu_info() does not close the ctu-info files. This gives a ResourceWarning in Python dev mode. PYTHONDEVMODE=1 cppcheck -q --addon=misra addons/test/misra/misra-ctu-1-test.c addons/test/mis...

Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/9025

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:6b1d28e2-5718-ebf0-e8e4-bbdc582f61eb
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idAE8E:23EEB5:3584AB:49D66D:6AFC506A
html-safe-nonceafc9bd29d75c20d510f7ed8dab5808993c0befec31599c4c7ed2d3b4c18c757b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRThFOjIzRUVCNTozNTg0QUI6NDlENjZEOjZBRkM1MDZBIiwidmlzaXRvcl9pZCI6IjIwMzQ3MDAxODY5ODgyNTgzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6a3b893ba07a51d3099e47aea0b37b0ef51df2170bdc96ff56197dc8fe0ffa9f
hovercard-subject-tagpull_request:5296709680
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/9025/checks
twitter:imagehttps://opengraph.githubassets.com/f417c5c2779d95f493e295b628f48373dd1e2d99fefe5a7e1c53f0d9b67ab7b8/cppcheck-opensource/cppcheck/pull/9025
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f417c5c2779d95f493e295b628f48373dd1e2d99fefe5a7e1c53f0d9b67ab7b8/cppcheck-opensource/cppcheck/pull/9025
og:image:altanalyse_ctu_info() does not close the ctu-info files. This gives a ResourceWarning in Python dev mode. PYTHONDEVMODE=1 cppcheck -q --addon=misra addons/test/misra/misra-ctu-1-test.c addons/test/mis...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameg-chauvel
hostnamegithub.com
expected-hostnamegithub.com
Noneb63557e0027d8014589e873df28328da74a4356701bb1a9eab49dbf012ba8fa6
turbo-cache-controlno-cache
go-importgithub.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id143131
octolytics-dimension-repository_nwocppcheck-opensource/cppcheck
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143131
octolytics-dimension-repository_network_root_nwocppcheck-opensource/cppcheck
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0243355b0352c83733a042e0dfb3d75149b51261
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/9025/checks#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9025%2Fchecks
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9025%2Fchecks
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/9025/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/9025/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/9025/checks
cppcheck-opensourcehttps://github.com/cppcheck-opensource
cppcheckhttps://github.com/cppcheck-opensource/cppcheck
Codehttps://github.com/cppcheck-opensource/cppcheck
Pull requests222 (222)https://github.com/cppcheck-opensource/cppcheck/pulls
Actionshttps://github.com/cppcheck-opensource/cppcheck/actions
Security and qualityhttps://github.com/cppcheck-opensource/cppcheck/security
Insightshttps://github.com/cppcheck-opensource/cppcheck/pulse
https://github.com/cppcheck-opensource/cppcheck
g-chauvelhttps://github.com/g-chauvel
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
g-chauvel:misra-ctu-info-closehttps://github.com/g-chauvel/cppcheck/tree/misra-ctu-info-close
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/9025
Commits1 (1)https://github.com/cppcheck-opensource/cppcheck/pull/9025/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/9025/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/9025/files
Fix #15215 (misra.py: analyse_ctu_info() does not close the ctu-info files)https://github.com/cppcheck-opensource/cppcheck/pull/9025/checks#top
g-chauvelhttps://github.com/g-chauvel
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
g-chauvel:misra-ctu-info-closehttps://github.com/g-chauvel/cppcheck/tree/misra-ctu-info-close
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9025/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9025%2Fchecks
CodeQL on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897409
Analyze (cpp) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897409/job/131927626731?pr=9025
Analyze (python) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897409/job/131927626394?pr=9025
CIFuzz on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897478
Fuzzing https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897478/job/131927627066?pr=9025
Coverage on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897453
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897453/job/131927626116?pr=9025
CI-cygwin on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897492
build_cygwin (windows-2025, x86_64) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897492/job/131927626811?pr=9025
CI-mingw on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897498
build_mingw (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897498/job/131927626692?pr=9025
CI-unixish on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516
build_cmake_tinyxml2 (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627216?pr=9025
build_cmake_tinyxml2 (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627516?pr=9025
build_cmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627997?pr=9025
build_cmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627838?pr=9025
build_cmake_cxxstd (ubuntu-22.04, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627765?pr=9025
build_cmake_cxxstd (ubuntu-22.04, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627729?pr=9025
build_cmake_cxxstd (ubuntu-22.04, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627939?pr=9025
build_cmake_cxxstd (macos-15, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627745?pr=9025
build_cmake_cxxstd (macos-15, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627695?pr=9025
build_uchar (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627964?pr=9025
build_uchar (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627578?pr=9025
build_mathlib (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627631?pr=9025
build_mathlib (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627621?pr=9025
check_nonneg (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627654?pr=9025
check_nonneg (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627439?pr=9025
build_cmake_boost (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627662?pr=9025
build_cmake_minimum https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627728?pr=9025
build (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627806?pr=9025
build (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/131927627618?pr=9025
selfcheck https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897516/job/132008041635?pr=9025
scriptcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897547
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897547/job/132202892221?pr=9025
dmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897547/job/132202892672?pr=9025
dmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897547/job/132202892774?pr=9025
dmake (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897547/job/132202892669?pr=9025
scriptcheck (3.7) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897547/job/132203508356?pr=9025
scriptcheck (3.8) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897547/job/132203508250?pr=9025
scriptcheck (3.9) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897547/job/132203508353?pr=9025
scriptcheck (3.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897547/job/132203508322?pr=9025
scriptcheck (3.11) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897547/job/132203508332?pr=9025
scriptcheck (3.12) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897547/job/132203508207?pr=9025
scriptcheck (3.13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897547/job/132203508269?pr=9025
scriptcheck (3.14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897547/job/132203508299?pr=9025
clang-tidy on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897573
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897573/job/131927627213?pr=9025
CI-unixish-docker on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897621
build_cmake (ubuntu:24.04, true, true) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897621/job/131927627408?pr=9025
build_cmake (ubuntu:25.10, true, true) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897621/job/131927628418?pr=9025
build_cmake (alpine:3.23, false, false) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897621/job/131927627228?pr=9025
build_make (ubuntu:24.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897621/job/131927627703?pr=9025
build_make (ubuntu:25.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897621/job/131927627073?pr=9025
build_make (alpine:3.23) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897621/job/131927627373?pr=9025
format on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897618
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897618/job/131927626904?pr=9025
cppcheck-premium on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897622
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897622/job/131927627355?pr=9025
selfcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897655
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897655/job/131927627402?pr=9025
release-windows-mingw on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897647
build_mingw (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897647/job/131927627523?pr=9025
gcc-versions on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897662
build (ghcr.io/cppcheck-opensource/gcc:5.4) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897662/job/131927627544?pr=9025
CI-windows on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897692
build_qt (windows-2022, 6.10.0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897692/job/131927627551?pr=9025
build_qt (windows-2025, 6.10.0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897692/job/131927627705?pr=9025
build_cmake_cxxstd (windows-2022, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897692/job/131927627967?pr=9025
build_cmake_cxxstd (windows-2022, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897692/job/131927627825?pr=9025
build_cmake_cxxstd (windows-2022, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897692/job/131927627832?pr=9025
build_cmake_cxxstd (windows-2025, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897692/job/131927627518?pr=9025
build_cmake_cxxstd (windows-2025, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897692/job/131927627719?pr=9025
build_cmake_cxxstd (windows-2025, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897692/job/131927627910?pr=9025
build_cmake_minimum https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897692/job/131927627109?pr=9025
build (windows-2022, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897692/job/131927627762?pr=9025
build (windows-2022, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897692/job/131927627760?pr=9025
build (windows-2025, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897692/job/131927627749?pr=9025
build (windows-2025, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897692/job/131927627847?pr=9025
valgrind on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897695
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897695/job/131927627414?pr=9025
Build manual on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897705
convert_via_pandoc https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897705/job/131927627599?pr=9025
manpage https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897705/job/131927627022?pr=9025
sanitizers on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897706
build (asan, -DANALYZE_ADDRESS=On, true, process, false) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897706/job/131927627301?pr=9025
build (tsan, -DANALYZE_THREAD=On, false, thread, false, --executor=thread --error-exitcode=0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897706/job/131927627998?pr=9025
build (ubsan, -DANALYZE_UNDEFINED=On, true, process, true) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43437897706/job/131927627843?pr=9025
CodeQL https://github.com/cppcheck-opensource/cppcheck/pull/9025/checks?check_run_id=131959669015
Cppcheck Premium https://github.com/cppcheck-opensource/cppcheck/pull/9025/checks?check_run_id=131950079093
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.