From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7748 invoked from network); 22 Nov 2020 01:21:24 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 22 Nov 2020 01:21:24 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1606008084; b=X1VSLd1RFS2OJm0InbGop5lTPALyqSLXRPb8nznw7TOWv56ihKZPRkmxtxrsSjjCxKC2uzq3Hh FHNd0r3sjRdpAXXSaKzSThwiOUAAkm8MU/5gqqQZBK8xA5PhF0Q9E/Vn7t/ne+JE1lQap+QCAj FXjVy3eKkf6TLpO5iBoXS1giB406t8LmBNZ4J7pOHCHQWrfOMX6D+ezQJ1RpJbSGp0qDTmH1Uk t3OH58HqxbrNld2JkE7wLSTCp9DuKnH7Kn1N4gxJPjMgFzh06DmDoJQSHJkRbOlo25alCHaxu+ OI5+GAyMs37xEqvaCncuzm9DoSvjvCcvYu54cjeTny8zSg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-wm1-f43.google.com) smtp.remote-ip=209.85.128.43; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1606008084; bh=maEFBFvIw9jrEGKUZqLtvHiBH9v5tB5phMYg9ysU2EM=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature: DKIM-Signature; b=bY2VSj65y4jMUsAWrGKYLRQXRAFd4wo0w4oSIQnfUrbtAloSJ1jbjm4mkUQQ19XnezuJjelLee ibKhmel4J0PSWWLUNomJuzf90GdDKOCyD7Lx1QYBH4RVHzyvTPLsXm1OkO5aU+9pS5cZfkcaQz hUh+hpcCPattMDvn2LikWZpGAD8+BL9Cg5nzTexPm9d3WpvCQavMfp6VBG1+N/2mQp2fOwBiP6 lnEUfw4apkJqgJu96uaV7FJIKsztnhBZN98647Czwqu+H/GHwDn7Fnx8bAKkc4av8vFQMh1BLT JhVnEJMP/U7N15gkdcNYruT6uifVg6JjJga+0FlvSRbZhg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=6tfPLQHzOcxzth7s3fteH+nqO9VJRcXT2Ly+TO+qFtw=; b=s+Ew72vl0Ab9kpL9km0Z/TiAuv Npt6ocIO1C7bvykZQ3bq9zalN16OkKfaTquD18aK0481Bc30BsOpn/584spWeP4vrBOciPdgXJ4kJ AD37XF1y/Bdg9KnVpIHMYv1CgkMKABvQlTBmdF7DhgHYuoGNsPZ5MGas7hqUqUQfitVOidEOu0HP1 JRMYIcPo5kcTTlftleFR2fUpW4IzQfSaWPi8UFkBR6sDhg2LT8oJAtfv8qEjZBIPDqJgg1INKyhLg 4Lp7szs9jFbIr0hf2A675vh1KJF7cFK4VmZNUVu1SXrBbn1S04IwbW72I6dX5vDl9Vj7W+eBKkzbl SNbbixSw==; Received: from authenticated user by zero.zsh.org with local id 1kge49-00041j-RL; Sun, 22 Nov 2020 01:21:21 +0000 Authentication-Results: zsh.org; iprev=pass (mail-wm1-f43.google.com) smtp.remote-ip=209.85.128.43; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-wm1-f43.google.com ([209.85.128.43]:36936) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kge3w-0003tT-DZ; Sun, 22 Nov 2020 01:21:09 +0000 Received: by mail-wm1-f43.google.com with SMTP id h21so13958554wmb.2 for ; Sat, 21 Nov 2020 17:21:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=6tfPLQHzOcxzth7s3fteH+nqO9VJRcXT2Ly+TO+qFtw=; b=SxBzMJZF2mKxqe0gfRiNqzIgCq7yTn+afYn6KkkHLp5A96q2OPDZ5xlCTuRjxFvoJS Kw/aVopm9fUs09qzFlLCK2zVXuRZdMPFvrBLnkCRQNCbZ/ij/I0ykwmMSThrCOnHgrwy 9CNe+sLLaYp+I+YCHPNLM1dRvYeJx6YJr1+MY8qF8E7o3qNOrI61mNQNNbhbvc9CpdNJ 351NvGLhclIMGpbPTaNaV96ieec1Pl2KvMrqRQxq3eUc9qEohdOAFR2sqM8oOYX8Lwje 4zIuq4hdL9rzDZP066ARBmEn1QBBLx4/Y3ub+nSYqzfj3OvjAWfsvojG1pr5fO71y3bJ i+aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=6tfPLQHzOcxzth7s3fteH+nqO9VJRcXT2Ly+TO+qFtw=; b=OGhipn3Z0lws6BQ1J6ipXgLgQU66ccI6zhXAV+W6lgZL7+38eG8065RoVaBQDTqV8m ArdhukGVGuVYo3O9QRkn/r+fWwWDfZbvPIqf1XFOmEoIbQr7eewsHBXx/0o8RrY4RquL z/7/XFlJlgTCf0CDG5yKpIku2l50dxf1YpRC+yQAjsMLQe+ZtKgAJcMlDWg5qBk80MZA EF3EmK/VLX/M4FydQsJKTBrp2YAwCsaeXKS07IgXUPFTwrfLzt0LRj7KJXc9+wsO2IOw sjhroTbBmWKnaClMS6TdHLIEWgMVhbrSawqv/bsY4JAlENVZb9jZUNel+PF+RVquXM/n vsRQ== X-Gm-Message-State: AOAM5319JVGZpILjutVQhVwcFWaogWmb9OGipPWUI6HstOwPn+lOa7C8 fkDnIz9NhP4jqfoebV3mU5LIpIZOnwlptc5KBYc= X-Google-Smtp-Source: ABdhPJwnxMo7MO36w20s6GOniYptzCHMVFjJlepXd+tTx+SCGxRYT9a09fpQpBjDMbYqccrnKgXI38V7+FGPGUnU1SM= X-Received: by 2002:a1c:f619:: with SMTP id w25mr16874443wmc.55.1606008068027; Sat, 21 Nov 2020 17:21:08 -0800 (PST) MIME-Version: 1.0 References: <20201118224532.769efe4d@tarpaulin.shahaf.local2> In-Reply-To: <20201118224532.769efe4d@tarpaulin.shahaf.local2> From: Felipe Contreras Date: Sat, 21 Nov 2020 19:20:56 -0600 Message-ID: Subject: Re: Bug with unset variables To: Daniel Shahaf Cc: Roman Perepelitsa , Zsh hackers list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 47589 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: On Wed, Nov 18, 2020 at 4:45 PM Daniel Shahaf wrot= e: > Do not argue about a person. Argue about the technical matter at hand. That's what I did. The technical matter was being ignored. > What are A and B? I already explained this multiple times: A: unset foo B: foo =3D nil > Why does the Python example not use =C2=ABdel=C2=BB as the "unset" operat= ion? Because it doesn't do the same thing as unset. In shell, this leaves foo declared in a local scope: local foo # declare unset foo # unset In Python, this doesn't: foo =3D None # declare del foo # undeclare They are *not* functionally the same thing. Cheers. --=20 Felipe Contreras