google / pytype

A static type analyzer for Python code
https://google.github.io/pytype
Other
4.74k stars 276 forks source link

pytype of a larger but not huge standalone script xen-bugtool never finishes #1577

Open bernhardkaindl opened 8 months ago

bernhardkaindl commented 8 months ago

Running pytype on this script on Ubuntu 22.04 never finishes (Interrupted it after 42 minutes):

https://github.com/xenserver/status-report/blob/master/xen-bugtool

It is standalone and needs uses only one optional non-stdlib module that does not need to be present.

rchen152 commented 7 months ago

Yeah, 42 minutes (!) definitely seems suspiciously long. Let me check if pytype is entering an infinite loop somewhere.