Re: [Python-Dev] 2.7 Release? 2.7 == last of the 2.x line?

2009-11-04 Thread Carl Trachte
On 11/4/09, sstein...@gmail.com sstein...@gmail.com wrote:

 Maybe the 3.x line should just be put out of our misery, merged back
 to 2.7, 2.8, 2.9, and proceed as Glyph suggested in passing with
 increasing levels of deprecation until it just turns into 3.x on its
 own by running out of numbers.

delurk
As a user, I'm horrified.  Granted, I'm not the most high powered
user, but . . .
my employer is already providing me with a 3.0 Python version on one
of my work computers with the expectation that I'll be using it more
and more.

Sorry to butt in, but is this a joke?  I thought all this was hashed
out prior to inventing python 3.0.
/delurk
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] transitioning from % to {} formatting

2009-10-04 Thread Carl Trachte
 Do the users get any say in this?

 I'm a user! :-)

 I hate calling methods on string literals, I think it looks very odd to
 have code like this:

   Displaying {0} of {1} revisions.format(x, y)

 Will we be able to write this as

   Displaying {0} of {1} revisions % (x, y)

 too?

 I imagine that some people are heavily invested in %-formatting.

 Because there has been limited uptake on {}-formatting (afaict), we
 still have limited experience with knowing that it is actually better,
 less error-prone, easier to learn/rember, etc. Outside a handful of
 people on this list, I have yet to see anyone adopt it as the
 preferred syntax.

 I've skimmed over the PEP, and the new {}-syntax seems to have some nice
 features. But I've not seen it used anywhere yet.


delurk

Rami Chowdhury posted this to a mailing list; I've been using it
(perhaps unintentionally promoting it) as part of non-English,
non-ASCII font outreach:

 def শালাম_বল(নাম):
কথা = শালাম {0}. কেমন আছেন?.format(নাম)
print(কথা)

 def say_greeting(name):
   to_say = Greetings, {0}. How are you?.format(name)
   print(to_say)

As a user, my assumption was {} was going forward, rain or shine, and
everyone should be on board by Python 3.2.  (I thought once the Talin
PEP got approved, that was it).  I wrote Steven Bethard privately
about this.

Sorry for the intrusion.

/delurk
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com