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
{{ message }}
Repository navigation
Python 3.14.0a3: TypeError: Extra positional arguments provided #795
Checking the 2 occurrences of "Extra positional arguments provided" in _core.c and modifying the error message I see now that the error is from this line:
Activity
hroncok commentedon Jan 30, 2025
Same problem with a4
hroncok commentedon Jan 30, 2025
Checking the 2 occurrences of "Extra positional arguments provided" in _core.c and modifying the error message I see now that the error is from this line:
https://github.com/jcrist/msgspec/blob/dd965dce22e5278d4935bea923441ecde31b5325/msgspec/_core.c#L7294
hroncok commentedon Jan 30, 2025
The conditional at https://github.com/jcrist/msgspec/blob/dd965dce22e5278d4935bea923441ecde31b5325/msgspec/_core.c#L7293
2 > (2 - 0)2 > (0 - 0)hroncok commentedon Jan 30, 2025
I was trying to bisect CPython to see what happened, but unfortunately, some cache interferes with my efforts and I am getting unstable results :(
hroncok commentedon Feb 4, 2025
The 0 vs 2 difference already exists here:
https://github.com/jcrist/msgspec/blob/dd965dce22e5278d4935bea923441ecde31b5325/msgspec/_core.c#L5878
hroncok commentedon Feb 4, 2025
The difference originates in:
https://github.com/jcrist/msgspec/blob/dd965dce22e5278d4935bea923441ecde31b5325/msgspec/_core.c#L5816-L5820
On Python 3.14, this returns 0.
hroncok commentedon Feb 4, 2025
As @befeleme suggested to me earlier, this looks very much related to https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep649
Python 3.14: Call __annotate__ on type objects to get annotations
edgarrmondragon commentedon Apr 19, 2025
This is related to
Python 3.14: Call __annotate__ on type objects to get annotations
Fix annotations support on 3.14
Fix annotations support on 3.14
Fix annotations support on 3.14
ofek commentedon Nov 24, 2025
https://github.com/jcrist/msgspec/releases/tag/0.20.0