[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 int

[Python-Dev] [python 2.7] a question about exporting a new method to socket object

2013-06-21 Thread Ani Sinha
Hi python devs : As a part of exploring an idea, I am trying to add a new method to the python socket object. Here's what I have been trying to do (the patch may be whitespace damaged so please bear with me) : Index: Python-2.7/Modules/socketmodule.c =

Re: [Python-Dev] [python 2.7] a question about exporting a new method to socket object

2013-06-21 Thread Ani Sinha
's a > list of methods at the top of that file, _socketmethods. > > But you really shouldn't be asking here -- this list is for changes to > Python, not using or hacking it. (Try StackOverflow for that.) > > --Guido > > On Thu, Jun 20, 2013 at 10:18 PM, Ani Sinh