Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: tomlkit 0.12.5 : Encoder contract interferes with external TypeErrors raised in encoders #358

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

frostming
Copy link
Contributor

Fixes #355

Signed-off-by: Frost Ming me@frostming.com

…peError`s raised in encoders

Fixes #355

Signed-off-by: Frost Ming <me@frostming.com>
@frostming frostming merged commit 400057b into master Jun 4, 2024
28 checks passed
@frostming frostming deleted the frostming/issue355 branch June 4, 2024 09:10
mathieu-lemay added a commit to mathieu-lemay/tomlkit that referenced this pull request Nov 1, 2024
Since python-poetry#358, custom encoders are expected to raise a ConvertError instead
of a TypeError, but the docstring of register_encoder still mentions
TypeError. Fix this to mention ConvertError instead.
frostming pushed a commit that referenced this pull request Nov 12, 2024
Since #358, custom encoders are expected to raise a ConvertError instead
of a TypeError, but the docstring of register_encoder still mentions
TypeError. Fix this to mention ConvertError instead.
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.

tomlkit 0.12.5 : Encoder contract interferes with external TypeErrors raised in encoders
1 participant