Message 245672 - Python tracker

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Content
I suggest that 20 lines of identical code copy-and-pasted between two functions is not the cleanest way to do it.  Find attached my version of the patch, which splits this common code out into a static function.