Re: [Python-3000] iostack and Oh Oh

2006-12-04 Thread Paul Moore
On 12/4/06, Jim Jewett <[EMAIL PROTECTED]> wrote: > On 12/3/06, Bill Janssen <[EMAIL PROTECTED]> wrote: [Skillped Jim's point that I'm 100% in agreement with, about what people will end up doing in practice...] > > What I'd like to see as documentation is more along the lines of > > > foo (type

[Python-3000] [Fwd: features i'd like [Python 3000] ... #3: fix super()]

2006-12-04 Thread Ben Wing
on suggestion of someone on python-dev, reposted on python-3000. hope that's ok. ben Original Message Subject:features i'd like [Python 3000] ... #3: fix super() Date: Sun, 03 Dec 2006 21:06:07 -0600 From: Ben Wing <[EMAIL PROTECTED]> To: python-dev@python.org

[Python-3000] features i'd like [Python 3000?] ... #4: interpolated strings ala perl

2006-12-04 Thread Ben Wing
i'd already posted this to python-dev, but someone suggested is would belong more on python-3000, so i'm posting it here. hope that's ok. i see in PEP 3101 that there's some work going on to fix up the string formatting capabilities of python. it looks good to me but it still doesn't really add

Re: [Python-3000] features i'd like [Python 3000?] ... #4: interpolated strings ala perl

2006-12-04 Thread Nick Coghlan
Ben Wing wrote: > i see in PEP 3101 that there's some work going on to fix up the string > formatting capabilities of python. it looks good to me but it still > doesn't really address the lack of a simple interpolated string > mechanism, as in perl or ruby. i find myself constantly writing st

Re: [Python-3000] features i'd like [Python 3000?] ... #4: interpolated strings ala perl

2006-12-04 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Dec 4, 2006, at 5:08 AM, Ben Wing wrote: > i see in PEP 3101 that there's some work going on to fix up the string > formatting capabilities of python. it looks good to me but it still > doesn't really address the lack of a simple interpolated stri

Re: [Python-3000] features i'd like [Python 3000?] ... #4: interpolated strings ala perl

2006-12-04 Thread Talin
Nick Coghlan wrote: > I'm not entirely averse to that idea, even though poking around in the frame > stack is always somewhat dubious. I don't recall it coming up directly in > previous discussions (certainly PEP 3101 doesn't say anything that explicitly > rejects the concept). PEP 3101 had add

Re: [Python-3000] Implementations: A syntax for extending method dispatching beyond type/class inheritance

2006-12-04 Thread Jim Jewett
On 12/3/06, Bill Janssen <[EMAIL PROTECTED]> wrote: > > Implementations are used to make Method Dispatching more flexible by > > allowing a class to claim that it acts like another class/type even > > though it is not derived from that class/type. > I'm not sure just what this adds over the simple

Re: [Python-3000] Implementations: A syntax for extending method dispatching beyond type/class inheritance

2006-12-04 Thread Bill Janssen
Jim Jewett writes: > On 12/3/06, Bill Janssen <[EMAIL PROTECTED]> wrote: > > > Implementations are used to make Method Dispatching more flexible by > > > allowing a class to claim that it acts like another class/type even > > > though it is not derived from that class/type. > > > I'm not sure just

Re: [Python-3000] features i'd like [Python 3000?] ... #4: interpolated strings ala perl

2006-12-04 Thread Ka-Ping Yee
On Mon, 4 Dec 2006, Ben Wing wrote: > how about something nice like > > maybe_errout(i"[title], line [lineno]: [errstr]\n") See PEP 215. http://www.python.org/dev/peps/pep-0215/ -- ?!ng ___ Python-3000 mailing list Python-3000@python.org http://ma

Re: [Python-3000] how about switching to a preprocessor? (Re: A better way to initialize PyTypeObject)

2006-12-04 Thread Mike Klaas
On 12/2/06, Greg Ewing <[EMAIL PROTECTED]> wrote: > Mike Klaas wrote: > > > Reducing the pyrex magic and adding more detailed errors to the code > > generator should eliminate much of the "code-peering" that is > > currently necessary (at least, by me) when writing extensions. > > Can you expand on