News for hackers. Stuff that matters.
Re:Adding Empty Set Literals to Python by dechols on Saturday March 16, 2013 @01:40AM (#5384590)
Which is more Pythonic?

list() or []

dict() or {}

set() or ????

I would argue that the left is more pythonic and expressive.

Re:Adding Empty Set Literals to Python by tantalor on Saturday March 16, 2013 @01:48PM (#5386114)
Don't forget tuple() and ().

I don't think any are more pythonic. They are all valid python.