Comment 5 for bug 197219

Revision history for this message
T. Middleton (timtoo) wrote :

Listen to yourself, Mattias. Now not only are you justifying a python behavior (forcing a single sitecustomize.py to a particular directory, effectively crippling any other software from having their own sitecustomize.py), which no other operating system or linux distribution does that I am aware of, but then you are saying you think ubuntu should edit one of the most popular freely available books on the subject so that ubuntu's version is different from all other versions (including the one i presume most people, even on ubuntu, use: online) to reflect this arbitrary decision.

Just something to think about.

It seems the whole reason for this issue is ubuntu's apparent need to inject (and maintain injected) "apport_python_hook" into every single python process that runs on ubuntu. This seems a somewhat dubious practice to me, but that's another issue. If ubuntu really feels the need to do this globally, it seems to me better practice that ubuntu should patch it's python package at a lower level than hijacking the general sitecustomize.py mechanism for itself globally.

I understand that this has been decided and there's nothing I can do about it, except find some way to work around the issue on specifically ubuntu, which I don't have to do on any other platform, if I want to support this platform (which I do -- it just makes a bit sad that ubuntu resorts to this sort of arbitrary stuff in some areas).

I also understand this is a fairly rare thing that anyone's even going to even know about sitecustomize.py, but still I hope that in the future maybe a better solution can be worked out.