CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 05:14:24 GMT
content-type: text/html; charset=utf-8
cache-control: max-age=0, private, must-revalidate
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
referrer-policy: no-referrer-when-downgrade
server-timing: repo_layout-fragment;desc="repo_layout fragment";dur=645.005606,commit_show_contents-fragment;desc="commit_show_contents fragment";dur=57.173507,commit_show_header-fragment;desc="commit_show_header fragment";dur=55.837627,nginx;desc="NGINX";dur=0.567055,glb;desc="GLB";dur=95.46014
strict-transport-security: max-age=31536000; includeSubdomains; preload
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-content-type-options: nosniff
x-frame-options: deny
x-repository-download: git clone https://github.com/RDFLib/rdflib.git
x-voltron-version: fd8fbbc
x-xss-protection: 0
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=wl1rm9EFoYg5EEUsreKHbcgq3xX265PF2rlYc6LsKdcv99CHoXktD7G%2FgEAJeNqNzuALAoGBNIChaFLdYDPSL6pg1WBCp8QTOHGnx6x%2BGPVCEM3iGn3ES4aBfcq3JDdJ6lGIt08MlgZ7V%2BRX8T631oVHv931oDb74uYVUmXdrl8tw4%2FePubBLsSTZCmXhts%2FJ6vN%2BG7TqqoSN7SrknlmJ86mPj37Ii7jy40b0o%2BmmhYJkNqEMr81wjCr4AUSt%2FXLs3sByF62wB4pCj13C%2FDDiA%3D%3D--hYuR9zHmsHxyYX10--zzq4GXZ12KcPsvKYRT3rdA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.149015263.1752902063; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 05:14:23 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 05:14:23 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D52E:3C366:41BFA:53316:687B29AF
fix: eliminate bare `except:` (#2350) · RDFLib/rdflib@4ea1436 · GitHub
Copy file name to clipboardExpand all lines: rdflib/namespace/__init__.py
Copy file name to clipboardExpand all lines: rdflib/plugins/parsers/notation3.py
Copy file name to clipboardExpand all lines: rdflib/plugins/parsers/trix.py
Copy file name to clipboardExpand all lines: rdflib/plugins/serializers/longturtle.py
Copy file name to clipboardExpand all lines: rdflib/plugins/serializers/rdfxml.py
Copy file name to clipboardExpand all lines: rdflib/plugins/serializers/turtle.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 576
Commit 4ea1436
authored
fix: eliminate bare
Replace bare `except:` with `except Exception`, there are some cases where it
can be narrowed further, but this is already an improvement over the current
situation.
This is somewhat pursuant to eliminating
[flakeheaven](https://github.com/flakeheaven/flakeheaven), as it no longer
supports the latest version of flake8
[[ref](flakeheaven/flakeheaven#132)]. But it also is
just the right thing to do as bare exceptions can cause problems.except:
(#2350)1 parent 7df77cd commit 4ea1436Copy full SHA for 4ea1436
File tree
Expand file treeCollapse file tree
10 files changed
+15
-15
lines changedFilter options
- rdflib
- namespace
- plugins
- parsers
- serializers
- tools
Expand file treeCollapse file tree
10 files changed
+15
-15
lines changedrdflib/namespace/__init__.py
Copy file name to clipboardExpand all lines: rdflib/namespace/__init__.py+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
508 | 508 |
| |
509 | 509 |
| |
510 | 510 |
| |
511 |
| - | |
| 511 | + | |
512 | 512 |
| |
513 | 513 |
| |
514 | 514 |
| |
|
rdflib/plugins/parsers/notation3.py
Copy file name to clipboardExpand all lines: rdflib/plugins/parsers/notation3.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
353 | 353 |
| |
354 | 354 |
| |
355 | 355 |
| |
356 |
| - | |
| 356 | + | |
357 | 357 |
| |
358 | 358 |
| |
359 | 359 |
| |
| |||
1711 | 1711 |
| |
1712 | 1712 |
| |
1713 | 1713 |
| |
1714 |
| - | |
| 1714 | + | |
1715 | 1715 |
| |
1716 | 1716 |
| |
1717 | 1717 |
| |
|
rdflib/plugins/parsers/trix.py
Copy file name to clipboardExpand all lines: rdflib/plugins/parsers/trix.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
108 |
| - | |
| 108 | + | |
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
| |||
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
125 |
| - | |
| 125 | + | |
126 | 126 |
| |
127 | 127 |
| |
128 | 128 |
| |
|
rdflib/plugins/serializers/longturtle.py
Copy file name to clipboardExpand all lines: rdflib/plugins/serializers/longturtle.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
127 |
| - | |
| 127 | + | |
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
| |||
245 | 245 |
| |
246 | 246 |
| |
247 | 247 |
| |
248 |
| - | |
| 248 | + | |
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
|
rdflib/plugins/serializers/rdfxml.py
Copy file name to clipboardExpand all lines: rdflib/plugins/serializers/rdfxml.py+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
253 | 253 |
| |
254 | 254 |
| |
255 | 255 |
| |
256 |
| - | |
| 256 | + | |
257 | 257 |
| |
258 | 258 |
| |
259 | 259 |
| |
|
rdflib/plugins/serializers/turtle.py
Copy file name to clipboardExpand all lines: rdflib/plugins/serializers/turtle.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
273 | 273 |
| |
274 | 274 |
| |
275 | 275 |
| |
276 |
| - | |
| 276 | + | |
277 | 277 |
| |
278 | 278 |
| |
279 | 279 |
| |
| |||
397 | 397 |
| |
398 | 398 |
| |
399 | 399 |
| |
400 |
| - | |
| 400 | + | |
401 | 401 |
| |
402 | 402 |
| |
403 | 403 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
409 | 409 |
| |
410 | 410 |
| |
411 | 411 |
| |
412 |
| - | |
| 412 | + | |
413 | 413 |
| |
414 | 414 |
| |
415 | 415 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
414 | 414 |
| |
415 | 415 |
| |
416 | 416 |
| |
417 |
| - | |
| 417 | + | |
418 | 418 |
| |
419 | 419 |
| |
420 | 420 |
| |
|
+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
98 | 98 |
| |
99 | 99 |
| |
100 | 100 |
| |
101 |
| - | |
| 101 | + | |
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
| |||
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
116 |
| - | |
| 116 | + | |
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
90 |
| - | |
| 90 | + | |
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
|
You can’t perform that action at this time.
0 commit comments