Re: [Python-Dev] PEP 355 status

2006-10-24 Thread Talin
[EMAIL PROTECTED] wrote: > Talin writes: > > (one additional postscript - One thing I would be interested in is an > > approach that unifies file paths and URLs so that there is a consistent > > locator scheme for any resource, whether they be in a filesystem, on a > > web server, or stored

Re: [Python-Dev] PEP 355 status

2006-10-24 Thread Scott Dial
[EMAIL PROTECTED] wrote: > Talin writes: > > (one additional postscript - One thing I would be interested in is an > > approach that unifies file paths and URLs so that there is a consistent > > locator scheme for any resource, whether they be in a filesystem, on a > > web server, or stored

Re: [Python-Dev] PEP 355 status

2006-10-24 Thread stephen
Talin writes: > (one additional postscript - One thing I would be interested in is an > approach that unifies file paths and URLs so that there is a consistent > locator scheme for any resource, whether they be in a filesystem, on a > web server, or stored in a zip file.) +1 But doesn't fi

Re: [Python-Dev] PEP 355 status

2006-10-24 Thread Talin
(one additional postscript - One thing I would be interested in is an approach that unifies file paths and URLs so that there is a consistent locator scheme for any resource, whether they be in a filesystem, on a web server, or stored in a zip file.) -- Talin ___

Re: [Python-Dev] PEP 355 status

2006-10-24 Thread Talin
BJörn Lindqvist wrote: > On 10/1/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: >> On 9/30/06, Giovanni Bajo <[EMAIL PROTECTED]> wrote: >>> It would be terrific if you gave us some clue about what is wrong in >>> PEP355, so >>> that the next guy does not waste his time. For instance, I find PEP35

Re: [Python-Dev] Python 2.4.4 docs?

2006-10-24 Thread Fred L. Drake, Jr.
On Tuesday 24 October 2006 21:02, A.M. Kuchling wrote: > Does someone need to unpack the 2.4.4 docs in the right place so that > http://www.python.org/doc/2.4.4/ works? That would be me, and yes, and done. Sorry for the delay; life's just been busy lately. Time for me to go look at the releas

[Python-Dev] Python 2.4.4 docs?

2006-10-24 Thread A.M. Kuchling
Does someone need to unpack the 2.4.4 docs in the right place so that http://www.python.org/doc/2.4.4/ works? --amk ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org

Re: [Python-Dev] PEP 355 status

2006-10-24 Thread BJörn Lindqvist
On 10/1/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 9/30/06, Giovanni Bajo <[EMAIL PROTECTED]> wrote: > > It would be terrific if you gave us some clue about what is wrong in > > PEP355, so > > that the next guy does not waste his time. For instance, I find PEP355 > > incredibly good for

Re: [Python-Dev] __str__ bug?

2006-10-24 Thread Mike Krell
> class S(str): > def __str__(self): return "S.__str__" > > class U(unicode): > def __str__(self): return "U.__str__" > > print str(S()) > print str(U()) > > This script prints: > > S.__str__ > U.__str__ Yes, but "print U()" prints nothing, and the explicit str() should not be necessary.

Re: [Python-Dev] __str__ bug?

2006-10-24 Thread Tamito KAJIYAMA
I believe you've overriden unicode.__str__ as you expect. class S(str): def __str__(self): return "S.__str__" class U(unicode): def __str__(self): return "U.__str__" print str(S()) print str(U()) This script prints: S.__str__ U.__str__ Regards, -- KAJIYAMA, Tamito <[EMAIL PROTECTED]

Re: [Python-Dev] Hunting down configure script error

2006-10-24 Thread Steve Holden
[EMAIL PROTECTED] wrote: > >> Your posts are making it. It's just that everyone's ignoring you :) > > Christopher> I feel loved . > > Christopher> Seriously, why would somoene ignore this? this is > Christopher> obviously not a pebkac problem. > > I'm not sure what a "pe

Re: [Python-Dev] Hunting down configure script error

2006-10-24 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > I'm not sure what a "pebkac" problem is. http://en.wikipedia.org/wiki/PEBKAC You'll learn some new nonsense every day ;-) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] Hunting down configure script error

