marrow / cinje

A Pythonic and ultra fast template engine DSL.
MIT License
32 stars 0 forks source link

Disable line number mapping. #32

Open amcgregor opened 6 months ago

amcgregor commented 6 months ago

Care of CEGID, my current employer, there are a collection of downstream changes utilized by the RITA job offer multi-posting platform. This pull request aims to homogenize the changes, eliminate the need to pin specific branches instead of released versions, and generally improve the project.

The mere presence of the generated line number mappings causes certain Python versions and configurations to fail to import the template module, generating an inscrutable error about unterminated values. This change eliminates the problem, but reduces debug–ability by removing the "origin line" mapping from each template module.

Corrects #30.