Sorry. There is a issue already. http://bugs.python.org/issue11205 On Sun, Feb 20, 2011 at 1:19 AM, INADA Naoki <songofacandy at 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 <songofacandy at gmail.com> > -- INADA Naoki <songofacandy at gmail.com>
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