René's URL Explorer Experiment


Title: Fix unsafely broad except clauses by TomKingsfordUoA · Pull Request #173 · modAL-python/modAL · GitHub

Open Graph Title: Fix unsafely broad except clauses by TomKingsfordUoA · Pull Request #173 · modAL-python/modAL

X Title: Fix unsafely broad except clauses by TomKingsfordUoA · Pull Request #173 · modAL-python/modAL

Description: Includes #172 It is poor practice to use unrestricted except clauses. This has resulted in multiple errors going unnoticed. I have removed these clauses and replaced with more specific (and therefore safer) logic. Tests pass.

Open Graph Description: Includes #172 It is poor practice to use unrestricted except clauses. This has resulted in multiple errors going unnoticed. I have removed these clauses and replaced with more specific (and therefo...

X Description: Includes #172 It is poor practice to use unrestricted except clauses. This has resulted in multiple errors going unnoticed. I have removed these clauses and replaced with more specific (and therefo...

Opengraph URL: https://github.com/modAL-python/modAL/pull/173

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:07b0e6be-9f0d-cb30-4939-80e2c405cb15
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE7D0:2248F:8DDBA0:BF4492:698F6B0E
html-safe-nonceec4552638a0a9f165f4f26a70b195cb8e6ad10f0bb646c121e8cd96f8947d336
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0QwOjIyNDhGOjhEREJBMDpCRjQ0OTI6Njk4RjZCMEUiLCJ2aXNpdG9yX2lkIjoiNzQyNDEyNDc1NTU5NzI5MDI1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca5f290233023c98149b1a3f7eb0c54e518521f57bd1f95ebbbd1080a3fdb6e10
hovercard-subject-tagpull_request:1411199281
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modAL-python/modAL/pull/173/files
twitter:imagehttps://avatars.githubusercontent.com/u/86583157?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/86583157?s=400&v=4
og:image:altIncludes #172 It is poor practice to use unrestricted except clauses. This has resulted in multiple errors going unnoticed. I have removed these clauses and replaced with more specific (and therefo...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7ab1c9acb90dba91d5e994ebfb6bfb1130e0e0e6aca329cdbbd934d636e22ab6
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/modAL-python/modAL git https://github.com/modAL-python/modAL.git
octolytics-dimension-user_id42179679
octolytics-dimension-user_loginmodAL-python
octolytics-dimension-repository_id110697473
octolytics-dimension-repository_nwomodAL-python/modAL
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id110697473
octolytics-dimension-repository_network_root_nwomodAL-python/modAL
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1d6695367a1b2f05addc4030b791720f01693df4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FmodAL-python%2FmodAL%2Fpull%2F173%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FmodAL-python%2FmodAL%2Fpull%2F173%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=modAL-python%2FmodAL
Reloadhttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files
Reloadhttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files
Reloadhttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files
modAL-python https://patch-diff.githubusercontent.com/modAL-python
modALhttps://patch-diff.githubusercontent.com/modAL-python/modAL
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FmodAL-python%2FmodAL
Fork 327 https://patch-diff.githubusercontent.com/login?return_to=%2FmodAL-python%2FmodAL
Star 2.3k https://patch-diff.githubusercontent.com/login?return_to=%2FmodAL-python%2FmodAL
Code https://patch-diff.githubusercontent.com/modAL-python/modAL
Issues 93 https://patch-diff.githubusercontent.com/modAL-python/modAL/issues
Pull requests 12 https://patch-diff.githubusercontent.com/modAL-python/modAL/pulls
Actions https://patch-diff.githubusercontent.com/modAL-python/modAL/actions
Projects 0 https://patch-diff.githubusercontent.com/modAL-python/modAL/projects
Wiki https://patch-diff.githubusercontent.com/modAL-python/modAL/wiki
Security 0 https://patch-diff.githubusercontent.com/modAL-python/modAL/security
Insights https://patch-diff.githubusercontent.com/modAL-python/modAL/pulse
Code https://patch-diff.githubusercontent.com/modAL-python/modAL
Issues https://patch-diff.githubusercontent.com/modAL-python/modAL/issues
Pull requests https://patch-diff.githubusercontent.com/modAL-python/modAL/pulls
Actions https://patch-diff.githubusercontent.com/modAL-python/modAL/actions
Projects https://patch-diff.githubusercontent.com/modAL-python/modAL/projects
Wiki https://patch-diff.githubusercontent.com/modAL-python/modAL/wiki
Security https://patch-diff.githubusercontent.com/modAL-python/modAL/security
Insights https://patch-diff.githubusercontent.com/modAL-python/modAL/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2FmodAL-python%2FmodAL%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2FmodAL-python%2FmodAL%2Fissues%2Fnew%2Fchoose
TomKingsfordUoAhttps://patch-diff.githubusercontent.com/TomKingsfordUoA
modAL-python:devhttps://patch-diff.githubusercontent.com/modAL-python/modAL/tree/dev
Mattomer:fix-unsafely-broad-except-clauseshttps://patch-diff.githubusercontent.com/Mattomer/Mattomer/tree/fix-unsafely-broad-except-clauses
Conversation 0 https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173
Commits 2 https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/commits
Checks 0 https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/checks
Files changed https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files
Please reload this pagehttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files
Fix unsafely broad except clauses https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#top
Show all changes 2 commits https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files
32e517d fix: make vstack correctly handle stacking dataframes and series TomKingsfordUoA Jun 28, 2023 https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/commits/32e517d9dfdbcb270549f6ea223f677e2082d07f
57b9154 fix: remove unsafely broad except clauses TomKingsfordUoA Jun 28, 2023 https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/commits/57b9154bceb4e78aa6e2bbcde65e5970ef53a9b3
Clear filters https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files
Please reload this pagehttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files
Please reload this pagehttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files
expected_error.py https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-da161560c3836e96cc09d57d04699293bc8033dafb2dab5e776e948fe81556df
base.py https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-70fbd7b22b2ba14aff0f6dc81c5f65c94740c5255fd6da673db956d166ec8815
data.py https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-c340b9ed33c8ac5720323ddbdab3992e607f9bbc34c8a157e23d6d2c4e1452c5
rtd_requirements.txt https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-3b66575c5fbd3955a5e3d5f91de2059b5af28a9929977d6be01fa0141df9452a
core_tests.py https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-6f949166cc52d17d3324b07852a231b9830bcdb419fe9a7de4d116faad8ac71f
modAL/expected_error.pyhttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-da161560c3836e96cc09d57d04699293bc8033dafb2dab5e776e948fe81556df
View file https://patch-diff.githubusercontent.com/modAL-python/modAL/blob/57b9154bceb4e78aa6e2bbcde65e5970ef53a9b3/modAL/expected_error.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-da161560c3836e96cc09d57d04699293bc8033dafb2dab5e776e948fe81556df
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-da161560c3836e96cc09d57d04699293bc8033dafb2dab5e776e948fe81556df
modAL/models/base.pyhttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-70fbd7b22b2ba14aff0f6dc81c5f65c94740c5255fd6da673db956d166ec8815
View file https://patch-diff.githubusercontent.com/modAL-python/modAL/blob/57b9154bceb4e78aa6e2bbcde65e5970ef53a9b3/modAL/models/base.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-70fbd7b22b2ba14aff0f6dc81c5f65c94740c5255fd6da673db956d166ec8815
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-70fbd7b22b2ba14aff0f6dc81c5f65c94740c5255fd6da673db956d166ec8815
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-70fbd7b22b2ba14aff0f6dc81c5f65c94740c5255fd6da673db956d166ec8815
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-70fbd7b22b2ba14aff0f6dc81c5f65c94740c5255fd6da673db956d166ec8815
modAL/utils/data.pyhttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-c340b9ed33c8ac5720323ddbdab3992e607f9bbc34c8a157e23d6d2c4e1452c5
View file https://patch-diff.githubusercontent.com/modAL-python/modAL/blob/57b9154bceb4e78aa6e2bbcde65e5970ef53a9b3/modAL/utils/data.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-c340b9ed33c8ac5720323ddbdab3992e607f9bbc34c8a157e23d6d2c4e1452c5
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-c340b9ed33c8ac5720323ddbdab3992e607f9bbc34c8a157e23d6d2c4e1452c5
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-c340b9ed33c8ac5720323ddbdab3992e607f9bbc34c8a157e23d6d2c4e1452c5
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-c340b9ed33c8ac5720323ddbdab3992e607f9bbc34c8a157e23d6d2c4e1452c5
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-c340b9ed33c8ac5720323ddbdab3992e607f9bbc34c8a157e23d6d2c4e1452c5
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-c340b9ed33c8ac5720323ddbdab3992e607f9bbc34c8a157e23d6d2c4e1452c5
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-c340b9ed33c8ac5720323ddbdab3992e607f9bbc34c8a157e23d6d2c4e1452c5
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-c340b9ed33c8ac5720323ddbdab3992e607f9bbc34c8a157e23d6d2c4e1452c5
rtd_requirements.txthttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-3b66575c5fbd3955a5e3d5f91de2059b5af28a9929977d6be01fa0141df9452a
View file https://patch-diff.githubusercontent.com/modAL-python/modAL/blob/57b9154bceb4e78aa6e2bbcde65e5970ef53a9b3/rtd_requirements.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/{{ revealButtonHref }}
tests/core_tests.pyhttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-6f949166cc52d17d3324b07852a231b9830bcdb419fe9a7de4d116faad8ac71f
View file https://patch-diff.githubusercontent.com/modAL-python/modAL/blob/57b9154bceb4e78aa6e2bbcde65e5970ef53a9b3/tests/core_tests.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-6f949166cc52d17d3324b07852a231b9830bcdb419fe9a7de4d116faad8ac71f
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-6f949166cc52d17d3324b07852a231b9830bcdb419fe9a7de4d116faad8ac71f
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-6f949166cc52d17d3324b07852a231b9830bcdb419fe9a7de4d116faad8ac71f
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/173/files#diff-6f949166cc52d17d3324b07852a231b9830bcdb419fe9a7de4d116faad8ac71f
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.