[issue17912] thread states should use a doubly-linked list

2013-05-08 Thread Charles-François Natali
Changes by Charles-François Natali : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue17912] thread states should use a doubly-linked list

2013-05-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 375d4fed4cf2 by Charles-Francois Natali in branch 'default': Issue #17912: Use a doubly linked-list for thread states. http://hg.python.org/cpython/rev/375d4fed4cf2 -- nosy: +python-dev ___ Python tracker

[issue17912] thread states should use a doubly-linked list

2013-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Your patch looks fine to me, thank you. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17912] thread states should use a doubly-linked list

2013-05-07 Thread Charles-François Natali
Changes by Charles-François Natali : -- keywords: +needs review, patch stage: needs patch -> patch review Added file: http://bugs.python.org/file30168/pystate.diff ___ Python tracker ___

[issue17912] thread states should use a doubly-linked list

2013-05-07 Thread Charles-François Natali
Charles-François Natali added the comment: > There are a couple other places, IIRC. That said, I'm not sure what the > point is, since a linked list is quite a simple structure anyway? Well, it was just to avoid code duplication, and gain a nice iteration macro ;-) Anyway, I'll submit a patch l

[issue17912] thread states should use a doubly-linked list

2013-05-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Are there other places in the code base using linked-list? > If yes, I think it could be interesting to add a generic linked-list > implementation, like the one used in the Linux kernel: > http://kernelnewbies.org/FAQ/LinkedLists > http://isis.poly.edu/kulesh/s

[issue17912] thread states should use a doubly-linked list

2013-05-06 Thread Charles-François Natali
Charles-François Natali added the comment: Are there other places in the code base using linked-list? If yes, I think it could be interesting to add a generic linked-list implementation, like the one used in the Linux kernel: http://kernelnewbies.org/FAQ/LinkedLists http://isis.poly.edu/kulesh/st

[issue17912] thread states should use a doubly-linked list

2013-05-06 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue17912] thread states should use a doubly-linked list

2013-05-05 Thread Antoine Pitrou
New submission from Antoine Pitrou: Thread states are stored in a singly linked list, which makes some operations more cumbersome than they should be. Since memory consumption is far from critical here, it would be easier to handle them with a doubly linked list. -- components: Interpr