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
New warning on main: writing 1 byte into a region of size 0 [-Wstringop-overflow=] #129467
Stefan participated in the old issue thread. So, he is aware on the problem. If this patch wasn't included in 4.0.0 - maybe he consider this as a non-issue for the mpdecimal.
next time that we update mpdecimal
I don't think there is much sense to do this. The mpdecimal seems to be a complete project (implementation of the IBM spec). For bugfixes or performance improvements people should just use upstream sources.
Note: we plan to remove the vendored libmpdecimal copy in Python 3.15
(Someone should convince Debian people to restore mpdecimal package.)
Activity
skirpichev commentedon Jan 30, 2025
I doubt it's a new one, see #108562. See patch: #116346.
Probably someone (me?:)) should just post that to the mpdecimal maillist.
sobolevn commentedon Jan 30, 2025
In any case, it affects our CI, so we should take appropriate steps to resolve this issue.
skirpichev commentedon Jan 30, 2025
Ok, #116346 restored.
vstinner commentedon Jan 30, 2025
Yes, otherwise, we will loose the patch next time that we update mpdecimal.
Note: we plan to remove the vendored
libmpdecimalcopy in Python 3.15: https://docs.python.org/dev/whatsnew/3.14.html#id11skirpichev commentedon Jan 30, 2025
Stefan participated in the old issue thread. So, he is aware on the problem. If this patch wasn't included in 4.0.0 - maybe he consider this as a non-issue for the mpdecimal.
I don't think there is much sense to do this. The mpdecimal seems to be a complete project (implementation of the IBM spec). For bugfixes or performance improvements people should just use upstream sources.
(Someone should convince Debian people to restore mpdecimal package.)
gh-129467: Fix compiler warning in mpdecimal word_to_string() (#116346)
vstinner commentedon Jan 30, 2025
Fixed by the change 6c63afc.
pythongh-129467: Fix compiler warning in mpdecimal word_to_string() (p…