[Python-ideas] Option to show help without typing

2021-05-08 Thread Danilo J. S. Bellini
The idea is to allow a "typing=False" keyword argument to the "help" built-in. Sometimes a function has dozens of parameters, and several of them are Union, Optional, or have some container specification, etc.., so the type description can be way too long, but if one just wants to know if a

[Python-ideas] Re: Changing The Theme of Python Docs Site

2021-05-08 Thread Abdur-Rahmaan Janhangeer
Greetings list, Created thread + summary: https://discuss.python.org/t/changing-the-theme-of-the-python-docs-styling/8621 Kind Regards, Abdur-Rahmaan Janhangeer about | blog github

[Python-ideas] Re: Changing The Theme of Python Docs Site

2021-05-08 Thread Christopher Barker
On Sat, May 8, 2021 at 3:16 AM M.-A. Lemburg wrote: > > There's a new documentation WG dealing with documentation issues. Thanks — I hadn’t had a chance to point that out — but that’s where folks can contribute— kibitzing on this list is just a waste of time. > > I don't know whether styling

[Python-ideas] Re: Changing The Theme of Python Docs Site

2021-05-08 Thread M.-A. Lemburg
On 03.05.2021 11:57, Abdur-Rahmaan Janhangeer wrote: > Time from someone clever with CSS in Sphinx may be all it takes. > > Yes, agree , i am not suggesting other > docs systems but just reconsidering the style. > > @Marc indeed raised the question of overall > consistency which i guess will be

[Python-ideas] Re: Bring back PEP 501

2021-05-08 Thread M.-A. Lemburg
On 07.05.2021 23:56, Nick Humrich wrote: > Marc, > > You might have misunderstood me. I am not recommending sending the database > raw > strings without parameters, but rather that i-strings turn things into > parameters and its impossible to mess up. Let me explain a little.  > > In

[Python-ideas] Re: Bring back PEP 501

2021-05-08 Thread Matt del Valle
Yeah, huge +1 on this. A previous workplace of mine used C# and while I always sorely missed the ORMs available in Python (nothing in the C# ecosystem even *remotely* compares to sqlalchemy, not even LINQ to SQL), their FormattableString class always made me vaguely jealous when working with

[Python-ideas] Re: Bring back PEP 501

2021-05-08 Thread Steven D'Aprano
On Fri, May 07, 2021 at 01:40:19PM -0600, Nick Humrich wrote: > PEP 501 already mentions how templates (i-strings?) can solve injection. I don't think it does. The PEP only mentions the substring "inject" five times: - once in the table of contents; - twice to describe how f-strings may be