Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"I'm not afraid of dying, I just don't want to be there when it happens." -- Woody Allen


devel / comp.lang.python / Re: Checking if email is valid

SubjectAuthor
* Re: Checking if email is validChris Angelico
+* Re: Checking if email is validJon Ribbens
|+- Re: Checking if email is validThomas Passin
|+- Re: Checking if email is validSimon Connah
|+- Re: Checking if email is validMichael Torrie
|+- Re: Checking if email is validGrant Edwards
|+* Re: Checking if email is validD'Arcy Cain
||`- Re: Checking if email is validJon Ribbens
|+- RE: Checking if email is valid<avi.e.gross
|+- Re: Checking if email is validgene heskett
|+* Re: Checking if email is validGrant Edwards
||`- Re: Checking if email is validJon Ribbens
|+- Re: Checking if email is validMats Wichmann
|+- Re: Checking if email is validSimon Connah
|+* Re: Checking if email is validMats Wichmann
||`- Re: Checking if email is validJon Ribbens
|+- Re: Checking if email is validMRAB
|+* Re: Checking if email is validMats Wichmann
||`* Re: Checking if email is validGreg Ewing
|| +- Re: Checking if email is validChris Angelico
|| +- RE: Checking if email is valid<avi.e.gross
|| +- Re: Checking if email is validD'Arcy Cain
|| `- RE: Checking if email is valid<avi.e.gross
|`- Re: Checking if email is validGrant Edwards
+* Re: Checking if email is validD'Arcy Cain
|+* Re: Checking if email is validrbowman
||`* Re: Checking if email is validGreg Ewing
|| `- Re: Checking if email is validrbowman
|`* Re: Checking if email is validJon Ribbens
| `- Re: Checking if email is validChris Angelico
`- Re: Checking if email is validChris Angelico

Pages:12
Re: Checking if email is valid

<mailman.142.1698990179.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24327&group=comp.lang.python#24327

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Fri, 3 Nov 2023 16:42:45 +1100
Lines: 12
Message-ID: <mailman.142.1698990179.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de P05dqFUT7vr9RYBY7biZuAlKjzPHYxW1uCMouZ+Agz9w==
Cancel-Lock: sha1:2xGrnI4VMuprO/LRPvXHHfL3MWo= sha256:0XajbAHJKd07X/ySEiQAKWUfcfWG1g1rCwnmKEnvNsg=
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=ETy4hkdU;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.037
X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; '2023': 0.07; 'obviously':
0.09; 'avi': 0.16; 'chrisa': 0.16; 'from:addr:rosuav': 0.16;
'from:name:chris angelico': 0.16; 'gross': 0.16; 'object,': 0.16;
'wrote:': 0.16; 'to:addr:python-list': 0.20; 'fri,': 0.22;
'seems': 0.26; 'object': 0.26; 'example,': 0.28; 'module': 0.31;
'guess': 0.32; 'python-list': 0.32; 'message-id:@mail.gmail.com':
0.32; 'mean': 0.34; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'from:addr:gmail.com': 0.35; 'read':
0.38; 'email': 0.63; 'everything': 0.63; 'your': 0.64; 'parts':
0.65; 'decent': 0.84; 'invalid.': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1698990177; x=1699594977; darn=python.org;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:from:to:cc:subject:date
:message-id:reply-to;
bh=b6DxnQDC+XrQD/oxB50lTLkZ7QlNnj//po0yt7kJsv4=;
b=ETy4hkdUtspSy/Y7Dp6HLECE+mLvFvYSzfMaKMys98GAXxDiHwF05wcIPeaobdoem/
vpSBmGwwG5WMA27IPUd4PBr4wkojYXDkh3QWn2LNqxZp++bBy2GQ/FPbTeHgGHL3bPHc
o8r4x+at0Ig6tGPC5mruvjDb73W/rVs5PbxINLeaNXJaoXssZS+cT9bMlYN3eN8znsl+
Kq1Zq9tay43paVS3pHKUnxLlLZmDVXFG6YDA1jZTIajWrBG1aPxg4u+BuFgw2q1rqKDg
swyWZD1oFrnh48s6MeW3zlGJIB/Z3MJ4+lkhPMR57kG2cw5b9SJ2AWMuu8M/vOF3pQg3
3n1w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1698990177; x=1699594977;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=b6DxnQDC+XrQD/oxB50lTLkZ7QlNnj//po0yt7kJsv4=;
b=Qgbpm+S1U3dx0r50c4gIPPZzoMmpRolbrzjHy0fYY9vuxfOuPFPtwhLLWRmMU/0fXH
dJ1dNXMRinEkTVr1fzGqtSbKObosz2Glph8ozWQ198HpFzl8J9k0orCYIjDUaWwojoO3
xosIlBkVvIquOOlKjyhG7sYC4sywsokolQvkSOyOAXnmzaDTyxgAU/2WfUfv0UT3QnAD
gONGx0Zu/f0fcKg5SuXvOrPqdQS96ZGfX3SRski8Ud5QbjhBqVhKyS8l4/b6njssKX5s
aVAu63me80qWZOUzP+D6dFenJmF2YtwV2fw9O16gJRAMkV6FOSShZ7kY8lwBeN4w9I1Y
k8OQ==
X-Gm-Message-State: AOJu0YwOXjmFfUoQHb35cIBiTqsWGumnUA9J8cOvOsmSsX79ccPZyLRr
ZiZtLwqxgHJ1m7JWkneKo+Jk/K1Qg5a+ldOXBmnZXz3L
X-Google-Smtp-Source: AGHT+IF9aFKF9Wx+bww3jbHLx3/cIuEn1F8ae9s0xAEJK0sFRppjm1kFSIq9quA09CRh2YRbVR/+K/9jfy26w8FH95s=
X-Received: by 2002:a2e:9b4c:0:b0:2c6:ece6:5b65 with SMTP id
o12-20020a2e9b4c000000b002c6ece65b65mr3990061ljj.10.1698990176824; Thu, 02
Nov 2023 22:42:56 -0700 (PDT)
In-Reply-To: <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
 by: Chris Angelico - Fri, 3 Nov 2023 05:42 UTC

On Fri, 3 Nov 2023 at 12:21, AVI GROSS via Python-list
<python-list@python.org> wrote:
> My guess is that a first test of an email address might be to see if a decent module of that kind fills out the object to your satisfaction. You can then perhaps test parts of the object, rather than everything at once, to see if it is obviously invalid. As an example, what does user@alpha.......com with what seems to be lots of meaningless periods, get parsed into?
>

What do you mean by "obviously invalid"? Have you read the RFC?

ChrisA

Re: Checking if email is valid

<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24329&group=comp.lang.python#24329

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jon+use...@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Fri, 3 Nov 2023 10:51:28 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org>
<01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
Injection-Date: Fri, 3 Nov 2023 10:51:28 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8ad3a6afd535d1b47a000742b5a2ee5c";
logging-data="2894049"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181rnzfIuuwHQktRQqs8+RBuOmkAbg2bjA="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:YfYkkDUug/aEQEqIjPS3VxdDSsw=
 by: Jon Ribbens - Fri, 3 Nov 2023 10:51 UTC

On 2023-11-03, Chris Angelico <rosuav@gmail.com> wrote:
> On Fri, 3 Nov 2023 at 12:21, AVI GROSS via Python-list
><python-list@python.org> wrote:
>> My guess is that a first test of an email address might be to see if
>> a decent module of that kind fills out the object to your
>> satisfaction. You can then perhaps test parts of the object, rather
>> than everything at once, to see if it is obviously invalid. As an
>> example, what does user@alpha.......com with what seems to be lots of
>> meaningless periods, get parsed into?
>
> What do you mean by "obviously invalid"? Have you read the RFC?

What do you mean by 'What do you mean by "obviously invalid"?'
Have you read the RFC?

Re: Checking if email is valid

<mailman.148.1699039287.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24336&group=comp.lang.python#24336

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: lis...@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Fri, 3 Nov 2023 15:12:39 -0400
Lines: 21
Message-ID: <mailman.148.1699039287.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de ocHLaxpSt0XZfBUyBqLAqQ9bmenHM5XeggG+u6o7nmWA==
Cancel-Lock: sha1:/O2VIR2IEFCT/CRZlCtHBm3Ytvc= sha256:ZzRX5FDONKA+kFdlJ4orZVb6LCudAXQgXY0LDTE/paM=
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=o/XzYrDL;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.032
X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'comments': 0.03; '2023':
0.07; 'angelico': 0.09; 'obviously': 0.09; '6:51': 0.16; 'avi':
0.16; 'gross': 0.16; 'object,': 0.16; 'received:10.0.0': 0.16;
'received:64.90': 0.16; 'received:64.90.62': 0.16;
'received:64.90.62.162': 0.16; 'received:dreamhost.com': 0.16;
'wrote:': 0.16; 'to:addr:python-list': 0.20; 'fri,': 0.22;
'seems': 0.26; 'object': 0.26; '>>>': 0.28; 'chris': 0.28;
'example,': 0.28; 'header:User-Agent:1': 0.30; 'am,': 0.31;
'module': 0.31; 'guess': 0.32; 'python-list': 0.32;
'received:10.0': 0.32; 'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'but': 0.32; 'mean':
0.34; 'header:In-Reply-To:1': 0.34; 'read': 0.38; "there's": 0.61;
'email': 0.63; 'everything': 0.63; 'your': 0.64; 'parts': 0.65;
'header:Received:6': 0.67; 'received:64': 0.67; 'url:aspx': 0.80;
'decent': 0.84; 'invalid.': 0.84; 'jon': 0.84; 'url:08': 0.84;
'url:21': 0.84
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1699038759; a=rsa-sha256;
cv=none;
b=1t/zc1vU9+x1z+zXzWNgGXxLjAIeF73Fuksomss7C7ZESoh9ThPzDQgD2PkaUM4VeD7Mpo
1pP4sUPe1gMi3YvnL9BCABLySf4+Cw4jfFX4qKpRWd73Cio+kGS3m49kTPbBfl7HxjcUnu
kQM65HaGkPrX6wnMJcnvKDhHA9rZ4Z1GYrHZzb+Z50fGjM+VBof4NyBZ9//azYmm8EziDK
GjxQrHaWCVCYw0kzT001+PmT57l8GnusJQUMk4/c9TVUZdnG7OskQWGfVyEGE8+WhBs81I
BEgUZEfvwqPqma3Klmu6Naaecr0r2EWnP1/bj5sDe7wx0KRRFU312H2slYGsvg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1699038759;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=7vkVDMBNHyOpkTrS4tmPIAtY1NJ7tSgyzDVV8Qlpm/k=;
b=69QyccfMCxmqFmcQhYXnMe1KYan6s9nN1Q/F/YrakSxwrhdTScmwKp3+qIqSX3cfaZWuFu
cIrfSPwJm+cOeFXYbN84Qq3I7Fgv2V5BelrZTMoEVmDxPSgiL/Qp7umu9Lp7pNl/gzAytl
nynItNboYCXu14LjJoh0WTaCLt4y3pKDgav3Pn6EFwPlbKWedzJT8yBOGcA7TmUST5Lg6O
L3FPfmXrP3oVTK9vfk7ggVYl7/peDLn/D0gpMqxoiuQZoB/UOvLxpfr/N+czvwXFkvA7Vw
TcMA5Kt0mW4QVi8BJYVcMYxcxYEBfvlWoOlDnoY3kaVVm3eWESNK4Rpr/Dognw==
ARC-Authentication-Results: i=1; rspamd-76878f7dcc-rhl4h;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Madly-Belong: 1b26a3d2782b66b0_1699038760030_2601857842
X-MC-Loop-Signature: 1699038760030:1827617115
X-MC-Ingress-Time: 1699038760030
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1699038759;
bh=7vkVDMBNHyOpkTrS4tmPIAtY1NJ7tSgyzDVV8Qlpm/k=;
h=Date:From:Subject:To:Content-Type:Content-Transfer-Encoding;
b=o/XzYrDL7iMpmwN8C5FaJjovwMEinU93vMxDoRZPHQKb/z+7HpqSGIfB0fz3BqNhc
jFMEmXFtJuQ7WMsBNPdRqtw6l+RzE1xluZThwI+V7xGF9wANMcCkMxyMfoO452UDgy
6Asb34KH0NcHP522C18U0JUcmvpUNTmUJigv+PUXDdaQYVocSghVplcvT1FwFUshVH
aREzwPPgQHx6muaOBx4q7IVgWjSbSYPnhP6fjYJpZTCY6mF1Hx+AXO94XZTsJpA1ls
g7DaqWOGDWd45w9vyVHtLUkHOkb1KmvNGZKMjE29pex6jmv8HFnSqRMbDc7za61fP7
xJ7gfnY57ovdw==
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
 by: Thomas Passin - Fri, 3 Nov 2023 19:12 UTC

On 11/3/2023 6:51 AM, Jon Ribbens via Python-list wrote:
> On 2023-11-03, Chris Angelico <rosuav@gmail.com> wrote:
>> On Fri, 3 Nov 2023 at 12:21, AVI GROSS via Python-list
>> <python-list@python.org> wrote:
>>> My guess is that a first test of an email address might be to see if
>>> a decent module of that kind fills out the object to your
>>> satisfaction. You can then perhaps test parts of the object, rather
>>> than everything at once, to see if it is obviously invalid. As an
>>> example, what does user@alpha.......com with what seems to be lots of
>>> meaningless periods, get parsed into?
>>
>> What do you mean by "obviously invalid"? Have you read the RFC?
>
> What do you mean by 'What do you mean by "obviously invalid"?'
> Have you read the RFC?

About reading the RFC, there's this ... but read the comments too ...

https://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx/

Re: Checking if email is valid

<mailman.149.1699087892.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24337&group=comp.lang.python#24337

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: simon.n....@protonmail.com (Simon Connah)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Sat, 04 Nov 2023 08:51:14 +0000
Lines: 86
Message-ID: <mailman.149.1699087892.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
Mime-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
micalg=pgp-sha512;
boundary="------d33850e392643478602da631ddd768d88dac877f4cf66ed3911b91929b4468bd";
charset=utf-8
X-Trace: news.uni-berlin.de m46Mjs7gSm6yKlsipSCmRwnyyOTeE4nSjQAhb7Waw+CQ==
Cancel-Lock: sha1:7sdb4DS7eWK3b8ED4KqmofQF+80= sha256:P4vdDRD6H+g4DlDqGN0tH9qxBnmY2RUZ/md/wgVh08U=
Return-Path: <simon.n.connah@protonmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=protonmail.com header.i=@protonmail.com header.b=wtjGJz32;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.011
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'comments': 0.03; 'content-
type:multipart/signed': 0.05; '2023': 0.07; 'wrong.': 0.07;
'angelico': 0.09; 'cc:addr:python-list': 0.09; 'content-
type:application/pgp-signature': 0.09; 'filename:fname piece:asc':
0.09; 'filename:fname piece:signature': 0.09;
'filename:fname:signature.asc': 0.09; 'obviously': 0.09; 'cc:no
real name:2**0': 0.14; '6:51': 0.16; 'avi': 0.16; 'content-
disposition:attachment; filename="signature.asc"': 0.16; 'gross':
0.16; 'object,': 0.16; 'wrote:': 0.16; 'cc:addr:python.org': 0.20;
'fri,': 0.22; 'cc:2**0': 0.25; 'seems': 0.26; 'object': 0.26;
'received:185.70': 0.26; 'received:protonmail.ch': 0.26; 'chris':
0.28; 'example,': 0.28; 'am,': 0.31; 'module': 0.31; 'guess':
0.32; 'half': 0.32; 'link.': 0.32; 'message-id:@protonmail.com':
0.32; 'python-list': 0.32; 'received:185.70.40': 0.32; 'but':
0.32; "i'm": 0.33; 'mean': 0.34; 'header:In-Reply-To:1': 0.34;
'received:ch': 0.35; 'read': 0.38; "there's": 0.61; 'email
addr:gmail.com': 0.63; 'email': 0.63; 'everything': 0.63; 'your':
0.64; 'parts': 0.65; 'content-type:multipart/mixed': 0.68;
'received:185': 0.71; 'url:aspx': 0.80; 'header:Received:2': 0.84;
'decent': 0.84; 'invalid.': 0.84; 'jon': 0.84; 'url:08': 0.84;
'url:21': 0.84; 'weird': 0.84; 'websites': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
s=protonmail3; t=1699087884; x=1699347084;
bh=eJ5jmLWOKOJojSrvovnvcMJ8/+YAVHDpw/w16955ORE=;
h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References:
Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
Message-ID:BIMI-Selector;
b=wtjGJz32aMoV1BYZXbvNGuizvHmRiqL3dCh4g3umfiF8HN7ZuJgwg3pynjs8L0P3m
leZsJiyp3pih4jxi8K2P8d62hjRU6p+tHmSN5NotEJ6MMppM3Pj+T3Dw8xkAjNjmIt
ji+U64X5fpXOAPwiwmQ6DZruGRyriG9SKrq9VxXZBzPrDUf6lbjY/sY99i/Mti4voa
RsYY5TQQizn+HfGMI2Uwc00M+CWVB69Avb2x+2ky6uSJCQEVusc2KknxlNrQaRiTJt
Pi07mQ6H+xmsQ+sII36NMTGBazDqB/lF+o7v0H84EZPnukVyngJQTVL4j84qYqRfHh
cRRV0iS2a7Zng==
In-Reply-To: <cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
Feedback-ID: 24074989:user:proton
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
 by: Simon Connah - Sat, 4 Nov 2023 08:51 UTC
Attachments: "signature.asc" (application/pgp-signature)

>

> On 11/3/2023 6:51 AM, Jon Ribbens via Python-list wrote:
>

> > On 2023-11-03, Chris Angelico rosuav@gmail.com wrote:
> >

> > > On Fri, 3 Nov 2023 at 12:21, AVI GROSS via Python-list
> > > python-list@python.org wrote:
> > >

> > > > My guess is that a first test of an email address might be to see if
> > > > a decent module of that kind fills out the object to your
> > > > satisfaction. You can then perhaps test parts of the object, rather
> > > > than everything at once, to see if it is obviously invalid. As an
> > > > example, what does user@alpha.......com with what seems to be lots of
> > > > meaningless periods, get parsed into?
> > >

> > > What do you mean by "obviously invalid"? Have you read the RFC?
> >

> > What do you mean by 'What do you mean by "obviously invalid"?'
> > Have you read the RFC?
>

>

> About reading the RFC, there's this ... but read the comments too ...
>

> https://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx/
>

>

Wow. I'm half tempted to make a weird email address to see how many websites get it wrong.

Thank you for the link.

Simon.

Attachments: "signature.asc" (application/pgp-signature)
Re: Checking if email is valid

<mailman.151.1699114759.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24342&group=comp.lang.python#24342

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: torr...@gmail.com (Michael Torrie)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Sat, 4 Nov 2023 10:19:14 -0600
Lines: 13
Message-ID: <mailman.151.1699114759.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de T0G38F/nYM9A+08pTK0vfQJSstRlgKgYqFMoNVE6aAAg==
Cancel-Lock: sha1:PjrC0PWEoy3fy0tD0zcNC0MdVBY= sha256:z6NP0Pp2CAQwDo2IRwdHOpR3qGTl4A9UchEG57w+hTU=
Return-Path: <torriem@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=euXCqCM7;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.104
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.81; '*S*': 0.02; 'filter': 0.07; 'wrong.':
0.07; 'received:mail-pl1-x62b.google.com': 0.16; 'simon': 0.16;
'wrote:': 0.16; 'message-id:@gmail.com': 0.18; 'addresses': 0.19;
'to:addr:python-list': 0.20; 'suspect': 0.26; 'header:User-
Agent:1': 0.30; 'seem': 0.31; 'half': 0.32; 'link.': 0.32;
'python-list': 0.32; "i'm": 0.33; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'from:addr:gmail.com': 0.35;
'received:192.168': 0.37; 'use': 0.39; 'email': 0.63; 'spam':
0.65; 'nearly': 0.67; 'companies': 0.70; 'selling': 0.84; 'weird':
0.84; 'websites': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1699114756; x=1699719556; darn=python.org;
h=content-transfer-encoding:in-reply-to:from:references:to
:content-language:subject:user-agent:mime-version:date:message-id
:from:to:cc:subject:date:message-id:reply-to;
bh=nL9nKpfsFHqcX3e3wjflvYsFJJu/DTG4PSqtqC9OM5c=;
b=euXCqCM71SQQZOIxH45+OAVG03vPZrX/WDiXWId1PnBYXnSJ2BQ1mH1pBOjncU3WQR
FBprrk+Z96tZ3M7Tym40y0XqbssAR4rkIpK6/TysvhdpfmhLjc6f6SAGLRRXvSq3rcN2
gwUCxIvhGntUWAzLEegDGzXx4vHaA6JY0VgOBsyFJ+k1cbrsjjHoBX8g3idWKT4hvSVo
PlYfdXV8qqJpRTu9EfZZpNay9okn1jpe0y6GIQJQOwICEn08aK+Lf5tVJDlM3SQWiIG3
POwOgwwbxv7qnH/103jvZIgUU5NlUu6GyVuGR1bJm+ATiPTMs6lBC9YFsHQRrwUmf1ul
dpZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1699114756; x=1699719556;
h=content-transfer-encoding:in-reply-to:from:references:to
:content-language:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=nL9nKpfsFHqcX3e3wjflvYsFJJu/DTG4PSqtqC9OM5c=;
b=sSeLKhgsj6989hq3KufeIbMo+S4YIw8stAw1LJgiZR7eFJsyLfzYA0hyZsRcro6TV7
K9PaNnWlPgOPHufpwpSA+IPGK3Qr5rZwrnuN2CD3LpRiRSMApWH1kITa1MzQ4XwCOqDf
9rzRFsaba5Dtou/UQFrfOF6euabC7BzjlKSYt9jUCbWKBoLoZPvzk/8K3TeTGPXYCljc
57h+z9LQj/31CceTU/uT8G6ASRsMUBE27VVWSHwt0pm78CLWk78CXCbYTzfQtPtI5aT+
KH9YUCCR/vKaxQ0B1P8y3tc/g16Kfh8jhdQfobwj4qPW2vAkawIl9Hr+14mdxHuhnBAI
QQ3Q==
X-Gm-Message-State: AOJu0YxQRwGM+zg2uAIzE5h0sozRyYEYPHdxOs1hvYD72Jqe7UYQbpY3
IUQgzSGdMhw4Lf5D58OGMZLl+tjszSs=
X-Google-Smtp-Source: AGHT+IGFhypPTLbtg01T8UOddO/7XA38zNq6+reCBKM1j0QEhcbfIgJEx6lQsHsHiBDe7eBTxDpgyQ==
X-Received: by 2002:a17:903:2310:b0:1b9:de75:d5bb with SMTP id
d16-20020a170903231000b001b9de75d5bbmr31382782plh.7.1699114755794;
Sat, 04 Nov 2023 09:19:15 -0700 (PDT)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Content-Language: en-US
In-Reply-To: <Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
 by: Michael Torrie - Sat, 4 Nov 2023 16:19 UTC

On 11/4/23 02:51, Simon Connah via Python-list wrote:
> Wow. I'm half tempted to make a weird email address to see how many websites get it wrong.
>
> Thank you for the link.

Nearly all websites seem to reject simple correct email addresses such
as myemail+sometext@example.domain. I like to use this kind of email
address when I can to help me filter out the inevitable spam that comes
from companies selling off my address even after claiming they won't.

So I suspect that nearly all websites are going to reject other kinds of
weird email addresses you can create that are actually correct.

Re: Checking if email is valid

<mailman.154.1699159174.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24345&group=comp.lang.python#24345

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: grant.b....@gmail.com (Grant Edwards)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Sat, 04 Nov 2023 21:39:29 -0700 (PDT)
Lines: 33
Message-ID: <mailman.154.1699159174.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net> nLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM
-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
X-Trace: news.uni-berlin.de cQZRwL+zzEOw1TC6siRrlw7dFu4B8jxdKSULYx2JMbzA==
Cancel-Lock: sha1:WXaplkG0ir5ufgrxUEQUfO96ynM= sha256:fSSk8lY4X/qK7oBQJdS2940g8BvfGm1F+z5GrCVmmng=
Return-Path: <grant.b.edwards@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=dHTWwbio;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.033
X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'filter': 0.07; 'string':
0.07; 'wrong.': 0.07; '/dev/null': 0.16; 'for.': 0.16;
'from:addr:grant.b.edwards': 0.16; 'from:name:grant edwards':
0.16; 'refuse': 0.16; 'simon': 0.16; 'suspected': 0.16;
'syntactic': 0.16; 'useless': 0.16; 'wrote:': 0.16; 'grant': 0.17;
"can't": 0.17; 'addresses': 0.19; 'to:addr:python-list': 0.20;
"i've": 0.22; '(and': 0.25; 'anything': 0.25; 'suspect': 0.26;
'header:User-Agent:1': 0.30; 'seem': 0.31; 'half': 0.32; 'link.':
0.32; 'python-list': 0.32; "i'm": 0.33; 'same': 0.34;
'received:google.com': 0.34; 'from:addr:gmail.com': 0.35;
'people': 0.36; 'those': 0.36; 'use': 0.39; 'want': 0.40;
'michael': 0.60; 'e-mail': 0.61; 'email': 0.63; 'send': 0.63;
'widely': 0.64; 'spam': 0.65; 'nearly': 0.67; 'themselves.': 0.69;
'companies': 0.70; 'selling': 0.84; 'that!': 0.84; 'weird': 0.84;
'websites': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1699159170; x=1699763970; darn=python.org;
h=to:user-agent:references:subject:from:date:message-id:from:to:cc
:subject:date:message-id:reply-to;
bh=S4MiTjuVR7MJdQaxpwwYEwInLO35ej5AsBwX38dmz3c=;
b=dHTWwbiotxo5Mylo5RHcNw5/LIALXbcrqWrBcUoAr8WoBLFYPoUbvhHXqrpShQlRgX
280dPl92UwWmUl7BCz0gABhi4MzYFIRxph8YNWUPi8ZjzfdiAyksSEp2NY7mbTbp7P/q
p87p8PQpzwceEkJGnkUk6lV/SVdWLzwzsymnmyI5yoB9iedEDggkZjcyZAtvEN6afED7
rV3whMvBWuEHFApcM7aUeSKEwoZP0PKV/keas+qTJyDchF3MLMqLEQtcJKA5qzYMZDQd
dd/TJiHgOLj5pE1sDFB+UA1dkPqXjoA43CAEWYiRcir+HyMx2yvrJICBpEo2DDpfSNNE
7YJQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1699159170; x=1699763970;
h=to:user-agent:references:subject:from:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=S4MiTjuVR7MJdQaxpwwYEwInLO35ej5AsBwX38dmz3c=;
b=PmH06sLy4rmZSMOx9DuOpsSGI+vZMMf5pXVeKdjkn9VOk0cxC3ROH/2T69jIKoFkwN
gR3o86y0XYOFgFKSo6FCVpvsuOWSLUnBoNbu9FMa6Jbi1eqsnO2sKn6HQwBYzua/fDRc
5v3OIGsCsqxLJP/ohvFOKNDlAC/cVQ3di8ysk/k87MTQ9YIWgaOB1jSpGR2MigT1Fu3Q
+a0Ab6fAVbD0kEmOutveorL6RLp63n6Igsv5zieTEajhQb8/Flo/I25GncADvZJLHzFl
l4hREFVmeVvfPoMymuyRtoS0BsQo4xAj0CRR+V0gofGKoqmPggdXuzvMLP4bgOhhT0EA
fKsw==
X-Gm-Message-State: AOJu0YzT2633rLXTbGx/+8BqaYotmKg0MOjCCnle36x7D2FxiBGD47kw
TM3Z4cqS/syddqmL7q/iZ/1aV/1iwko=
X-Google-Smtp-Source: AGHT+IGimHhvq2P/sX4IUTyUmaPMZ+G5pw7cMJ6gVoiO8cJEFdw6GVxmqg1Gqhb+Y9kkhqB9H2bJpQ==
X-Received: by 2002:a05:6e02:1b05:b0:34f:7e1b:a7a2 with SMTP id
i5-20020a056e021b0500b0034f7e1ba7a2mr31308277ilv.13.1699159169901;
Sat, 04 Nov 2023 21:39:29 -0700 (PDT)
User-Agent: slrn/1.0.3 (Linux)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <65471c81.920a0220.a88bf.2427@mx.google.com>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net> nLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM
-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
 by: Grant Edwards - Sun, 5 Nov 2023 04:39 UTC

On 2023-11-04, Michael Torrie via Python-list <python-list@python.org> wrote:
> On 11/4/23 02:51, Simon Connah via Python-list wrote:
>
>> Wow. I'm half tempted to make a weird email address to see how many
>> websites get it wrong.

In my experience, they don't have to be very weird at all.

>> Thank you for the link.
>
> Nearly all websites seem to reject simple correct email addresses
> such as myemail+sometext@example.domain. I like to use this kind of
> email address when I can to help me filter out the inevitable spam
> that comes from companies selling off my address even after claiming
> they won't.

I've always suspected that's intentional. They refuse those sorts of
e-mail addresses because they know that's what they are used for. If
they allowed "plus suffixed" e-mail addresses, then all the crap they
want to send to you would go into /dev/null where it belongs -- and we
can't have that!

> So I suspect that nearly all websites are going to reject other
> kinds of weird email addresses you can create that are actually
> correct.

Definitely. Syntactic e-mail address "validation" is one of the most
useless and widely broken things on the Interwebs. People who do
anything other than require an '@' (and optionally make you enter the
same @-containing string twice) are deluding themselves.

--
Grant

Re: Checking if email is valid

<mailman.155.1699180114.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24346&group=comp.lang.python#24346

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!rocksolid2!news.neodome.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: dar...@VybeNetworks.com (D'Arcy Cain)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Sun, 5 Nov 2023 05:28:19 -0500
Organization: Vybe Networks Inc.
Lines: 24
Message-ID: <mailman.155.1699180114.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de V0VU+JBCH2+HwxzDue9ttAXmBjYop88hZz53NMjoD3ew==
Cancel-Lock: sha1:bIBffP49701LgB9O8XFPEH1s3B8= sha256:E+hH0oQQ0ejmZ+B9e68U6rGrykMj5PIBxT8wI8l5afk=
Return-Path: <darcy@VybeNetworks.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=unknown (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.167
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.69; '*S*': 0.02; 'spaces': 0.07; 'string':
0.07; 'ok,': 0.09; 'computers': 0.16; 'else?': 0.16; 'syntactic':
0.16; 'useless': 0.16; 'wrote:': 0.16; 'grant': 0.17; 'to:addr
:python-list': 0.20; '(and': 0.25; 'anything': 0.25; 'header:User-
Agent:1': 0.30; 'header:Organization:1': 0.31; 'python-list':
0.32; 'same': 0.34; 'header:In-Reply-To:1': 0.34; 'networks':
0.35; 'people': 0.36; 'using': 0.37; 'received:192.168': 0.37;
'received:98': 0.40; 'e-mail': 0.61; 'widely': 0.64; 'your': 0.64;
'look': 0.65; 'credit': 0.67; 'themselves.': 0.69; 'sites': 0.70;
'phone': 0.71; 'inc.': 0.73; 'name,': 0.75; 'us?': 0.76; 'card.':
0.84; 'invalid.': 0.84; 'url-ip:98/8': 0.84
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <65471c81.920a0220.a88bf.2427@mx.google.com>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
 by: D'Arcy Cain - Sun, 5 Nov 2023 10:28 UTC

On 2023-11-05 00:39, Grant Edwards via Python-list wrote:
> Definitely. Syntactic e-mail address "validation" is one of the most
> useless and widely broken things on the Interwebs. People who do
> anything other than require an '@' (and optionally make you enter the
> same @-containing string twice) are deluding themselves.

And don't get me started on phone number validation. The most annoying
thing to me, though, is sites that reject names that have an apostrophe
in them. I hate being told that my name, that I have been using for
over seventy years, is invalid.

OK, now that I am started, what else? Oh yah. Look at your credit
card. The number has spaces in it. Why do I have to remove them. If
you don't like them then you are a computer, just remove them.

When do we stop working for computers and have the computers start
working for us?

--
D'Arcy J.M. Cain
Vybe Networks Inc.
http://www.VybeNetworks.com/
IM:darcy@Vex.Net VoIP: sip:darcy@VybeNetworks.com

Re: Checking if email is valid

<slrnukf3o4.2cil.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24347&group=comp.lang.python#24347

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jon+use...@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Sun, 5 Nov 2023 12:48:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <slrnukf3o4.2cil.jon+usenet@raven.unequivocal.eu>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org>
<01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<mailman.155.1699180114.3828.python-list@python.org>
Injection-Date: Sun, 5 Nov 2023 12:48:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="62f2d13ab19b3c9acea1e92bece87a1e";
logging-data="7906"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Dfl7mo+MaqYgTTzassDtcXmeh3FzgPq4="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:GnBfcDn84moBNw5a9mDfOmMbq1g=
 by: Jon Ribbens - Sun, 5 Nov 2023 12:48 UTC

On 2023-11-05, D'Arcy Cain <darcy@VybeNetworks.com> wrote:
> On 2023-11-05 00:39, Grant Edwards via Python-list wrote:
>> Definitely. Syntactic e-mail address "validation" is one of the most
>> useless and widely broken things on the Interwebs. People who do
>> anything other than require an '@' (and optionally make you enter the
>> same @-containing string twice) are deluding themselves.
>
> And don't get me started on phone number validation. The most annoying
> thing to me, though, is sites that reject names that have an apostrophe
> in them. I hate being told that my name, that I have been using for
> over seventy years, is invalid.

Sometimes I think that these sorts of stupid, wrong, validation are the
fault of idiot managers. When it's apostrophes though I'm suspicious
that it may be idiot programmers who don't know how to prevent SQL
injection attacks without just saying "ban all apostrophes everywhere".
Or perhaps it's idiot "security consultancies" who make it a tick-box
requirement.

> OK, now that I am started, what else? Oh yah. Look at your credit
> card. The number has spaces in it. Why do I have to remove them. If
> you don't like them then you are a computer, just remove them.

Yes, this is also very stupid and annoying. Does nobody who works for
the companies making these sorts of websites ever use their own, or
indeed anyone else's, website?

Another one that's become popular recently is the sort of annoying
website that insists on "email 2FA", i.e. you try to login and then
they send you an email with a 6-digit code in that you have to enter
to authenticate yourself. So you go to your mail client and double-click
on the number to select it, and stupid thing (A) happens: for no sane
reason, the computer selects the digits *and also an invisible space
after them*. Then you copy the digits into the web form, then invisible
space tags along for the ride, and stupid thing (B) happens: the web
server rejects the code because of the trailing space.

Honestly I don't understand why every web application platform doesn't
automatically strip all leading and trailing whitespace on user input
by default. It's surely incredibly rare that it's sensible to preserve
it. (I see Django eventually got around to this in version 1.9.)

RE: Checking if email is valid

<mailman.156.1699189603.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24349&group=comp.lang.python#24349

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From:
Newsgroups: comp.lang.python
Subject: RE: Checking if email is valid
Date: Sun, 5 Nov 2023 08:06:39 -0500
Lines: 107
Message-ID: <mailman.156.1699189603.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<003301da0fe8$ea52b890$bef829b0$@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de Fgi9ORWYK7anq52rXYHqfgNoJEnmnBzk3byRUyckRS0A==
Cancel-Lock: sha1:K8b/oiY6gYT2YZ7KHW16J2RimSw= sha256:cvwNzfHTIUIEPSpokxYVcpuSje6+ifKtabVBtlHzD8Y=
Return-Path: <avi.e.gross@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=Sx4VLh63;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.174
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.65; '*S*': 0.00; 'looks': 0.02; 'everyone,':
0.03; 'fairly': 0.05; '2023': 0.07; 'fake': 0.07; 'filter': 0.07;
'real-world': 0.07; 'string': 0.07; 'wrong.': 0.07; 'example.':
0.09; 'obviously': 0.09; 'rarely': 0.09; 'received:108': 0.09;
'rejecting': 0.09; 'url:mailman': 0.15; 'syntax': 0.15;
'/dev/null': 0.16; 'addresses.': 0.16; 'for.': 0.16;
'inadvertent': 0.16; 'refuse': 0.16; 'simon': 0.16; 'suspected':
0.16; 'syntactic': 0.16; 'typing': 0.16; 'unlikely': 0.16;
'useless': 0.16; 'wrote:': 0.16; 'grant': 0.17; "can't": 0.17;
'message-id:@gmail.com': 0.18; 'addresses': 0.19; 'implement':
0.19; 'to:addr:python-list': 0.20; "i've": 0.22; 'languages':
0.22; 'code': 0.23; '(and': 0.25; 'anything': 0.25; 'skip:- 10':
0.25; 'url-ip:188.166.95.178/32': 0.25; 'url-ip:188.166.95/24':
0.25; 'url:listinfo': 0.25; 'cannot': 0.25; 'programming': 0.25;
'url-ip:188.166/16': 0.25; 'seems': 0.26; 'suspect': 0.26;
'registration': 0.26; 'mostly': 0.28; 'wrong': 0.28; 'it,': 0.29;
'seem': 0.31; 'url-ip:188/8': 0.31; 'half': 0.32; 'link.': 0.32;
'python-list': 0.32; 'realize': 0.32; 'requiring': 0.32;
'secondary': 0.32; 'but': 0.32; "i'm": 0.33; 'mailing': 0.33;
'there': 0.33; 'someone': 0.34; 'same': 0.34; 'fill': 0.34;
'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
'encourage': 0.35; 'yes,': 0.35; 'from:addr:gmail.com': 0.35;
'recipient': 0.36; 'room': 0.36; 'people': 0.36; 'those': 0.36;
'year': 0.36; 'really': 0.37; 'using': 0.37; 'others': 0.37;
'way': 0.38; 'could': 0.38; 'method': 0.61; 'e-mail': 0.61;
'above': 0.62; 'from:': 0.62; 'to:': 0.62; 'email addr:gmail.com':
0.63; 'email': 0.63; 'send': 0.63; 'browser': 0.64; 'she': 0.64;
'verify': 0.64; 'full': 0.64; 'check.': 0.64; 'in.': 0.64;
'overall': 0.64; 're:': 0.64; 'security.': 0.64; 'times.': 0.64;
'validation': 0.64; 'widely': 0.64; 'your': 0.64; 'spam': 0.65;
'supply': 0.65; 'similar': 0.65; 'look': 0.65; 'less': 0.65;
'receiving': 0.66; 'day': 0.66; 'bad': 0.67; 'generally': 0.67;
'nearly': 0.67; 'away': 0.67; 'right': 0.68; 'and,': 0.69;
'complexity': 0.69; 'losing': 0.69; 'opt-in': 0.69; 'themselves.':
0.69; 'wife': 0.69; 'contact': 0.70; 'companies': 0.70; 'sites':
0.70; 'receive': 0.71; 'costs': 0.74; 'price': 0.75; 'pictures':
0.76; 'supposed': 0.76; 'sent:': 0.78; 'monitor': 0.81;
'strategies': 0.81; 'more.': 0.82; 'points': 0.84; 'reasons':
0.84; 'variety': 0.84; 'activity.': 0.84; 'dozen': 0.84; 'email
addr:gmail.com?': 0.84; 'messages,': 0.84; 'newsletters': 0.84;
'periods': 0.84; 'selling': 0.84; 'that!': 0.84; 'weird': 0.84;
'convenience': 0.91; 'died': 0.91; 'mailbox': 0.91; 'hundred':
0.93; 'websites': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1699189601; x=1699794401; darn=python.org;
h=thread-index:content-language:content-transfer-encoding
:mime-version:message-id:date:subject:in-reply-to:references:to:from
:from:to:cc:subject:date:message-id:reply-to;
bh=7sVM4Fktqr+VoxlwUKFXrq8HfFRThlRQtxOOj6FXVgM=;
b=Sx4VLh63fJuUS73+ACReqqWss+XSvn/7A8LcGIAL42HR8OItLrh5EMh++mz1dxJ2QG
JU8Gg/3/uodrJS0JvnBwAvU8eaLKCo6d+KC4Z+ipjtk2/IhPGEru+Vx8NbnPoLeFV4IA
RIx0r6sHPiy44AiUOCSEs1rECkVXJFOExZBpKt5FOGXKaG/x2mmzT+aaYO3HRXUbi8Im
FGua+HG7LUdhh5YElwK0wR5o3X1PFdUYlbJp5uh66QKxDOf4w6k9iGss/ZgfsKQ8TyrK
8DngAb8FiTxi8uKG9He89IPpYrjFuhIC5/Z8QALjKi7Hr8dMqDBOb5fIncCZsb8xopMd
QPBg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1699189601; x=1699794401;
h=thread-index:content-language:content-transfer-encoding
:mime-version:message-id:date:subject:in-reply-to:references:to:from
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=7sVM4Fktqr+VoxlwUKFXrq8HfFRThlRQtxOOj6FXVgM=;
b=IjdbDNH3eWztdxgiBZbieLONC1mw3aZwFZ+/kvSqeJDEH8CgnHpRl6ZCI5lf2w3Iqi
eMD7KC91WIQBHbrF2CDQNAKOiTF2by7JkwNaHGjzlSSdjX6AAOqxQtyxFJbn47YYgT9L
vGbx4xzZBw9mdIo+sRr91b6c6iEkrZxw0FDYD10lIWzNHHRq9kAmifGcBZ18huOBBIhj
0jiyUdF/tECs9L+wvz6mp/jp356uD4Ux9hTLAwTiACYmIh51G40RQBfNXTRZIe98xBq3
kp3vk374TBz6+6XIAg6RnQcHGxbijQXYMg8KU0AuajpiEdNeZ2xkLKgXZF0Ib+l1D2E1
oNMQ==
X-Gm-Message-State: AOJu0YxUf5pXOTorL4AQPlw7YlTMH7rV6NMt0tqUpw7onZ2FY9lGWCNw
LqSSnLymTcxsSflQjYjp+uiMnen4EfQ=
X-Google-Smtp-Source: AGHT+IEA1oZGHJkeWCTNU1sQPQZPeClZqqJVREdXG1rCd45CYPsxoP0t7AlVGmmc93pnxH3eQiv8SQ==
X-Received: by 2002:a05:620a:394a:b0:773:c43e:5e73 with SMTP id
qs10-20020a05620a394a00b00773c43e5e73mr10657608qkn.25.1699189601165;
Sun, 05 Nov 2023 05:06:41 -0800 (PST)
In-Reply-To: <65471c81.920a0220.a88bf.2427@mx.google.com>
X-Mailer: Microsoft Outlook 16.0
Content-Language: en-us
Thread-Index: AQJxd3PeCZTxATIp7Dhx4LHKQ3D4sAM9PRk5Age/7FIBiIbF7wHT6NRGAx8BzsIBy4JECgInLScfAo1Xg8sCEC4ioq6aVysA
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <003301da0fe8$ea52b890$bef829b0$@gmail.com>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
 by: - Sun, 5 Nov 2023 13:06 UTC

Grant (and others),

I am asking about the overall programming process of dealing with email
addresses beyond checking the string for some validity.

You mentioned requiring you type in your email twice as one example. I
generally do a copy/paste to avoid typing or have my browser fill it in.
Rarely the code is set to force me to actually type it in. And I note sites
that force me to do too much typing of any kind or make me jump through
hoops like having to get an email or text with a secondary number to type in
or make me look at pictures and find the right ones and so on, encourage me
to not use them much. There is a price for taking away convenience even if
you see it as some form of security. Yes, there are tradeoffs.

It really may be important to know what you want from your email addresses.
If I sign YOU up for something like the Word of the day in a dozen languages
by supplying your valid email address, then checking if it looks valid is
less useful than sending an email to that address and asking the recipient
to opt-in and verify they legitimately want it. If you want to ensure that
your newsletter is still wanted, you may do something similar every year or
so to everyone, or perhaps just those that have not had activity. If a
mailbox starts rejecting messages, perhaps you send messages to their
secondary contact info or just remove them.

There are many such strategies and some may be way harder to implement than
a simple and perhaps simplistic syntax check.

I do wonder how much it sometimes matters when we see real-world scenarios
where people who died a decade ago remain on voter registration rolls. If my
mailing list has a few hundred bad emails on it, the costs of sending may be
small albeit dealing with rejection messages may clog my logs.

As for fake email addresses, there are many ways to play that game that are
unlikely to be caught. Will they realize there is nobody at
erewhon@gmail.com? If you want to know if someone is going to sell your
hello.there@gmail.com address could you supply hell.other.e@gmail.com and
then monitor mail that you will still receive as it seems google ignores
periods in your email name? And, since others generally see the above as
distinct, you can even use such a method to sign up for something multiple
times.

Complexity leaves room for loopholes.

Still, obviously there are good reasons to do what you can to do some
validation at many points along the way and especially when it may be
critical. Asking someone to type in a new password twice when they cannot
easily see what they are typing, is obviously useful as the consequence of
losing it is high. Are getting the email addresses right as important?

I know my wife registered a fairly common name of the jane.doe@gmail.com
variety that is now useless as it keeps receiving messages someone provided
or typed in wrong that were supposed to go to janedoe@ or doe.jane@ or
janedoe123@ or j.doe@ and so on. These include receipts, subscriptions to
newsletters and much more. Some are inadvertent but the reality is she
stopped using that email as it is now mostly full of SPAM as the others ...

-----Original Message-----
From: Python-list <python-list-bounces+avi.e.gross=gmail.com@python.org> On
Behalf Of Grant Edwards via Python-list
Sent: Sunday, November 5, 2023 12:39 AM
To: python-list@python.org
Subject: Re: Checking if email is valid

On 2023-11-04, Michael Torrie via Python-list <python-list@python.org>
wrote:
> On 11/4/23 02:51, Simon Connah via Python-list wrote:
>
>> Wow. I'm half tempted to make a weird email address to see how many
>> websites get it wrong.

In my experience, they don't have to be very weird at all.

>> Thank you for the link.
>
> Nearly all websites seem to reject simple correct email addresses
> such as myemail+sometext@example.domain. I like to use this kind of
> email address when I can to help me filter out the inevitable spam
> that comes from companies selling off my address even after claiming
> they won't.

I've always suspected that's intentional. They refuse those sorts of
e-mail addresses because they know that's what they are used for. If
they allowed "plus suffixed" e-mail addresses, then all the crap they
want to send to you would go into /dev/null where it belongs -- and we
can't have that!

> So I suspect that nearly all websites are going to reject other
> kinds of weird email addresses you can create that are actually
> correct.

Definitely. Syntactic e-mail address "validation" is one of the most
useless and widely broken things on the Interwebs. People who do
anything other than require an '@' (and optionally make you enter the
same @-containing string twice) are deluding themselves.

--
Grant
--
https://mail.python.org/mailman/listinfo/python-list

Re: Checking if email is valid

<mailman.157.1699196232.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24350&group=comp.lang.python#24350

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ghesk...@shentel.net (gene heskett)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Sun, 5 Nov 2023 09:56:00 -0500
Lines: 30
Message-ID: <mailman.157.1699196232.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<bea33b00-5338-4012-98f3-0b12da4b6d61@shentel.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de ZlO811zw/40girBby98xPQxcec8nnD9s/0xcNznI4D6g==
Cancel-Lock: sha1:DOlvWkkucZAZc8JUQJ24K05muhE= sha256:XPSsddQRWgcrYCHqHaZO6sYHa+EeRz8GHmDqJbKcwxA=
Return-Path: <gheskett@shentel.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.009
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'received:204': 0.05;
'spaces': 0.07; 'string': 0.07; 'ok,': 0.09; 'cheers,': 0.11;
'"there': 0.16; '-ed': 0.16; 'ammo.': 0.16; 'ballot,': 0.16;
'brandeis': 0.16; 'computers': 0.16; 'desire': 0.16;
'from:addr:gheskett': 0.16; 'from:addr:shentel.net': 0.16;
'from:name:gene heskett': 0.16; 'howdershelt': 0.16; 'jury,':
0.16; 'liberty:': 0.16; 'message-id:@shentel.net': 0.16;
'order."': 0.16; 'received:204.111': 0.16; 'received:204.111.64':
0.16; 'received:204.111.64.149': 0.16; 'respectable.': 0.16;
'soap,': 0.16; 'syntactic': 0.16; 'useless': 0.16; 'wrote:': 0.16;
'grant': 0.17; 'to:addr:python-list': 0.20; '(and': 0.25;
'anything': 0.25; 'header:User-Agent:1': 0.30; 'question': 0.32;
'it.\xc2\xa0': 0.32; 'python-list': 0.32; 'same': 0.34; 'header
:In-Reply-To:1': 0.34; 'respect': 0.35; 'people': 0.36; 'using':
0.37; 'use': 0.39; 'four': 0.60; 'law': 0.60; 'best': 0.61;
'e-mail': 0.61; 'widely': 0.64; 'your': 0.64; 'look': 0.65;
'credit': 0.67; 'law,': 0.69; 'themselves.': 0.69; 'sites': 0.70;
'phone': 0.71; 'name,': 0.75; 'us?': 0.76; '1940)': 0.84;
'century.': 0.84; 'invalid.': 0.84; 'pretend': 0.84;
'received:mail': 0.84; 'vote': 0.91
auth-sender: gheskett@shentel.net
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
X-CTCH-Spam: Unknown
X-CTCH-RefID: str=0001.0A702F26.6547AD01.000F, ss=1, re=0.000, recu=0.000,
reip=0.000, cl=1, cld=1, fgs=0
X-OriginalArrivalTime: 05 Nov 2023 14:56:01.0579 (UTC)
FILETIME=[3163EFB0:01DA0FF8]
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <bea33b00-5338-4012-98f3-0b12da4b6d61@shentel.net>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
 by: gene heskett - Sun, 5 Nov 2023 14:56 UTC

On 11/5/23 05:32, D'Arcy Cain via Python-list wrote:
> On 2023-11-05 00:39, Grant Edwards via Python-list wrote:
>> Definitely. Syntactic e-mail address "validation" is one of the most
>> useless and widely broken things on the Interwebs.  People who do
>> anything other than require an '@' (and optionally make you enter the
>> same @-containing string twice) are deluding themselves.
>
> And don't get me started on phone number validation.  The most annoying
> thing to me, though, is sites that reject names that have an apostrophe
> in them.  I hate being told that my name, that I have been using for
> over seventy years, is invalid.
>
> OK, now that I am started, what else?  Oh yah.  Look at your credit
> card.  The number has spaces in it.  Why do I have to remove them.  If
> you don't like them then you are a computer, just remove them.
>
> When do we stop working for computers and have the computers start
> working for us?
>
If this is being voted on, pretend you are in Georgia, vote often and
early. Best question of the century.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis

Re: Checking if email is valid

<mailman.158.1699205670.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24353&group=comp.lang.python#24353

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: grant.b....@gmail.com (Grant Edwards)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Sun, 05 Nov 2023 09:34:25 -0800 (PST)
Lines: 38
Message-ID: <mailman.158.1699205670.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net> nLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM
-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
X-Trace: news.uni-berlin.de F1613gvwD3iNAuWOUcVIOADWO+81Fsxy9HOEKGCoFrug==
Cancel-Lock: sha1:aGzXZ9cD3ydTSYPXbHT9/OZTuvc= sha256:FJjYcAZYC9Tc6oCD9DdtswvNUZ5qDSpmx0NygaU8PKU=
Return-Path: <grant.b.edwards@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=g1yENpCW;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.072
X-Spam-Evidence: '*H*': 0.86; '*S*': 0.01; 'entering': 0.05; 'kernel':
0.05; 'spaces': 0.07; 'string': 0.07; 'indeed.': 0.09; 'ok,':
0.09; 'received:mail-io1-xd32.google.com': 0.09; 'tons': 0.09;
'computers': 0.16; 'else?': 0.16; 'from:addr:grant.b.edwards':
0.16; 'from:name:grant edwards': 0.16; 'php': 0.16; 'refuse':
0.16; 'syntactic': 0.16; 'tries': 0.16; 'useless': 0.16; 'wrote:':
0.16; 'grant': 0.17; 'to:addr:python-list': 0.20; "i've": 0.22;
'code': 0.23; '(and': 0.25; 'anything': 0.25; 'stuff': 0.25;
"isn't": 0.27; 'header:User-Agent:1': 0.30; 'takes': 0.31;
'python-list': 0.32; 'but': 0.32; 'there': 0.33; 'same': 0.34;
'received:google.com': 0.34; 'usual': 0.35; 'from:addr:gmail.com':
0.35; 'people': 0.36; 'using': 0.37; 'skip:_ 30': 0.37; 'lack':
0.60; 'usa': 0.60; 'e-mail': 0.61; 'widely': 0.64; 'your': 0.64;
'look': 0.65; 'numbers': 0.67; 'credit': 0.67; 'forget': 0.67;
'accept': 0.67; 'differing': 0.69; 'themselves.': 0.69; 'sites':
0.70; 'phone': 0.71; 'name,': 0.75; 'skip:f 20': 0.75; 'card':
0.76; 'heart': 0.76; 'us?': 0.76; 'burning': 0.84; 'card.': 0.84;
'entered': 0.84; 'invalid.': 0.84; 'tiny': 0.84; 'brain': 0.91;
'concluded': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1699205666; x=1699810466; darn=python.org;
h=to:user-agent:references:subject:from:date:message-id:from:to:cc
:subject:date:message-id:reply-to;
bh=flT376SsJ2YUtSEswYxeDDC23iKrN5jPOKO2Ko09S1c=;
b=g1yENpCWAo37Ju3ooRCU19Fu4ZSFhF2iJkq6uvux97WvY+jgPP09XFYh9ksWEQ0hW6
oDpR0SJPGB2CxeG3L270vXI1n9qqortBqundUaEFS0KdD4ywaVykx8D5amKUEEo5Seif
JYFLc89urDk1lWhtLQDgEmPmzF31QhHS4XM/fjLsXN2SJptlnKE7BCGb17IbGKI1Z/1x
yHKxwC8Q5Ynw72q5V+jHymZKq9JMGsN8/hDzBxrg25RB3qSRDLb5jKEnEhS4+OFkzoRt
e9TUzaGL0sasPHBQJWoRy9dczhE41MPvL8dPIhfF3xupVISLaCA6+tK5q2peeJjjkL4R
FfIA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1699205666; x=1699810466;
h=to:user-agent:references:subject:from:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=flT376SsJ2YUtSEswYxeDDC23iKrN5jPOKO2Ko09S1c=;
b=jc/kNybUR/No4kpSpxpx0kKnLYw/1P6JlS0HRmedHJd9BzMaC+7ZXfIz/fOs2+Sdcl
NM9f4k1RZJ07E7/4BYy1+uaWUV7Px+UYjqeCPALTHRtArGAko9wha5/YzNm1EAoRkuYT
VHM6Ova6ujCclBL5cq+im/EJQsOlTM7qcWOPSU4OKmTHDksekSX0pokk6mLATE2XnZTY
QV8EqPyg5/7H6VWaAkHddJH0pOjaRcN8nykyZiW6ArQ2EqKlP8rWBxf1Hac6skgR0Xu2
yxnnuSDUenu1yFXgATHYHFw0tpGcz723xYoP6uqQF7HZUJ8r2DAfA/ic/4cdQv6KtEKg
OpnQ==
X-Gm-Message-State: AOJu0YyVNTb28gyeQ9sYdEW8cYBUcTt85uEmfHpxOMk82VCLjUxILhV1
SNZhLu3AvLsXqs/a6Kx44CEQ1S410PQ=
X-Google-Smtp-Source: AGHT+IHYIBquTCcaUDczueWrWhfiNuV/7H4rIdVWJYNEioZ9rffFup6VYb62LZquQeIuGig4aU7YaQ==
X-Received: by 2002:a05:6602:1506:b0:7a9:629f:3c5a with SMTP id
g6-20020a056602150600b007a9629f3c5amr39196742iow.14.1699205666219;
Sun, 05 Nov 2023 09:34:26 -0800 (PST)
User-Agent: slrn/1.0.3 (Linux)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <6547d221.050a0220.c5340.1e8f@mx.google.com>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net> nLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM
-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
 by: Grant Edwards - Sun, 5 Nov 2023 17:34 UTC

On 2023-11-05, D'Arcy Cain via Python-list <python-list@python.org> wrote:
> On 2023-11-05 00:39, Grant Edwards via Python-list wrote:
>> Definitely. Syntactic e-mail address "validation" is one of the most
>> useless and widely broken things on the Interwebs. People who do
>> anything other than require an '@' (and optionally make you enter the
>> same @-containing string twice) are deluding themselves.
>
> And don't get me started on phone number validation.

I can see how the truley dim-witted might forget that other countries
have phone numbers with differing lengths and formatting/punctuation,
but there are tons of sites where it takes multiple tries when
entering even a bog-standard USA 10-0digit phone nubmer because they
are completely flummuxed by an area code in parens or hyphens in the
usual places (or lack of hyhpens in the usual places). This stuff
isn't that hard, people...

> The most annoying thing to me, though, is sites that reject names
> that have an apostrophe in them. I hate being told that my name,
> that I have been using for over seventy years, is invalid.
>
> OK, now that I am started, what else? Oh yah. Look at your credit
> card. The number has spaces in it. Why do I have to remove them. If
> you don't like them then you are a computer, just remove them.

Indeed. There is a tiny but brightly burning kernel of hate in my
heart for web sites (and their developers) that refuse to accept
credit card numbers entered with spaces _as_they_are_shown_on_the_card_!

I've concluded that using PHP causes debilitating and irreversible
brain damage.

> When do we stop working for computers and have the computers start
> working for us?

--
Grant

Re: Checking if email is valid

<slrnukfl5v.2cil.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24354&group=comp.lang.python#24354

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jon+use...@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Sun, 5 Nov 2023 17:45:35 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <slrnukfl5v.2cil.jon+usenet@raven.unequivocal.eu>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org>
<01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
<mailman.158.1699205670.3828.python-list@python.org>
Injection-Date: Sun, 5 Nov 2023 17:45:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="62f2d13ab19b3c9acea1e92bece87a1e";
logging-data="101793"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Ha+7P6bQDbddm0vjSlVxTkJ0pI+vPFIo="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:QFcbNV+RxZ1eqRncwRvPwePpaG8=
 by: Jon Ribbens - Sun, 5 Nov 2023 17:45 UTC

On 2023-11-05, Grant Edwards <grant.b.edwards@gmail.com> wrote:
> On 2023-11-05, D'Arcy Cain via Python-list <python-list@python.org> wrote:
>> On 2023-11-05 00:39, Grant Edwards via Python-list wrote:
>>> Definitely. Syntactic e-mail address "validation" is one of the most
>>> useless and widely broken things on the Interwebs. People who do
>>> anything other than require an '@' (and optionally make you enter the
>>> same @-containing string twice) are deluding themselves.
>>
>> And don't get me started on phone number validation.
>
> I can see how the truley dim-witted might forget that other countries
> have phone numbers with differing lengths and formatting/punctuation,
> but there are tons of sites where it takes multiple tries when
> entering even a bog-standard USA 10-0digit phone nubmer because they
> are completely flummuxed by an area code in parens or hyphens in the
> usual places (or lack of hyhpens in the usual places). This stuff
> isn't that hard, people...

Indeed - you just do "pip install phonenumbers" :-)

Re: Checking if email is valid

<mailman.160.1699215498.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24356&group=comp.lang.python#24356

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.nntp4.net!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news-2.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: mat...@wichmann.us (Mats Wichmann)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Sun, 5 Nov 2023 11:57:35 -0700
Lines: 32
Message-ID: <mailman.160.1699215498.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
<28524e60-77a9-4828-940d-fa4eb13eca8f@wichmann.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de p9VvQyUyROvf3iir1YBXbAkkqPr78YfPMFnZdI9FthvQ==
Cancel-Lock: sha1:PNC+doSLsCCShfT8O0rRYI5kDMQ= sha256:XBBSjEJcQTn1ysc5IEHTeWz9xrAzV23PGLTRoVpSdpE=
Return-Path: <mats@wichmann.us>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="1024-bit key; unprotected key"
header.d=pobox.com header.i=@pobox.com header.b=RH7tRsGP;
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: UNSURE 0.255
X-Spam-Level: **
X-Spam-Evidence: '*H*': 0.63; '*S*': 0.14; 'looks': 0.02; 'bunch':
0.05; 'kernel': 0.05; 'else.': 0.07; 'spaces': 0.07; ':-)': 0.09;
'fundamental': 0.09; 'indeed.': 0.09; 'received:173': 0.13;
'addresses.': 0.16; 'addresses:': 0.16; 'deployment': 0.16; 'php':
0.16; 'refuse': 0.16; 'wrote:': 0.16; 'grant': 0.17; 'to:addr
:python-list': 0.20; "i've": 0.22; '(and': 0.25; 'stuff': 0.25;
'anyone': 0.25; 'header:User-Agent:1': 0.30; 'think': 0.32;
'python-list': 0.32; 'but': 0.32; 'there': 0.33; 'header:In-Reply-
To:1': 0.34; 'using': 0.37; "it's": 0.37; 'skip:_ 30': 0.37;
'received:192.168': 0.37; 'two': 0.39; 'single': 0.39;
'mentioned': 0.39; 'something': 0.40; 'should': 0.40; 'deliver':
0.64; 'box': 0.65; 'numbers': 0.67; 'bad': 0.67; 'credit': 0.67;
'accept': 0.67; 'office': 0.68; 'order': 0.69; '"we': 0.69;
'wife': 0.69; 'front': 0.70; 'sites': 0.70; 'living': 0.71;
'speed': 0.71; 'phone': 0.71; 'plus': 0.73; 'card': 0.76;
'detection': 0.76; 'heart': 0.76; 'burning': 0.84; 'characters':
0.84; 'coded': 0.84; 'entered': 0.84; 'rural': 0.84; 'tiny': 0.84;
'brain': 0.91; 'concluded': 0.91; 'former': 0.93; 'p.o.': 0.93;
'websites': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=message-id
:date:mime-version:subject:to:references:from:in-reply-to
:content-type:content-transfer-encoding; s=sasl; bh=kFNSlPelgs/0
OL7zfVSsHoo2gYXeMhQWUOVe7NB4bD8=; b=RH7tRsGPxtztA1S7owT6KhJhokC9
TOW/zRbZ3Z7YdbjIJjJFAFaw6q2bga2w/UYQ6Z+Vbt98ULAZRtwzaTi2VP8w48VF
izaKExcjmXrB3jxYD28YveFInuN2Vy1I9xHzyIvNmqjuuCLXmPX/UNVpa/1F5S8r
VEBlcwYtGS1fyow=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=wichmann.us;
h=message-id:date:mime-version:subject:to:references:from:in-reply-to:content-type:content-transfer-encoding;
s=2018-07.pbsmtp; bh=kFNSlPelgs/0OL7zfVSsHoo2gYXeMhQWUOVe7NB4bD8=;
b=Jo1OOxRwomi7mewKjshGo2XlA7W6apwwSIRC5B/p/5+0U+hNKAMvS69cF5sPU9maGngsoMhw1kLrLkqn++8rntZG38W5iwhtuEZ0YAelm7Dl0/Dxm5OCq4jDzxUcKXAIDhOJm9bZ0ABlaGZpu456SZMXNTQJVu29fn8G6qPiD0s=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Autocrypt: addr=mats@wichmann.us; keydata=
xsDiBD9xp6oRBAC1vd3YI8Gcr1CxpV1gldNQu0uQsNaICDk+Ai3+R163s/P83JOYG+SBEA3P
v7iZx70qpQ3RzP7KrjF1Nm6j0em9ccUX2fPQUCAxXw5Hiq7CSMiwQQZRI6shcnyMh9XTKViT
WK5MrKDyvjDEn7epjKzKwPS5SG039l6XaOKU0A4uGwCgsNqUQqC0gMMcbKlJV8ql58iKmbMD
/ii8FPQrXmyS/FnsPs7UddV5qMHKm7NUH5oiKuMVyakInRyq9iIxuu3D4Ec6mWRKcGsjmIkW
HXCSz0aefs6dsqNqpU54cYioJ3wP5LzHK7oclgJPryVt5Qezbdutf8SQf8gVkaNIlkxwGUzi
bKTZ6CHzwlz9nNgeel0XPUcZzFxGA/4paeCg2rMSVuAhUQbsLYHu4XzTs9P16zaXkrtxc4m5
b+BF5xsLgTpyO5l859XudS2Gp+7/Y37dAU4QlyGGOboWmF1y9U5DnzBwG8ghsnym+ga58MJh
LdRdQQ6xQolCpEXOuzm40f2r5uMxF3KOJ7WpIPuGAkeCPru9BmlATH+zOs0gTWF0cyBXaWNo
bWFubiA8bWF0c0B3aWNobWFubi51cz7CYQQTEQIAIQIbAwYLCQgHAwIDFQIDAxYCAQIeAQIX
gAUCT0VyZwIZAQAKCRDAMaCQc9hUxiZBAJ9cWziGp7hVfsu5T+cQptc3rLNndQCgrZh8u5LW
BfJ5e/Y+3PwZ8UEm+ELOwE0EP5is8BAEAMtwzcA8TYf5UTjDMgwcSNoErTc9ag+IX05QFgL8
aF8sfJRv5atcitqQy0gSIsOzI+L/AFdPN/+QQI3dL1tCq14t32KPDtigDhzm6jVPXX5z+V9u
xnD8XTp+ZvNcWoHXjViM8aXeLLEiCpiVCho307h3XShvqoKINWRQWeAsKKDDAAMFA/48zaey
wiiEyvI0meJ1KkNHxdLP0yLODr1WV6j9xkPkLWOaIDw7dlwEOlF1N1YtZ2wa0p1wsttdIbIx
ffgwXmcH4zrdxUIMz3U0BqYzk5H+5cYFXECXTFVOmweS+JECYMj80PjRoKCO1eVO1N30zksB
36NnhZWPRWIhjK3ZarIYH8JGBBgRAgAGBQI/mKzwAAoJEMAxoJBz2FTG6VEAoKDYHfDp5Q3q
PuPvPahCE9HsXMgAAJ9INTqcLSJrOfyJ8q95nBO1T26H2Q==
In-Reply-To: <6547d221.050a0220.c5340.1e8f@mx.google.com>
X-Pobox-Relay-ID: 2FFDA77A-7C0D-11EE-B5EE-A19503B9AAD1-81526775!pb-smtp21.pobox.com
X-Mailman-Approved-At: Sun, 05 Nov 2023 15:18:17 -0500
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <28524e60-77a9-4828-940d-fa4eb13eca8f@wichmann.us>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
 by: Mats Wichmann - Sun, 5 Nov 2023 18:57 UTC

On 11/5/23 10:34, Grant Edwards via Python-list wrote:

> Indeed. There is a tiny but brightly burning kernel of hate in my
> heart for web sites (and their developers) that refuse to accept
> credit card numbers entered with spaces _as_they_are_shown_on_the_card_!
>
> I've concluded that using PHP causes debilitating and irreversible
> brain damage.

I think it's the attitude that speed of deployment is more important
than any other factor, rather than just PHP :-) Plus a bunch of that
stuff is also coded in the front end (aka Javascript).

Phone numbers.
Credit card numbers.
Names (in my case - my wife has a hypenated surname which is almost as
deadly as non-alpha characters in a name which was already mentioned in
this diverging thread)

and addresses. living rurally we have two addresses: a post office
rural route box for USPS and a "street address" for anyone else. The
former looks like "{locationID} Box {number}". The single word "Box"
often triggers "we don't deliver to P.O. Boxes" - it's not a PO Box, and
it's the only address USPS will deliver to, so get over yourself. Or
triggers fraud detection alerts, because "billing address" != "shipping
address".

it's astonishing how bad so many websites are at what should be a
fundamental function: taking in user-supplied data in order to do
something valuable with it.

Re: Checking if email is valid

<mailman.165.1699240422.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24362&group=comp.lang.python#24362

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: dar...@VybeNetworks.com (D'Arcy Cain)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Sun, 5 Nov 2023 19:22:49 -0600
Organization: Vybe Networks Inc.
Lines: 38
Message-ID: <mailman.165.1699240422.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<mailman.155.1699180114.3828.python-list@python.org>
<slrnukf3o4.2cil.jon+usenet@raven.unequivocal.eu>
<603b5741-f74a-4639-a94c-5b5297bca427@VybeNetworks.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 8YaN5HzIRtjPTr+UsUAM9QOkEUVm5DFmSwFbWh8fV2+A==
Cancel-Lock: sha1:ptarnzH5P32Lmw9yVh5C5dxWdNE= sha256:8tjoUOkeUJdSHo9X55/IRm7vd/OHGmTB80pj0rdqteQ=
Return-Path: <darcy@VybeNetworks.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=unknown (unprotected policy); dkim-atps=neutral
X-Spam-Status: UNSURE 0.237
X-Spam-Level: **
X-Spam-Evidence: '*H*': 0.57; '*S*': 0.04; 'traceback': 0.04;
'django': 0.07; 'spaces': 0.07; 'fault': 0.09; 'insist': 0.09;
'ok,': 0.09; 'reporting': 0.09; 'bugs': 0.16; 'characters.': 0.16;
'default.': 0.16; 'else?': 0.16; 'forever.': 0.16; 'indeed': 0.16;
'sensible': 0.16; 'wrote:': 0.16; 'to:addr:python-list': 0.20;
'input': 0.21; 'version': 0.23; 'saying': 0.25; 'anyone': 0.25;
'done': 0.28; 'header:User-Agent:1': 0.30;
'header:Organization:1': 0.31; 'think': 0.32; "doesn't": 0.32;
'guess': 0.32; 'programmers': 0.32; 'python-list': 0.32;
'suspicious': 0.32; 'but': 0.32; "i'm": 0.33; "didn't": 0.34;
'header:In-Reply-To:1': 0.34; 'networks': 0.35; 'yes,': 0.35;
"it's": 0.37; 'received:192.168': 0.37; 'though': 0.37; 'could':
0.38; 'use': 0.39; 'still': 0.40; 'url-ip:151.101.0/24': 0.62;
'url-ip:151.101.128/24': 0.62; 'url-ip:151.101.192/24': 0.62;
'url-ip:151.101.64/24': 0.62; 'ever': 0.63; 'leading': 0.63;
'validation': 0.64; 'your': 0.64; 'look': 0.65; 'credit': 0.67;
'prevent': 0.67; 'website?': 0.69; 'companies': 0.70; 'depending':
0.70; 'living': 0.71; 'inc.': 0.73; 'dead': 0.81; '"security':
0.84; 'card.': 0.84; 'eventually': 0.84; 'honestly': 0.84; 'jon':
0.84; 'rare': 0.84; 'stupid': 0.84; 'stupid,': 0.84; 'sure.':
0.84; 'url-ip:98/8': 0.84; 'doing.': 0.91; 'dropping': 0.91;
'websites': 0.95
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <slrnukf3o4.2cil.jon+usenet@raven.unequivocal.eu>
X-Mailman-Approved-At: Sun, 05 Nov 2023 22:13:41 -0500
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <603b5741-f74a-4639-a94c-5b5297bca427@VybeNetworks.com>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<mailman.155.1699180114.3828.python-list@python.org>
<slrnukf3o4.2cil.jon+usenet@raven.unequivocal.eu>
 by: D'Arcy Cain - Mon, 6 Nov 2023 01:22 UTC

On 2023-11-05 06:48, Jon Ribbens via Python-list wrote:
> Sometimes I think that these sorts of stupid, wrong, validation are the
> fault of idiot managers. When it's apostrophes though I'm suspicious
> that it may be idiot programmers who don't know how to prevent SQL
> injection attacks without just saying "ban all apostrophes everywhere".
> Or perhaps it's idiot "security consultancies" who make it a tick-box
> requirement.

https://xkcd.com/327/

>> OK, now that I am started, what else? Oh yah. Look at your credit
>> card. The number has spaces in it. Why do I have to remove them. If
>> you don't like them then you are a computer, just remove them.
>
> Yes, this is also very stupid and annoying. Does nobody who works for
> the companies making these sorts of websites ever use their own, or
> indeed anyone else's, website?

Gotta wonder for sure. It could also be the case of programmers
depending on user input but the users insist on living with the bugs
and/or working around them. We made crash reporting dead simple to
report on and still users didn't bother. We would get the traceback and
have to guess what the user was doing.

> Honestly I don't understand why every web application platform doesn't
> automatically strip all leading and trailing whitespace on user input
> by default. It's surely incredibly rare that it's sensible to preserve
> it. (I see Django eventually got around to this in version 1.9.)

Yes, I have done that forever. Never had a complaint about it dropping
characters.

--
D'Arcy J.M. Cain
Vybe Networks Inc.
http://www.VybeNetworks.com/
IM:darcy@Vex.Net VoIP: sip:darcy@VybeNetworks.com

Re: Checking if email is valid

<kqrc6fFec60U3@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24363&group=comp.lang.python#24363

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bow...@montana.com (rbowman)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: 6 Nov 2023 05:34:07 GMT
Lines: 17
Message-ID: <kqrc6fFec60U3@mid.individual.net>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org>
<01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<mailman.155.1699180114.3828.python-list@python.org>
<slrnukf3o4.2cil.jon+usenet@raven.unequivocal.eu>
<603b5741-f74a-4639-a94c-5b5297bca427@VybeNetworks.com>
<mailman.165.1699240422.3828.python-list@python.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net BBZd4vRPBYRjX8CgHJHx0wDgkGCe5hd9X5vIe+2o4cIgallpWh
Cancel-Lock: sha1:l8501b7VygnO2pG5OP1Biw5jdxQ= sha256:J0MZYNK8UrDxFjeAA8tA+4MisP7zpQagw+XCVwUY/Z0=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
 by: rbowman - Mon, 6 Nov 2023 05:34 UTC

On Sun, 5 Nov 2023 19:22:49 -0600, D'Arcy Cain wrote:

> Gotta wonder for sure. It could also be the case of programmers
> depending on user input but the users insist on living with the bugs
> and/or working around them. We made crash reporting dead simple to
> report on and still users didn't bother. We would get the traceback and
> have to guess what the user was doing.

We've found even if you directly ask the user often the answer is 'I
dunno' or some mythology they have constructed to explain the problem. We
had one site that reported if they hit the Enter key hard the query would
work. It was a rather simple bug where the query would be randomly sent to
the wrong interface.

There is quite a bit of literature in psychology about intermittent
reinforcement and the behavioral strategies that are developed. Works for
rats, works for humans.

Re: Checking if email is valid

<mailman.167.1699261064.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24365&group=comp.lang.python#24365

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.hispagatos.org!news.nntp4.net!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: simon.n....@protonmail.com (Simon Connah)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Mon, 06 Nov 2023 08:57:28 +0000
Lines: 43
Message-ID: <mailman.167.1699261064.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
<yJsi4r7eq-eV9WBohgX7OmjxJG4ifGt4jIHNaG6T6ff_-craYEyzzfR1gsC94XLXKR6sLfmWg2rhsrK8BU3kq0vB3V5mXdBlJPxkPcIHnIE=@protonmail.com>
Mime-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
micalg=pgp-sha512;
boundary="------6ef7319353f87e8e941112cb86fc39f40ef26bcd090c5d426c84ed9ff670e6a7";
charset=utf-8
X-Trace: news.uni-berlin.de rXKzXestSr0WrikiCNAu3QOa7mfCkiKvmR8CO73iwRGQ==
Cancel-Lock: sha1:cyghVq7jlGAAUlg88f1UeamAPyk= sha256:2VuHktz/UwgB/jPmJhPFR/iBDm9TdaEwhnm4sNzOz/k=
Return-Path: <simon.n.connah@protonmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=protonmail.com header.i=@protonmail.com header.b=IovoTUDc;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.094
X-Spam-Evidence: '*H*': 0.82; '*S*': 0.01; 'content-
type:multipart/signed': 0.05; 'entering': 0.05; 'cc:addr:python-
list': 0.09; 'content-type:application/pgp-signature': 0.09;
'filename:fname piece:asc': 0.09; 'filename:fname
piece:signature': 0.09; 'filename:fname:signature.asc': 0.09;
'tons': 0.09; 'cc:no real name:2**0': 0.14; 'content-
disposition:attachment; filename="signature.asc"': 0.16; 'tries':
0.16; 'cc:addr:python.org': 0.20; 'code': 0.23; 'stuff': 0.25;
'cc:2**0': 0.25; 'received:185.70': 0.26;
'received:protonmail.ch': 0.26; "isn't": 0.27; 'takes': 0.31;
'message-id:@protonmail.com': 0.32; 'but': 0.32; 'there': 0.33;
'mean': 0.34; 'header:In-Reply-To:1': 0.34; 'received:ch': 0.35;
'usual': 0.35; 'two': 0.39; 'lack': 0.60; 'usa': 0.60; 'your':
0.64; 'numbers': 0.67; 'forget': 0.67; 'accept': 0.67; 'content-
type:multipart/mixed': 0.68; 'differing': 0.69; 'sites': 0.70;
'truly': 0.70; 'received:185': 0.71; 'phone': 0.71; 'telephone':
0.74; 'accepting': 0.75; 'skip:f 20': 0.75; 'mobile': 0.76;
'field': 0.78; 'header:Received:2': 0.84; 'landline': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
s=protonmail3; t=1699261056; x=1699520256;
bh=3VUjor2oa7AciiTvSGQ+o5PbhZNXecXfpyT6nkmVc2w=;
h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References:
Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
Message-ID:BIMI-Selector;
b=IovoTUDcF57q3T9sDc4R4dL5YVAJsWP8Gey6INcAeKoEWhccNBbFXgFxCuQH6Ryqv
cGyDRhuA5wcDIi2MjKrDKmcydRXY+WxIsG4bKdAMISbJIgllolco5yjibBL35ukxgJ
7qzvLhNr4o2t8ZhLsTuD+kHiPY0GZj6GWdaC3/8BsGqvnadvi12APmne360WTAjsh/
cx2FfXNnFMi96XTh5lno0HhanjytB9xi5AyNXDsK5Aa9BXim9BWmRsgu6Bomy1sHaH
Ms1BNDIvt5U94X2JnXZOq88ovxPIPzGWJD6muPq686Z5hR6cVrbeqoeZfM388pzH67
9g68vwK3G4abQ==
In-Reply-To: <6547d221.050a0220.c5340.1e8f@mx.google.com>
Feedback-ID: 24074989:user:proton
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <yJsi4r7eq-eV9WBohgX7OmjxJG4ifGt4jIHNaG6T6ff_-craYEyzzfR1gsC94XLXKR6sLfmWg2rhsrK8BU3kq0vB3V5mXdBlJPxkPcIHnIE=@protonmail.com>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
 by: Simon Connah - Mon, 6 Nov 2023 08:57 UTC
Attachments: "signature.asc" (application/pgp-signature)

> I can see how the truley dim-witted might forget that other countries
> have phone numbers with differing lengths and formatting/punctuation,
> but there are tons of sites where it takes multiple tries when
> entering even a bog-standard USA 10-0digit phone nubmer because they
> are completely flummuxed by an area code in parens or hyphens in the
> usual places (or lack of hyhpens in the usual places). This stuff
> isn't that hard, people...

The thing I truly hate is when you have two telephone number fields. One for landline and one for mobile. I mean who in hell has a landline these days? And not accepting your mobile number in the landline number field is just when I give up. Or having a landline only field that does not accept mobile phones.

Simon.

Attachments: "signature.asc" (application/pgp-signature)
Re: Checking if email is valid

<slrnukhf9c.2cil.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24366&group=comp.lang.python#24366

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jon+use...@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Mon, 6 Nov 2023 10:17:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <slrnukhf9c.2cil.jon+usenet@raven.unequivocal.eu>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org>
<01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<mailman.155.1699180114.3828.python-list@python.org>
<slrnukf3o4.2cil.jon+usenet@raven.unequivocal.eu>
<603b5741-f74a-4639-a94c-5b5297bca427@VybeNetworks.com>
<mailman.165.1699240422.3828.python-list@python.org>
Injection-Date: Mon, 6 Nov 2023 10:17:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1d7456103137b06e8305f58ba9707176";
logging-data="468587"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Fbk/unDviY8tttcKrg64Fcg5FRokBBlY="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:2hofG3N2l0H12luPVJCyXTKhvVk=
 by: Jon Ribbens - Mon, 6 Nov 2023 10:17 UTC

On 2023-11-06, D'Arcy Cain <darcy@VybeNetworks.com> wrote:
> On 2023-11-05 06:48, Jon Ribbens via Python-list wrote:
>> Sometimes I think that these sorts of stupid, wrong, validation are the
>> fault of idiot managers. When it's apostrophes though I'm suspicious
>> that it may be idiot programmers who don't know how to prevent SQL
>> injection attacks without just saying "ban all apostrophes everywhere".
>> Or perhaps it's idiot "security consultancies" who make it a tick-box
>> requirement.
>
> https://xkcd.com/327/

Indeed. My point is that the correct way to solve this problem is not
to declare vast swathes of valid inputs verboten, but to *not execute
user input as code*. Controversial, I know.

>>> OK, now that I am started, what else? Oh yah. Look at your credit
>>> card. The number has spaces in it. Why do I have to remove them. If
>>> you don't like them then you are a computer, just remove them.
>>
>> Yes, this is also very stupid and annoying. Does nobody who works for
>> the companies making these sorts of websites ever use their own, or
>> indeed anyone else's, website?
>
> Gotta wonder for sure. It could also be the case of programmers
> depending on user input but the users insist on living with the bugs
> and/or working around them. We made crash reporting dead simple to
> report on and still users didn't bother. We would get the traceback and
> have to guess what the user was doing.

That was another thing that I used to find ridiculous, but seems to have
improved somewhat in recent years - website error pages that said "please
contact us to let us know about this error". I'm sorry, what? You want
me to contact you to tell you about what your own website is doing? How
does that make any sense? Websites should be self-reporting problems.

(Not least because, as you say, people are absolutely terrible at
reporting problems, with almost all bug reports reading effectively as
"I was doing something that I'm not going to tell you and I as expecting
something to happen which I'm not going to tell you, but instead
something else happened, which I'm also not going to tell you".)

Re: Checking if email is valid

<mailman.168.1699282807.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24368&group=comp.lang.python#24368

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: mat...@wichmann.us (Mats Wichmann)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Mon, 6 Nov 2023 07:44:20 -0700
Lines: 5
Message-ID: <mailman.168.1699282807.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
<yJsi4r7eq-eV9WBohgX7OmjxJG4ifGt4jIHNaG6T6ff_-craYEyzzfR1gsC94XLXKR6sLfmWg2rhsrK8BU3kq0vB3V5mXdBlJPxkPcIHnIE=@protonmail.com>
<a7e65e6b-724b-44f2-83b8-d75b32b26437@wichmann.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de JAVZB5IrIKcC/vC+fcCa6wVK9ALpBXjZmg9S/byfhMaA==
Cancel-Lock: sha1:M/FIuUFGzotC63vuieLMjYTRxcI= sha256:7n6EPv8g1jZtq9v+JlrmsDt/22utapJY6UUUz8pAlw0=
Return-Path: <mats@wichmann.us>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="1024-bit key; unprotected key"
header.d=pobox.com header.i=@pobox.com header.b=NKJbejFG;
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: UNSURE 0.256
X-Spam-Level: **
X-Spam-Evidence: '*H*': 0.56; '*S*': 0.08; 'received:173': 0.13;
'simon': 0.16; 'wrote:': 0.16; 'to:addr:python-list': 0.20;
'header:User-Agent:1': 0.30; 'python-list': 0.32; 'mean': 0.34;
'header:In-Reply-To:1': 0.34; 'people': 0.36; 'received:192.168':
0.37; 'two': 0.39; 'live': 0.68; 'truly': 0.70; 'telephone': 0.74;
'mobile': 0.76; 'landline': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=message-id
:date:mime-version:subject:to:references:from:in-reply-to
:content-type:content-transfer-encoding; s=sasl; bh=5QIZhXbDhBAT
9qpqgA2XSgqSwXYiR+X2RyZVKufOiIs=; b=NKJbejFGfj083EawZYIsV2nUAfjM
Svm71lScqeWzqx6+y/3i2WH7M0bL4kkwHPdwNBJBx3dQch0uZu+4TSP+NkNQWChw
+//L+SGeLi86IXqYleCoQxgAUoOXybkijhezBryA2rMr3UC/pwlMYBfYoo/9LxKn
NnxI7tQpszBKS/g=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=wichmann.us;
h=message-id:date:mime-version:subject:to:references:from:in-reply-to:content-type:content-transfer-encoding;
s=2018-07.pbsmtp; bh=5QIZhXbDhBAT9qpqgA2XSgqSwXYiR+X2RyZVKufOiIs=;
b=NJUlaWl4yZe9vlrN8gMTKNjZEfaQxa0rtl+dKXhWUN3racmVvf3mfX1ALUsNIRf4NPIENeh/Vc8elVTB2D0IwQl9TLoBoxCqTajprsP4Tdk3P0WObVcvt4qhVt3OEHxzftxt2QQTKKol/tpfoWWofUACpiP2wQsD4mVV78LDazQ=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Autocrypt: addr=mats@wichmann.us; keydata=
xsDiBD9xp6oRBAC1vd3YI8Gcr1CxpV1gldNQu0uQsNaICDk+Ai3+R163s/P83JOYG+SBEA3P
v7iZx70qpQ3RzP7KrjF1Nm6j0em9ccUX2fPQUCAxXw5Hiq7CSMiwQQZRI6shcnyMh9XTKViT
WK5MrKDyvjDEn7epjKzKwPS5SG039l6XaOKU0A4uGwCgsNqUQqC0gMMcbKlJV8ql58iKmbMD
/ii8FPQrXmyS/FnsPs7UddV5qMHKm7NUH5oiKuMVyakInRyq9iIxuu3D4Ec6mWRKcGsjmIkW
HXCSz0aefs6dsqNqpU54cYioJ3wP5LzHK7oclgJPryVt5Qezbdutf8SQf8gVkaNIlkxwGUzi
bKTZ6CHzwlz9nNgeel0XPUcZzFxGA/4paeCg2rMSVuAhUQbsLYHu4XzTs9P16zaXkrtxc4m5
b+BF5xsLgTpyO5l859XudS2Gp+7/Y37dAU4QlyGGOboWmF1y9U5DnzBwG8ghsnym+ga58MJh
LdRdQQ6xQolCpEXOuzm40f2r5uMxF3KOJ7WpIPuGAkeCPru9BmlATH+zOs0gTWF0cyBXaWNo
bWFubiA8bWF0c0B3aWNobWFubi51cz7CYQQTEQIAIQIbAwYLCQgHAwIDFQIDAxYCAQIeAQIX
gAUCT0VyZwIZAQAKCRDAMaCQc9hUxiZBAJ9cWziGp7hVfsu5T+cQptc3rLNndQCgrZh8u5LW
BfJ5e/Y+3PwZ8UEm+ELOwE0EP5is8BAEAMtwzcA8TYf5UTjDMgwcSNoErTc9ag+IX05QFgL8
aF8sfJRv5atcitqQy0gSIsOzI+L/AFdPN/+QQI3dL1tCq14t32KPDtigDhzm6jVPXX5z+V9u
xnD8XTp+ZvNcWoHXjViM8aXeLLEiCpiVCho307h3XShvqoKINWRQWeAsKKDDAAMFA/48zaey
wiiEyvI0meJ1KkNHxdLP0yLODr1WV6j9xkPkLWOaIDw7dlwEOlF1N1YtZ2wa0p1wsttdIbIx
ffgwXmcH4zrdxUIMz3U0BqYzk5H+5cYFXECXTFVOmweS+JECYMj80PjRoKCO1eVO1N30zksB
36NnhZWPRWIhjK3ZarIYH8JGBBgRAgAGBQI/mKzwAAoJEMAxoJBz2FTG6VEAoKDYHfDp5Q3q
PuPvPahCE9HsXMgAAJ9INTqcLSJrOfyJ8q95nBO1T26H2Q==
In-Reply-To: <yJsi4r7eq-eV9WBohgX7OmjxJG4ifGt4jIHNaG6T6ff_-craYEyzzfR1gsC94XLXKR6sLfmWg2rhsrK8BU3kq0vB3V5mXdBlJPxkPcIHnIE=@protonmail.com>
X-Pobox-Relay-ID: F9526EC6-7CB2-11EE-A065-A19503B9AAD1-81526775!pb-smtp21.pobox.com
X-Mailman-Approved-At: Mon, 06 Nov 2023 10:00:04 -0500
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <a7e65e6b-724b-44f2-83b8-d75b32b26437@wichmann.us>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
<yJsi4r7eq-eV9WBohgX7OmjxJG4ifGt4jIHNaG6T6ff_-craYEyzzfR1gsC94XLXKR6sLfmWg2rhsrK8BU3kq0vB3V5mXdBlJPxkPcIHnIE=@protonmail.com>
 by: Mats Wichmann - Mon, 6 Nov 2023 14:44 UTC

On 11/6/23 01:57, Simon Connah via Python-list wrote:

> The thing I truly hate is when you have two telephone number fields. One for landline and one for mobile. I mean who in hell has a landline these days?

People who live in places with spotty, or no, mobile coverage. We do exist.

Re: Checking if email is valid

<slrnuki17f.2cil.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24370&group=comp.lang.python#24370

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jon+use...@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Mon, 6 Nov 2023 15:23:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <slrnuki17f.2cil.jon+usenet@raven.unequivocal.eu>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
<yJsi4r7eq-eV9WBohgX7OmjxJG4ifGt4jIHNaG6T6ff_-craYEyzzfR1gsC94XLXKR6sLfmWg2rhsrK8BU3kq0vB3V5mXdBlJPxkPcIHnIE=@protonmail.com>
<a7e65e6b-724b-44f2-83b8-d75b32b26437@wichmann.us>
<mailman.168.1699282807.3828.python-list@python.org>
Injection-Date: Mon, 6 Nov 2023 15:23:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1d7456103137b06e8305f58ba9707176";
logging-data="556000"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/87IH6badMcfd4zMWQ37f4mpKLJfu9gVY="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:ztEQG/vYAyAdYLtKL4AFvEuj6OY=
 by: Jon Ribbens - Mon, 6 Nov 2023 15:23 UTC

On 2023-11-06, Mats Wichmann <mats@wichmann.us> wrote:
> On 11/6/23 01:57, Simon Connah via Python-list wrote:
>> The thing I truly hate is when you have two telephone number fields.
>> One for landline and one for mobile. I mean who in hell has a
>> landline these days?
>
> People who live in places with spotty, or no, mobile coverage. We do
> exist.

Catering for people in minority situations is, of course, important.

Catering for people in the majority situation is probably important too.

Re: Checking if email is valid

<mailman.170.1699294243.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24372&group=comp.lang.python#24372

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!rocksolid2!news.neodome.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: pyt...@mrabarnett.plus.com (MRAB)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Mon, 6 Nov 2023 18:07:34 +0000
Lines: 13
Message-ID: <mailman.170.1699294243.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
<yJsi4r7eq-eV9WBohgX7OmjxJG4ifGt4jIHNaG6T6ff_-craYEyzzfR1gsC94XLXKR6sLfmWg2rhsrK8BU3kq0vB3V5mXdBlJPxkPcIHnIE=@protonmail.com>
<cff4bae6-0406-4509-91bc-79a9ba8c21ae@mrabarnett.plus.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de FztZlTPVh+RK1LIcamveZQdDeWrJ1lgKkFhjHHZsuRvw==
Cancel-Lock: sha1:zxFfRg1H5jSvW7uW4GTG3EZXh64= sha256:vy6tjVTYG0Us6j46cu+5+OKjMop8SV/H1nsiFuMr+Kg=
Return-Path: <python@mrabarnett.plus.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=plus.com header.i=@plus.com header.b=F3yAlV6B;
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.085
X-Spam-Evidence: '*H*': 0.83; '*S*': 0.00; 'entering': 0.05;
'from:addr:python': 0.09; 'received:192.168.1.64': 0.09; 'tons':
0.09; 'from:addr:mrabarnett.plus.com': 0.16; 'from:name:mrab':
0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:84.93':
0.16; 'received:84.93.230': 0.16; 'received:plus.net': 0.16;
'simon': 0.16; 'tries': 0.16; 'wrote:': 0.16; 'to:addr:python-
list': 0.20; 'code': 0.23; 'stuff': 0.25; "isn't": 0.27; 'header
:User-Agent:1': 0.30; 'takes': 0.31; 'python-list': 0.32;
'received:192.168.1': 0.32; 'but': 0.32; 'there': 0.33; 'mean':
0.34; 'header:In-Reply-To:1': 0.34; 'usual': 0.35; "it's": 0.37;
'received:192.168': 0.37; 'two': 0.39; 'lack': 0.60; 'usa': 0.60;
'your': 0.64; 'numbers': 0.67; 'forget': 0.67; 'accept': 0.67;
'differing': 0.69; 'sites': 0.70; 'truly': 0.70; 'phone': 0.71;
'telephone': 0.74; 'accepting': 0.75; 'skip:f 20': 0.75; 'mobile':
0.76; 'field': 0.78; 'landline': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plus.com; s=042019;
t=1699294055; bh=rBCzPMpqlMlCxDldoo1GUWuIcsj2sM8CsEBgiNeoEfE=;
h=Date:Subject:To:References:From:In-Reply-To;
b=F3yAlV6BP56YwfZjPJRX2rPsBcq46QTZNOCufTQ86nS6Wm3zBvujnbSyTTjpFPsNb
1A3NW2f5OGU1SxeRdsE52SxA5SH/3vGm26nnwwbKqueKB/TZ4zWpDQYLiPkoTgJkA/
Rs/EJJtclIaqVwj571VEzhnDGavK9PvvngDcqL36eiJOPB4RGbC4RCaJcsXnfcqXy6
G+GtjAjRQGiBJhtRYb4mKL9VrrGgjQ2oZx5bgiOJbFErFC1Mi9hOg/c3z0CeWjPsnl
Bbhjhgb8P3CIUmMKQhM4ksVt+gnpvDcAA2GRJqDW6IuxdweekDkwpgQTZp0/I14Y7Z
LmQyfNIsxUtMQ==
X-Clacks-Overhead: "GNU Terry Pratchett"
X-CM-Score: 0.00
X-CNFS-Analysis: v=2.4 cv=U8eBsMnu c=1 sm=1 tr=0 ts=65492b67
a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17
a=IkcTkHD0fZMA:10 a=IVD1tEaajf59zYhQ-kkA:9 a=QEXdDO2ut3YA:10 a=zZCYzV9kfG8A:10
X-AUTH: mrabarnett@:2500
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <yJsi4r7eq-eV9WBohgX7OmjxJG4ifGt4jIHNaG6T6ff_-craYEyzzfR1gsC94XLXKR6sLfmWg2rhsrK8BU3kq0vB3V5mXdBlJPxkPcIHnIE=@protonmail.com>
X-CMAE-Envelope: MS4xfMmABycIEsBTEVufI8gUhJZhQZUhK9FwRiye2xghmsD8UErq4AXPZqUU/0i06f6s9gqvy6WEdLnRRp4bIKF01h7WBWaXbMymyRfQnjEeXAN0Xmv+W4W9
F+9GkLrMzdgbycT0eJjGApH1h3DpXWTS5N+cwEsAmYzeSw1cH0fuAPd9Fl9l9X5cSGAILYnn4AAiAYBNxVz1tnGENLvS1T8W06A=
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <cff4bae6-0406-4509-91bc-79a9ba8c21ae@mrabarnett.plus.com>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
<yJsi4r7eq-eV9WBohgX7OmjxJG4ifGt4jIHNaG6T6ff_-craYEyzzfR1gsC94XLXKR6sLfmWg2rhsrK8BU3kq0vB3V5mXdBlJPxkPcIHnIE=@protonmail.com>
 by: MRAB - Mon, 6 Nov 2023 18:07 UTC

On 2023-11-06 08:57, Simon Connah via Python-list wrote:
>
>> I can see how the truley dim-witted might forget that other countries
>> have phone numbers with differing lengths and formatting/punctuation,
>> but there are tons of sites where it takes multiple tries when
>> entering even a bog-standard USA 10-0digit phone nubmer because they
>> are completely flummuxed by an area code in parens or hyphens in the
>> usual places (or lack of hyhpens in the usual places). This stuff
>> isn't that hard, people...
>
> The thing I truly hate is when you have two telephone number fields. One for landline and one for mobile. I mean who in hell has a landline these days? And not accepting your mobile number in the landline number field is just when I give up. Or having a landline only field that does not accept mobile phones.
>
I have a landline. It's also how I access the internet.

Re: Checking if email is valid

<mailman.173.1699300725.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24375&group=comp.lang.python#24375

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Tue, 7 Nov 2023 06:58:30 +1100
Lines: 17
Message-ID: <mailman.173.1699300725.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<mailman.155.1699180114.3828.python-list@python.org>
<slrnukf3o4.2cil.jon+usenet@raven.unequivocal.eu>
<603b5741-f74a-4639-a94c-5b5297bca427@VybeNetworks.com>
<mailman.165.1699240422.3828.python-list@python.org>
<slrnukhf9c.2cil.jon+usenet@raven.unequivocal.eu>
<CAPTjJmqXo0xUoV+KgTS8_qMUKqXQoL8v88w55YHeHuJqDWJKXA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de 0K/rpcQH1NaLhq0fHxIr6wyG2vz772vcQ55d+wTnQ8HA==
Cancel-Lock: sha1:loBUeQexW+oneK3OwLmETVPsqtQ= sha256:P2JBJxbMBAlVPdvAi9m/fjXC4FW16dCOPY/t0A2A9oQ=
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=nNO/BNaI;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.123
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.76; '*S*': 0.01; '2023': 0.07; 'reporting':
0.09; 'solving': 0.09; "they've": 0.09; 'chrisa': 0.16;
'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16;
'somewhat': 0.16; 'sorry,': 0.16; 'wrote:': 0.16; 'tue,': 0.19;
'to:addr:python-list': 0.20; 'seems': 0.26; 'purpose': 0.28;
'error': 0.29; 'think': 0.32; 'python-list': 0.32; 'right,': 0.32;
'message-id:@mail.gmail.com': 0.32; 'but': 0.32; "i'm": 0.33;
'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
'running': 0.34; 'from:addr:gmail.com': 0.35; 'people': 0.36;
'those': 0.36; 'reports': 0.40; 'want': 0.40; 'should': 0.40;
'tell': 0.60; 'feel': 0.63; 'improved': 0.64; 'your': 0.64;
'years': 0.65; 'let': 0.66; 'site': 0.70; 'contact': 0.70;
'little': 0.73; 'discarded': 0.84; 'error".': 0.84; 'jon': 0.84;
'received:mail-lj1-x234.google.com': 0.84; 'websites': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1699300723; x=1699905523; darn=python.org;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=xZLGOkTGrN1f7uJTxdOJb3D41lQcEsjymnBPfgM3ztk=;
b=nNO/BNaIxyUyVgGEmywWJHN0s3cIee23DcykoQyPH8fG3/K+KLiX9CqN6FJELDNxOp
BUW60/xxPZGWV7yajC4gCi+qXBJpAoBxIIqn/uHxKSuy1fXML3iWF053rz0pRk7FkeGS
IlTgcDuI55IYivsFubCAdhm8agAxA3NLn620DxIOKIHE9DswNlK3SBGV3wlzEMwZmkO9
Jn2vV11xh1ACPr9LBTQVhy3ixqt7H/0cMwfscgpoSKz30nffHJZGz+4HSLRRL9W71Q/A
dKGVI4/qgGvCEMFHPwdKXBz3pU9qyamf81OthB/gVGG/RHRwThXcel85gNBNhmVWIJnh
u9zg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1699300723; x=1699905523;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=xZLGOkTGrN1f7uJTxdOJb3D41lQcEsjymnBPfgM3ztk=;
b=vephu0J9JVduYq1CJB6VDWilk6eDpisBGL7pRw2+NYN0ctxDbREM59MdOPNRfbVuaz
Yx+ZXE3daRJne7CtpONPEQCWqy23l7yMnYWrbCZmDAGhWAGu+QGMuMObhQUzwLz+0egu
gslb8VmOtRRnpO8JkGEgD2RSAR/Cw4fvxbC0hZDt90LsIF9mTmHybooupzdpd70o8wwN
qS0PY0K+8gqlp7DCrmlVnRPMlCDA3e4vQKdvFL1Vw3XQo9VfTNcItQBYxg1fuHWWSDL6
DkoGmeSRTKnKQuhq5FpYpTg2GkbyoxNSXhLlf24U+R1DD5PehUUeMXRRteDxn+Qj0iiT
yh3A==
X-Gm-Message-State: AOJu0YywoeyEDBlnf60CUJGtSWhvjkCXVr0devnIY8BPMVQEvSdJc/wg
JgJMPX6YRCigt/fGQfR6JGR+SBUa2r+RnGh2yareSJRY
X-Google-Smtp-Source: AGHT+IGBN6t03E+PrWln6UOibYUxPdk8gHws6dZcRIw9BN0pL+ckAKrw7jUc0eftcoYiIbBxdgrutEulNJEFx8UuXWI=
X-Received: by 2002:a2e:8744:0:b0:2b9:ecab:d924 with SMTP id
q4-20020a2e8744000000b002b9ecabd924mr24199347ljj.18.1699300722898; Mon, 06
Nov 2023 11:58:42 -0800 (PST)
In-Reply-To: <slrnukhf9c.2cil.jon+usenet@raven.unequivocal.eu>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmqXo0xUoV+KgTS8_qMUKqXQoL8v88w55YHeHuJqDWJKXA@mail.gmail.com>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<mailman.155.1699180114.3828.python-list@python.org>
<slrnukf3o4.2cil.jon+usenet@raven.unequivocal.eu>
<603b5741-f74a-4639-a94c-5b5297bca427@VybeNetworks.com>
<mailman.165.1699240422.3828.python-list@python.org>
<slrnukhf9c.2cil.jon+usenet@raven.unequivocal.eu>
 by: Chris Angelico - Mon, 6 Nov 2023 19:58 UTC

On Tue, 7 Nov 2023 at 02:05, Jon Ribbens via Python-list
<python-list@python.org> wrote:
> That was another thing that I used to find ridiculous, but seems to have
> improved somewhat in recent years - website error pages that said "please
> contact us to let us know about this error". I'm sorry, what? You want
> me to contact you to tell you about what your own website is doing? How
> does that make any sense? Websites should be self-reporting problems.

Actually, I think those serve a very important purpose. The reports
are almost certainly being discarded unread; the value of such a
reporting system is to give the user the sensation that they've "done
something" to "help". It makes some people feel better about running
into a bug.

But you're right, they serve little purpose in solving web site problems.

ChrisA

Re: Checking if email is valid

<mailman.174.1699301342.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24376&group=comp.lang.python#24376

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: mat...@wichmann.us (Mats Wichmann)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Mon, 6 Nov 2023 11:45:41 -0700
Lines: 32
Message-ID: <mailman.174.1699301342.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
<yJsi4r7eq-eV9WBohgX7OmjxJG4ifGt4jIHNaG6T6ff_-craYEyzzfR1gsC94XLXKR6sLfmWg2rhsrK8BU3kq0vB3V5mXdBlJPxkPcIHnIE=@protonmail.com>
<a7e65e6b-724b-44f2-83b8-d75b32b26437@wichmann.us>
<mailman.168.1699282807.3828.python-list@python.org>
<slrnuki17f.2cil.jon+usenet@raven.unequivocal.eu>
<240a8097-8992-481e-b014-beac062e37d5@wichmann.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de +WPkPC6x5269l+Q+Iyg/0wqWUk1dck75TbddlzYwVnvw==
Cancel-Lock: sha1:A5GBZm+6FIBf1cLV2OUZ8Hd5Djw= sha256:iPKi2ACVHY+kUmamWOiC5Cmv0/wIP58wa7iApx5BNcc=
Return-Path: <mats@wichmann.us>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="1024-bit key; unprotected key"
header.d=pobox.com header.i=@pobox.com header.b=VllUL21O;
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: UNSURE 0.300
X-Spam-Level: ***
X-Spam-Evidence: '*H*': 0.43; '*S*': 0.03; '2fa': 0.09; ':-)': 0.09;
'anyway,': 0.09; 'situations': 0.09; 'received:173': 0.13; 'mats':
0.16; 'simon': 0.16; 'tries': 0.16; 'wichmann': 0.16; 'wrote:':
0.16; 'probably': 0.17; 'to:addr:python-list': 0.20; 'maybe':
0.22; 'code': 0.23; '>>>': 0.28; 'example,': 0.28; 'header:User-
Agent:1': 0.30; 'assume': 0.32; 'marked': 0.32; 'python-list':
0.32; 'but': 0.32; 'mean': 0.34; 'header:In-Reply-To:1': 0.34;
'majority': 0.35; 'people': 0.36; 'received:192.168': 0.37;
'though': 0.37; 'way': 0.38; 'two': 0.39; 'single': 0.39; 'text':
0.39; 'situation': 0.40; 'something': 0.40; 'want': 0.40;
'should': 0.40; 'provide': 0.60; 'seen': 0.62; 'verification':
0.62; 'security': 0.64; 'experience': 0.64; 'let': 0.66; 'that,':
0.67; 'live': 0.68; 'important.': 0.69; 'too.': 0.70; 'truly':
0.70; 'phone': 0.71; 'telephone': 0.74; 'mobile': 0.76; 'field':
0.78; 'catering': 0.84; 'entered': 0.84; 'field,': 0.84; 'jon':
0.84; 'landline': 0.84; 'messages,': 0.84; 'minority': 0.84;
'number.': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=message-id
:date:mime-version:subject:to:references:from:in-reply-to
:content-type:content-transfer-encoding; s=sasl; bh=lwEG12J14lar
DOSl22I26jAYV8ut6A0shuPvPCrvCjg=; b=VllUL21OfXDPN7WFITLiNi+Lkmqi
9w+D5/RBTepWCqWaDbyeKGVoikY6K9BuY0F1g+HDJsgAacN+HIxd0JEIU46hzYZ4
qjNubBLaChJRWUV02mtRvZagwIbStddyxuSfBMN4iZ92cdf6//fJKgtGQwUY8uaI
HKJTvnw4qW+Wxr0=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=wichmann.us;
h=message-id:date:mime-version:subject:to:references:from:in-reply-to:content-type:content-transfer-encoding;
s=2018-07.pbsmtp; bh=lwEG12J14larDOSl22I26jAYV8ut6A0shuPvPCrvCjg=;
b=kKlN0p0ro9A/71mxuvbebq0LDDrRcGhj21jwPlekMqrdqonfJviQWNGOzaD5wB5GzHqSQd2ckLAE74kl4gty4447ucyOtwbTkqTK4YXpSmnS8iB2dlM6NmN1cXGD6CeAiWkbY1Lt9GkTDsYsr/mxHsGeekVZVKCnRBclKZncJg4=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Autocrypt: addr=mats@wichmann.us; keydata=
xsDiBD9xp6oRBAC1vd3YI8Gcr1CxpV1gldNQu0uQsNaICDk+Ai3+R163s/P83JOYG+SBEA3P
v7iZx70qpQ3RzP7KrjF1Nm6j0em9ccUX2fPQUCAxXw5Hiq7CSMiwQQZRI6shcnyMh9XTKViT
WK5MrKDyvjDEn7epjKzKwPS5SG039l6XaOKU0A4uGwCgsNqUQqC0gMMcbKlJV8ql58iKmbMD
/ii8FPQrXmyS/FnsPs7UddV5qMHKm7NUH5oiKuMVyakInRyq9iIxuu3D4Ec6mWRKcGsjmIkW
HXCSz0aefs6dsqNqpU54cYioJ3wP5LzHK7oclgJPryVt5Qezbdutf8SQf8gVkaNIlkxwGUzi
bKTZ6CHzwlz9nNgeel0XPUcZzFxGA/4paeCg2rMSVuAhUQbsLYHu4XzTs9P16zaXkrtxc4m5
b+BF5xsLgTpyO5l859XudS2Gp+7/Y37dAU4QlyGGOboWmF1y9U5DnzBwG8ghsnym+ga58MJh
LdRdQQ6xQolCpEXOuzm40f2r5uMxF3KOJ7WpIPuGAkeCPru9BmlATH+zOs0gTWF0cyBXaWNo
bWFubiA8bWF0c0B3aWNobWFubi51cz7CYQQTEQIAIQIbAwYLCQgHAwIDFQIDAxYCAQIeAQIX
gAUCT0VyZwIZAQAKCRDAMaCQc9hUxiZBAJ9cWziGp7hVfsu5T+cQptc3rLNndQCgrZh8u5LW
BfJ5e/Y+3PwZ8UEm+ELOwE0EP5is8BAEAMtwzcA8TYf5UTjDMgwcSNoErTc9ag+IX05QFgL8
aF8sfJRv5atcitqQy0gSIsOzI+L/AFdPN/+QQI3dL1tCq14t32KPDtigDhzm6jVPXX5z+V9u
xnD8XTp+ZvNcWoHXjViM8aXeLLEiCpiVCho307h3XShvqoKINWRQWeAsKKDDAAMFA/48zaey
wiiEyvI0meJ1KkNHxdLP0yLODr1WV6j9xkPkLWOaIDw7dlwEOlF1N1YtZ2wa0p1wsttdIbIx
ffgwXmcH4zrdxUIMz3U0BqYzk5H+5cYFXECXTFVOmweS+JECYMj80PjRoKCO1eVO1N30zksB
36NnhZWPRWIhjK3ZarIYH8JGBBgRAgAGBQI/mKzwAAoJEMAxoJBz2FTG6VEAoKDYHfDp5Q3q
PuPvPahCE9HsXMgAAJ9INTqcLSJrOfyJ8q95nBO1T26H2Q==
In-Reply-To: <slrnuki17f.2cil.jon+usenet@raven.unequivocal.eu>
X-Pobox-Relay-ID: B087AFFE-7CD4-11EE-8F63-A19503B9AAD1-81526775!pb-smtp21.pobox.com
X-Mailman-Approved-At: Mon, 06 Nov 2023 15:09:01 -0500
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <240a8097-8992-481e-b014-beac062e37d5@wichmann.us>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
<yJsi4r7eq-eV9WBohgX7OmjxJG4ifGt4jIHNaG6T6ff_-craYEyzzfR1gsC94XLXKR6sLfmWg2rhsrK8BU3kq0vB3V5mXdBlJPxkPcIHnIE=@protonmail.com>
<a7e65e6b-724b-44f2-83b8-d75b32b26437@wichmann.us>
<mailman.168.1699282807.3828.python-list@python.org>
<slrnuki17f.2cil.jon+usenet@raven.unequivocal.eu>
 by: Mats Wichmann - Mon, 6 Nov 2023 18:45 UTC

On 11/6/23 08:23, Jon Ribbens via Python-list wrote:
> On 2023-11-06, Mats Wichmann <mats@wichmann.us> wrote:
>> On 11/6/23 01:57, Simon Connah via Python-list wrote:
>>> The thing I truly hate is when you have two telephone number fields.
>>> One for landline and one for mobile. I mean who in hell has a
>>> landline these days?
>>
>> People who live in places with spotty, or no, mobile coverage. We do
>> exist.
>
> Catering for people in minority situations is, of course, important.
>
> Catering for people in the majority situation is probably important too.

A good experience would do both, in a comfortable way for either.

Continuing with the example, if you have a single phone number field, or
let a mobile number be entered in a field marked for landline, you will
probably assume you can text to that number. I see this all the time on
signups that are attempting to provide some sort of 2FA - I enter the
landline number and the website tries to text a verification code to it
(rather have an authenticator app for 2FA anyway, but that's a different
argument)

Suggests maybe labeling should be something like:

* Number you want to be called on
* Number for texted security messages, if different

Never seen that, though :-)

Re: Checking if email is valid

<mailman.175.1699302195.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24377&group=comp.lang.python#24377

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Tue, 7 Nov 2023 07:23:01 +1100
Lines: 18
Message-ID: <mailman.175.1699302195.3828.python-list@python.org>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
<yJsi4r7eq-eV9WBohgX7OmjxJG4ifGt4jIHNaG6T6ff_-craYEyzzfR1gsC94XLXKR6sLfmWg2rhsrK8BU3kq0vB3V5mXdBlJPxkPcIHnIE=@protonmail.com>
<a7e65e6b-724b-44f2-83b8-d75b32b26437@wichmann.us>
<mailman.168.1699282807.3828.python-list@python.org>
<slrnuki17f.2cil.jon+usenet@raven.unequivocal.eu>
<240a8097-8992-481e-b014-beac062e37d5@wichmann.us>
<CAPTjJmp5=qRqBtsyATQO-SLy5eweJbxbW1JJjtYeNrOi=PSkCg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de eqjppajp0Obh7xQX4QbsHwGX5tjVThBUbTCerk68kHbA==
Cancel-Lock: sha1:TydlR/ByRAKlmMsTsrKsckA4JHQ= sha256:Mv8NUvHa7S/5M0FdUHxkfjpKkeBY3lt6KbMwJkJAP9s=
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=c029B10F;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.017
X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; '2023': 0.07; ':-)': 0.09;
'responses': 0.09; 'chrisa': 0.16; 'for.': 0.16;
'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16;
'mats': 0.16; 'wichmann': 0.16; 'wrote:': 0.16; 'tue,': 0.19;
'to:addr:python-list': 0.20; 'maybe': 0.22; 'python-list': 0.32;
'message-id:@mail.gmail.com': 0.32; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'from:addr:gmail.com': 0.35;
'though': 0.37; 'something': 0.40; 'want': 0.40; 'should': 0.40;
'seen': 0.62; 'security': 0.64; 'that,': 0.67; 'messages,': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1699302193; x=1699906993; darn=python.org;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=+2nq7FV7cowmE9LzJJtG5K0eLtAj7ej/Zmmv2qTdJXI=;
b=c029B10FEWhJjnc6gVk5lMxDQVWghZ4KnAXUL7g7Ri8RvP+liUqJVs5XcpERW381AI
7sYnt3Q23xOQ0FSJ8bb/5Rs7gjQPrufzmFEVm+CcMNa5O+FToC4uPi5B76NzJpfXYFZS
kEjQeTd2M/2ikCYHw3VR5AJ1uhisSjIHF1e8bQlTscVD47jpljcwFsrDA0GFxNJm/3Yt
O14B/7cGq1jLnZ/3FDj9ojl0uT4Liwv9gR18iFZoxxwPATpIPLdAi/4ajGT+TfEaQX6U
QD8kL2OS/S2n/8/cLgAf4MLxu7GptrBFcE3mIVPFrNot98QqhY7tYnbYQDZ7jDLZVAy1
wdGg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1699302193; x=1699906993;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=+2nq7FV7cowmE9LzJJtG5K0eLtAj7ej/Zmmv2qTdJXI=;
b=eletoYKTNAMGpMptP0JxGhUnN1e3QCrxeREW9F+XdD1ePylFY8abHrJ1DO5HUXHehX
Ioay+OnCQKIRDFeKhUqUdzjx75QWVX0nLzMtmGI8YyipHC4AmKKaIsLjcDcDeqXhvnEM
r9gRavAE+5bTAYVO6K4AA9pJbfPMYTxNThBMdsSUwwcip1WiFcZ79yF3OHFWTSqu0fZu
pR1po8bPFQCv4XEKy4iVlP2LEVAtVz44wUdg9bQ8zE/krfhSyEV92pIcVwNC4hH2Aygq
HvAOci42/Pc720sAj57008w5kh6jJIqJFf3szwhwTFObZIZOTpLe1GdsPJTZ/UIFrSqV
UTaA==
X-Gm-Message-State: AOJu0Yzpp3rmXQ3MQ52lGbwrj5mYEd32wJNsRFvk+mbEK2LeB+Ugykx4
+kStnvvDn82PDr6DgajbMB6zNMtYPVq6A8gVcXcd7jXU
X-Google-Smtp-Source: AGHT+IHosJupHMboJQZqjjGeMFkL0E6UatjkYtBmz8r4BZGyShQPF1uzN4EqjYQ1A8WACeAHbH5m21C/dB+ZRL9jii8=
X-Received: by 2002:a2e:2e12:0:b0:2c5:582:fd8d with SMTP id
u18-20020a2e2e12000000b002c50582fd8dmr25363511lju.30.1699302193069; Mon, 06
Nov 2023 12:23:13 -0800 (PST)
In-Reply-To: <240a8097-8992-481e-b014-beac062e37d5@wichmann.us>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmp5=qRqBtsyATQO-SLy5eweJbxbW1JJjtYeNrOi=PSkCg@mail.gmail.com>
X-Mailman-Original-References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
<yJsi4r7eq-eV9WBohgX7OmjxJG4ifGt4jIHNaG6T6ff_-craYEyzzfR1gsC94XLXKR6sLfmWg2rhsrK8BU3kq0vB3V5mXdBlJPxkPcIHnIE=@protonmail.com>
<a7e65e6b-724b-44f2-83b8-d75b32b26437@wichmann.us>
<mailman.168.1699282807.3828.python-list@python.org>
<slrnuki17f.2cil.jon+usenet@raven.unequivocal.eu>
<240a8097-8992-481e-b014-beac062e37d5@wichmann.us>
 by: Chris Angelico - Mon, 6 Nov 2023 20:23 UTC

On Tue, 7 Nov 2023 at 07:10, Mats Wichmann via Python-list
<python-list@python.org> wrote:
> Suggests maybe labeling should be something like:
>
> * Number you want to be called on
> * Number for texted security messages, if different
>
> Never seen that, though :-)
>

My responses would be:

* Don't.
* That's what cryptographic keys are for.

:)

ChrisA

Re: Checking if email is valid

<kqt9sqFp55mU1@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24385&group=comp.lang.python#24385

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: greg.ew...@canterbury.ac.nz (Greg Ewing)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Tue, 7 Nov 2023 12:07:06 +1300
Lines: 12
Message-ID: <kqt9sqFp55mU1@mid.individual.net>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<6547d221.050a0220.c5340.1e8f@mx.google.com>
<yJsi4r7eq-eV9WBohgX7OmjxJG4ifGt4jIHNaG6T6ff_-craYEyzzfR1gsC94XLXKR6sLfmWg2rhsrK8BU3kq0vB3V5mXdBlJPxkPcIHnIE=@protonmail.com>
<a7e65e6b-724b-44f2-83b8-d75b32b26437@wichmann.us>
<mailman.168.1699282807.3828.python-list@python.org>
<slrnuki17f.2cil.jon+usenet@raven.unequivocal.eu>
<240a8097-8992-481e-b014-beac062e37d5@wichmann.us>
<mailman.174.1699301342.3828.python-list@python.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net p0cPury9XIkLtdX4TxygdQo72htSwjDJl8lBCy3vYO2jfUyfhs
Cancel-Lock: sha1:gUQwVCZhah/MQLFvQf8rfIOUwQg= sha256:EIsHwcrdMT7+05hJHsUTdqfy5rvFRJHSzqD6I/GKd8g=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:91.0)
Gecko/20100101 Thunderbird/91.3.2
Content-Language: en-US
In-Reply-To: <mailman.174.1699301342.3828.python-list@python.org>
 by: Greg Ewing - Mon, 6 Nov 2023 23:07 UTC

On 7/11/23 7:45 am, Mats Wichmann wrote:
> Continuing with the example, if you have a single phone number field, or
> let a mobile number be entered in a field marked for landline, you will
> probably assume you can text to that number.

But if the site can detect that you've entered a mobile number into
the landline field or vice versa and reject it, then it can figure out
whether it can text to a given numner or not without you having
to tell it!

--
Greg

Re: Checking if email is valid

<kqta4oFp7p5U1@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24386&group=comp.lang.python#24386

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: greg.ew...@canterbury.ac.nz (Greg Ewing)
Newsgroups: comp.lang.python
Subject: Re: Checking if email is valid
Date: Tue, 7 Nov 2023 12:11:18 +1300
Lines: 9
Message-ID: <kqta4oFp7p5U1@mid.individual.net>
References: <2d05ed9e-0c4f-152a-e072-f64d21da3b13@gmail.com>
<4SLzJm1dwdznWHQ@mail.python.org> <01b401da0df3$d2a4f150$77eed3f0$@gmail.com>
<CAPTjJmqB=ZvtAuLpYOtdPF0efBFcK7LbS2OcuTWfYJwcyASrDg@mail.gmail.com>
<mailman.142.1698990179.3828.python-list@python.org>
<slrnuk9k5g.73m.jon+usenet@raven.unequivocal.eu>
<cd0f8b2a-6ab6-4889-82d9-0cd84b93b848@tompassin.net>
<Mx55woazMnLDymJMOEfKPZ1QqPpdzYCq5IynLBt3KDiTEY7EZ58_ZKGcHNWXmD7mfCprd6cM-FSE6FH2He83fCJKpSXEosC-U_eQj1VY7gI=@protonmail.com>
<ec63c15e-e49d-c0b3-6f90-178853f6f551@gmail.com>
<65471c81.920a0220.a88bf.2427@mx.google.com>
<97465127-448f-4aa1-af03-bc4196e6e4ed@VybeNetworks.com>
<mailman.155.1699180114.3828.python-list@python.org>
<slrnukf3o4.2cil.jon+usenet@raven.unequivocal.eu>
<603b5741-f74a-4639-a94c-5b5297bca427@VybeNetworks.com>
<mailman.165.1699240422.3828.python-list@python.org>
<kqrc6fFec60U3@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net hWR52Q6nRVvN787CUcTiIgg8we+FP5YfWXopb9pnIYaS4ZwmsL
Cancel-Lock: sha1:S0jyB9Zg6d3et1nsFdxdMSa4emA= sha256:F+xQQDTIMlq5wzoSwgUSss0oxX4w6kWmuFSjsOuFPH4=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:91.0)
Gecko/20100101 Thunderbird/91.3.2
Content-Language: en-US
In-Reply-To: <kqrc6fFec60U3@mid.individual.net>
 by: Greg Ewing - Mon, 6 Nov 2023 23:11 UTC

On 6/11/23 6:34 pm, rbowman wrote:
> We've found even if you directly ask the user often the answer is 'I
> dunno' or some mythology they have constructed to explain the problem.

This seems to apply to hardware issues as well. Louis Rossmann has
a philosophy of "Never believe what the customer tells you."

--
Greg

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor