New submission from Charles-Axel Dein :
The example for `walk()` in `email.message.EmailMessage` makes use of the
`_structure` function but does not clarify how to import it.
I can make a patch adding a line:
from email.iterators import _structure
--
assignee: docs@python
New submission from Charles-Axel Dein:
Similar to http://bugs.python.org/issue20659
Having a behavior that is similar to a property on a class seems intuitive
enough. Is there any specific reason why it does not exist?
--
messages: 237227
nosy: charlax
priority: normal
severity
Charles-Axel Dein added the comment:
Sounds good. Do you know when this will get merged?
--
___
Python tracker
<http://bugs.python.org/issue20351>
___
___
Pytho
Charles-Axel Dein added the comment:
Anything else I need to do?
--
___
Python tracker
<http://bugs.python.org/issue20351>
___
___
Python-bugs-list mailin
Charles-Axel Dein added the comment:
Updated patch following review.
--
Added file: http://bugs.python.org/file35790/add_csvdict_examples.patch
___
Python tracker
<http://bugs.python.org/issue20
Charles-Axel Dein added the comment:
New version of the patch.
--
Added file: http://bugs.python.org/file34969/add_csvdict_examples.patch
___
Python tracker
<http://bugs.python.org/issue20
Charles-Axel Dein added the comment:
Hey - is there anything else I need to do here?
--
___
Python tracker
<http://bugs.python.org/issue20351>
___
___
Python-bug
Charles-Axel Dein added the comment:
Any update?
--
___
Python tracker
<http://bugs.python.org/issue20351>
___
___
Python-bugs-list mailing list
Unsubscribe:
Charles-Axel Dein added the comment:
Updated patch following review.
--
Added file: http://bugs.python.org/file34110/add_csvdict_examples.patch
___
Python tracker
<http://bugs.python.org/issue20
New submission from Charles-Axel Dein:
IMO csv.DictWriter and csv.DictReader provides a nicer interface for complex
CSV file. I see some people reinventing the DictReader and DictWriter pretty
frequently, because when they rapidly scan the documentation all examples are
about csv.reader and
New submission from Charles-Axel Dein:
I just thought that using pprint.pprint was an elegant solution to the
non-deterministic order of repr(dict) in doctest. See for instance
http://bugs.python.org/issue3332
Contrary to sorted(foo().items()):
- It provides a nice output that is exactly
Charles-Axel Dein <[EMAIL PROTECTED]> added the comment:
This is a bug. This is not a good behavior.
If I would like to temporarily print a variable to see its content, in
order to debug my code, doctest will eat its output. Thus I will be make
to use pdb or to use logging, or to get
12 matches
Mail list logo