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

Thomas Heller theller at python.net
Tue Apr 4 10:55:14 CEST 2006


Thomas Heller wrote:
> Martin v. Löwis 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).
>>
>> 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.
> 
> Since we have a .vbs script somewhere in the buildbot scripts, it should be possible
> do something like 'os.startfile("sample.vbs", "open")'.
> 
> Thomas

See sf item 1464062.



More information about the Python-checkins mailing list