Closed sanketsharma411 closed 8 years ago
@hadiasghari could you cherry-pick this commit?
Thanks @sanketsharma411 @sebix , will check it this weekend.
@sebix alright, done, please reopen if there is an issue. @sanketsharma411 thank you for the patch!
In commit https://github.com/hadiasghari/pyasn/commit/65b9576a35f4ef2ee84da6c925da851e07dc458b,
open(..., encoding=...)
was used which would not work with python < 3. Instead as suggestedcodecs.open()
should be used, which would be consistent with python 2.7 and 3.