Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#91 dodgy string identity comparison breaks under pypy

closed-fixed
nobody
None
5
2012-03-30
2012-03-29
Marien Zwart
No

The latex2e writer checks if "languages[-1] is 'english'". This happens to work in cpython, but does not in pypy (at least not in the pypy-1.8 I have here). It should use ==, not "is". The testsuite catches this: functional/tests/standalone_rst_latex.py fails when run with pypy. Trivial patch that makes the testsuite pass attached.

Discussion

  • Günter Milde
    Günter Milde
    2012-03-30

    • status: open --> closed-fixed