[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-11-23 Thread Petr Viktorin


Petr Viktorin  added the comment:

I think it's a good idea, but without the "will be disallowed in Python 3.13" 
part -- we should tell people that it's discouraged, but there's not much point 
in removing it.

But there's no consensus whether that's a good way to handle things, in 
general. So I'll leave it up to you.

--
status: pending -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-11-17 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
status: open -> pending

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-11-16 Thread Erlend E. Aasland


Erlend E. Aasland  added the comment:

The remaining PR (GH 28234) deprecates reinitialisation. I'm not sure it is a 
good idea to pursue this, so I'm leaning towards closing this as fixed, and 
also closing GH 28234.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-11-16 Thread Petr Viktorin


Petr Viktorin  added the comment:


New changeset 9d6215a54c177a5e359c37ecd1c50b594b194f41 by Erlend Egeberg 
Aasland in branch 'main':
bpo-45126: Harden `sqlite3` connection initialisation (GH-28227)
https://github.com/python/cpython/commit/9d6215a54c177a5e359c37ecd1c50b594b194f41


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-10-22 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
pull_requests: +27435
pull_request: https://github.com/python/cpython/pull/29160

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-10-13 Thread Diego Ramirez


Change by Diego Ramirez :


--
nosy: +DiddiLeija

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-09-12 Thread miss-islington


miss-islington  added the comment:


New changeset 5d28bb699a305135a220a97ac52e90d9344a3004 by Miss Islington (bot) 
in branch '3.9':
[3.10] bpo-45126: Fix ref. leak in `sqlite3.Connection.__init__` (GH-28231). 
(GH-28298)
https://github.com/python/cpython/commit/5d28bb699a305135a220a97ac52e90d9344a3004


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-09-12 Thread Dong-hee Na


Dong-hee Na  added the comment:


New changeset aa6dd54d43dffbdf883c083e361f6ccf8642d66e by Erlend Egeberg 
Aasland in branch '3.10':
[3.10] bpo-45126: Fix ref. leak in `sqlite3.Connection.__init__` (GH-28231). 
(GH-28298)
https://github.com/python/cpython/commit/aa6dd54d43dffbdf883c083e361f6ccf8642d66e


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-09-12 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 3.0 -> 4.0
pull_requests: +26716
pull_request: https://github.com/python/cpython/pull/28302

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-09-12 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
pull_requests: +26712
pull_request: https://github.com/python/cpython/pull/28298

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-09-12 Thread Dong-hee Na


Dong-hee Na  added the comment:


New changeset c78d5ca3806d02e26f9f3fa92ff567f0805eac4c by Erlend Egeberg 
Aasland in branch 'main':
bpo-45126: Fix ref. leak in `sqlite3.Connection.__init__` (GH-28231)
https://github.com/python/cpython/commit/c78d5ca3806d02e26f9f3fa92ff567f0805eac4c


--
nosy: +corona10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-09-10 Thread Erlend E. Aasland


Erlend E. Aasland  added the comment:

Updated title to include sqlite3.Cursor as well, since cursors and connections 
are very much entwined.

--
title: [sqlite3] cleanup and harden connection init -> [sqlite3] cleanup and 
harden Connection and Cursor __init__

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com