🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@remilapeyre
Copy link

@remilapeyre remilapeyre commented Jun 10, 2020

returned as strings, the bytes having been first decoded using a
platform-dependent encoding or using the specified encoding if given.
'U' mode is deprecated and will raise an exception in future versions
Copy link
Contributor

Choose a reason for hiding this comment

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

It wont let me add a comment to the line as it is too far away from the changes, but shouldn't line 74 also be removed here?

@lrjball
Copy link
Contributor

lrjball commented Jun 11, 2020

Also, should the following line in gzip also be updated?

if mode and ('t' in mode or 'U' in mode):

https://github.com/remilapeyre/cpython/blob/838a92a84813641c8a2ef936264d4ba30244d600/Lib/gzip.py#L168

@remilapeyre
Copy link
Author

Also, should the following line in gzip also be updated?

if mode and ('t' in mode or 'U' in mode):

https://github.com/remilapeyre/cpython/blob/838a92a84813641c8a2ef936264d4ba30244d600/Lib/gzip.py#L168

Yes thanks!

@iritkatriel
Copy link
Member

This has been removed in #81511

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants