Sorry. There is a issue already.
http://bugs.python.org/issue11205

On Sun, Feb 20, 2011 at 1:19 AM, INADA Naoki <songofaca...@gmail.com> wrote:
> Ref: http://bugs.python.org/issue448679
>
> Has this bug fixed already?
> This bug seems not be fixed for Python 2.6 and Python 3.2rc3.
>
> Python 3.2rc3 (r32rc3:88413, Feb 15 2011, 18:31:14)
> [GCC 4.4.5] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> C=0
>>>> def x():
> ...     global C
> ...     C += 1
> ...     return C
> ...
>>>> {x(): x(), x(): x()}
> {2: 1, 4: 3}
>
>
> --
> INADA Naoki  <songofaca...@gmail.com>
>



-- 
INADA Naoki  <songofaca...@gmail.com>
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to