[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

AW: svn commit: r1156375 - /subversion/branches/fs-py/subversion/python/svn/fs.py

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Thu, 11 Aug 2011 08:37:10 +0200

Hi,

Von: Greg Stein [mailto:gstein_at_gmail.com]
> On Wed, Aug 10, 2011 at 19:15, Branko Čibej <brane_at_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.schaber@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
Received on 2011-08-11 08:37:53 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.