-
Notifications
You must be signed in to change notification settings - Fork 69
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
SystemError when record contains special characters. #37
Comments
Hi there! Yep, I see the issue. Looks like a fix is need in pycares. This makes me wonder where else we could find such chars, so a big change, returning bytes everywhere sounds about the right thing to do... FTR:
Are you up for writing a patch? |
Sadly I'm not familiar with CPython and not even with C. I don't think I'm suitable for such change. |
That's ok, but that means you'll need to wait until I find the time to solve this all across the library. |
I understand, we have found some hacky workaround while it happens. Thanks for your time! |
Almost a year later... I'm preparing a new pycares release here: saghul/pycares#83 and then I'll update this library to use it and this bug will be fixed. I took the liberty of using your domain examples as tests :-) |
This is not fixed in the ongoing V2 PR: #54 which depends on the new pycares 3. |
Hi, I have a very similar problem to this solved issue:
I get this error and the program hangs.
Looking further I found that this problem happens when the result of the query has special characters,
Doing a ns lookup I found this for MX:
Querying SOA for ayesas.com. Its record also contains a special character:
I'm using aiodns 1.1.1 and pycares 2.3.0.
Thank you!
The text was updated successfully, but these errors were encountered: