Skip to content

Meaningful filename for old globals.py#1196

Closed
julianogouveia wants to merge 2 commits into
pallets:masterfrom
julianogouveia:master
Closed

Meaningful filename for old globals.py#1196
julianogouveia wants to merge 2 commits into
pallets:masterfrom
julianogouveia:master

Conversation

@julianogouveia

@julianogouveia julianogouveia commented Dec 28, 2018

Copy link
Copy Markdown

Reading the click project code, I found a poor meaning for the globals.py file. I believe that the name context.py is better, so I renamed the file for it, so with the get_current_context function for only get_context, which makes the code more understandable and cleaner.

I hope you guys enjoy the contribution.

Thks.

@davidism

Copy link
Copy Markdown
Member

Thanks, but renames like this are not backwards compatible and don't really improve the code.

@davidism davidism closed this Dec 29, 2018
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants