fontlab_glyport.profile_guards · declarations 001
Back to fontlab_glyport.profile_guards
guard_versions
guard_versions(tree)
Return majors not rejected by simple module-level if ...: raise.
Numeric module constants and reversed/chained comparisons are understood. Unknown expressions impose no constraint; this is evidence, not a Python control-flow interpreter. In particular a version-dependent API branch without a direct raise does not reject either generation.