Page MenuHomePhabricator

Zkhalido
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Oct 8 2019, 2:23 AM (237 w, 2 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Zkhalido [ Global Accounts ]

Recent Activity

Nov 14 2019

Zkhalido committed rPWBC5735b48e3c74: component: Deriving from tools.UnicodeMixin to BaseLink.
component: Deriving from tools.UnicodeMixin to BaseLink
Nov 14 2019, 8:52 PM

Nov 11 2019

Zkhalido added a comment to T223894: Make BaseLink derive from tools.UnicodeMixin.
Nov 11 2019, 3:17 AM · Patch-For-Review, good first task, Pywikibot
Zkhalido added a comment to T223894: Make BaseLink derive from tools.UnicodeMixin.

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?

Nov 11 2019, 2:51 AM · Patch-For-Review, good first task, Pywikibot

Nov 7 2019

Zkhalido updated subscribers of T184115: Pywikibot: Add missing docstring params.

The patch above was submitted by @Morgan11235 @mstucky @Zkhalido @Mph8318

Nov 7 2019, 8:52 PM · Wikimedia-Hackathon-2022, Google-Code-in-2018, good first task, Pywikibot, Google-Code-in-2017, Documentation, Pywikibot-Documentation

Nov 5 2019

Zkhalido claimed T223894: Make BaseLink derive from tools.UnicodeMixin.

New to the project, but I can give this a try.

Nov 5 2019, 3:14 AM · Patch-For-Review, good first task, Pywikibot

Oct 8 2019

Zkhalido added a member for Pywikibot: Zkhalido.
Oct 8 2019, 2:26 AM
Zkhalido added a watcher for Pywikibot: Zkhalido.
Oct 8 2019, 2:24 AM