Hi, Von: Greg Stein [mailto:gst...@gmail.com] > On Wed, Aug 10, 2011 at 19:15, Branko Čibej <br...@xbc.nu> wrote: > >... > > Explicit management of rare resources is no bad thing. The "with" > > statement was introduced specifically to do away with the flaky, three > >times longer try-except-else that would otherwise be necessary in order > >to guarantee that file objects are closed. > > With the prior constructions: > > open(foo).read() > open(foo, 'w').write(bar)
Constructs like this never worked reliable in alternative python implementations. And now, as IronPython has a working cTypes implementation, maybe that is the way to provide subversion support for IronPython. Best regards Markus Schaber ___________________________ We software Automation. 3S-Smart Software Solutions GmbH Markus Schaber | Developer Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50 Email: m.scha...@3s-software.com | Web: http://www.3s-software.com CoDeSys internet forum: http://forum.3s-software.com Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915