Skip to content

Fix inconsistent tuple/typing.Tuple unstructuring - #227

Merged
Tinche merged 4 commits into
python-attrs:mainfrom
bibajz:bibajz/tuple_unstructuring
Mar 20, 2022
Merged

Tinche merged 4 commits into
python-attrs:mainfrom
bibajz:bibajz/tuple_unstructuring

Conversation

@bibajz

@bibajz bibajz commented Feb 8, 2022 •

Copy link
Copy Markdown
Contributor

Fixes #226
Fixes #214

Now, all tuples are unstructured to list by default.

Needs a changelog entry and we are ready to go!

@bibajz bibajz changed the title Bibajz/tuple unstructuring Fix inconsistent tuple/typing,Tuple unstructuring Feb 8, 2022
@bibajz bibajz changed the title Fix inconsistent tuple/typing,Tuple unstructuring Fix inconsistent tuple/typing.Tuple unstructuring Feb 8, 2022
@codecov-commenter

codecov-commenter commented Feb 8, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #227 (158d9d3) into main (c580287) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #227   +/-   ##
=======================================
  Coverage   97.94%   97.94%           
=======================================
  Files          16       16           
  Lines         779      779           
=======================================
  Hits          763      763           
  Misses         16       16           
Impacted Files Coverage Δ
src/cattr/_compat.py 94.23% <ø> (ø)
src/cattr/converters.py 98.40% <ø> (ø)

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@bibajz

bibajz commented Feb 11, 2022

Copy link
Copy Markdown
Contributor Author

Hi @Tinche, is this ok? Or would you add something?

@Tinche

Tinche commented Feb 11, 2022

Copy link
Copy Markdown
Member

Looks ok, will take another look and maybe merge later. 👍

@bibajz

bibajz commented Feb 13, 2022

Copy link
Copy Markdown
Contributor Author

Looks ok, will take another look and maybe merge later. +1

Got it, thanks!

@Tinche
Tinche merged commit 59edafd into python-attrs:main Mar 20, 2022
@Tinche

Tinche commented Mar 20, 2022

Copy link
Copy Markdown
Member

Merged, thanks!

@bibajz

bibajz commented Mar 21, 2022

Copy link
Copy Markdown
Contributor Author

Hi @Tinche , thanks for merge!

Are there some other issues I could help you with?

Regards,
Libor

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.

Inconsistent unstructuring of tuple and typing.Tuple GenConverter unstructures tuple to list if in union type.

3 participants