[CONPY-46] Cursors cannot act as a context manager Created: 2020-03-28 Updated: 2020-03-31 Resolved: 2020-03-31 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | Generic |
| Affects Version/s: | 0.9.55 |
| Fix Version/s: | 0.9.56 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Karl Levik | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I noticed this feature request for the MySQL Python connector, and thought it might be useful for the MariaDB Python connector as well:
|
| Comments |
| Comment by Georg Richter [ 2020-03-30 ] |
|
I wonder if this should work for cursors only? How about connection? |
| Comment by Karl Levik [ 2020-03-30 ] |
|
Connection seems to make a lot of sense, as well. I'm all for it. Yes, please! |