[Python-ideas] PEP 3156: getting the socket or peer name from the transport

Nick Coghlan ncoghlan at gmail.com
Fri Jan 25 12:09:43 CET 2013


On Fri, Jan 25, 2013 at 7:50 AM, Guido van Rossum <guido at python.org> wrote:
> I think that goes too far. It doesn't look like getpeername() goes out
> to the network -- what other use case did you have in mind?

I don't have one, so YAGNI sounds like a good answer to me.
Cheers,
Nick.
-- 
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia


More information about the Python-ideas mailing list

AltStyle によって変換されたページ (->オリジナル) /