• Aaron Gokaslan's avatar
    fix: Set __file__ constant when using eval_file (#1300) (#3233) · 4c6bee35
    Aaron Gokaslan authored
    * Set __file__ constant when using eval_file
    
    * Use const ref
    
    * Use a move instead
    
    * Revert
    
    * Improve test
    
    * Guard test with Python version
    
    * Fix tests
    
    * Dont support Python2 API
    
    * Drop Python2 eval __file__ support
    
    * Hack
    
    * Semisupport Python2
    
    * Take2
    
    * Remove Python2 support
    4c6bee35
test.py 273 Bytes