jayvdb added a comment.

  I assume `checkvotes.py` has a coding line
  
    # -*- coding: utf-8 -*-
  
  (otherwise the file wouldn't compile.. I believe)
  
  Then it feels like a bug in `warnings.py` in Python 2.x , but I am only about 
95% sure, and if it is it is unlikely to have been fixed yet in 2.7.10+.
  
  We can work around it by catching the exception in 
`issue_deprecation_warning` and disabling including the source line in the 
output or reducing the depth to 1.

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

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

To: jayvdb
Cc: jayvdb, Aklapper, Zppix, pywikibot-bugs-list, XZise, Xqt, Mdupont



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

Reply via email to