Skip to content

Further improve codecs stubs#2217

Merged
JelleZijlstra merged 4 commits into
python:masterfrom
JelleZijlstra:morecodecs
Jun 12, 2018
Merged

Further improve codecs stubs#2217
JelleZijlstra merged 4 commits into
python:masterfrom
JelleZijlstra:morecodecs

Conversation

@JelleZijlstra

Copy link
Copy Markdown
Member

Following up with @gvanrossum's comments on #2114, with a number of other changes.

This PR just changes formatting and renames internal type aliases; there should be no user-visible change.

- remove header comments
- uppercase type aliases
- remove old-style type annotations
- unquote forward refs

@gvanrossum gvanrossum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the style improvements. I've not reviewed every single line, sorry.

@JelleZijlstra

Copy link
Copy Markdown
Member Author

CI is broken because some other stub was using the private type aliases, I'll fix it soon.

@JelleZijlstra JelleZijlstra merged commit 6bbf3d8 into python:master Jun 12, 2018
@JelleZijlstra JelleZijlstra deleted the morecodecs branch June 12, 2018 05:24
yedpodtrzitko pushed a commit to yedpodtrzitko/typeshed that referenced this pull request Jan 23, 2019
- remove header comments
- uppercase type aliases
- remove old-style type annotations
- unquote forward refs
- reformat the file
- remove values for globals
- don't use private names from codecs stub in io.pyi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants