At 07:07 PM 11/26/2006 +0200, tomer filiba wrote: > > sys.maxint makes more sense there. >no, it requires *infinity* to accomplish x - y == x; y != 0, for example: > >while limit > 0: > limit -= len(chunk) Um, you do realize that you're not going to be able to fit sys.maxint strings into a list, right? That's over 2 billion *pointers* worth of memory, so at least 8 gigabytes on a 32-bit machine... that probably can't address more than 4 gigabytes of memory to start with. The code will fail with MemoryError long before you exhaust sys.maxint, even in the case where you're using only 1-character strings.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4