I believe that there is some answer to any question. It is not the task of the users here to lecture others or criticize them for laziness or stupidity. There is little educational value in sarcasm.

If a question is badly formulated, one can give advice on how to do better.

If important information is missing, one can kindly ask for it.

Someone else being unfriendly or badly mannered is no justification for being so yourself.

Before posting any question about a problem with your code, please read this (twice).

Favorite Answers

1d
awarded Good Answer
May
22
answered Why SGI STL don't use the copy-and-swap idiom?
May
22
awarded Nice Answer
May
11
revised How to use __del__ in a reliable way?
Updated link to jump to anchor
May
9
comment How to generate __init__ for class with custom descriptors in Python?
@Veedrac, yes indeed. I have been playing around with a metaclass to make this work, and it is indeed working, although it is still a bit ugly. I'll post an answer when I've completed it.
May
9
comment How to generate __init__ for class with custom descriptors in Python?
I agree, but in this case the list of allowed arguments is actually right above the __init__ function.
May
9
comment How to generate __init__ for class with custom descriptors in Python?
Thanks, this significantly reduces the manual work, but it still requires me to list each property twice (once in the class, and once in the argument list of the initialiser). There should be a way to fix that as well.
May
9
comment How to generate __init__ for class with custom descriptors in Python?
ConfigurationProperty is implemented using the descriptor protocol. So yes, there is magic, but that is Python's built-in magic.
May
9
asked How to generate __init__ for class with custom descriptors in Python?
May
8
awarded Good Question
Apr
30
awarded Famous Question
Apr
29
asked Pitfalls when dynamically importing Python scripts
Apr
23
awarded Enlightened
Apr
20
awarded Supporter
Apr
20
awarded Autobiographer
Apr
18
revised python subprocess communicate() block
added link to expect
Apr
10
answered Capturing stderr using py.tests capsys
Apr
10
asked Capturing stderr using py.tests capsys
Apr
6
awarded Caucus
Mar
23
awarded Guru
1 2 3 4 5