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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21957>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to