Skip to content

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aaslanderlend-aasland commented Aug 31, 2021

@encukou
Copy link
Member

What about _destructor?

This PR turns out to be very small; maybe combine it with the next step if there is one coming?

@erlend-aasland
Copy link
ContributorAuthor

erlend-aasland commented Sep 1, 2021

What about _destructor?

Thanks for the heads-up. I'll add it right away.

This PR turns out to be very small; maybe combine it with the next step if there is one coming?

The next step of normalising is approximately 100 lines added and removed; I think it would clutter things too much. I'm fine with that, but it may be more timeconsuming to review.

@erlend-aaslanderlend-aasland changed the title bpo-44991: Normalise sqlite3 callback suffixesbpo-44991: Normalise sqlite3 callbacks, part 1Sep 1, 2021
@erlend-aaslanderlend-aasland changed the title bpo-44991: Normalise sqlite3 callbacks, part 1bpo-44991: Normalise sqlite3 callback naming, part 1Sep 1, 2021
@erlend-aasland
Copy link
ContributorAuthor

erlend-aasland commented Sep 1, 2021

I'll include the other changes; if you think it's too much, we can just revert that commit.

I see the diff wasn't as bad as I expected. Only 60-ish lines.

- all callbacks are now named xxx_callback - normalise callable naming in set_*() functions - normalise context argument naming in callbacks
@erlend-aaslanderlend-aaslandforce-pushed the sqlite-normlise-callback-naming branch from df3becb to 0a9d214CompareSeptember 1, 2021 15:57
@erlend-aaslanderlend-aasland changed the title bpo-44991: Normalise sqlite3 callback naming, part 1bpo-44991: Normalise sqlite3 callback namingSep 1, 2021
@encukouencukou merged commit 0474d06 into python:mainSep 7, 2021
@erlend-aaslanderlend-aasland deleted the sqlite-normlise-callback-naming branch September 7, 2021 11:46
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@erlend-aasland@encukou@the-knights-who-say-ni@bedevere-bot