Message204740
On ven., 2013-11-29 at 16:23 +0000, Martin Pitt wrote:
> This new patch essentially enforces that the *.py file is not a
> symlink, which breaks the Debian-ish way of installing python 2
> modules.
So it doesn't help that Debian/Ubuntu likes to put symlinks everywhere,
then... (the original issue is due to another peculiarity you've added)
So, how about the following algorithm:
- check that both paths are equal
- if they aren't, call realpath() and check again
- if they are still unequal, raise an error
I suppose this is 2.7-only, btw? In 3.x, __file__ points to the py file
and not the pyc file. |
|
Date |
User |
Action |
Args |
2013-11-29 16:52:03 | pitrou | set | recipients:
+ pitrou, barry, doko, michael.foord, python-dev, pitti |
2013-11-29 16:52:03 | pitrou | link | issue19352 messages |
2013-11-29 16:52:02 | pitrou | create | |
|