[Python-checkins] r43586 - python/trunk/Modules/posixmodule.c

"Martin v. Löwis" martin at v.loewis.de
Tue Apr 4 08:40:35 CEST 2006


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).

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.

Regards,
Martin


More information about the Python-checkins mailing list