[Python-3000] "make (alt)?install" with all the recent structural changes

2008-06-22 Thread skip
I'm guessing we should be in the habit of zapping our Python 3.0 installations before executing "make (alt)?install", correct? Looking at my local Py3k install I see both urllib the package and urllib the module: % find /Users/skip/local/lib/python3.0 -name 'urllib*' /Users/skip/local/li

Re: [Python-3000] PyException_Set{Traceback,Cause,Context}

2008-06-22 Thread Collin Winter
On Sun, Jun 22, 2008 at 5:32 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Sun, Jun 22, 2008 at 1:25 PM, Antoine Pitrou <[EMAIL PROTECTED]> wrote: >> I don't know who designed that API but what is the reason for >> PyException_Set{Traceback,Cause,Context} not to INCREF their argument? It >>

Re: [Python-3000] PyException_Set{Traceback,Cause,Context}

2008-06-22 Thread Greg Ewing
Antoine Pitrou wrote: what is the reason for PyException_Set{Traceback,Cause,Context} not to INCREF their argument? Probably because the vast majority of the time the caller is not doing anything further with these references, so this arrangement saves some increfs and decrefs. -- Greg ___

Re: [Python-3000] PyException_Set{Traceback,Cause,Context}

2008-06-22 Thread Guido van Rossum
On Sun, Jun 22, 2008 at 1:25 PM, Antoine Pitrou <[EMAIL PROTECTED]> wrote: > I don't know who designed that API but what is the reason for > PyException_Set{Traceback,Cause,Context} not to INCREF their argument? It > means > the caller has to do it himself, and seems inconsistent with most of Pyth

[Python-3000] PyException_Set{Traceback,Cause,C ontext}

2008-06-22 Thread Antoine Pitrou
Hi, I don't know who designed that API but what is the reason for PyException_Set{Traceback,Cause,Context} not to INCREF their argument? It means the caller has to do it himself, and seems inconsistent with most of Python's C API. Is it too late to change those functions to do the right thing? R

Re: [Python-3000] Q's 2 U's; Perceptions, growing into langs

2008-06-22 Thread Nick Coghlan
Linda W. wrote: Your original post was at best only arguably on-topic for this list - your most recent reply is now well and truly off-topic. Please take any further discussion/questions to comp.lang.python ([EMAIL PROTECTED]) or to [EMAIL PROTECTED] Regards, Nick. -- Nick Coghlan | [E

Re: [Python-3000] PEP 3134 exception reporting

2008-06-22 Thread Georg Brandl
Antoine Pitrou schrieb: 3) Optional question: should be harmonize traceback formatting between built-in reporting and reporting through traceback.py? Right now there is a small discrepancy in code lines indentation, see: With built-in reporting: Traceback (most recent call last): File "",

[Python-3000] Q's 2 U's; Perceptions, growing into langs

2008-06-22 Thread Linda W.
Care to give any examples of 'unbeautifying' other than the print statement -> print function conversion? ???Care to?...not really :-) I __really__ am not familiar enough with python, let alone the differences between the versions. I tried to find a concise list of differences, but while I f