[issue1635741] Py_Finalize() doesn't clear all Python objects at exit
Change by Yu Zhao : -- nosy: +CharlieZhao nosy_count: 24.0 -> 25.0 pull_requests: +28723 pull_request: https://github.com/python/cpython/pull/30522 ___ Python tracker <https://bugs.python.org/issue1635741> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40077] Convert static types to heap types: use PyType_FromSpec()
Change by Yu Zhao : -- nosy: +CharlieZhao nosy_count: 14.0 -> 15.0 pull_requests: +29065 pull_request: https://github.com/python/cpython/pull/30884 ___ Python tracker <https://bugs.python.org/issue40077> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45735] Promise the long-time truth that `args=list` works
Yu Zhao added the comment: I'd like to work on this issue recently if it's still needed. According to suggestions in PR:https://github.com/python/cpython/pull/29437, I will: * Add doc example for Thread function; * Add some test cases for checking the validity of list args; * Repeat the above works on multiprocessing module. -- nosy: +CharlieZhao ___ Python tracker <https://bugs.python.org/issue45735> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14645] Generator does not translate linesep characters in certain circumstances
Yu Zhao added the comment: This at least shouldn't be done for the BytesGenerator - it breaks binary data integrity. IMO, doing it for the string Generator is not necessary either. The linesep is a policy regarding to MIME syntax. It shouldn't be applied to the payload. Imagine what would happen if people want to be RFC-compliant but keep '\n' in their Linux text files. -- nosy: +yu.z...@getcwd.com ___ Python tracker <http://bugs.python.org/issue14645> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4661] email.parser: impossible to read messages encoded in a different encoding
Yu Zhao added the comment: BytesParser.parse uses TextIOWrapper which by default translates universal newlines to '\n'. This breaks binary payload. Fix the problem by disabling the translation. -- components: +email -Library (Lib) nosy: +yu.z...@getcwd.com Added file: http://bugs.python.org/file36788/BytesParser_newline.patch ___ Python tracker <http://bugs.python.org/issue4661> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14645] Generator does not translate linesep characters in certain circumstances
Yu Zhao added the comment: Ack (Per rfc2046 4.1.1). Since the _writeBody is set to _handle_text when no proper handler exists, the problem should be fixed by adding a binary body handler to BytesGenerator. Will create a separate issue to track the problem. -- ___ Python tracker <http://bugs.python.org/issue14645> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com