zlacker

[parent] [thread] 1 comments
1. jeeyou+(OP)[view] [source] 2025-11-20 06:02:55
As a user, you may not appreciate six, but popular libraries like Django would've never made the jump without six.py;
replies(1): >>maskli+p5
2. maskli+p5[view] [source] 2025-11-20 07:05:16
>>jeeyou+(OP)
I’m not talking as a user, I’m talking as a person who ported 350kLOCs of python from 2 to 3.

Django absolutely would have been ported: it was ported without six by Vinay Sajip (building on an earlier work of Martin von Löwis). In fact a limited shim layer was initially committed based on Vinay’s efforts: https://github.com/django/django/commit/5e6ded2e58597fa324c5...

The team ultimately decided to use and re-export six for the convenience of the ecosystem, not out of any sort of necessity.

[go to top]