12 matches across 1 files for error lang:Python lang:Python path:src/tools/publish_toolstate.py
snippet_mode: auto · sorted by relevance
src/tools/publish_toolstate.py PYTHON 12 matches · showing 5 view file →
18try:
19 import urllib2
20 from urllib2 import HTTPError
21except ImportError:
22 import urllib.request as urllib2
· · ·
21except ImportError:
22 import urllib.request as urllib2
23 from urllib.error import HTTPError
· · ·
23 from urllib.error import HTTPError
24try:
25 import typing # noqa: F401 FIXME: py2
· · ·
26except ImportError:
27 pass
28
· · ·
217 github_token,
218 )
219 except HTTPError as e:
220 # network errors will simply end up not creating an issue, but that's better
221 # than failing the entire build job
+ 7 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.