On Fri, 25 Aug 2017 12:42 am, Stefan Ram wrote:

> i = 0
> while True: print( f"{ i }:{ id( i )}" ); i = i + 1
> 
>   This loop prints increasing ids while i is less than
>   257, and then it starts to print alternating ids.

Try running it under Jython or IronPython.

Try running it starting with i=1000000 instead.


-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.

-- 
https://mail.python.org/mailman/listinfo/python-list
  • Re: id Ned Batchelder
    • Re: id alister via Python-list
    • Re: id Steve D'Aprano

Reply via email to