#91 dodgy string identity comparison breaks under pypy

closed-fixed
nobody
None
5
2012-03-30
2012-03-29
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
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks