[pypy-issue] Issue #2457: Unicode issue in __code__.co_freevars with Pypy3 (pypy/pypy)

Thomas Baruchel issues-reply at bitbucket.org
Thu Dec 29 09:26:37 EST 2016


New issue 2457: Unicode issue in __code__.co_freevars with Pypy3
https://bitbucket.org/pypy/pypy/issues/2457/unicode-issue-in-__code__co_freevars-with

Thomas Baruchel:

Hi, I noticed a difference between CPython3 and Pypy3 for the following code; not sure if it is a bug or not. Of course, I am not claiming it is good programming, but found it while intentionally playing with  unicode names.

```
#!python
def test():
    é = 42
    a = lambda n: é
    return a.__code__.co_freevars
```






More information about the pypy-issue mailing list