[issue41169] socket.inet_pton raised when pass an IPv6 address like "[::]" to it

2020-07-02 Thread Wator Sead
Wator Sead added the comment: The point is square brackets, not the address, they (socket.inet_pton and socket.socket) behave different. Can make it not be accepted, any conditions? -- versions: -Python 3.7, Python 3.8 ___ Python tracker <ht

[issue41169] socket.inet_pton raised when pass an IPv6 address like "[::]" to it

2020-07-01 Thread Wator Sead
Wator Sead added the comment: Can you try bind "::". My ask is "Can make a consistent behave via constraints it?". -- ___ Python tracker <https://bug

[issue41169] socket.inet_pton raised when pass an IPv6 address like "[::]" to it

2020-07-01 Thread Wator Sead
Wator Sead added the comment: [::] can be bound, but the resoult is [::1], you must use this address to connect. Excuse me, are you a developer of the Python? >>> import socket >>> ls = socket.socket(socket.AF_INET6) >>> cs = socket.socket(socket.AF_INET

[issue41169] socket.inet_pton raised when pass an IPv6 address like "[::]" to it

2020-06-30 Thread Wator Sead
Wator Sead added the comment: I did not build it, just download the Windows pre-built releases. Can make a consistent behave via constraints it? socket.socket accepted it, but socket.inet_pton did not. -- ___ Python tracker <ht

[issue41169] socket.inet_pton raised when pass an IPv6 address like "[::]" to it

2020-06-30 Thread Wator Sead
New submission from Wator Sead : 3.6: >>> import socket >>> socket.inet_pton(socket.AF_INET6,'[::]') b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' 3.7 and above: >>> import socket >>> socket.inet_pton(socket.AF_INET6,'[::]') Trace

[issue37535] Client SSLSocket with select.select() always returns readable with OpenSSL 1.1.1

2019-12-10 Thread Wator Sead
Wator Sead added the comment: So, that means there are some additional optional operations after do_handshake(), the data is needed. Thanks for explanation! -- ___ Python tracker <https://bugs.python.org/issue37

[issue37535] Client SSLSocket with select.select() always returns readable with OpenSSL 1.1.1

2019-12-09 Thread Wator Sead
Wator Sead added the comment: Thanks for explanation, I understand what the reason is. But why do_handshake() not clear of useless data buffer after it is completed? I think that must be easy to do. -- ___ Python tracker <https://bugs.python.

[issue37535] Client SSLSocket with select.select() always returns readable with OpenSSL 1.1.1

2019-12-09 Thread Wator Sead
Wator Sead added the comment: All new releases which include an OpenSSL version above 1.1.1 has the same issue. Can anybody fix it? Thanks a lot! -- nosy: +seahoh versions: +Python 3.5, Python 3.8, Python 3.9 ___ Python tracker <ht

[issue38534] Version 3.8.0 has released with a wrong MS KB number reference

2019-10-22 Thread Wator Sead
Change by Wator Sead : -- pull_requests: -16425 ___ Python tracker <https://bugs.python.org/issue38534> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38534] Version 3.8.0 has released with a wrong MS KB number reference

2019-10-22 Thread Wator Sead
Wator Sead added the comment: I can't signe the CLA. Someone will make a new PR. -- ___ Python tracker <https://bugs.python.org/issue38534> ___ ___ Python-bug

[issue38534] Version 3.8.0 has released with a wrong MS KB number reference

2019-10-22 Thread Wator Sead
Wator Sead added the comment: PR16881 I just use the right one to replaced them. -- keywords: +patch message_count: 2.0 -> 3.0 pull_requests: +16425 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16881 ___

[issue38534] Version 3.8.0 has released with a wrong MS KB number reference

2019-10-20 Thread Wator Sead
New submission from Wator Sead : https://bugs.python.org/msg347421 Maybe you forgot it, please fix it in next versions. -- assignee: docs@python components: Documentation, Installation, Windows messages: 354986 nosy: docs@python, paul.moore, seahoh, steve.dower, tim.golden, zach.ware

[issue37894] [win] shutil.which can not find the path if 'cmd' include directory path and not include extension name

2019-08-20 Thread Wator Sead
New submission from Wator Sead : The current code is: ... if os.path.dirname(cmd): if _access_check(cmd, mode): return cmd return None ... In Windows, if 'cmd' include directory path and not include extension name, it return 'None'. e.g. a file's path