Skip to content

Emit resource warning if sqlite3 fails to close the database #105539

Closed
@erlend-aasland

Description

@erlend-aasland

See #103837 (comment) and #103837 (comment):

EAA:

I still think we should consider changing the underlying API so we can emit a resource warning if close failed.

VS:

IMO sqlite3 should be modified to emit a ResourceWarning.

Currently, no ResourceWarning is emitted when a connection is not closed explicitly:

Linked PRs

Metadata

Metadata

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions