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
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
>>
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
___
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
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
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
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 "",
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