Skip to content

Replaced custom PriorityStr with standard tuple sorting in _graph_node_flatten. Python 3.13.11 optimized str comparison bypasses custom subclasses (causing TypeError), and used getattr in _setattr because unflattening order becomes non-deterministic (preventing AttributeError).#5373

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_888703264
Mar 27, 2026

Conversation

@copybara-service
Copy link
Copy Markdown

Replaced custom PriorityStr with standard tuple sorting in _graph_node_flatten. Python 3.13.11 optimized str comparison bypasses custom subclasses (causing TypeError), and used getattr in _setattr because unflattening order becomes non-deterministic (preventing AttributeError).

@google-cla
Copy link
Copy Markdown

google-cla Bot commented Mar 24, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service copybara-service Bot force-pushed the test_888703264 branch 2 times, most recently from 5915b44 to 513da62 Compare March 27, 2026 09:32
…e_flatten. Python 3.13.11 optimized str comparison bypasses custom subclasses (causing TypeError), and used getattr in _setattr because unflattening order becomes non-deterministic (preventing AttributeError).

PiperOrigin-RevId: 890335544
@copybara-service copybara-service Bot merged commit c8e3d84 into main Mar 27, 2026
@copybara-service copybara-service Bot deleted the test_888703264 branch March 27, 2026 09:47
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.

0 participants