Message233435
Right, but there's still no danger of overflow.
On Sun, Jan 4, 2015, at 16:50, STINNER Victor wrote:
>
> STINNER Victor added the comment:
>
> PY_SSIZE_T_MAX is usually smaller than SIZE_T_MAX ;-)
>
> (strlen result is not signed.)
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue23165>
> _______________________________________ |
|
Date |
User |
Action |
Args |
2015-01-04 22:52:24 | benjamin.peterson | set | recipients:
+ benjamin.peterson, vstinner, python-dev, Guido |
2015-01-04 22:52:24 | benjamin.peterson | link | issue23165 messages |
2015-01-04 22:52:24 | benjamin.peterson | create | |
|