Bad form to access a *private variable* like _foo?

seberino at spawar.navy.mil seberino at spawar.navy.mil
Wed May 7 14:53:46 EDT 2008


On May 6, 3:27 am, "Diez B. Roggisch" <de... at nospam.web.de> wrote:

> There are other ways. For example,
>
> sqlobject.sqlhub.threadingLocal.connection
>
> if your system is using multiple threads correctly. Generally speaking,
> sqlhub could/should be used.

That's actually quite involved.  You must first get a reference to a
PackageHub object, then invoke connectionToURI, etc.  lots of steps!

cs



More information about the Python-list mailing list