<bonz060>I want to patch python24 so that when I do a `sys.platfrom` on an linux version that's >= 4, I just get back "linux". How do I go about doing that? `sys.plaform` is a python built-in so I'm guessing I'd have to touch the C files(specifically /Python/getplatform.c). Here's the source code I'm working with: https://www.python.org/ftp/python/2.4.6/Python-2.4.6.tar.bz2
<civodul>did you find patches floating around for that?
<bonz060>Nope. I wrote one my self. I spent some time skimming the Python2.4 source code, and after sometime figured out where Platform is being called in the built-ins. I came up with this: https://paste.debian.net/1155337/