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
Parsing integers starting with unary plus (such as +1) fails to parse to an int using pydantic v2.7.0 - found it from a test that broke when trying to upgrade dependencies.
Unary minus, such as -1 works as expected.
Seems related to some int parsing changes mentioned in #9227
Initial Checks
Description
Parsing integers starting with unary plus (such as
+1
) fails to parse to an int using pydantic v2.7.0 - found it from a test that broke when trying to upgrade dependencies.Unary minus, such as
-1
works as expected.Seems related to some int parsing changes mentioned in #9227
Example Code
Python, Pydantic & OS Version
The text was updated successfully, but these errors were encountered: