Re: [Python-Dev] About issue 6560

2013-03-16 Thread Glyph
On Mar 14, 2013, at 3:48 PM, Martin v. Löwis mar...@v.loewis.de wrote:

 Am 14.03.13 15:15, schrieb Ani Sinha:
 I was looking into a mechanism to get the aux fields from recvmsg() in
 python and I came across this issue. Looks like this feature was added
 in python 3.3. Is there any reason why this feature was not added for
 python 2.7?
 
 Most certainly: Python 2.7 (and thus Python 2) is feature-frozen; no
 new features can be added to it. People wanting new features need to
 port to Python 3.


Or you can use Twisted: 
http://twistedmatrix.com/trac/browser/trunk/twisted/python/sendmsg.c

That module ought to have no dependencies outside of Twisted.

We only use it for passing file descriptors between processes, but I believe it 
should be able to deal with whatever other types of auxiliary data that you 
need from recvmsg; if not, please file a bug (at http://twistedmatrix.com/).

-glyph

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] About issue 6560

2013-03-14 Thread Ani Sinha
Hi :

I was looking into a mechanism to get the aux fields from recvmsg() in
python and I came across this issue. Looks like this feature was added
in python 3.3. Is there any reason why this feature was not added for
python 2.7? I am now trying to backport the patch to python 2.7.

any insight into this would be appreciated.

Thanks
ani
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] About issue 6560

2013-03-14 Thread Martin v. Löwis

Am 14.03.13 15:15, schrieb Ani Sinha:

I was looking into a mechanism to get the aux fields from recvmsg() in
python and I came across this issue. Looks like this feature was added
in python 3.3. Is there any reason why this feature was not added for
python 2.7?


Most certainly: Python 2.7 (and thus Python 2) is feature-frozen; no
new features can be added to it. People wanting new features need to
port to Python 3.

Regards,
Martin

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] About issue 6560

2013-03-14 Thread Terry Reedy

On 3/14/2013 6:48 PM, Martin v. Löwis wrote:

Am 14.03.13 15:15, schrieb Ani Sinha:

I was looking into a mechanism to get the aux fields from recvmsg() in
python and I came across this issue. Looks like this feature was added
in python 3.3. Is there any reason why this feature was not added for
python 2.7?


Most certainly: Python 2.7 (and thus Python 2) is feature-frozen; no


As are 3.2 and now 3.3. Every version is feature frozen when released. 
Bugfix releases only contain bugfixes.



new features can be added to it. People wanting new features need to
port to Python 3.


In particular 3.3.

--
Terry Jan Reedy


___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com