Skip to content

Remove Python 3.14 non-compatibility, add autodoc extension that parses AssignedField doc comment#60

Merged
sixpearls merged 6 commits intomainfrom
py314-annot
Feb 26, 2026
Merged

Remove Python 3.14 non-compatibility, add autodoc extension that parses AssignedField doc comment#60
sixpearls merged 6 commits intomainfrom
py314-annot

Conversation

@ixjlyons
Copy link
Copy Markdown
Contributor

@ixjlyons ixjlyons commented Jan 22, 2026

@sixpearls
Copy link
Copy Markdown
Contributor

sixpearls commented Feb 14, 2026

This will likely to be resolved. sys._getframe(1) called from the BaseCondorClassDict.__setitem__ can be used to get the frame object for the class, find the annotate code object, "And then some more tricks to build a function object from the code object. But this will be fragile and not portable" per discussion with a Python core dev.

Best path forward is likely to remove this capability.

@ixjlyons ixjlyons changed the title Fix setting output by annotation with Python 3.14 Remove Python 3.14 non-compatibility, add autodoc extension for FreeField Feb 25, 2026
@ixjlyons ixjlyons marked this pull request as ready for review February 25, 2026 20:59
@sixpearls sixpearls changed the title Remove Python 3.14 non-compatibility, add autodoc extension for FreeField Remove Python 3.14 non-compatibility, add autodoc extension that parses AssignedField Feb 26, 2026
@sixpearls sixpearls changed the title Remove Python 3.14 non-compatibility, add autodoc extension that parses AssignedField Remove Python 3.14 non-compatibility, add autodoc extension that parses AssignedField doc comment Feb 26, 2026
@sixpearls sixpearls merged commit 51bb1f0 into main Feb 26, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants