New submission from Alex Gaynor <[email protected]>:

This code fails on PyPy, but runs on CPython:

import sqlite3


def f():
    pass

conn = sqlite3.connect(":memory:")
conn.execute("PRAGMA journal_mode = MEMORY")
conn.create_function("func", 0, f)
conn.create_function("func", 0, f)

----------
messages: 5964
nosy: agaynor, pypy-issue
priority: bug
status: unread
title: SQLITE: Creating function with the same name twice fails when in 
journal_mode = MEMORY

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1550>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to