I see no benefit to using PEP343 just to provide syntactic sugar for
this purpose.  There is no REASON to use the "with" statement because
we're not doing anything with exception handling here.  It's only
being used to create an input format that looks prettier to some eyes.

Am I missing something??

On Jul 13, 2:40 pm, Yarko Tymciurak <yark...@gmail.com> wrote:
> There are 2 interesting aspects from Luis's  blogger post:
>
> - to use with, classes need to consider contexts;
> - the (to me, at least) interesting example of ASP.NET's xmlwriter class
> (generating SVG dynamically) is... .NET specific;  I'm off busy looking for
> a python portable idiom to use in place of his last example...
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to