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-41923: PEP 613: Add TypeAlias to typing module by east825 · Pull Request #22532 · python/cpython Conversation
|
|
I can try to come up with proper documentation for |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I’d be happy to proofread!--
--Guido (mobile)
|
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.
Can I consider the problem with mentioning me in ACKS resolved, since I only ported my own PR in typing_extensions? I wouldn't ever have claimed someone else's authorship(
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I've added minimal documentation, but already not sure about a couple of things:
|
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.
I will apply my text nits and land. Thanks for your contribution, and welcome to the walhalla named Misc/ACKS. :-)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| PEP604: New Type Operator | ||
| ------------------------- |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| PEP604: New Type Operator | |
| ------------------------- | |
| PEP 604: New Type Union Operator | |
| -------------------------------- |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| return number ** 2 | ||
|
|
||
|
|
||
| Now, type hints can be written in a more succinct manner:: |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| Now, type hints can be written in a more succinct manner:: | |
| Type hints can now be written in a more succinct manner:: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
I don't think so. Let's wait for this to be implemented in all static checkers before we go down that road.
I don't think deprecation is needed at this point -- some type checkers may start enforcing it but they will communicate to their own users. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
These should be PEP NNN.
|
@gvanrossum: Please replace |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks again! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Thanks for admitting me there! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* origin/master: (147 commits) Fix the attribute names in the docstring of GenericAlias (pythonGH-22594) bpo-39337: Add a test case for normalizing of codec names (pythonGH-19069) bpo-41557: Update Windows installer to use SQLite 3.33.0 (pythonGH-21960) bpo-41976: Fix the fallback to gcc of ctypes.util.find_library when using gcc>9 (pythonGH-22598) bpo-41306: Allow scale value to not be rounded (pythonGH-21715) bpo-41970: Avoid test failure in test_lib2to3 if the module is already imported (pythonGH-22595) bpo-41376: Fix the documentation of `site.getusersitepackages()` (pythonGH-21602) Revert "bpo-26680: Incorporate is_integer in all built-in and standard library numeric types (pythonGH-6121)" (pythonGH-22584) bpo-41923: PEP 613: Add TypeAlias to typing module (python#22532) Fix comment about PyObject_IsTrue. (pythonGH-22343) bpo-38605: Make 'from __future__ import annotations' the default (pythonGH-20434) bpo-41905: Add abc.update_abstractmethods() (pythonGH-22485) bpo-41944: No longer call eval() on content received via HTTP in the UnicodeNames tests (pythonGH-22575) bpo-41944: No longer call eval() on content received via HTTP in the CJK codec tests (pythonGH-22566) Post 3.10.0a1 Python 3.10.0a1 bpo-41584: clarify when the reflected method of a binary arithemtic operator is called (python#22505) bpo-41939: Fix test_site.test_license_exists_at_url() (python#22559) bpo-41774: Tweak new programming FAQ entry (pythonGH-22562) bpo-41936. Remove macros Py_ALLOW_RECURSION/Py_END_ALLOW_RECURSION (pythonGH-22552) ...
This special marker annotation is intended to help in distinguishing proper PEP 484-compliant type aliases from regular top-level variable assignments.
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.