JuliaPy / JuliaPy/PyCall.jl

Don't assume strings are valid unicode

Ouverte
#306 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Julia
Étoiles
1.5k
Forks
186
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

The logic in conversions.jl:61 seems to assume that the Julia string being converted to a Python string is valid unicode. Some Python libraries (eg tensorflow) use the Python string type for a binary blob that might not be valid unicode.

Guide de contribution

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

Piste de recherche

Start at conversions.jl:61 and inspect how Julia strings are converted to Python strings. Reproduce the issue with a binary value that is not valid Unicode, such as the kind of blob used by TensorFlow libraries. Done means conversion no longer assumes every string is valid Unicode and preserves binary data correctly.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
julia, python
Domaine
api, backend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

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