⚡ Sangsakala Proxy 🏠 Home
Skip to content

Serialize sets under IM_ANY_ITERABLE - #246

Open
xiehuanyi wants to merge 1 commit into
python-rapidjson:masterfrom
xiehuanyi:fix-any-iterable-sets
Open

xiehuanyi wants to merge 1 commit into
python-rapidjson:masterfrom
xiehuanyi:fix-any-iterable-sets

Conversation

@xiehuanyi

Copy link
Copy Markdown

Serialize sets and frozensets as JSON arrays when IM_ANY_ITERABLE is active, matching the documented default. Keep IM_ONLY_LISTS rejection and custom default handlers covered; collection ordering follows the set iterator.

Fixes #168.

Validation: 24 new regression failures before the fix, with 24 strict-mode controls passing. After rebuilding the extension, the full suite passes 1248 tests, with 17 conditional skips and 2 expected failures. git diff --check passes.

Implemented and tested with Codex (GPT-6.1 Sol).

Copilot AI balanced review requested due to automatic review settings October 12, 2026 19:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

set object is not JSON serializable with iterable_mode=IM_ANY_ITERABLE

2 participants