Message89771
> + if (n < 0)
I suggest a comment like:
/* The difference can overflow, only if self->size is greater than
* PY_SSIZE_T_MAX. But then the operation cannot possibly succeed,
* because the mapped area and the returned string each need more
* than half of the addressable memory. So we clip the size, and let
* the code below raise MemoryError.
*/ |
|
Date |
User |
Action |
Args |
2009-06-28 09:47:54 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, ocean-city |
2009-06-28 09:47:54 | amaury.forgeotdarc | set | messageid: <1246182474.13.0.59101730474.issue6344@psf.upfronthosting.co.za> |
2009-06-28 09:47:53 | amaury.forgeotdarc | link | issue6344 messages |
2009-06-28 09:47:52 | amaury.forgeotdarc | create | |
|