On Thursday, April 5, 2012 11:28:01 PM UTC-5, rusi wrote:
> On Apr 5, 4:06 pm, Duncan Booth wrote:
> > Steven D'Aprano wrote:
> > > JSON expects double-quote marks, not single:
> > > v = json.loads("{'test':'test'}") fails
> > > v = json.loads('{"test":"test"}') succeeds
> >
> > You mea
I thought that the point of the else clause is that it is reached only
if there is no exception in the try clause.
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 16, 10:54 am, Steve Ferg
wrote:
> This is a question for the language mavens that I know hang out here.
> It is not Python related, except that recent comparisons of Python to
> Google's new Go language brought it to mind.
>
> NOTE that this is *not* a suggestion to change Python. I like P