[Python-bugs-list] [ python-Bugs-651363 ] PyDict_GetItemString expects char*

noreply@sourceforge.net noreply@sourceforge.net
Tue, 10 Dec 2002 02:39:56 -0800


Bugs item #651363, was opened at 2002-12-10 11:39
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=651363&group_id=5470

Category: Python Interpreter Core
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Gernot Hillier (yoda_gh)
Assigned to: Nobody/Anonymous (nobody)
Summary: PyDict_GetItemString expects char*

Initial Comment:
PyDict_GetItemString currently expects a char* which leads to many 
ugly const_cast<char*>() calls if you use string types in C++ and try 
to embed Python.  
  
Please change to "const char*" if possible. TIA!  
  

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

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