Ori,
Yes, you're right, it's about symlinks, not about Solaris.
I've attached our e-mails for those who miss the context of this
discussion.
Ronnie
--Ori wrote:
Hi Ronnie,
...
I have a question about the changes to coverage in main.py in this
revision : why do you prefer to find a module's path through
function.func_code.filename instead of __file__?
BTW - I tested it with IronPython 2.0 and it works, I need to test it
with Jython as well.
--
--Ronnie wrote:
I changed the coverage because on our Solaris Systems, Python is
installed through softlinks.
This means that function.func_code.filename gives a different result
than __file__,
(In the coverage.py module, you also use func_code.filename to compare
with, so it's guaranteed
to be the same)
This in turn resulted in coverage statistics for all python packages
that were used.
--
On 27 jan, 13:28, Ori Peleg <
ori...@gmail.com> wrote:
> Misha previously said it's important to comment that it's about Solaris, but
> if I understood correctly it's not about Solaris - it's about symlinks.
>
> On Tue, Jan 27, 2009 at 11:25 AM, Ronnie
> <
ronnie.van.t.westei...@gmail.com>wrote: