Deutsch   English   Français   Italiano  
<mailman.28.1711591951.3468.python-list@python.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!fu-berlin.de!uni-berlin.de!not-for-mail
From: "Dr. F. M. \(Mike\) Covington" <mikec@lancanyon.com>
Newsgroups: comp.lang.python
Subject: RE: Popping key causes dict derived from object to revert to object
 (3/25/2024)
Date: Wed, 27 Mar 2024 19:58:38 -0500
Lines: 43
Message-ID: <mailman.28.1711591951.3468.python-list@python.org>
References: <!&!AAAAAAAAAAAYAAAAAAAAAD8Ehu/cTdtLubXyJU3+PabCgAAAEAAAAES7Vf66WeBLr+UEG21FMWoBAAAAAA==@lancanyon.com>
Mime-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de G+bBPvO+mPxAOGKTSaVTQQc7Hsh0APaYKeLlvegjDVEw==
Cancel-Lock: sha1:8ESdGb6/EvnpI1+ohIKK2B7dKlc= sha256:TkiBNRiinUWRUh+UdAad+Zja4qML37LkRQUQsbTaziM=
Return-Path: <mikec@lancanyon.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=webcom.xion.oxcs.net header.i=@webcom.xion.oxcs.net
 header.b=WF1/gSyX; dkim-adsp=none (unprotected policy);
 dkim-atps=neutral
X-Spam-Status: OK 0.055
X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'pycharm': 0.04; 'url-
 ip:13.107.213.67/32': 0.09; 'url-ip:13.107.213/24': 0.09; 'url-
 ip:13.107.246.67/32': 0.09; 'url-ip:13.107.246/24': 0.09;
 'developer,': 0.16; 'missing?': 0.16; 'using?': 0.16; 'problem':
 0.16; 'python': 0.16; 'i?ve': 0.19; 'to:addr:python-list': 0.20;
 "i've": 0.22; 'version': 0.23; 'thanks!': 0.24; 'automation':
 0.31; 'filename:fname:image003.png': 0.31; 'guess': 0.32;
 'instructor': 0.32; "i'm": 0.33; 'there': 0.33; 'running': 0.34;
 'subject:from': 0.37; 'url-ip:13.107/16': 0.38; 'filename:fname
 piece:image002': 0.39; 'filename:fname:image002.png': 0.39;
 'filename:fname:image004.png': 0.39; 'seeing': 0.39; 'something':
 0.40; 'hello,': 0.40; 'content-type:image/jpeg': 0.62;
 'filename:fname piece:image006': 0.64; 'url-ip:104.18/16': 0.67;
 'obvious': 0.69; 'you?re': 0.76; 'consultant,': 0.84; 'explain.':
 0.84; 'filename:fname:image006.jpg': 0.84; 'forgive': 0.84; 'mct':
 0.84
Authentication-Results: oxsus-vadesecure.net;
 auth=pass smtp.auth=5@156993 smtp.mailfrom=mikec@lancanyon.com;
ARC-Seal: i=1; a=rsa-sha256; d=oxsus-vadesecure.net; s=arc-202309-rsa2048;
 t=1711587521; cv=none;
 b=UCWv13xuQZljewO+B5ZKe4GN0dckgE94C6FdgoGmKw54Cit8HCp6h/Eklon+XKZviay82vcduhFMAGxurl6gcz3XI9ve3Nx4LX2lqhei8SKlSc5/IqGjAOkORqCU5OKGHBsprKI/zY1x89cHs677r0TnkHKvW/ChnCpaUfUrmEfntuUJB2FOOdDRM9LT1//s4qD7fpCEnxnC5Ww8YzLdY304DeTdjFS6u27CVd/HRyEkjHNkBNRYApNQwnTIzgy9MVtQo4MooXIdTIggkNQPgU0RZ7UUCehNnEDBw5hQgyHoabvCpEk+8f+NL059K0an7PIKNf0lWK1KAahelgM0VA==
ARC-Message-Signature: i=1; a=rsa-sha256; d=oxsus-vadesecure.net;
 s=arc-202309-rsa2048; t=1711587521; c=relaxed/relaxed;
 h=from:reply-to:subject:date:to:cc:resent-date:resent-from:resent-to:resent-cc:in-reply-to:references:list-id:list-help:list-unsubscribe:list-subscribe:list-post:list-owner:list-archive;
 bh=kvFyg0eE+iuDX3QDEXIdSlsRW+d5Qgc8L6W8xF2t4o0=;
 b=en0LB9VyFm49IAKqXvykFExkp7GKltftzBsvXpjlIbiqkTmytY2jXeDAVOcf6wJh0bwBMhong5VzORG243Pr4WUNXuboqdUFEZlPUveyAmheZggp37niQ8B/wZcfRHe8Go8wAIkfCE/7zFVhrBSMkUDDpIVeVGkXElSzgRyl3fUi0JV3O931oqu3smcFC47XGG02eWjQ4hqmkHyOoE5knHQlJyi3hSOZQ7uaG9clT7DKqo3nwMCteADgV4H2T+clxyR7T/ADeJJ/jdWQWtnSDs/e9NTUWZKA3/wjSQCeHb07TgnI43f2fPy6/f2ScOW/AVPj1Vl65FWb3KgxDT75Ag==
ARC-Authentication-Results: i=1;
DKIM-Signature: v=1; a=rsa-sha256; bh=kvFyg0eE+iuDX3QDEXIdSlsRW+d5Qgc8L6W8xF
 2t4o0=; c=relaxed/relaxed; d=webcom.xion.oxcs.net; h=from:reply-to:
 subject:date:to:cc:resent-date:resent-from:resent-to:resent-cc:
 in-reply-to:references:list-id:list-help:list-unsubscribe:
 list-subscribe:list-post:list-owner:list-archive; q=dns/txt; s=mail1;
 t=1711587521; x=1712192321; b=WF1/gSyXgkL8Ngo/6heqPcRoUjH77V1Sn8n8ERCfg
 fAGiyDcwKbtAza1uswWoX3rrPYLYf3ryKaAfT1RbBJ7NRk7DmkwUab8s+6cTGEXYJ1oG9cY
 /G2bybxeeqop1WhueAnbCSioq1K4BxYgoxfuebK1vLLidWqS4S/9XwX/tI5nWCgLNtzY8IT
 bv7kxrCz4uxPTTXSdOZZ3pokkkEP9fuCPKLqjGPlu2chdNtJpGnAID2SncgSPsUcj4C8igA
 SqOsAeARS8H4v1XGaW2OSboFyx6VTp2F8l+WiPrKg+lSb1PmYAAJXpghnhuSYT8ijHxR5Rr
 KKK6M6G3FAIkJ7kdg==
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdqAqmqPbiTVYTI1QByVmiwYwlUU4g==
Content-Language: en-us
X-Mailman-Approved-At: Wed, 27 Mar 2024 22:12:30 -0400
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
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: <!&!AAAAAAAAAAAYAAAAAAAAAD8Ehu/cTdtLubXyJU3+PabCgAAAEAAAAES7Vf66WeBLr+UEG21FMWoBAAAAAA==@lancanyon.com>
Bytes: 5639

Hello, all.

 

I guess I'm just not seeing this dictionary pop() problem you're having.  

What version of Python are you using?  Is there something I'm missing?

If I've made an obvious oversight, please forgive me and explain.

 

Thanks!

 

PyCharm (2023.1.1) REPL running Python 3.12:

 



 

Mike

 



----------------------
F. M. (Mike) Covington, PhD, PCPP, MCT

Automation Consultant, Developer, Instructor