GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||
GeezerVison is showing github.com — bpo-35089: Don't mention typing.io and typing.re by srittau · Pull Request #10173 · python/cpython Conversation
|
|
I suggest you add a NEWS entry. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| and ``BinaryIO``, deriving from ``IO[str]`` and ``IO[bytes]``, | ||
| respectively. These represent the types of I/O streams such as returned by | ||
| Generic type ``IO[AnyStr]`` and subclasses ``TextIO(IO[str])`` | ||
| and ``BinaryIO(IO[bytes])`` |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I actually like the original formulation more. But this one is also fine.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Maybe "and its subclasses".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The problem is that "This defined" is now wrong, but when removing the verb you have to reformulate. I first ended up with:
The generic type
IO[AnyStr]and subclassesTextIOandBinaryIO, deriving fromIO[str]andIO[bytes], respectively, represent the types of I/O streams such as returned byopen.
But I found this hard to understand.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@srittau You can also try splitting the sentence in two parts. Anyway, this is not very important.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks @srittau for the PR, and @ilevkivskyi for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
https://bugs.python.org/issue35089 (cherry picked from commit c8a8d6b) Co-authored-by: Sebastian Rittau <[email protected]>
|
GH-10177 is a backport of this pull request to the 3.7 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-10178 is a backport of this pull request to the 3.6 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
https://bugs.python.org/issue35089 (cherry picked from commit c8a8d6b) Co-authored-by: Sebastian Rittau <[email protected]>
https://bugs.python.org/issue35089 (cherry picked from commit c8a8d6b) Co-authored-by: Sebastian Rittau <[email protected]>
https://bugs.python.org/issue35089 (cherry picked from commit c8a8d6b) Co-authored-by: Sebastian Rittau <[email protected]>
They were originally removed in pythonGH-10173 per bpo-35089, but then readded in pythonGH-21574. Cf. bpo-38291 for decision to remove.
…26113) They were originally removed in pythonGH-10173 per bpo-35089, but then readded in pythonGH-21574. Cf. bpo-38291 for decision to remove. (cherry picked from commit 8a76683) Co-authored-by: Sebastian Rittau <[email protected]>
…26113) They were originally removed in pythonGH-10173 per bpo-35089, but then readded in pythonGH-21574. Cf. bpo-38291 for decision to remove. (cherry picked from commit 8a76683) Co-authored-by: Sebastian Rittau <[email protected]>
…26113) They were originally removed in pythonGH-10173 per bpo-35089, but then readded in pythonGH-21574. Cf. bpo-38291 for decision to remove.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.