Consecutive $$ interpolation fails
Offen
- Vorherrschende Sprache
- Julia
- Sterne
- 1.5k
- Forks
- 186
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
A MWE:
```
julia> py"$$('1')$$('2')$$('3')"
3
```
Looks like only the final interpolation is accounted for. Separating the interpolations with spaces makes them work (which in this case leads to a Python Syntax error). I've checked Julia 1.2.0 / PyCall v1.91.1 and Julia 1.3.0-rc3.0 / v1.91.2.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start by reproducing the given consecutive-$$ MWE with the Julia and PyCall versions listed, then trace the interpolation handling it exercises. Done means each adjacent interpolation is preserved and a regression test covers the example without requiring separating spaces.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- julia, python
- Bereich
- backend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100