• N
    [CodeStyle][py2] remove `compat` module (to_bytes) (#47035) · 198c7993
    Nyakku Shigure 提交于
    * [CodeStyle][py2] remove `compat` module (to_bytes)
    
    * remove some unused imports
    
    * clean up to_bytes definition and unittests
    
    * Revert "clean up to_bytes definition and unittests"
    
    This reverts commit e726539e1768172a411ff60e63fab82f164343cf.
    
    * use `b` prefix instead of `encode()`
    198c7993
primx.py 21.1 KB