gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] why _ and - ?


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] why _ and - ?
Date: Mon, 22 Sep 2003 13:12:44 +0200
User-agent: Mutt/1.3.22.1i

> On Tue, 2003-09-23 at 02:15, syan tan wrote:
> > Why are some of the functions named with a _ before them?
> 
> What functions? In Python, a _ is prepended to declare the scope of that
> object as "private".
But only the first level of "private". One can still call
some_object._some_func() while one cannot just call
some_object.__some_func() since the __* is auto-mangled to
_class_name_*

> Problem was that Postgres does not allow real concurrent atomic
> transactions inside of the scope of a single client connection;
7.4 has true (?) read only transactions. Our code already uses
them.

> > The groups users created e.g. gm-doctors and test-doc have to be quoted  
> > when trying to
> > alter drop or create them.
> Yes, an unnecessary pain. Karsten probably wasn't aware of this - I
> wasn't either until I found out.
Again, patches welcome.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]