Skip to content

Commit 2dd63ad

Browse files
committed
Deploying to gh-pages from @ 45f1045 🚀
1 parent f0162b9 commit 2dd63ad

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tokenizers.html

+18
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,12 @@ <h1 class="title">Module <code>eyecite.tokenizers</code></h1>
556556
)
557557
except TypeError:
558558
hyperscan_db = hyperscan.loadb(cache_bytes)
559+
except hyperscan.InvalidError:
560+
# Skipping hyperscan_db assignment to force a full
561+
# database recompile as the cached version seems to be
562+
# invalid.
563+
pass
564+
559565
try:
560566
# at some point Scratch became necessary --
561567
# https://github.com/darvid/python-hyperscan/issues/50#issuecomment-1386243477
@@ -870,6 +876,12 @@ <h3>Inherited members</h3>
870876
)
871877
except TypeError:
872878
hyperscan_db = hyperscan.loadb(cache_bytes)
879+
except hyperscan.InvalidError:
880+
# Skipping hyperscan_db assignment to force a full
881+
# database recompile as the cached version seems to be
882+
# invalid.
883+
pass
884+
873885
try:
874886
# at some point Scratch became necessary --
875887
# https://github.com/darvid/python-hyperscan/issues/50#issuecomment-1386243477
@@ -969,6 +981,12 @@ <h3>Instance variables</h3>
969981
)
970982
except TypeError:
971983
hyperscan_db = hyperscan.loadb(cache_bytes)
984+
except hyperscan.InvalidError:
985+
# Skipping hyperscan_db assignment to force a full
986+
# database recompile as the cached version seems to be
987+
# invalid.
988+
pass
989+
972990
try:
973991
# at some point Scratch became necessary --
974992
# https://github.com/darvid/python-hyperscan/issues/50#issuecomment-1386243477

0 commit comments

Comments
 (0)