qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Python docstrings and licensing/authorship
@ 2020-09-16 15:47 John Snow
  2020-09-16 16:05 ` Christophe de Dinechin
  0 siblings, 1 reply; 6+ messages in thread
From: John Snow @ 2020-09-16 15:47 UTC (permalink / raw)
  To: QEMU Developers

For some of the Python cleanup work I am doing, I am moving preamble 
comments into docstrings. These docstrings are visible in interactive 
editors and may be visible when using Sphinx to generate documentation 
manuals for Python code.

My instinct is to remove the licensing and authorship information from 
the preamble and leave the docstring only with information functionally 
relevant to the module, while leaving licensing and authorship 
information in a comment (above? below?).

The end effect would be that using e.g. `help(qapi.parser)` in the 
interactive Python shell would not show licensing or copyright for the 
module, but it would still be visible in the source file, as always.

Is this in bad taste? Do we have strong feelings about authorship and 
licensing being visible in help output and generated documentation?

--js



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-09-17 19:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-16 15:47 Python docstrings and licensing/authorship John Snow
2020-09-16 16:05 ` Christophe de Dinechin
2020-09-16 16:22   ` John Snow
2020-09-16 16:37     ` Daniel P. Berrangé
2020-09-17 12:55       ` Markus Armbruster
2020-09-17 19:02         ` John Snow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).