[New-bugs-announce] [issue39480] referendum reference is needlessly annoying

Ian Jackson report at bugs.python.org
Tue Jan 28 12:07:14 EST 2020


New submission from Ian Jackson <dlgruj at fyvzl.net>:

The section "Fancier Output Formatting" has the example below.  This will remind many UK readers of the 2016 EU referendum.  About half of those readers will be quite annoyed.

This annoyance seems entirely avoidable; a different example which did not refer to politics would demonstrate the behaviour just as well.

Changing this example would (in the words of the CoC) also show more empathy, and be more considerate towards, python contributors unhappy with recent political developments in the UK, without having to make anyone else upset in turn.

  >>> year = 2016
  >>> event = 'Referendum'
  >>> f'Results of the {year} {event}'
  'Results of the 2016 Referendum'

  >>> yes_votes = 42_572_654
  >>> no_votes = 43_132_495
  >>> percentage = yes_votes / (yes_votes + no_votes)
  >>> '{:-9} YES votes  {:2.2%}'.format(yes_votes, percentage)' 42572654 YES votes  49.67%'

----------
assignee: docs at python
components: Documentation
messages: 360883
nosy: diziet, docs at python
priority: normal
severity: normal
status: open
title: referendum reference is needlessly annoying
versions: Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39480>
_______________________________________


More information about the New-bugs-announce mailing list