New submission from Leon Matthews :
In the code sample documentation for other modules we show the necessary
imports, we should do the same for dataclasses.
For example, the very first example uses the `dataclass` decorator without
importing it first. It should read::
from dataclasses
Leon Matthews pyt...@lost.co.nz added the comment:
Thank you Éric and Ezio. I'll produce a patch to convert the javadoc to
docstrings this week, then submit it here.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14006
Leon Matthews l...@lost.co.nz added the comment:
The ElementTree.py module has good JavaDoc-style function-level documentation,
but as it's not in docstring format, it can't be seen from the interactive help.
I'd be willing to convert the current comments into docstrings, as long as I
New submission from Leon Matthews l...@lost.co.nz:
The lxml implementation of the ElementTree API puts a `sourceline` property
onto every Element object, which I recently found useful when producing
diagnostic messages. I think it would be a useful improvement to make the
standard library's
Changes by Leon Matthews l...@lost.co.nz:
--
nosy: +leonov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
___
Python-bugs-list mailing
Changes by Leon Matthews l...@lost.co.nz:
--
title: SpooledTemporaryFile operates differently to TemporaryFile -
SpooledTemporaryFile Cleanups
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6541
Changes by Leon Matthews l...@lost.co.nz:
--
title: SpooledTemporaryFile Cleanups - SpooledTemporaryFile cleanups
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6541
New submission from Leon Matthews l...@lost.co.nz:
According the docs for the tempfile module, SpooledTemporaryFile()
should operate exactly as TemporaryFile() does. However, while
playing around trying to learn the module I found a couple of places
where this is not the case:
import tempfile