Tracing the distutils code, the __build_py.build_module method
eventually returns a tuple:
Return a tuple (dest_name, copied): 'dest_name' is the actual name of
the output file, and 'copied' is true if the file was copied (or would
have been copied, if 'dry_run' true).
build_module is only called from the build_py module itself, and the
return value is never used. So returning nothing is fine.
Tom
Danek Duvall wrote:
On Wed, Jul 16, 2008 at 11:38:56AM -0500, Tom Mueller (pkg-discuss) wrote:
setup.py, line 345: Doesn't there need to be a return value here?
I would think so, but I've no idea what to return, and there aren't any
useful docs that I can find. And it seems to work correctly.
If you have a suggestion, I'm willing to take it.
Thanks,
Danek
begin:vcard
fn:Tom Mueller
n:Mueller;Tom
org:Sun Microsystems, Inc.;Update Center Software
adr:;;21915 Hillandale Dr;Elkhorn;NE;68022;USA
email;internet:[EMAIL PROTECTED]
title:Senior Staff Engineer
tel;work:877-250-4011
tel;fax:877-250-4011
tel;home:402-916-9943
x-mozilla-html:TRUE
version:2.1
end:vcard
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss