inet.py and ord()

58 views
Skip to first unread message

Gabriel

unread,
Jan 10, 2014, 6:00:46 AM1/10/14
to dnspyth...@googlegroups.com
       Hello!

i got "TypeError: ord() expected string of length 1, but int found" caused by lines: 100 and 104 in inet.py.

i assume ord() is not needed.

are my assumptions correct. feedback would be highly appreciated.
 
i am using python 3.

best regards

gabriel

Bob Halley

unread,
Jan 10, 2014, 9:21:08 AM1/10/14
to Gabriel, dnspyth...@googlegroups.com

On Jan 10, 2014, at 3:00, Gabriel <insi...@gmail.com> wrote:

> Hello!
>
> i got "TypeError: ord() expected string of length 1, but int found" caused by lines: 100 and 104 in inet.py.
>
> i assume ord() is not needed.

This is correct. I have fixed the bug in the repository, and it will be in the next release. Thanks for the report!

/Bob

Reply all
Reply to author
Forward
0 new messages