[Python-ideas] A proliferation of (un-)Pythonically programmatic pragmas

Steven D'Aprano steve at pearwood.info
Thu Nov 16 23:37:23 EST 2017


On Mon, Nov 13, 2017 at 07:17:26PM -0500, Terry Reedy wrote:

> Docstring directives might be considered for points to copy or not copy.
> An example is  # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
[...]
> For binary options, '+' and '-' prefixes are much more compact than 
> '=True' and '=False' suffixes.  This will be more important with 
> multiple directives in one comment.

I'd just like to strongly +1 Terry's comments here.


-- 
Steve


More information about the Python-ideas mailing list