-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请教一下如何patch mysqlclient? #18
Comments
@sylvoslee 你好, 以 debian 下 下列代码可以实现 patch mysqlclient root@1a9a408a4e04:/# python
Python 2.7.18 (default, Apr 20 2020, 19:34:11)
[GCC 8.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from MySQLdb import _mysql
>>> _mysql_so = _mysql.__file__
>>> import greenify
>>> if greenify.patch_lib(_mysql_so):
... print("Successfully patch mysql.so")
...
Successfully patch mysql.so |
我的是Ubuntu 16,按你提供的执行,greenify.patch_lib(_mysql_so)返回False,什么原因 |
可以提供下具体的环境吗,如
|
我执行也返回False,我是在python:3.8的docker容器里面 |
greenify 是将网络操作都 patch 掉,但是现在版本的 libmysqlclient-python 网络操作都在 |
No description provided.
The text was updated successfully, but these errors were encountered: