Skip to content

Commit e470e9e

Browse files
committed
Revert remove TODO comment code
1 parent f2febf6 commit e470e9e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg_resources/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3326,6 +3326,9 @@ def has_version(self) -> bool:
33263326
except ValueError:
33273327
issue_warning("Unbuilt egg for " + repr(self))
33283328
return False
3329+
except SystemError:
3330+
# TODO: remove this except clause when python/cpython#103632 is fixed.
3331+
return False
33293332
return True
33303333

33313334
def clone(self, **kw: str | int | IResourceProvider | None) -> Self:

0 commit comments

Comments
 (0)