[New-bugs-announce] [issue44736] '\t' Escape Sequence behaving differently.

BAHADIR report at bugs.python.org
Sun Jul 25 04:50:24 EDT 2021


New submission from BAHADIR <b123qweasdzxc at gmail.com>:

While working on several examples I noticed that ASCII Horizontal Tab (TAB) gives different results for different values. When I looked at the rfc documents, I couldn't see any result about its calculation. The calculation method I noticed myself is as follows ((8 -(string from previous "\t"))%8) * a number of spaces(in python IDLE) result change in other IDE or editors.

----------
components: Parser
messages: 398180
nosy: BAHADIR, lys.nikolaou, pablogsal
priority: normal
severity: normal
status: open
title: '\t' Escape Sequence behaving differently.
type: behavior
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44736>
_______________________________________


More information about the New-bugs-announce mailing list