This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author diziet
Recipients diziet, docs@python
Date 2020-01-28.17:07:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580231234.47.0.658599858582.issue39480@roundup.psfhosted.org>
In-reply-to
Content
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%'
History
Date User Action Args
2020-01-28 17:07:14dizietsetrecipients: + diziet, docs@python
2020-01-28 17:07:14dizietsetmessageid: <1580231234.47.0.658599858582.issue39480@roundup.psfhosted.org>
2020-01-28 17:07:14dizietlinkissue39480 messages
2020-01-28 17:07:13dizietcreate