Open tmccombs opened 1 year ago
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive
because the last activity was over 90 days ago.
This should remain active. I think. I'm not entirely sure what is implied by the "inactive" tag.
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive
because the last activity was over 90 days ago.
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please reopen it.
This issue was closed and archived because there has been no new activity in the 14 days since the inactive
label was added.
This is still a problem. can it be re-opened?
Run into this problem too, please, re-open issue!
@anandolee @zhangskz Could you reopen the issue and share your thoughts on it? It looks abandoned for almost a year.
+1
@anandolee Can you take a look?
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive
because the last activity was over 90 days ago. This issue will be closed and archived after 14 additional days without activity.
@anandolee any updates here?
What version of protobuf and what language are you using? Version: libprotoc 23.4 Language: Python
What operating system (Linux, Windows, ...) and version? Archlinux
What runtime / compiler are you using (e.g., python version or gcc version)
python 3.11.3
What did you do? Steps to reproduce the behavior:
Create a protbuf file like the following:
then run
protoc --pyil_out=. test.proto
This results in the following code:
What did you expect to see
MY_VERSION_FIELD_NUMBER
should be typed asint
What did you see instead?
MY_VERSION_FIELD_NUMBER
is typed asClassVar[int]
python type checkers such asmypy
andpyright
complain aboutClassVar
being used outside of a class.