[Twisted-Python] module interface checking tool
Dave Peticolas
dave at krondo.com
Mon Aug 9 20:48:22 MDT 2004
On Thu, 2004-08-05 at 01:02, glyph wrote:
> On Thu, 2004-08-05 at 03:06 -0400, James Y Knight wrote:
> > So, I was a bit irritated recently because there is no way to test for
> > private name usage in a module's namespace. '__all__' is a good start,
> > but it is somewhat poor for a few reasons:
>
> WOW. THank you for doing this, james. This is more useful than
> PyChecker output, I think. It's also a little depresing. We really
> need a better-documented public API!
>
> I have created 2 new issues for this, one for adding __all__ to all
> modules and one for testing that it's obeyed properly. #658 and #659,
> respectively. They are tentatively assigned to you, but I expect you
> can carve up Twisted and motivate others to actually do most of the
> work :).
On the subject of adbapi using t.i.threads._putResultInDeferred,
the latter function is useful for anyone managing their own threads.
Anyone object if it is renamed to putResultInDeferred and made
public?
dave
More information about the Twisted-Python
mailing list