On Jun 8, 2013, at 2:19 PM, Greg Stein <[email protected]> wrote:
> On Jun 8, 2013 12:56 PM, "Daniel Shahaf" <[email protected]> wrote:
>>
>> On Sat, Jun 08, 2013 at 12:08:57AM -0000, [email protected] wrote:
>>> + print '%s: voter must be an Internet e-mail address.' % (SCRIPT,)
I guess I'm not not the commits list yet.
Is it really good form to use a single member tuple for this kind of print
statement? I ask this as a Java weenie who is learning the ropes. It seems
like a lot of syntactic noise.
>> Any reason not to use Python 3? Or at least the common subset of py2 and
> py3?
>
> Python 2.7 is preinstalled on my Mac. It is generally more available, and I
> believe better-supported by 3rd-class extensions/libraries.
print 'Because parentheses have no place in print statements'
print "other than for %s %s formatting options' % ('super', 'awesome')
+1 for 2.6/2.7
We can use Python 3 if there's ever a feature we need.
Regards,
Alan