On Thu, Mar 29, 2018 at 10:11 AM, David Mertz wrote:
> I agree with everything Steven says. But it's true that even as a 20-year
> Python user, this is an error I make moderately often when I want an empty
> set... Notwithstanding that I typed it thousands of times before sets even
> existed (and
I agree with everything Steven says. But it's true that even as a 20-year
Python user, this is an error I make moderately often when I want an empty
set... Notwithstanding that I typed it thousands of times before sets even
existed (and still type it when I want an empty dictionary).
That said, I'
On Wed, Mar 28, 2018, at 9:14 PM, Julia Kim wrote:
> My suggestion is to change the syntax for creating an empty set and an
> empty dictionary as following.
>
> an_empty_set = {}
> an_empty_dictionary = {:}
>
> It would seem to make more sense.
The amount of code this would break is astronomica
Hi Julia, and welcome!
On Wed, Mar 28, 2018 at 09:14:53PM -0700, Julia Kim wrote:
> My suggestion is to change the syntax for creating an empty set and an
> empty dictionary as following.
>
> an_empty_set = {}
> an_empty_dictionary = {:}
>
> It would seem to make more sense.
Indeed it would,
Hi, Julia,
On 28 March 2018 at 21:14, Julia Kim wrote:
>
> My suggestion is to change the syntax for creating an empty set and an
> empty dictionary as following.
>
You should craft your suggestion as a PEP and send it to the python-ideas
mailing list. Good luck! -- H
--
OpenPGP:
https://sks-k
Hi,
My name is Julia Hiyeon Kim.
My suggestion is to change the syntax for creating an empty set and an empty
dictionary as following.
an_empty_set = {}
an_empty_dictionary = {:}
It would seem to make more sense.
Warm regards,
Julia Kim
___
Python-