[ python-Bugs-1183742 ] PyDict_Copy() can return non-NULL value on error

SourceForge.net noreply at sourceforge.net
Fri Apr 15 18:08:42 CEST 2005


Bugs item #1183742, was opened at 2005-04-15 08:37
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1183742&group_id=5470

Category: Python Interpreter Core
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Phil Thompson (philthompson10)
Assigned to: Nobody/Anonymous (nobody)
Summary: PyDict_Copy() can return non-NULL value on error

Initial Comment:
PyDict_Copy() will return an invalid pointer rather 
than NULL if the call to PyDict_Merge() fails. 
Attached patch fixes it. 

----------------------------------------------------------------------

>Comment By: Raymond Hettinger (rhettinger)
Date: 2005-04-15 11:08

Message:
Logged In: YES 
user_id=80475

Thanks for the patch.
Applied as Objects/dictobject.c 2.164 and 2.162.4.1
.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1183742&group_id=5470


More information about the Python-bugs-list mailing list