DarkShadowTNT added a comment.

  First command (##python -c "import platform; print 
repr(platform.version())"##)
  Output: ##'10.0.10586'##
  
  Second command (##python -c "import platform; print 
repr(platform.version().split('.'))"##)
  Output: ##['10', '0', '10586']##
  
  Third command (##python -c "import platform; print 
repr(platform.version().split('.')[0])"##)
  Output: ##'10'##
  
  Fourth command (##python -c "import platform; print 
repr(int(platform.version().split('.')[0]))"##)
  Output: ##10##
  
  Hmm... This raises a question by me: Is it possible that pywikibot only uses 
the first number and does nothing with the second one?

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

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

To: DarkShadowTNT
Cc: valhallasw, Aklapper, Zppix, pywikibot-bugs-list, DarkShadowTNT, Mdupont, 
jayvdb



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to