From Pythy on irc with Python 2.7:
c:\compile\psyco-dist\c\mergepoints.c:592: iblock >
Fatal Python error: Psyco assertion failed
import psyco
def f():
with open(r"C:\$.txt","wb") as foo: foo.write("hi")
psyco.proxy(f)()
this will also segfault in the same manner:
def f():
if 1==2:
with open(r"C:\$.txt","wb") as foo: foo.write("hi")
Invalid as reported, given that Psyco does not compile at all in Python 2.7
(and doesn't know anything about, say, SETUP_WITH). The original bug
report is thus about a version of Psyco in which random changes have been
made to the source code, which is pointless to know.
I might still try to support Python 2.7, so I'm not closing this issue.