fontlab_glyport._strict
_strict
Shared rules for strict facades: script locations and probe-safe properties.
Strict facades raise UnsupportedAttribute (also an AttributeError) for
unknown reads so hasattr/getattr(obj, name, default) probes work. CPython
re-dispatches an AttributeError raised inside a property body to __getattr__
under the property's own name, losing the real cause. guard_properties
rewraps a class's properties so their bodies never leak an AttributeError.
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
caller_location |
function | () -> SourceLocation | None |
Locate the innermost frame outside this package (the script's own line). |
guard_properties |
function | (cls: type) -> None |
Rewrap every plain property defined directly on <code>cls</code> (fset/doc kept). |