I agree with Joe. It require making object context dependent whoch would make things unnecessarily more complex and slower.
On Jul 13, 6:42 pm, Joe Barnhart <[email protected]> wrote: > 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 <[email protected]> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

