On 30 March 2018 at 02:04, Clint Hepner wrote:
>
>> On 2018 Mar 29 , at 11:42 a, 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 = {:}
>
> If you are willing to accept {
> On 2018 Mar 29 , at 12:06 p, Chris Angelico wrote:
>
> On Fri, Mar 30, 2018 at 3:00 AM, Stephan Houben wrote:
>> Perhaps one day we will be able to use
>>
>> ∅
>>
>> for the empty set.
>> That would actually match conventional notation.
>>
>
> Maybe, but that symbol generally means the un
> There are two chances of this happening, zero or none.
That would be the empty set, yes? ;-)
-CHB
___
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeo
On 29/03/18 16:42, 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 = {:}
Compatibility issues could be resolved with a program which takes a Python
program (codes) as a text and edits
On Fri, Mar 30, 2018 at 3:00 AM, Stephan Houben wrote:
> Perhaps one day we will be able to use
>
> ∅
>
> for the empty set.
> That would actually match conventional notation.
>
Maybe, but that symbol generally means the unique immutable empty set
in mathematics, so a closer equivalent would be f
> On 2018 Mar 29 , at 11:42 a, 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 = {:}
If you are willing to accept {:} as an empty dict, then surely {,} would
suffice as an
Perhaps one day we will be able to use
∅
for the empty set.
That would actually match conventional notation.
Note that this is not valid syntax today (not a legal Unicode identifier).
Stephan
Op do 29 mrt. 2018 17:49 schreef Chris Angelico :
> On Fri, Mar 30, 2018 at 2:42 AM, Julia Kim
> wro
On Fri, Mar 30, 2018 at 2:42 AM, 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 = {:}
>
>
> Compatibility issues could be resolved with a program which takes a Python
> program
My suggestion is to change the syntax for creating an empty set and an empty
dictionary as following.
an_empty_set = {}
an_empty_dictionary = {:}
Compatibility issues could be resolved with a program which takes a Python
program (codes) as a text and edits it.
Sent from my iPhone
___