Zkhalido added a comment.

  From what I understand PY2 supports utf-8 encoding (see: 
https://docs.python.org/2/library/codecs.html#standard-encodings), and if 
implemented the only draw back will be: "The unicode() constructor has the 
signature unicode(string[, encoding, errors]). All of its arguments should be 
8-bit strings. The first argument is converted to Unicode using the specified 
encoding; if you leave off the encoding argument, the ASCII encoding is used 
for the conversion, so characters greater than 127 will be treated as errors" 
(https://docs.python.org/2/howto/unicode.html#the-unicode-type)
  Python 2 documentation suggests, "The most important tip is: Software should 
only work with Unicode strings internally, converting to a particular encoding 
on output." 
(https://docs.python.org/2/howto/unicode.html#tips-for-writing-unicode-aware-programs)
  I do not see a problem with deriving from UnicodeMixin.
  @Lokal_Profil do you have tests written for the BaseLink Class?

TASK DETAIL
  https://phabricator.wikimedia.org/T223894

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Zkhalido
Cc: Zkhalido, Xqt, Aklapper, Lokal_Profil, pywikibot-bugs-list, Chaytanya, 
Viztor, DannyS712, Wenyi, Kieubinhtb, Guilhermebm, Mh-3110, Asad_Ali_Palijo, 
Lahi, Soteriaspace, RazeSoldier, JakeTheDeveloper, Tbscho, MayS, Mdupont, 
JJMC89, Dvorapa, D3r1ck01, Altostratus, Avicennasis, MuhammadShuaib, Tmalhotra, 
SimmeD, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to