Skip to content

Fix barrellist sort with multiple lists#389

Merged
mahmoud merged 1 commit intomahmoud:masterfrom
Matthieu-Beauchamp:master
Oct 4, 2025
Merged

Fix barrellist sort with multiple lists#389
mahmoud merged 1 commit intomahmoud:masterfrom
Matthieu-Beauchamp:master

Conversation

@Matthieu-Beauchamp
Copy link
Contributor

The following code in BarrelList.sort causes a crash

del self.lists[:]
self.lists[0] = tmp_sorted

@mahmoud mahmoud merged commit f9c4f30 into mahmoud:master Oct 4, 2025
10 checks passed
@mahmoud
Copy link
Owner

mahmoud commented Oct 4, 2025

Nice fix, with a test, no less. LGTM, thanks!

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

Comments