[Python-Dev] infinities (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Sun Nov 26 18:13:16 CET 2006
- Previous message: [Python-Dev] infinities
- Next message: [Python-Dev] infinities
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
tomer filiba wrote:
no, it requires infinity to accomplish x - y == x; y != 0, for example:
while limit > 0: limit -= len(chunk) with limit = posinf, the above code should be equivalent to "while True".
that's a remarkably stupid way to count bytes. if you want to argue for additions to the language, you could at least bother to come up with a sane use case.
- Previous message: [Python-Dev] infinities
- Next message: [Python-Dev] infinities
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]