Greg Ewing writes:
> On 2/03/23 10:59 am, gene heskett wrote:
>> Human skin always has the same color
>
> Um... no?
You took that out of context. The assertion was that "Human skin
always has the same color" and "the difference is not the color,
but the brightness". I offer no opinion on whethe
On 3/1/23 20:28, Greg Ewing via Python-list wrote:
On 2/03/23 10:59 am, gene heskett wrote:
Human skin always has the same color
Um... no?
Yes, only the intensity of the color changes, the vector angle remains
the same within a degree or so.
Cheers, Gene Heskett.
--
"There are four boxes t
On 2/03/23 10:59 am, gene heskett wrote:
Human skin always has the same color
Um... no?
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
On 26Feb2023 13:07, Hen Hanna wrote:
is there any reason to prefer"over' ?
Not inherently.
It is only important if you want to embed one of those characters in a
string, eg:
x = "That's silly."
versus:
x = 'That\'s silly.'
and the converse for the other quote chara
On 28Feb2023 12:54, Greg Ewing wrote:
I guess this means I can't use Black. :-(
Black's treatment of quotes and docstrings is one of the largest reasons
why I won't let it touch my personal code. yapf is far better behaved,
and can be tuned as well!
Cheers,
Cameron Simpson
--
https://mail
On 3/1/23 11:41, rbowman wrote:
On 1 Mar 2023 11:28:12 GMT, Stefan Ram wrote:
IIRC, I've heard of professional video monitors which are set to
standard values for color saturation, contrast, and brightness. They
have no way to adjust these values, although they are more expensive
t
y, March 1, 2023 6:48 AM
To: python-list@python.org
Subject: Re: Python 3.10 Fizzbuzz
On 2023-03-01, Simon Ward wrote:
> On Tue, Feb 28, 2023 at 04:05:19PM -0500, avi.e.gr...@gmail.com wrote:
>>Is it rude to name something "black" to make it hard for some of us to
>>remind th
On 1 Mar 2023 11:28:12 GMT, Stefan Ram wrote:
> IIRC, I've heard of professional video monitors which are set to
> standard values for color saturation, contrast, and brightness. They
> have no way to adjust these values, although they are more expensive
> than normal screens.
Probably a
On 2023-03-01, Simon Ward wrote:
> On Tue, Feb 28, 2023 at 04:05:19PM -0500, avi.e.gr...@gmail.com wrote:
>>Is it rude to name something "black" to make it hard for some of us to
>>remind them of the rules or claim that our personal style is so often
>>the opposite that it should be called "whit
On Tue, Feb 28, 2023 at 04:05:19PM -0500, avi.e.gr...@gmail.com wrote:
Is it rude to name something "black" to make it hard for some of us to
remind them of the rules or claim that our personal style is so often
the opposite that it should be called "white" or at least shade of
gray?
The usua
On Tue, 28 Feb 2023 at 20:55, Mats Wichmann wrote:
>
> On 2/27/23 16:42, Oscar Benjamin wrote:
> > On Mon, 27 Feb 2023 at 21:06, Ethan Furman wrote:
> >>
> >> On 2/27/23 12:20, rbowman wrote:
> >>
> >> > "By using Black, you agree to cede control over minutiae of hand-
> >> > formatting. In r
uesday, February 28, 2023 2:44 PM
To: pythonl...@danceswithmice.info
Cc: python-list@python.org
Subject: Aw: Re: Python 3.10 Fizzbuzz
> > I've never tried Black or any other code formatter, but I'm sure we
> > wouldn't get on.
>
> Does this suggest, that becaus
3 2:22 PM
To: python-list@python.org
Subject: Re: Python 3.10 Fizzbuzz
On 28/02/2023 12.55, Rob Cliffe via Python-list wrote:
>
>
> On 27/02/2023 21:04, Ethan Furman wrote:
>> On 2/27/23 12:20, rbowman wrote:
>>
>> > "By using Black, you agree to cede control over mi
On 2/27/23 16:42, Oscar Benjamin wrote:
On Mon, 27 Feb 2023 at 21:06, Ethan Furman wrote:
On 2/27/23 12:20, rbowman wrote:
> "By using Black, you agree to cede control over minutiae of hand-
> formatting. In return, Black gives you speed, determinism, and freedom
> from pycodestyle nagg
> > I've never tried Black or any other code formatter, but I'm sure we
> > wouldn't get on.
>
> Does this suggest, that because Black doesn't respect other people's
> opinions and feelings, that it wouldn't meet the PSF's Code of Conduct?
That much depends on The Measure Of A Man.
Karsten
--
ht
On Wed, 1 Mar 2023 at 06:25, dn via Python-list wrote:
>
> On 28/02/2023 12.55, Rob Cliffe via Python-list wrote:
> >
> >
> > On 27/02/2023 21:04, Ethan Furman wrote:
> >> On 2/27/23 12:20, rbowman wrote:
> >>
> >> > "By using Black, you agree to cede control over minutiae of hand-
> >> > formatti
On 28/02/2023 12.55, Rob Cliffe via Python-list wrote:
On 27/02/2023 21:04, Ethan Furman wrote:
On 2/27/23 12:20, rbowman wrote:
> "By using Black, you agree to cede control over minutiae of hand-
> formatting. In return, Black gives you speed, determinism, and freedom
> from pycodestyle nagg
On 27/02/2023 21:04, Ethan Furman wrote:
On 2/27/23 12:20, rbowman wrote:
> "By using Black, you agree to cede control over minutiae of hand-
> formatting. In return, Black gives you speed, determinism, and freedom
> from pycodestyle nagging about formatting. You will save time and
mental
>
On 28/02/23 5:08 am, Thomas Passin wrote:
On 2/27/2023 11:01 AM, Mats Wichmann wrote:
If you intend to run Black on your code to ensure consistent
formatting, you may as well learn to prefer double quotes, because
it's going to convert single to double
I prefer single quotes because they are
On Mon, 27 Feb 2023 at 21:06, Ethan Furman wrote:
>
> On 2/27/23 12:20, rbowman wrote:
>
> > "By using Black, you agree to cede control over minutiae of hand-
> > formatting. In return, Black gives you speed, determinism, and freedom
> > from pycodestyle nagging about formatting. You will save
On 2/27/23 12:20, rbowman wrote:
> "By using Black, you agree to cede control over minutiae of hand-
> formatting. In return, Black gives you speed, determinism, and freedom
> from pycodestyle nagging about formatting. You will save time and mental
> energy for more important matters."
>
> Someho
On Mon, 27 Feb 2023 09:01:26 -0700, Mats Wichmann wrote:
> If you intend to run Black on your code to ensure consistent formatting,
> you may as well learn to prefer double quotes, because it's going to
> convert single to double (or: don't learn, and set your IDE to "convert
> on save" and don't
On Mon, 27 Feb 2023 11:08:22 -0500, Thomas Passin wrote:
> I prefer single quotes because they are easier to type.
There is that. JavaScript makes me lazy and C# slaps my knuckles with a
steel edged ruler.
--
https://mail.python.org/mailman/listinfo/python-list
On 2/27/2023 11:01 AM, Mats Wichmann wrote:
On 2/26/23 14:07, Hen Hanna wrote:
On Monday, August 29, 2022 at 7:18:22 PM UTC-7, Paul Rubin wrote:
Just because.
from math import gcd
def fizz(n: int) -> str:
match gcd(n, 15):
case 3: return "Fizz"
case 5:
On 2/26/23 14:07, Hen Hanna wrote:
On Monday, August 29, 2022 at 7:18:22 PM UTC-7, Paul Rubin wrote:
Just because.
from math import gcd
def fizz(n: int) -> str:
match gcd(n, 15):
case 3: return "Fizz"
case 5: return "Buzz"
case 15: return
From: Python-list On
Behalf Of Hen Hanna
Sent: Sunday, February 26, 2023 4:07 PM
To: python-list@python.org
Subject: Re: Python 3.10 Fizzbuzz
On Monday, August 29, 2022 at 7:18:22 PM UTC-7, Paul Rubin wrote:
> Just because.
>
> from math import gcd
> def fizz(n: int) -> str:
>
Dang auto-correct... Should read
... double quotes around "strings" and single quotes around 'c'haracters ...
On Sun, Feb 26, 2023, 6:28 PM Skip Montanaro
wrote:
> is there any reason to prefer"over' ?
>>
>
> Not really. As an old C programmer for many years I used double
> quotes
>
> is there any reason to prefer"over' ?
>
Not really. As an old C programmer for many years I used double
quotes"around "strings" and single word around 'c'haracters, because that's
what I was used to. (This was long before triple quoted strings appeared in
the language.)
Aside: G
On Monday, August 29, 2022 at 7:18:22 PM UTC-7, Paul Rubin wrote:
> Just because.
>
> from math import gcd
> def fizz(n: int) -> str:
>match gcd(n, 15):
> case 3: return "Fizz"
> case 5: return "Buzz"
> case 15: return "FizzBuzz"
>
29 matches
Mail list logo