[Python-checkins] r43586 - python/trunk/Modules/posixmodule.c
Neal Norwitz
nnorwitz at gmail.com
Tue Apr 4 08:45:17 CEST 2006
On 4/3/06, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> Neal Norwitz wrote:
> > On 4/3/06, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> >> The problem is that it always starts an external application, depending
> >> on the extension. It is difficult to make that application go away.
> >> Plus, we would need an extension that is known to work on all Windows
> >> systems.
> >
> > Ah, I understand. Then the only option I can think of which might be
> > reasonable is to pass a .py file. Would that be possible?
>
> The expected outcome might still vary: for the file association to work,
> Python must be *installed*. E.g. when running the 2.5 tests, it might
> actually invoke Python 2.4 (if that is installed), or it might give
> some error (if Python is not installed).
True, if we can't do it reliably, it's probably not worth doing.
> To just test the parameter passing, providing a non-existing file could
> also work; this should trigger an exception. This is a different code
> path, of course.
That sounds like it would still give us some testing and it would be
consistent. It's better than nothing.
n
More information about the Python-checkins
mailing list