No, there was a sys.MAXINT
constant in older versions of python, but now integers are unlimited since int's become long's when they are too large. However, you can set MAXCNT to a very large value, so that your program only stops in the 22th century.
Gribouillis 1,391 Programming Explorer Team Colleague
jlm699 320 Veteran Poster
besktrap 0 Junior Poster in Training
jlm699 320 Veteran Poster
besktrap 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.