Skip to content

Conversation

Fidget-Spinner
Copy link
Member

@Fidget-Spinner Fidget-Spinner commented Nov 1, 2020

Noticed by @serhiy-storchaka in the bpo. typing's types were not showing the parameterized generic.
Eg. previously:

>>> typing.Union[dict[str, float], list[int]]
'typing.Union[dict, list]'

Now:

>>> typing.Union[dict[str, float], list[int]]
'typing.Union[dict[str, float], list[int]]'

https://bugs.python.org/issue42233

Automerge-Triggered-By: GH:gvanrossum

@miss-islington
Copy link
Contributor

@Fidget-Spinner: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 1f7dfb2 into python:master Nov 1, 2020
@miss-islington
Copy link
Contributor

Thanks @Fidget-Spinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-23082 is a backport of this pull request to the 3.9 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Nov 1, 2020
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 1, 2020
…ythonGH-23081)

Noticed by @serhiy-storchaka in the bpo.  `typing`'s types were not showing the parameterized generic.
Eg. previously:
```python
>>> typing.Union[dict[str, float], list[int]]
'typing.Union[dict, list]'
```
Now:
```python
>>> typing.Union[dict[str, float], list[int]]
'typing.Union[dict[str, float], list[int]]'
```

Automerge-Triggered-By: GH:gvanrossum
(cherry picked from commit 1f7dfb2)

Co-authored-by: kj <[email protected]>
@Fidget-Spinner Fidget-Spinner deleted the typing-ga-repr branch November 2, 2020 03:34
miss-islington added a commit that referenced this pull request Nov 7, 2020
…H-23081)

Noticed by @serhiy-storchaka in the bpo.  `typing`'s types were not showing the parameterized generic.
Eg. previously:
```python
>>> typing.Union[dict[str, float], list[int]]
'typing.Union[dict, list]'
```
Now:
```python
>>> typing.Union[dict[str, float], list[int]]
'typing.Union[dict[str, float], list[int]]'
```

Automerge-Triggered-By: GH:gvanrossum
(cherry picked from commit 1f7dfb2)

Co-authored-by: kj <[email protected]>
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
…ythonGH-23081)

Noticed by @serhiy-storchaka in the bpo.  `typing`'s types were not showing the parameterized generic. 
Eg. previously:
```python
>>> typing.Union[dict[str, float], list[int]]
'typing.Union[dict, list]'
```
Now:
```python
>>> typing.Union[dict[str, float], list[int]]
'typing.Union[dict[str, float], list[int]]'
```

Automerge-Triggered-By: GH:gvanrossum
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.

5 participants