[MacPorts] #44312: root5: bindings/pyroot/src/TPyDispatcher.cxx:243:31: error: use of undeclared identifier 'PyString_FromString'

MacPorts noreply at macports.org
Sat Jul 12 00:23:14 PDT 2014


#44312: root5: bindings/pyroot/src/TPyDispatcher.cxx:243:31: error: use of
undeclared identifier 'PyString_FromString'
--------------------------------+---------------------
  Reporter:  graziosi.angelo@…  |      Owner:  mojca@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.3.1
Resolution:                     |   Keywords:
      Port:  root5              |
--------------------------------+---------------------

Comment (by mojca@…):

 From https://docs.python.org/2/c-api/string.html:

 > ''These functions have been renamed to PyBytes_* in Python 3.x. Unless
 otherwise noted, the PyBytes functions available in 3.x are aliased to
 their PyString_* equivalents to help porting.''

 https://docs.python.org/3/c-api/bytes.html

-- 
Ticket URL: <https://trac.macports.org/ticket/44312#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list