[issue26525] Documentation of ord(c) easy to misread

2016-03-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed. Good catch. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue26525] Documentation of ord(c) easy to misread

2016-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset f3bd94c57cd8 by Terry Jan Reedy in branch '3.5': Issue #26525: Change chr example to match change in ord example. https://hg.python.org/cpython/rev/f3bd94c57cd8 -- ___ Python tracker

[issue26525] Documentation of ord(c) easy to misread

2016-03-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Reversed to ord() function chr() still uses 'ν' as an example. I think both functions should use the same example. -- status: closed -> open ___ Python tracker _

[issue26525] Documentation of ord(c) easy to misread

2016-03-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue26525] Documentation of ord(c) easy to misread

2016-03-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset c7071c9b8c33 by Terry Jan Reedy in branch '3.5': Issue #26525: Change ord example from nu to more easily recognized Euro sign. https://hg.python.org/cpython/rev/c7071c9b8c33 -- nosy: +python-dev ___ Pytho

[issue26525] Documentation of ord(c) easy to misread

2016-03-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: docs@python -> terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue26525] Documentation of ord(c) easy to misread

2016-03-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur that the Euro sign would be best (more recognizable and more likely to be renderable in a given font). -- nosy: +rhettinger ___ Python tracker

[issue26525] Documentation of ord(c) easy to misread

2016-03-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: The easily misread "ord('ν')" could be expanded to "ord('ν') (Greek nu)" but I agree that "ord('€') (Euro sign)" would be either better for a global doc. (And the return is 8364.) If no objection (Benjamin? Nick?), I am willing to do it for 3.5/6 There is n

[issue26525] Documentation of ord(c) easy to misread

2016-03-11 Thread Susan Sun
Susan Sun added the comment: This was changed in the following commit. changeset: 95165:f6c6304c8193 user:Benjamin Peterson date:Tue Mar 24 12:12:44 2015 -0400 summary: change Σ to ν for obscure joke reasons https://twitter.com/ncoghlan_dev/status/579173053793353728 --

[issue26525] Documentation of ord(c) easy to misread

2016-03-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: '🐍' is astral character and not all systems have fonts that support it installed by default. It can be hard to render it in TeX. -- nosy: +serhiy.storchaka ___ Python tracker __

[issue26525] Documentation of ord(c) easy to misread

2016-03-10 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Wouldn't '\N{SNAKE}' look more pythonic? 😀 >>> hex(ord('🐍')) '0x1f40d' -- nosy: +belopolsky ___ Python tracker ___ _

[issue26525] Documentation of ord(c) easy to misread

2016-03-10 Thread Georg Brandl
Georg Brandl added the comment: Sure! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue26525] Documentation of ord(c) easy to misread

2016-03-10 Thread STINNER Victor
STINNER Victor added the comment: I suggest to use the EURO SIGN € (U+20ac). -- keywords: +easy nosy: +haypo ___ Python tracker ___ __

[issue26525] Documentation of ord(c) easy to misread

2016-03-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue26525] Documentation of ord(c) easy to misread

2016-03-10 Thread gladman
New submission from gladman: It is very easy to misread the greek 'nu' used in the ord(c) documentation as ord('v') (i.e. an alphabetic 'v'). This can lead the reader to draw a wrong conclusion about the behaviour of the function. Would it not be better if this example used a greek letter th