[issue37566] Remove redudant code in socket.py

2019-07-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset c8e7146de257930ea8d0d4aa74b3a64fcaa79d4b by Benjamin Peterson (Hai Shi) in branch 'master': closes bpo-37566: Remove _realsocket from socket.py. (GH-14711) https://github.com/python/cpython/commit/c8e7146de257930ea8d0d4aa74b3a64fcaa79d4b

[issue37566] Remove redudant code in socket.py

2019-07-11 Thread Aldwin Pollefeyt
Aldwin Pollefeyt added the comment: seems it is/was used in socket._socketobject in 2.7 -- nosy: +aldwinaldwin ___ Python tracker ___

[issue37566] Remove redudant code in socket.py

2019-07-11 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +14511 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14711 ___ Python tracker ___

[issue37566] Remove redudant code in socket.py

2019-07-11 Thread hai shi
New submission from hai shi : Looks like the _realsocket in socket.py is redudnat. But I am not sure somebody would use it or not. REF: https://github.com/python/cpython/blob/master/Lib/socket.py#L107 -- components: Library (Lib) messages: 347692 nosy: shihai1991 priority: normal