bpo-40956: Convert _sqlite3.Cache to Argument Clinic by erlend-aasland · Pull Request #24135 · python/cpython

@erlend-aasland

@erlend-aasland

@erlend-aasland

FYI, rebased onto master bco. #20828

@erlend-aasland

@berkerpeksag What about ditching the whole Cache/Node stuff and just use functools.lru_cache? Pro: It would get rid of a lot of code. Con: It might be a little bit slower. Worth pursuing as a future enhancement?

@erlend-aasland

@berkerpeksag

@berkerpeksag What about ditching the whole Cache/Node stuff and just use functools.lru_cache?

I'm usually not a fan of changing code that has been working fine for more than a decade, but let me think about it a bit.

I'm going to review this PR this week.

@erlend-aasland

I'm usually not a fan of changing code that has been working fine for more than a decade, but let me think about it a bit.

That's a valid argument, but take a look at my arguments at bpo-42862.

I'm going to review this PR this week.

Great, thanks.

serhiy-storchaka

@erlend-aasland

@erlend-aasland

Closing this, as it has been made obsolete by #24203.