Skip to content
Snippets Groups Projects
  1. Mar 01, 2025
  2. Feb 24, 2025
  3. Feb 22, 2025
  4. Feb 21, 2025
  5. Feb 20, 2025
  6. Feb 12, 2025
  7. Feb 08, 2025
  8. Feb 04, 2025
  9. Feb 02, 2025
  10. Jan 27, 2025
  11. Jan 25, 2025
  12. Jan 22, 2025
    • Georgi Valkov's avatar
      Generate ecodes.py at build time · 4ca0a8b4
      Georgi Valkov authored
      - The existing ecodes.py is renamed to ecodes_runtime.py.
      
      - An ecodes.py is generated at build time (in build_ext) with the genecodes_py.py
        script, after the extension modules are built. The script essentially does a
        repr() on vars(ecodes_runtime) and adds type annotations.
      
      - If something goes wrong in the process of generating ecodes.py, ecodes_runtime.py
        is copied to ecodes.py.
      
      - Stop generating ecodes.pyi as the generated ecodes.py is fully annotated.
      4ca0a8b4
  13. Jan 21, 2025
  14. Jan 20, 2025
Loading