Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #6012
| Path | csiph.com!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Markus Schaaf <mschaaf@elaboris.de> |
| Newsgroups | de.comp.lang.python |
| Subject | konstante Lists, Dictionaries |
| Date | Fri, 22 Dec 2023 20:32:37 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 10 |
| Message-ID | <um4o8m$1mbqm$1@dont-email.me> (permalink) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Fri, 22 Dec 2023 19:32:38 -0000 (UTC) |
| Injection-Info | dont-email.me; posting-host="7ee2fd1ea87adcab0f9251996ce03e85"; logging-data="1781590"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9YLGHF8PyC9EO23qKOY2I" |
| User-Agent | Mozilla Thunderbird |
| Content-Language | en-US, de-DE |
| Xref | csiph.com de.comp.lang.python:6012 |
Show key headers only | View raw
Hallo, habe heute ewig nach einem "unmöglichen" Fehler gesucht, weil ich nicht gemerkt hatte, dass ein Dictionary von verschiedenen Coroutinen modifiziert wird. In typisierten Sprachen würde man der Coroutine eine konstante Referenz übergeben. Gibt's in Python Methoden, sich vor solchen Fehlern zu schützen, ohne eine tiefe Kopie anzulegen? (Oder vielleicht ist das gar nicht so schlimm?) MfG
Back to de.comp.lang.python | Previous | Next — Next in thread | Find similar
konstante Lists, Dictionaries Markus Schaaf <mschaaf@elaboris.de> - 2023-12-22 20:32 +0100
Re: konstante Lists, Dictionaries "Peter J. Holzer" <hjp-usenet4@hjp.at> - 2023-12-22 21:01 +0100
Re: konstante Lists, Dictionaries Markus Schaaf <mschaaf@elaboris.de> - 2023-12-22 22:31 +0100
[Python-de] Re: konstante Lists, Dictionaries Stefan Schwarzer <sschwarzer@sschwarzer.net> - 2023-12-22 21:25 +0100
Re: [Python-de] Re: konstante Lists, Dictionaries Markus Schaaf <mschaaf@elaboris.de> - 2023-12-22 22:47 +0100
csiph-web