when i use like that userinfo = dbsession2.query(func.count(radcheck1.username)).\ outerjoin(radcheck2,radcheck1.username==radcheck2.username).\ filter(radcheck1.admin_user==g.user.name,or_(radcheck1.username.like('im_%'),and_(radcheck1.attribute=='Cleartext-Password',radcheck2.attribute=='Expiration'))). python3.6 is ok.But python 3.7 and 3.7.1 show me name 'byte2int' is not defined in pymysql/_auth.py
Hi Leung. This is the issue tracker for the core Python language (along with the standard library). PyMySQL is a third-party project: it isn't part of the standard library. I'd suggest reporting your issue directly to the PyMySQL maintainers. (At a quick glance, https://github.com/PyMySQL/PyMySQL looks like the right place.)
Also, for future reference, please spend the time to make a good bug report, showing the minimum code needed to reproduce the error, and the full error, not just a summary. Please read this before your next bug report: http://sscce.org/ Thank you.