Changes between Version 1 and Version 2 of Ticket #18514, comment 510


Ignore:
Timestamp:
06/09/18 13:06:45 (2 years ago)
Author:
SimonKing
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18514, comment 510

    v1 v2  
    55
    66A related question: Can you point me to an explanation on how to deal with strings in a "Python-3-approved" way? I still do `if isinstance(...,basestring):`, `cdef str FOO`, and even `return <str>PyBytes_FromString(...)`, but I guess that should change.
     7
     8'''EDIT:''' In fact, `return <str>PyBytes_FromString(...)` wasn't I. That line is in `sage.cpython.string`.