osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python dress


On 2017-09-13 02:54, Rick Johnson wrote:
> On Tuesday, September 12, 2017 at 6:59:32 PM UTC-5, Gregory Ewing wrote:
>> Larry Martell wrote:
>>> https://svahausa.com/collections/shop-by-interest-1/products/python-code-fit-flare-dress
>>
>> The only disadvantage might be the GIL interfering with
>> parallel processing using multiple machines in a
>> laundromat.
> 
> Oh, not the only disadvantage: being that 5 of the machines
> are running Python3, and 4 are running Python2, and one is
> still stubbornly running Python1, and being that the owner
> forgot to mark them, if we put the dress in the wrong
> machine -- *BOOM* -- exceptions all over the floor. 
> 
> Can anyone think of a way to version-test these machines
> without wasting a quarter, or requiring the services of a
> clean-up crew?
> 

Should "yield" at the machine in a menacing, regal voice. if it yields,
it is Python 2.3 or newer.


-- 
Thomas Jollans