Skip to content

AI spam#425

Closed
YNan-varamor wants to merge 2 commits into
pallets:mainfrom
YNan-varamor:fix/389-deserializer-kwargs
Closed

AI spam#425
YNan-varamor wants to merge 2 commits into
pallets:mainfrom
YNan-varamor:fix/389-deserializer-kwargs

Conversation

@YNan-varamor

Copy link
Copy Markdown

Summary

  • add a separate deserializer_kwargs option for serializer.loads
  • keep serializer_kwargs scoped to serializer.dumps
  • add coverage for distinct dump/load serializer keyword arguments

Addresses #389.

Validation

  • python -m pytest tests/test_itsdangerous/test_serializer.py -q
  • python -m pytest tests/test_itsdangerous/test_url_safe.py tests/test_itsdangerous/test_timed.py -q
  • python -m ruff check src/itsdangerous/serializer.py tests/test_itsdangerous/test_serializer.py
  • git diff --check

AI assistance

This change was prepared with assistance from OpenAI Codex.

@davidism davidism closed this Jun 16, 2026
@davidism davidism changed the title Add deserializer kwargs support AI spam Jun 16, 2026
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.

2 participants