[issue29953] Memory leak in the replace() method of datetime and time objects

Serhiy Storchaka report at bugs.python.org
Fri Mar 31 09:44:25 EDT 2017


New submission from Serhiy Storchaka:

When pass out of bound keyword argument fold to datetime.datetime.replace() or datetime.time.replace(), ValueError is raised and just allocated object is leaked. Proposed patch fixes the leaks.

----------
components: Extension Modules
messages: 290913
nosy: belopolsky, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Memory leak in the replace() method of datetime and time objects
type: resource usage
versions: Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29953>
_______________________________________


More information about the Python-bugs-list mailing list