YoSTEALTH <rit...@stealthcentral.com> added the comment:

I am using 3.7.0b1 i don't think this issue is fixed!

# simple mockup:
# --------------
def accept(sock):
    client, addr = sock.accept()
    inside = socket(fileno=client.fileno())
    # <__main__.Socket fd=5, family=AddressFamily.AF_INET, 
type=SocketKind.SOCK_STREAM, proto=6, laddr=('', 8000), 
raddr=('', 42532)>
    return inside

outside = accept(sock)
# <__main__.Socket fd=5, family=AddressFamily.AF_INET, 
type=SocketKind.SOCK_STREAM, proto=6>

So the "laddr" and "raddr" goes missing the second its out of the function???

This has wasted days of my time, to even get to this point of figuring out 
whats going on wasn't easy! extremely frustrating.

nosy: +YoSTEALTH

Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list

Reply via email to