128 reputation
6
bio website
location
age
visits member for 3 years, 9 months
seen Jun 18 at 15:49

Aug
4
awarded  Popular Question
Aug
15
awarded  Editor
Aug
15
revised Is modifying an object's __dict__ to set its properties considered Pythonic?
added 14 characters in body
Aug
13
comment How to reduce errors in dynamic language such as python, and improve my code quality
@Antimony A 100-200 line program should compile in less than a second or so (depending on the language and breadth of libraries used of course). The compile time is likely not to be particularly "lengthy."
Aug
12
comment Is modifying an object's __dict__ to set its properties considered Pythonic?
Well, speaking of the Python documentation, from docs.python.org/2/library/stdtypes.html "A special attribute of every module is __dict__. This is the dictionary containing the module’s symbol table. Modifying this dictionary will actually change the module’s symbol table, but direct assignment to the __dict__ attribute is not possible (you can write m.__dict__['a'] = 1, which defines m.a to be 1, but you can’t writem.__dict__ = {}). Modifying __dict__ directly is not recommended," which is what initially prompted me to ask this question.
Aug
12
asked Is modifying an object's __dict__ to set its properties considered Pythonic?
Jun
9
awarded  Disciplined
Sep
4
awarded  Student
Sep
4
awarded  Scholar
Sep
4
accepted How safe is it to rely on thirdparty Python libs in a production product?
Sep
3
asked How safe is it to rely on thirdparty Python libs in a production product?
May
16
awarded  Supporter