JuliaPy / JuliaPy/PythonCall.jl

Add new PyStr wrapper type

Ouverte
#691 0 commentaires 0 réactions 1 personne assignée Réclamée par @cjdoris Voir sur GitHub
Langage dominant
Julia
Étoiles
1.1k
Forks
86
Merge moyen
1 j 22 h
PR mergées (30 j)
3

Description

Has fields `py::Py`, `ptr::Ptr{UInt8}`, `ncodeunits::Int` where the latter two we get from https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_AsUTF8AndSize.

Can implement `AbstractString` easily on top of this by reusing bits of the `Utils.StaticString` implementation.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.