Skip to content

Instantly share code, notes, and snippets.

@pschanely
Created July 19, 2024 21:23
Show Gist options
  • Save pschanely/35e9e3726667c18ebffe94d2e88007de to your computer and use it in GitHub Desktop.
Save pschanely/35e9e3726667c18ebffe94d2e88007de to your computer and use it in GitHub Desktop.
Shared via CrossHair Playground
from crosshair.core_and_libs import proxy_for_type, standalone_statespace
from pathlib import PurePath
from crosshair.core import NoTracing
from crosshair.libimpl.builtinslib import (LazyIntSymbolicStr, SymbolicBoundedIntTuple)
with standalone_statespace:
with NoTracing():
symbolic = LazyIntSymbolicStr(
SymbolicBoundedIntTuple((1, 2, 3), "tempname")
)
PurePath(symbolic)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment