PEP 353: Using ssize_t as the index type

Tony Nelson *firstname*nlsnews at georgea*lastname*.com
Sun Feb 12 14:57:13 EST 2006


In article <43ef0792$0$11891$9b622d9e at news.freenet.de>,
 "Martin v. Löwis" <martin at v.loewis.de> wrote:
 ...
> Discussion
> ==========
> 
> Why not size_t
> --------------
> 
> An initial attempt to implement this feature tried to use
> size_t. It quickly turned out that this cannot work: Python
> uses negative indices in many places (to indicate counting
> from the end). Even in places where size_t would be usable,
> to many reformulations of code where necessary, e.g. in ...
  ^-
    |
Minor typo:  "too"
________________________________________________________________________
TonyN.:'                        *firstname*nlsnews at georgea*lastname*.com
      '                                  <http://www.georgeanelson.com/>



More information about the Python-list mailing list