Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #5150 > unrolled thread

[Python-de] classproperties ... nutzt ihr das?

Started byThomas Güttler <guettliml@thomas-guettler.de>
First post2018-04-20 13:25 +0200
Last post2018-04-20 13:25 +0200
Articles 1 — 1 participant

Back to article view | Back to de.comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [Python-de] classproperties ... nutzt ihr das? Thomas Güttler <guettliml@thomas-guettler.de> - 2018-04-20 13:25 +0200

#5150 — [Python-de] classproperties ... nutzt ihr das?

FromThomas Güttler <guettliml@thomas-guettler.de>
Date2018-04-20 13:25 +0200
Subject[Python-de] classproperties ... nutzt ihr das?
Message-ID<mailman.107.1524224031.6649.python-de@python.org>
Hallo,

bisher nutze ich Properties nur für Objekte/Instanzen.

Prinzipiell geht das auf für Klassen.

Ich habe gehört, dass das Probleme machen kann wenn Introspection verwendet wird.

Zum Beispiel wenn Tests eingesammelt werden, dann wird ggf Code ausgeführt obwohl
man das gar nicht möchte.

Nutzt ihr Properties auf Klassenebene?

Sind die Bedenken berechtigt?

Gruß,
   Thomas


-- 
Thomas Guettler http://www.thomas-guettler.de/
I am looking for feedback: https://github.com/guettli/programming-guidelines

[toc] | [standalone]


Back to top | Article view | de.comp.lang.python


csiph-web