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?


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to