[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-11-06 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4b544aadd54fd2337d2ab5c137389cae8d1fd781 by Victor Stinner (Miss Islington (bot)) in branch '2.7': bpo-31770: Prevent a crash and refleaks when calling sqlite3.Cursor.__init__() more than once (GH-3968) (#4302)

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: Thank you Oren Milman for your bug report and the bug fix! I merged your PR and backported it Python 3.6 and 2.7. -- versions: +Python 2.7, Python 3.6 ___ Python tracker

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9684cf69e32ae442c7be54521073ac78557f3bbf by Victor Stinner (Miss Islington (bot)) in branch '3.6': bpo-31770: Prevent a crash and refleaks when calling sqlite3.Cursor.__init__() more than once (GH-3968) (#4301)

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-11-06 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4265 ___ Python tracker ___

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-11-06 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4264 ___ Python tracker ___

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset e56ab746a965277ffcc4396d8a0902b6e072d049 by Victor Stinner (Oren Milman) in branch 'master': bpo-31770: Prevent a crash and refleaks when calling sqlite3.Cursor.__init__() more than once (#3968)

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-10-12 Thread Oren Milman
Change by Oren Milman : -- keywords: +patch pull_requests: +3946 stage: -> patch review ___ Python tracker ___

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-10-12 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-10-12 Thread Oren Milman
New submission from Oren Milman : The following code crashes: import sqlite3 import weakref def callback(*args): pass connection = sqlite3.connect(":memory:") cursor = sqlite3.Cursor(connection) ref = weakref.ref(cursor, callback) cursor.__init__(connection) del cursor del