Changes between Version 1 and Version 2 of Ticket #18514, comment 510
- Timestamp:
- 06/09/18 13:06:45 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18514, comment 510
v1 v2 5 5 6 6 A 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`.