"Well, that escalated quickly." :-)
How did we get from a specific issue with docstrings and the
unittest package's test reporting to multi-line comments? If
this was Discourse that entire subdiscussion would have been
flagged as
On 4/4/22 09:25, Paul Moore wrote:
On Mon, 4 Apr 2022 at 17:22, Coyot Linden (Glenn Glazer)
wrote:
I would welcome a multiline comment format that didn't involve docstrings.
Err, sorry, I meant multiline string format.
I'm confused, what's wrong with """...&quo
I would welcome a multiline comment format that didn't involve docstrings.
Err, sorry, I meant multiline string format.
Best,
coyot
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https
I would like to point out another use case of triple quotes outside of
docstrings. We do a lot of SQL here and so doing a parameterized query like:
"""SELECT foo
FROM bar
WHERE baz = %s"""
is a whole lot cleaner and more natural than
("SELECT foo" +
"FROM bar" +
"WHERE baz = %s")
For this toy
On Sun, Mar 27, 2022 at 3:08 AM Paul Moore p.f.mo...@gmail.com wrote:
...
exactly - let's say someone needs to write some JSON for the
first time.
With the json package included, all they need to do is `import
json`. If
that wasn't there,
On 3/1/21 08:49, Paul Moore wrote:
On Mon, 1 Mar 2021 at 16:25, Coyot Linden (Glenn Glazer)
wrote:
This is one of those cases, where those of us who have been around
Python for awhile can perhaps infer from context which his meant, but
the
On 2/26/21 13:49, Steven D'Aprano wrote:
Hi Coyot, and welcome!
Can you explain the circumstances where a developer, or an end user,
might be confused as to which development mode is meant?
"Dev mode" is a very common term: Windows 10 has a development mode. So
does the X-Box and the Samsung Ga