Brian Kearns <[email protected]> added the comment:
also, even after the 'fix', both the sqlite and getlogin versions still raise
bogus exceptions fairly quickly. if you don't see them, increase num threads.
running under cpython, both scripts run fine 'indefinitely' without exception.
$ ~/pypy-c-jit-63380-237b4e412bd5-linux64/bin/pypy testt.py
>From thread 139872532240128 started by <function f at 0x00007f369dd004d0>:
Traceback (most recent call last):
File "testt.py", line 8, in f
con.execute("select 42")
File "/home/ubuntu/pypy-c-jit-63380-237b4e412bd5-
linux64/lib_pypy/_sqlite3.py", line 579, in execute
return cur.execute(*args)
File "/home/ubuntu/pypy-c-jit-63380-237b4e412bd5-
linux64/lib_pypy/_sqlite3.py", line 887, in wrapper
return func(self, *args, **kwargs)
File "/home/ubuntu/pypy-c-jit-63380-237b4e412bd5-
linux64/lib_pypy/_sqlite3.py", line 1033, in execute
return self.__execute(False, sql, [params])
File "/home/ubuntu/pypy-c-jit-63380-237b4e412bd5-
linux64/lib_pypy/_sqlite3.py", line 982, in __execute
self.__statement = self.__connection._statement_cache.get(sql)
File "/home/ubuntu/pypy-c-jit-63380-237b4e412bd5-
linux64/lib_pypy/_sqlite3.py", line 401, in get
stat = Statement(self.connection, sql)
File "/home/ubuntu/pypy-c-jit-63380-237b4e412bd5-
linux64/lib_pypy/_sqlite3.py", line 1192, in __init__
raise self.__con._get_exception(ret)
ProgrammingError: unknown error
________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1453>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue