On Thu, Mar 05, 2020 at 04:46:14PM -0600, Tim Peters wrote:
> [Steven D'Aprano ]
> > Sorting doesn't require a total order. Sorting only requires a weak
> > order where the only operator required is the "comes before" operator,
> > or less than. That's precisely how sorting in Python is
Type hints are not checked by the interpreter, so we don't need a
parameter to turn static type checks off. They are already off.
Type hints are only checked by optional third-party checkers, linters,
IDEs, etc.
There is, as far as I know, no plans to build static type-checking into
the
An immature idea.
Python now has a type prompt, so you can provide a parameter for the Python
interpreter to control whether to open the check type operation.
For example, in the code, I explicitly use the type prompt, such as:
# Test1.py
def foo(a: str, b: str) -> str:
c = None #
I think this is more of an issue to bring up with postmas...@python.org.
On Sun, Mar 8, 2020 at 7:41 AM André Roberge
wrote:
> I am currently attempting to go through the entire archives of
> Python-ideas to make a summary of the discussions about adding a syntax for
> decimal literals in
On Sun, 8 Mar 2020 at 15:02, Shrinivas Kulkarni wrote:
>
> Hello Everyone
>
> While writing python code, I frequently come across the need to do
> certain tasks based on combined conditions.
>
> Much of the task for all the sub-conditions are common but some are
> specific to one or more of these
Hello Everyone
While writing python code, I frequently come across the need to do
certain tasks based on combined conditions.
Much of the task for all the sub-conditions are common but some are
specific to one or more of these sub-conditions.
A simplified example:
##
I am currently attempting to go through the entire archives of Python-ideas
to make a summary of the discussions about adding a syntax for decimal
literals in Python. In doing so, I encountered a weird bug which I find
especially annoying since it makes me look like a spammer.
If one goes through