New submission from Vito De Tullio :
It would be useful to let json.tool support empty rows during handling of json
lines
generally speaking, this tolerance is already present in parsers like srsly and
jsonlines
actual behavior:
# happy scenario
$ echo -e '{"foo":1}\n{"b
Change by Vito De Tullio :
--
keywords: +patch
pull_requests: +28086
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29858
___
Python tracker
<https://bugs.python.org/issu
Vito De Tullio added the comment:
My final goal is to preserve the empty lines - I think I can do some bash
magic, but maybe something more complex that a simple sed call.
FWIW on https://jsonlines.org/#line-separator-is-n I see "The last character in
the file may be a line separator
New submission from Vito De Tullio :
The enhancement is to add a __init__ method to both contextlib.ExitStack and
contextlib.AsyncExitStack, so that you can pass (async)context managers
directly in the costructor.
additionally, a new "context_managers" / "async_context_man
New submission from Vito De Tullio :
RawConfigParser does not inherit from object, so using (to make an
example) super() it's impossible.
Python 2.6 (r26:66714, Feb 3 2009, 20:52:03)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2
Type "help", "copyright", &
New submission from Vito De Tullio :
from http://docs.python.org/download.html and
http://docs.python.org/3.0/download.html you can download the python
documentation in many formats (html, pdf, txt), I think auto-generated
by the .rst source.
While html and txt does not, the pdf format