Re: [Python-3000] Reminder: Py3k PEPs due by April

2007-04-11 Thread Eoghan Murray
On 10/04/07, Raymond Hettinger <[EMAIL PROTECTED]> wrote: [snip] Here's that I think might not need a PEP: * Eliminate implicit string concatenation: "abc" "def" in favor of an explicit + operation. That simplifies the grammar just a bit and the compiler already is smart enough to do consta

Re: [Python-3000] Empty set and empty dictionary

2007-04-16 Thread Eoghan Murray
I had another idea on this theme.. going by unicode and raw string literals, how about s[1, 2, 3, 4] for a set? Eoghan On 17/04/07, Greg Ewing <[EMAIL PROTECTED]> wrote: DillonCo wrote: > Why not use "<>" for sets? Some possible reasons: * It would look ugly * There could be visual confusi

Re: [Python-3000] Empty set and empty dictionary

2007-04-16 Thread Eoghan Murray
s[1] being a list index of the list 's' s[1,] being a set literal with one element, '1' On 17/04/07, Eoghan Murray <[EMAIL PROTECTED]> wrote: I had another idea on this theme.. going by unicode and raw string literals, how about s[1, 2, 3, 4] for a set? Eoghan On 17