Issue 30270: Remove sqlite3.Cache display method
Created on 2017-05-04 18:49 by palaviv, last changed 2022-04-11 14:58 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 1462 | closed | palaviv, 2017-05-04 18:51 | |
| Messages (7) | |||
|---|---|---|---|
| msg293005 - (view) | Author: Aviv Palivoda (palaviv) * | Date: 2017-05-04 18:49 | |
The display method is there for debugging and should not be in the released code. |
|||
| msg293023 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2017-05-04 22:29 | |
How long has the method been there? And does it hurt anything for it to be exposed? Removing it at this point may break code if it predates Python 3.7. |
|||
| msg293053 - (view) | Author: Aviv Palivoda (palaviv) * | Date: 2017-05-05 07:19 | |
From looking at the git blame this is there since 2006. Maybe this should be dependent on issue #30262. Maybe at first there should be a deprecation warning and then removing this later. I understand that this might break someone's code but this is an undocumented method of an undocumented class in the sqlite3 module. I don't think that there will be a lot of people that use the sqlite3.Cache object. |
|||
| msg293124 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2017-05-05 16:47 | |
With over 10 years of existence for that method, I can guarantee you someone relies on it, and so we should do a reasonable job to avoid breaking them without at least some warning first. |
|||
| msg293130 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2017-05-05 17:18 | |
If it is there for debugging, why would we want to remove it? |
|||
| msg293137 - (view) | Author: Berker Peksag (berker.peksag) * ![]() |
Date: 2017-05-05 19:11 | |
FWIW, I agree with Brett and David. Did you try to use it? I prefer to fix it even if it's broken at the moment. |
|||
| msg322177 - (view) | Author: Berker Peksag (berker.peksag) * ![]() |
Date: 2018-07-23 05:55 | |
Closing this as 'rejected' for the reasons given by Brett and David. Thanks for working on this! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:46 | admin | set | github: 74456 |
| 2018-07-23 05:55:18 | berker.peksag | set | status: open -> closed resolution: rejected messages: + msg322177 stage: resolved |
| 2017-05-05 19:11:57 | berker.peksag | set | messages: + msg293137 |
| 2017-05-05 17:18:48 | r.david.murray | set | nosy:
+ r.david.murray messages: + msg293130 |
| 2017-05-05 16:47:27 | brett.cannon | set | messages: + msg293124 |
| 2017-05-05 07:19:48 | palaviv | set | messages: + msg293053 |
| 2017-05-04 22:29:36 | brett.cannon | set | nosy:
+ brett.cannon messages: + msg293023 |
| 2017-05-04 18:51:55 | palaviv | set | pull_requests: + pull_request1559 |
| 2017-05-04 18:49:54 | palaviv | create | |