2006-10-24 Thread skip
>> Your posts are making it. It's just that everyone's ignoring you :) Christopher> I feel loved . Christopher> Seriously, why would somoene ignore this? this is Christopher> obviously not a pebkac problem. I'm not sure what a "pebkac" problem is. I will attempt to cha

Re: [Python-Dev] Hunting down configure script error

2006-10-24 Thread Christopher Taylor
> Your posts are making it. It's just that everyone's ignoring you :) I feel loved . Seriously, why would somoene ignore this? this is obviously not a pebkac problem. Respectfully, Christopher Taylor ___ Python-Dev mailing list Python-Dev@pyt

Re: [Python-Dev] Hunting down configure script error

2006-10-24 Thread Steve Holden
Christopher Taylor wrote: > Ok, here's what I found: In addition to the configure script not > taking changing LIBDIR, Modules/getpath.c uses a hardcoded value for > static chat lib_python[] = "lib/python" VERSION; > which appears on line 134. So even if the configure script changes > LIBDIR it w

Re: [Python-Dev] Hunting down configure script error

2006-10-24 Thread skip
Christopher> I'm wondering if my posts are going through?? Yup. Sorry, but I've no useful comments to make on your problems though. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscri

Re: [Python-Dev] Hunting down configure script error

2006-10-24 Thread Christopher Taylor
Ok, here's what I found: In addition to the configure script not taking changing LIBDIR, Modules/getpath.c uses a hardcoded value for static chat lib_python[] = "lib/python" VERSION; which appears on line 134. So even if the configure script changes LIBDIR it won't do much good because the value

Re: [Python-Dev] __str__ bug?

2006-10-24 Thread Mike Krell
> Based on the behaviour of str and the fact that overriding unicode.__repr__ > works just fine, I'd say file a bug on SF. Done. This is item 1583863. Mike ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pyt

Re: [Python-Dev] __str__ bug?

2006-10-24 Thread Nick Coghlan
Mike Krell wrote: > Is this a bug? If not, how do I override __str__ on a unicode derived class? Based on the behaviour of str and the fact that overriding unicode.__repr__ works just fine, I'd say file a bug on SF. I think this bit in PyUnicode_Format needs to use PyUnicode_CheckExact instead

[Python-Dev] Hunting down configure script error

2006-10-24 Thread Christopher Taylor
Per my conversation with Martin v. Löwis on the python-list, I think I have found a problem with the configure script and Makefile.in. For Python 2.4.4 it seems that the arguement --libdir does not change the Makefile. Specifically I need this to change the libdir to /usr/lib64 for RH on a x86_64

Re: [Python-Dev] The "lazy strings" patch

2006-10-24 Thread Nick Coghlan
Jean-Paul Calderone wrote: > On Mon, 23 Oct 2006 07:58:25 -0700, Larry Hastings <[EMAIL PROTECTED]> wrote: >> [snip] >> If external Python extension modules are as well-behaved as the shipping >> Python source tree, there simply wouldn't be a problem. Python source is >> delightfully consistent

Re: [Python-Dev] The "lazy strings" patch

2006-10-24 Thread Ronald Oussoren
On Oct 24, 2006, at 11:09 AM, Jack Jansen wrote: Look at packages such as win32, PyObjC, ctypes, bridges between Python and other languages, etc. That's where implementors are tempted to bend the rules of Official APIs for the benefit of serious optimizations. PyObjC should be safe in

Re: [Python-Dev] The "lazy strings" patch

2006-10-24 Thread Jack Jansen
On  23-Oct-2006, at 16:58 , Larry Hastings wrote:I genuinely don't know how many external Python extension modules are well-behaved in this regard.  But in case it helps: I just checked PIL, NumPy, PyWin32, and SWIG, and all of them were well-behaved. Apart from stringobject.c, there was exactly o