[issue21957] ASCII Formfeed (FF) & ASCII Vertical Tab (VT) Have Hexadecimal Representation

Stephen Paul Chappell report at bugs.python.org
Fri Jul 11 16:29:40 CEST 2014


New submission from Stephen Paul Chappell:

In the string module, the definition of whitespace is ' \t\n\r\v\f'. However, the representation of string.whitespace is ' \t\n\r\x0b\x0c'. Would it be terribly inconvenient to change the representation of '\x0b\x0c' to '\v\f'? The documentation at https://docs.python.org/3.4/reference/lexical_analysis.html#string-and-bytes-literals lists recognized escape sequences, but string represetations seem to diverge slightly from what is recognized. The same "problem" exists with the representation of bytes.

----------
messages: 222749
nosy: Zero
priority: normal
severity: normal
status: open
title: ASCII Formfeed (FF) & ASCII Vertical Tab (VT) Have Hexadecimal Representation
type: enhancement
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21957>
_______________________________________


More information about the Python-bugs-list mailing list