Re: [Python-Dev] Unified or context diffs?

2005-04-13 Thread Bob Ippolito
On Apr 13, 2005, at 11:17 PM, Anthony Baxter wrote: On Thursday 14 April 2005 07:26, Brett C. wrote: OK, it seems like everyone who cares enough to speak up has said so far that unified diffs are better I will change the docs some time between now and when I keel over dead to have people use unif

Re: [Python-Dev] Unified or context diffs?

2005-04-13 Thread Anthony Baxter
On Thursday 14 April 2005 07:26, Brett C. wrote: > OK, it seems like everyone who cares enough to speak up has said so far > that unified diffs are better I will change the docs some time between now > and when I keel over dead to have people use unified diffs assuming some > rush of people don't s

Re: [Python-Dev] IPV6 with Python- 4.2.1 on HPUX

2005-04-13 Thread Anthony Baxter
On Wednesday 13 April 2005 21:11, Senthil Prabu.S wrote: > Hi Experts, >I am pretty new to Python. I have been trying to compile python > on HP-UX 11.23 IPF machine. I tried to build with following configure > option. > > ./configure --prefix=/opt/iexpress/python --enable-ipv6 > --with-sign

Re: [Python-Dev] super_getattro() Behaviour

2005-04-13 Thread Michael Hudson
"Phil Thompson" <[EMAIL PROTECTED]> writes: > In PyQt, wrapped types implement lazy access to the type dictionary > through tp_getattro. If the normal attribute lookup fails, then private > tables are searched and the attribute (if found) is created on the fly and > returned. It is also put into t

Re: [Python-Dev] Unified or context diffs?

2005-04-13 Thread Michael Hudson
Nick Coghlan <[EMAIL PROTECTED]> writes: > Are context diffs still favoured for patches? If you want me to review it, yes, probably, but see below... > The patch submission guidelines [1] still say that, but is it actually > true these days? I personally prefer unified diffs, but have been > gen

Re: [Python-Dev] Python tests fails on HP-UX 11.11 and core dumps

2005-04-13 Thread Martin v. Löwis
Senthil Prabu.S wrote: >I tried python -4.2.1 on a HP-UX 11.11 PA machine. I was able to > python. Gmake passes, gmake test results in error. The python reported > that test_pty fails,when running this test alone. > > Can anyone help to find why core dumps at running the > *test_subproces

Re: [Python-Dev] Unified or context diffs?

2005-04-13 Thread Brett C.
Barry Warsaw wrote: > On Wed, 2005-04-13 at 15:54, Brett C. wrote: > > >>I thought at one point this question came up and the general consensus was >>that >>unified diffs were preferred? > > > Back in the day, we preferred context diffs, and I think of the original > Python core group, Guido w

Re: [Python-Dev] Unified or context diffs?

2005-04-13 Thread Martin v. Löwis
Nick Coghlan wrote: > Are context diffs still favoured for patches? Just for the record: I also prefer unified over context diffs. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsub

Re: [Python-Dev] Unified or context diffs?

2005-04-13 Thread Barry Warsaw
On Wed, 2005-04-13 at 15:54, Brett C. wrote: > I thought at one point this question came up and the general consensus was > that > unified diffs were preferred? Back in the day, we preferred context diffs, and I think of the original Python core group, Guido was the last holdout. But IIRC, a fe

Re: [Python-Dev] Unified or context diffs?

2005-04-13 Thread Neil Schemenauer
On Wed, Apr 13, 2005 at 12:54:08PM -0700, Brett C. wrote: > I thought at one point this question came up and the general > consensus was that unified diffs were preferred? Guido used to prefer context diffs but says he now doesn't mind unified diffs. I think unified diffs are much more common the

Re: [Python-Dev] Unified or context diffs?

2005-04-13 Thread Brett C.
Nick Coghlan wrote: > Are context diffs still favoured for patches? > > The patch submission guidelines [1] still say that, but is it actually > true these days? I personally prefer unified diffs, but have been > generating context diffs because of what the guidelines say. > I personally like un

Re: [Python-Dev] Unified or context diffs?

2005-04-13 Thread Irmen de Jong
Raymond Hettinger wrote: [Nick Coghlan] Are context diffs still favoured for patches? The patch submission guidelines [1] still say that, but is it actually true these days? I personally prefer unified diffs, but have been generating context diffs because of what the guidelines say. Submit whichev

RE: [Python-Dev] Unified or context diffs?

2005-04-13 Thread Raymond Hettinger
[Nick Coghlan] > Are context diffs still favoured for patches? > > The patch submission guidelines [1] still say that, but is it actually > true > these days? I personally prefer unified diffs, but have been generating > context > diffs because of what the guidelines say. Submit whichever is the

[Python-Dev] IPV6 with Python- 4.2.1 on HPUX

2005-04-13 Thread Senthil Prabu.S
Hi Experts,    I am pretty new to Python. I have been trying to compile python on HP-UX 11.23 IPF machine. I tried to build with following configure option.   ./configure --prefix=/opt/iexpress/python --enable-ipv6 --with-signal-module --with-threads machine info : HP-UX beta B.11.23 U

[Python-Dev] super_getattro() Behaviour

2005-04-13 Thread Phil Thompson
In PyQt, wrapped types implement lazy access to the type dictionary through tp_getattro. If the normal attribute lookup fails, then private tables are searched and the attribute (if found) is created on the fly and returned. It is also put into the type dictionary so that it is found next time thro

[Python-Dev] Unified or context diffs?

2005-04-13 Thread Nick Coghlan
Are context diffs still favoured for patches? The patch submission guidelines [1] still say that, but is it actually true these days? I personally prefer unified diffs, but have been generating context diffs because of what the guidelines say. Brett can probably guess why I'm asking :) Cheers, N

Re: [Python-Dev] Security capabilities in Python

2005-04-13 Thread Ka-Ping Yee
On Sun, 10 Apr 2005, Eyal Lotem wrote: > It may be really hard to get it right, unless we are overlooking some simple > solution. To "get it right", you at least need to know exactly what your operators mean. I messed up because i failed to realize that '==' can be redefined, and 'in' depends on