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 pitrou
Recipients docs@python, mwilliamson, pitrou, r.david.murray, rhettinger
Date 2014-08-10.17:10:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407690603.33.0.534440184162.issue22180@psf.upfronthosting.co.za>
In-reply-to
Content
The whole example is bad and should be removed or replace with something else:

1. Using map() is an anti-pattern here, since the function results are not used.

2. To "build a dictionary that maps the ordinals from 0 to 255 to their character equivalents", modern Python code should use a dict comprehension and avoid operator.setitem() entirely.
History
Date User Action Args
2014-08-10 17:10:03pitrousetrecipients: + pitrou, rhettinger, r.david.murray, docs@python, mwilliamson
2014-08-10 17:10:03pitrousetmessageid: <1407690603.33.0.534440184162.issue22180@psf.upfronthosting.co.za>
2014-08-10 17:10:03pitroulinkissue22180 messages
2014-08-10 17:10:03pitroucreate