[pypy-issue] Issue #2008: rpython None leads segfault. (pypy/pypy)

Jeong YunWon issues-reply at bitbucket.org
Tue Mar 24 21:13:53 CET 2015


New issue 2008: rpython None leads segfault.
https://bitbucket.org/pypy/pypy/issue/2008/rpython-none-leads-segfault

Jeong YunWon:

This is compiled and raising segfault.
```
def entry_point(argv):
    print len([None, ''][0])
    return 0

def target(*args):
    return entry_point, None
```

Also no exception and segfault.
```
def entry_point(argv):
    try:
        print len([None, ''][0])
    except Exception, e:
        print e
    return 0
```

Is this intended and not checkable by annotator or a bug?




More information about the pypy-issue mailing list