[issue10551] mimetypes read from the registry should not overwrite standard mime mappings

2021-07-16 Thread Shane Harvey
Shane Harvey added the comment: This issue says "mimetypes read from the registry should not overwrite standard mime mappings". Was this change ever made? the following issue claims that the "HKEY_CLASSES_ROOT\.js\Content Type" registry can still overrides

[issue34932] Add macOS TCP_KEEPALIVE to available socket options

2021-05-18 Thread Shane Harvey
Shane Harvey added the comment: I opened a PR to add the socket.TCP_KEEPALIVE flag *on macOS only*. I don't see a reason to add it on Windows since as far as I can tell, TCP_KEEPALIVE is completely undocumented there. Besides there are already two ways to configure keepalive times

[issue43626] SIGSEV in PyErr_SetObject

2021-04-09 Thread Shane Harvey
Shane Harvey added the comment: This issue was resolved in https://jira.mongodb.org/browse/PYTHON-2621 The cause of the segfault was determined to be gevent 1.3.4 (2018) and/or greenlet 0.4.13 (2018). When the reporter upgraded to gevent==21.1.2 and greenlet==1.0 the segfault went away

[issue34932] Add macOS TCP_KEEPALIVE to available socket options

2021-03-29 Thread Shane Harvey
Change by Shane Harvey : -- nosy: +ShaneHarvey nosy_count: 3.0 -> 4.0 pull_requests: +23829 pull_request: https://github.com/python/cpython/pull/25079 ___ Python tracker <https://bugs.python.org/issu

[issue38890] A subprocess.Popen created with creationFlags=DETACHED_PROCESS on Windows should not emit a ResourceWarning

2019-11-21 Thread Shane Harvey
New submission from Shane Harvey : In https://bugs.python.org/issue26741 Popen was changed to emit a ResourceWarning in __del__ if the process is still running. However, when running a daemon/detached process it is completely valid to delete a Popen object before the process is complete

[issue17123] Add OCSP support to ssl module

2019-10-15 Thread Shane Harvey
Change by Shane Harvey : -- nosy: +ShaneHarvey ___ Python tracker <https://bugs.python.org/issue17123> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1322] Deprecate platform.dist() and platform.linux_distribution() functions

2017-08-07 Thread Shane Harvey
Shane Harvey added the comment: When are these functions going to be deprecated? In 3.5, 3.6, and master they still raise PendingDeprecationWarning, not DeprecationWarning: https://github.com/python/cpython/blob/v3.5.3/Lib/platform.py#L305-L306 https://github.com/python/cpython/blob/v3.6.2/Lib

[issue31107] copyreg does not properly mangle __slots__ names

2017-08-04 Thread Shane Harvey
Changes by Shane Harvey <shn...@gmail.com>: -- pull_requests: +3039 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31107> ___ _

[issue31107] copyreg does not properly mangle __slots__ names

2017-08-04 Thread Shane Harvey
Changes by Shane Harvey <shn...@gmail.com>: -- pull_requests: +3038 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31107> ___ _

[issue31107] copyreg does not properly mangle __slots__ names

2017-08-02 Thread Shane Harvey
Changes by Shane Harvey <shn...@gmail.com>: -- versions: -Python 3.7 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31107> ___ _

[issue31107] copyreg does not properly mangle __slots__ names

2017-08-02 Thread Shane Harvey
New submission from Shane Harvey: This line in copyreg._slotnames does not properly calculate mangled attribute names: https://github.com/python/cpython/blob/v3.6.2/Lib/copyreg.py#L131 The problem is that it does not strip leading underscores from the class name: >>&