bpo-44654: Refactor and clean up the union type implementation#27196
bpo-44654: Refactor and clean up the union type implementation#27196serhiy-storchaka merged 1 commit into
Conversation
|
Serhiy, please see #27203 where I backported another PR's refactoring changes to 3.10. Without that PR this one won't be able to land in 3.10. |
Sorry, something went wrong.
Fidget-Spinner
left a comment
There was a problem hiding this comment.
LGTM but someone else should probably take a look too in case I miss anything. I can see it's mostly renaming and moving things around, though some parts are simplifying logic too and those require more scrutiny.
Sorry, something went wrong.
gvanrossum
left a comment
There was a problem hiding this comment.
Serhiy, you are the new Benjamin! Making things better by throwing away code.
Sorry, something went wrong.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Sorry, something went wrong.
…nGH-27196) (cherry picked from commit 0fd2737) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* origin/main: (1146 commits) bpo-42064: Finalise establishing sqlite3 global state (pythonGH-27155) bpo-44678: Separate error message for discontinuous padding in binascii.a2b_base64 strict mode (pythonGH-27249) correct spelling (pythonGH-27076) bpo-44524: Add missed __name__ and __qualname__ to typing module objects (python#27237) bpo-27513: email.utils.getaddresses() now handles Header objects (python#13797) Clean up comma usage in Doc/library/functions.rst (python#27083) bpo-42238: Fix small rst issue in NEWS.d/. (python#27238) bpo-41972: Tweak fastsearch.h string search algorithms (pythonGH-27091) bpo-44340: Add support for building with clang full/thin lto (pythonGH-27231) bpo-44661: Update property_descr_set to use vectorcall if possible. (pythonGH-27206) bpo-44645: Check for interrupts on any potentially backwards edge (pythonGH-27216) bpo-41546: make pprint (like print) not write to stdout when it is None (pythonGH-26810) bpo-44554: refactor pdb targets (and internal tweaks) (pythonGH-26992) bpo-43086: Add handling for out-of-spec data in a2b_base64 (pythonGH-24402) bpo-44561: Update hyperlinks in Doc/distributing/index.rst (python#27032) bpo-42355: symtable.get_namespace() now checks whether there are multiple or any namespaces found (pythonGH-23278) bpo-44654: Do not export the union type related symbols (pythonGH-27223) bpo-44633: Fix parameter substitution of the union type with wrong types. (pythonGH-27218) bpo-44654: Refactor and clean up the union type implementation (pythonGH-27196) bpo-20291: Fix MSVC warnings in getargs.c (pythonGH-27211) ...
https://bugs.python.org/issue44654