Conversation
|
I'm -0.5 on this one, hurts readability. Will wait for comments of other maintainers, but inclined to close this one. Thanks though @rth |
|
I am also -0. The curly braces have almost become synonymous with dicts. As far as I can see there is not much performance gain with this either (I couldn't detect any workhorse that needs optimization). |
|
Thanks for the feedback. Yes, I agree that the Closing, given your comments and the fact that all of these changes are indeed not in performance sensitive parts of the code. |
|
Personally, I'm +1 on this-- |
Set literals (and set comprehension) were added in Python 2.7. They are a bit more readable and faster than alternative methods for
setcreation. This uses them when possible.