You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error while generating documentation for annotated variable in module with TYPE_CHECKING block.
pdoc does it standard stuff from #293, but modifies content of self.obj.__dict__ (i.e. adding there things imported from TYPE_CHECKING block) while being within loop and after that hit RuntimeError: dictionary changed size during iteration.
Problem Description
Error while generating documentation for annotated variable in module with TYPE_CHECKING block.
pdoc does it standard stuff from #293, but modifies content of
self.obj.__dict__
(i.e. adding there things imported from TYPE_CHECKING block) while being within loop and after that hitRuntimeError: dictionary changed size during iteration
.Steps to reproduce the behavior:
pdoc module
System Information
pdoc: 10.0.0 (+1, commit eb686bc)
Python: 3.10.2
Platform: Linux-5.16.5-arch1-1-x86_64-with-glibc2.33
The text was updated successfully, but these errors were encountered: