A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-March/108564.html below:

[Python-Dev] Support the /usr/bin/python2 symlink upstream

[Python-Dev] Support the /usr/bin/python2 symlink upstream [Python-Dev] Support the /usr/bin/python2 symlink upstreamSteven D'Aprano steve at pearwood.info
Wed Mar 2 21:20:27 CET 2011
Steven D'Aprano wrote:
> Jérôme Radix wrote:
>> Hello,
>>
>> Defensive programming will force you to do things like :
>>
>> import sys
>> if sys.version[0] == '2':
> 
> 
> Really? Do you already do this?
> 
> if sys.version < '2.2':
>     result = apply(func, arguments)
> else:
>     result = func(*arguments)
> 
> 
> And if so, have you tested it in Python 1.5 to see what happens?

Sorry, that reads harsher than I intended. Please insert a wink and a 
smiley.



-- 
Steven
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4