On Aug 23, 2011, at 12:57 PM, Jamu Kakar wrote:

>Anyway, I tend to agree that defining an empty dict in a keyword
>argument isn't so great, but I guess it was a micro-optimization to
>avoid creating a new empty dict for every Property that gets
>instantiated.

Yeah, it's definitely not considered good practice to assign a default
argument to a mutable object.

-Barry

Attachment: signature.asc
Description: PGP signature

-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to