[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference
Change by Mathew M. : -- pull_requests: +10473 ___ Python tracker <https://bugs.python.org/issue32077> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference
Change by Mathew M. <mathew1...@gmail.com>: -- keywords: +patch pull_requests: +4407 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32077> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference
New submission from Mathew M. <mathew1...@gmail.com>: This is just something I've noticed when browsing the C API documentation for Unicode objects. For example, the documentation entry for PyUnicode_DecodeMBCSStateful lacks the "Return value: New reference", etc. -- assignee: docs@python components: Documentation messages: 306516 nosy: Mathew M., docs@python priority: normal severity: normal status: open title: Documentation: Some Unicode object functions don't indicate whether they return a new reference type: enhancement ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32077> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32020] arraymodule: Missing Py_DECREF in failure case of make_array()
Change by Mathew M. <mathew1...@gmail.com>: -- keywords: +patch pull_requests: +4339 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32020> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32020] arraymodule: Missing Py_DECREF in failure case of make_array()
New submission from Mathew M. <mathew1...@gmail.com>: Similar to issue 32013, just in a different location. For reference: https://github.com/python/cpython/blob/28b624825eb92cb8c96fbf8da267d8d14a61a841/Modules/arraymodule.c#L1932 -- components: Extension Modules messages: 306183 nosy: Mathew M. priority: normal severity: normal status: open title: arraymodule: Missing Py_DECREF in failure case of make_array() type: resource usage versions: Python 3.7 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32020> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32013] _pickle: Py_DECREF seems to be missing from a failure case in fast_save_enter()
Change by Mathew M. <mathew1...@gmail.com>: -- keywords: +patch pull_requests: +4331 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32013> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32013] _pickle: Py_DECREF seems to be missing from a failure case in fast_save_enter()
New submission from Mathew M. <mathew1...@gmail.com>: Hey there! I'm fairly new to the development process for Python, so I figured I'd start off with something tiny and then work on up from there. I'm not sure if this sort of minor fix warrants an issue being created, but I made this just to err on the safe side of things. So, as far as I understand (by all means correct me if I'm wrong), a 'Py_DECREF(key);' should be present before the return in the conditional within fast_save_enter() (https://github.com/python/cpython/blob/d7d4fea4a39da4bfdea1de22fe040023eb4ddc17/Modules/_pickle.c#L1792) -- components: Extension Modules messages: 306139 nosy: Mathew M. priority: normal severity: normal status: open title: _pickle: Py_DECREF seems to be missing from a failure case in fast_save_enter() versions: Python 3.7 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32013> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com