Issue 35382: Something wrong with pymysql (original) (raw)

Created on 2018-12-03 08:27 by leung, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (5)
msg330910 - (view) Author: Leung (leung) Date: 2018-12-03 08:27
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
msg330913 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2018-12-03 08:47
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.)
msg330914 - (view) Author: Steven D'Aprano (steven.daprano) * (Python committer) Date: 2018-12-03 08:52
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.
msg330915 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2018-12-03 08:58
It's a third party issue as others noted but just to add to this I found the below PR and question to be related to your problem in the tracker while googling byte2int pymysql that might be of help. * https://stackoverflow.com/questions/51565646/pymysql-stopped-working-nameerror-name-byte2int-is-not-defined * https://github.com/PyMySQL/PyMySQL/pull/713 Thanks
msg330916 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2018-12-03 09:00
Sorry, I messed up while adding the reply at the same time. Closing it again.
History
Date User Action Args
2022-04-11 14:59:08 admin set github: 79563
2018-12-03 09:00:24 xtreak set status: open -> closednosy: + mark.dickinson, steven.dapranomessages: + resolution: third partystage: resolved
2018-12-03 08:58:34 xtreak set status: closed -> opennosy: + xtreak, - mark.dickinson, steven.dapranomessages: + resolution: third party -> (no value)stage: resolved -> (no value)
2018-12-03 08:52:43 steven.daprano set nosy: + steven.dapranomessages: +
2018-12-03 08:47:55 mark.dickinson set status: open -> closednosy: + mark.dickinsonmessages: + resolution: third partystage: resolved
2018-12-03 08:27:45 leung create