[Python-Dev] pychecker warnings in Lib/encodings (original) (raw)

Neal Norwitz nnorwitz at gmail.com
Tue Jun 13 10:27:34 CEST 2006


All are missing parameters. I'm not sure of the proper signature, so I didn't fix these:

Lib/encodings/punycode.py:217: No global (errors) found Lib/encodings/utf_8_sig.py:33: No global (errors) found Lib/encodings/uu_codec.py:109: No global (errors) found

IIUC (and I probably don't), mbcs is on windows only. But should I be able to import encodings.mbcs on Linux or is this expected?

import encodings.mbcs Traceback (most recent call last): File "", line 1, in File "Lib/encodings/mbcs.py", line 14, in class Codec(codecs.Codec): File "Lib/encodings/mbcs.py", line 18, in Codec encode = codecs.mbcs_encode AttributeError: 'module' object has no attribute 'mbcs_encode'



More information about the Python-Dev mailing list