[issue44818] '\t' (tab) support

2021-08-03 Thread Pooia


New submission from Pooia :

Python can't use '\t' character. if I want fix it I will work a long time but a 
shorter fashion is replacing '\t' character with 4 space (by first clause of 
pep: 8)

--
components: Parser
messages: 398815
nosy: Pooia, lys.nikolaou, pablogsal
priority: normal
severity: normal
status: open
title: '\t' (tab) support
type: behavior
versions: Python 3.8

___
Python tracker 
<https://bugs.python.org/issue44818>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44818] '\t' (tab) support

2021-08-04 Thread Pooia


Pooia  added the comment:

unexcpeted indent

On Tue, Aug 3, 2021 at 7:59 PM Serhiy Storchaka 
wrote:

>
> Change by Serhiy Storchaka :
>
>
> --
> status: open -> pending
>
> ___
> Python tracker 
> <https://bugs.python.org/issue44818>
> ___
>

--
status: pending -> open

___
Python tracker 
<https://bugs.python.org/issue44818>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44818] '\t' (tab) support

2021-08-05 Thread Pooia


Pooia  added the comment:

Got it, thanks!
Erlend E. Aasland:
> I'm guessing this has to do with mixing spaces and tabs when indenting
code. This can be fixed in your text editor

precisely! It's the problem.
Thank you I guess Python can't support tab but it sounds Gnu nano mix
spaces and tabs!

On Thu, Aug 5, 2021 at 2:56 AM Erlend E. Aasland 
wrote:

>
> Erlend E. Aasland  added the comment:
>
> I'm guessing this has to do with mixing spaces and tabs when indenting
> code. This can be fixed in your text editor.
>
> --
> nosy: +erlendaasland
> status: open -> pending
>
> ___
> Python tracker 
> <https://bugs.python.org/issue44818>
> ___
>

--
status: pending -> open

___
Python tracker 
<https://bugs.python.org/issue44818>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44818] '\t' (tab) support

2021-08-05 Thread Pooia


Pooia  added the comment:

Awesome, thanks!

On Thu, Aug 5, 2021 at 3:14 PM Erlend E. Aasland 
wrote:

>
> Erlend E. Aasland  added the comment:
>
> > I guess Python can't support tab
>
> AFAIK, it was a deliberate decision during the Python 2 => Python 3
> transition.
>
> > [...] it sounds Gnu nano mix spaces and tabs!
>
> You can set up GNU nano to expand tabs:
>
> $ echo "set tabstospaces" >> ~/.nanorc
>
> --
>
> ___
> Python tracker 
> <https://bugs.python.org/issue44818>
> ___
>

--

___
Python tracker 
<https://bugs.python.org/issue44818>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com