[issue25292] ssl socket gets into broken state when client exits during handshake

2020-10-04 Thread Carl Bordum Hansen
Carl Bordum Hansen added the comment: I have submitted a proposed solution Just found this similar issue https://bugs.python.org/issue35840 -- ___ Python tracker <https://bugs.python.org/issue25

[issue25292] ssl socket gets into broken state when client exits during handshake

2020-10-04 Thread Carl Bordum Hansen
Change by Carl Bordum Hansen : -- keywords: +patch nosy: +carlbordum nosy_count: 5.0 -> 6.0 pull_requests: +21544 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22541 ___ Python tracker <https://bugs.p

[issue29394] Cannot tunnel TLS connection through TLS connection

2020-10-04 Thread Carl Bordum Hansen
Change by Carl Bordum Hansen : -- keywords: +patch nosy: +carlbordum nosy_count: 4.0 -> 5.0 pull_requests: +21542 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22539 ___ Python tracker

[issue30578] Misleading example in sys.set_coroutine_wrapper docs

2020-10-04 Thread Carl Bordum Hansen
Carl Bordum Hansen added the comment: I think this can be closed as `sys.set_coroutine_wrapper` was removed in https://bugs.python.org/issue36933 -- nosy: +carlbordum ___ Python tracker <https://bugs.python.org/issue30

[issue29127] Incorrect reference names in asyncio.subprocess documentation

2020-10-01 Thread Carl Bordum Hansen
Carl Bordum Hansen added the comment: I do not think this is the case any longer -- nosy: +carlbordum ___ Python tracker <https://bugs.python.org/issue29

[issue29893] create_subprocess_exec doc doesn't match software

2020-10-01 Thread Carl Bordum Hansen
Carl Bordum Hansen added the comment: This was fixed in https://github.com/python/cpython/pull/12598 -- nosy: +carlbordum ___ Python tracker <https://bugs.python.org/issue29

[issue39278] add docstrings to functions in pdb module

2020-01-09 Thread Carl Bordum Hansen
Change by Carl Bordum Hansen : -- keywords: +patch pull_requests: +17331 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17924 ___ Python tracker <https://bugs.python.org/issu

[issue39278] add docstrings to functions in pdb module

2020-01-09 Thread Carl Bordum Hansen
New submission from Carl Bordum Hansen : The functions are documented, but not in doc strings which means you cannot call help() on them. >From this twitter thread: >https://twitter.com/raymondh/status/1211414561468952577 -- assignee: docs@python components: Documentation me

[issue30588] Missing documentation for codecs.escape_decode

2019-07-14 Thread Carl Bordum Hansen
Carl Bordum Hansen added the comment: You have a point, the function is not in codecs.__all__. Reading the stackoverflow questions, it seems like this is a function that is useful. -- nosy: +carlbordum ___ Python tracker <https://bugs.python.

[issue37592] sysconfig should not rely on sys.version

2019-07-14 Thread Carl Bordum Hansen
Change by Carl Bordum Hansen : -- keywords: +patch pull_requests: +14570 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14776 ___ Python tracker <https://bugs.python.org/issu

[issue37592] sysconfig should not rely on sys.version

2019-07-14 Thread Carl Bordum Hansen
New submission from Carl Bordum Hansen : I found this FIXME and replaced it with code that follows the git tags naming scheme. -- components: Library (Lib) messages: 347916 nosy: carlbordum, tarek priority: normal severity: normal status: open title: sysconfig should not rely

[issue36261] email examples should not gratuitously mess with preamble

2019-07-13 Thread Carl Bordum Hansen
Carl Bordum Hansen added the comment: I also only found the one case. Submitted a patch. -- nosy: +carlbordum ___ Python tracker <https://bugs.python.org/issue36

[issue36261] email examples should not gratuitously mess with preamble

2019-07-13 Thread Carl Bordum Hansen
Change by Carl Bordum Hansen : -- keywords: +patch pull_requests: +14546 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14751 ___ Python tracker <https://bugs.python.org/issu

[issue16520] subprocess.Popen() TypeError message incorrect without args argument

2019-07-13 Thread Carl Bordum Hansen
Carl Bordum Hansen added the comment: I think changing the message will break a lot of tests. Here are some examples just from CPython: https://github.com/python/cpython/blob/master/Lib/test/test_dataclasses.py#L2655 https://github.com/python/cpython/blob/master/Lib/test/test_extcall.py

[issue30588] Missing documentation for codecs.escape_decode

2019-07-13 Thread Carl Bordum Hansen
Change by Carl Bordum Hansen : -- keywords: +patch pull_requests: +14542 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14747 ___ Python tracker <https://bugs.python.org/issu

[issue37376] pprint for types.SimpleNamespace

2019-06-23 Thread Carl Bordum Hansen
Change by Carl Bordum Hansen : -- keywords: +patch pull_requests: +14142 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14318 ___ Python tracker <https://bugs.python.org/issu

[issue37376] pprint for types.SimpleNamespace

2019-06-23 Thread Carl Bordum Hansen
New submission from Carl Bordum Hansen : Currently, pprint.pprint does not help you at all when pretty-printing SimpleNamespaces. I have implemented support for this. -- components: Library (Lib) messages: 346318 nosy: carlbordum, fdrake, serhiy.storchaka priority: normal severity

[issue23984] Documentation error: Descriptors

2019-03-18 Thread Carl Bordum Hansen
Carl Bordum Hansen added the comment: I submitted a PR that addresses this and the next example, which also uses print unnecessarily. To answer your last comment rhettinger; the preceding text tells you /why/ one might want to use a staticmethod: """ Good candidates for

[issue23984] Documentation error: Descriptors

2019-03-18 Thread Carl Bordum Hansen
Change by Carl Bordum Hansen : -- keywords: +patch pull_requests: +12356 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue23984> ___ _

[issue35666] Update design FAQ about assignment expression

2019-01-05 Thread Carl Bordum Hansen
New submission from Carl Bordum Hansen : Hi there, In ``Doc/faq/design.rst`` there is an explanation of why Python does not have assignment in expressions. This is dated since PEP 572 / Python 3.8. Online version: https://docs.python.org/3/faq/design.html#why-can-t-i-use-an-assignment

[issue25988] collections.abc.Indexable

2018-11-18 Thread Carl Bordum Hansen
Carl Bordum Hansen added the comment: Thank you for all the hours all of you spent on making Python awesome. I would like to start contributing as well. Do you consider it time to remove `__getattr__` in `Lib/collections/__init__.py` on master yet (introduced in pr #5460)? -- nosy