New submission from John Parejko :
Dataclasses provide a very straightforward way to specify structured data. One
can trivally document a dataclass's attributes via triple-quoted attribute
docstrings per PEP 257. However, those docstrings are not accessible to pydoc,
so they are lo
New submission from John Parejko :
The new dataclasses.dataclass is very useful for describing the properties of a
class, but it appears that Mocks of such decorated classes do not catch the
members that are defined in the dataclass. I believe the root cause of this is
the fact that
John Parejko added the comment:
Were you able to make any progress on this? Do you need any help?
--
nosy: +parejkoj-3
___
Python tracker
<https://bugs.python.org/issue23
John Parejko added the comment:
Adding to the list of "I just ran into this". The patch submitted by fov seems
straightforward enough: what can we do to help shepherd it along?
--
nosy: +John Parejko2
___
Python tracker
<https://bu
John Parejko added the comment:
I had filed issue 29146 but eventually found this, which has patches to fix the
exception messages. Could someone please look at this and get it incorporated
into python?
--
___
Python tracker
<h
Changes by John Parejko :
--
nosy: +John Parejko
___
Python tracker
<http://bugs.python.org/issue20608>
___
___
Python-bugs-list mailing list
Unsubscribe:
John Parejko added the comment:
Ah, I finally found a related issue, and it looks like it has patches!
https://bugs.python.org/issue20608
If someone could check that over and merge it, that would be wonderful!
--
___
Python tracker
<h
New submission from John Parejko:
As described in PEP-3127, the "leading-zeros" formatting for octal was removed
from python 3. This is a good thing(tm), but the recommendation of that PEP to
improve the error message of the raised exception[1] was apparently never
implemented.