Re: [Python-3000] Pre-PEP: Simple input built-in in Python 3000

2006-12-23 Thread Fredrik Lundh
Guido van Rossum wrote: > But they typically aren't used to entering EOF either; EOF is not > exactly a typical input in an interactive program, and having to enter > it typically means you're talking to a Unix utility that's not really > designed for interactive use. the progression I had in min

Re: [Python-3000] Pre-PEP: Simple input built-in in Python 3000

2006-12-23 Thread Guido van Rossum
On 12/23/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Guido van Rossum wrote: > > > But they typically aren't used to entering EOF either; EOF is not > > exactly a typical input in an interactive program, and having to enter > > it typically means you're talking to a Unix utility that's not reall

[Python-3000] Lazy strings (was Re: Py3k release schedule worries)

2006-12-23 Thread Aahz
On Tue, Dec 19, 2006, Guido van Rossum wrote: > On 12/19/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote: >> Guido van Rossum wrote: >>> >>> - a spec for the string unification (Perhaps Fredrik has done some >>> work on it in one of those threads that I haven't opened yet?) >> >> (I haven't abandoned

Re: [Python-3000] PEP 3106: Revamping dict.keys(), .values() and .items()

2006-12-23 Thread George Sakkis
On 12/23/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > If I left your specific suggestion or question unaddressed or > unanswered, please send it again (after re-reading the PEP, of > course). Shouldn't there be a motivation section ? If nothing else, it should discuss (or at least link to a

Re: [Python-3000] Pre-PEP: Simple input built-in in Python 3000

2006-12-23 Thread Guido van Rossum
BTW, can someone clean up and check in the proto-PEP and start working on an implementation or patch? Should be really simple. I'd like to see a patch for the refactoring tool (sandbox/2to3) as well. --Guido -- --Guido van Rossum (home page: http://www.python.org/~guido/) ___

Re: [Python-3000] PEP 3106: Revamping dict.keys(), .values() and .items()

2006-12-23 Thread Tony Lownds
On Dec 22, 2006, at 9:49 PM, Guido van Rossum wrote: > - Talin asked for values to be list-like ... I really don't want > them to be list-like since that implies an ordering Will iter(keys()) and iter(values()) have the same relative order, as they do today? Ie, d == dict(zip(d.keys(), d.value

Re: [Python-3000] Lazy strings (was Re: Py3k release schedule worries)

2006-12-23 Thread Larry Hastings
Aahz wrote: On Tue, Dec 19, 2006, Guido van Rossum wrote: On 12/19/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote: (I haven't abandoned this, but it hasn't been a top priority; partially because Larry Hastings work on smarter concatenation has showed that "lazy evaluation" can work in toda

Re: [Python-3000] PEP 3106: Revamping dict.keys(), .values() and .items()

2006-12-23 Thread Guido van Rossum
On 12/23/06, Tony Lownds <[EMAIL PROTECTED]> wrote: > > On Dec 22, 2006, at 9:49 PM, Guido van Rossum wrote: > > - Talin asked for values to be list-like ... I really don't want > > them to be list-like since that implies an ordering > > Will iter(keys()) and iter(values()) have the same relative o

Re: [Python-3000] Pre-PEP: Simple input built-in in Python 3000

2006-12-23 Thread Calvin Spealman
On 12/23/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 12/23/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > > Guido van Rossum wrote: > > > > > But they typically aren't used to entering EOF either; EOF is not > > > exactly a typical input in an interactive program, and having to enter > > >

Re: [Python-3000] PEP 3106: Revamping dict.keys(), .values() and .items()

2006-12-23 Thread Guido van Rossum
On 12/23/06, George Sakkis <[EMAIL PROTECTED]> wrote: > On 12/23/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > > If I left your specific suggestion or question unaddressed or > > unanswered, please send it again (after re-reading the PEP, of > > course). > > Shouldn't there be a motivation se

Re: [Python-3000] Pre-PEP: Simple input built-in in Python 3000

2006-12-23 Thread Guido van Rossum
On 12/23/06, Calvin Spealman <[EMAIL PROTECTED]> wrote: > I was reading the thread and wanted to make a comment about the "input > from a GUI". It should be noted that whatever the names of these > functions, or their allowed parameters, etc., the idea of them being > more than console IO should be

Re: [Python-3000] Pre-PEP: Simple input built-in in Python 3000

2006-12-23 Thread Calvin Spealman
On 12/23/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 12/23/06, Calvin Spealman <[EMAIL PROTECTED]> wrote: > > I was reading the thread and wanted to make a comment about the "input > > from a GUI". It should be noted that whatever the names of these > > functions, or their allowed paramete

Re: [Python-3000] Pre-PEP: Simple input built-in in Python 3000

2006-12-23 Thread Guido van Rossum
On 12/23/06, Calvin Spealman <[EMAIL PROTECTED]> wrote: > On 12/23/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > On 12/23/06, Calvin Spealman <[EMAIL PROTECTED]> wrote: > > > I was reading the thread and wanted to make a comment about the "input > > > from a GUI". It should be noted that what

Re: [Python-3000] Pre-PEP: Simple input built-in in Python 3000

2006-12-23 Thread Calvin Spealman
On 12/23/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 12/23/06, Calvin Spealman <[EMAIL PROTECTED]> wrote: > > On 12/23/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > > On 12/23/06, Calvin Spealman <[EMAIL PROTECTED]> wrote: > > > > I was reading the thread and wanted to make a comment