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

2017-03-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

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

2017-03-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 7d5d13d8d003ae5b62bb8c9ef1d1f310eaabc506 by Serhiy Storchaka in branch '3.6': bpo-29953: Fix memory leaks in the replace() method of datetime and t… (#933) https://github.com/python/cpython/commit/7d5d13d8d003ae5b62bb8c9ef1d1f310eaabc506

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

2017-03-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1117 ___ Python tracker ___ ___

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

2017-03-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 314d6fca36a4eaa0541218431d14804fadec6488 by Serhiy Storchaka in branch 'master': bpo-29953: Fix memory leaks in the replace() method of datetime and time (#927) https://github.com/python/cpython/commit/314d6fca36a4eaa0541218431d14804fadec6488

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

2017-03-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +824 ___ Python tracker ___ ___

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

2017-03-31 Thread Serhiy Storchaka
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