Opened 3 years ago

Last modified 3 years ago

#22351 closed defect

PyString_AsString is gone in Python3 — at Version 2

Reported by: jdemeyer Owned by:
Priority: major Milestone: sage-7.6
Component: python3 Keywords:
Cc: chapoton Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by chapoton)

The functions PyString_AsString and PyString_AsStringAndSize no longer exist in Python 3 and even Cython does not support them.

Where:

git grep -c "^[^#]*PyString_" *.pyx
src/sage/finance/time_series.pyx:2
src/sage/libs/ntl/ntl_ZZ_pE.pyx:2
src/sage/libs/pynac/pynac.pyx:2
src/sage/matrix/matrix_gfpn_dense.pyx:7
src/sage/misc/parser.pyx:2
src/sage/plot/plot3d/index_face_set.pyx:10
src/sage/rings/rational.pyx:1
src/sage/rings/real_mpfi.pyx:4
src/sage/stats/intlist.pyx:2

Change History (2)

comment:1 Changed 3 years ago by jdemeyer

  • Description modified (diff)

comment:2 Changed 3 years ago by chapoton

  • Description modified (diff)
Note: See TracTickets for help on using tickets.