This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年05月03日 15:43 by vinay.sajip, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (6) | |||
|---|---|---|---|
| msg159865 - (view) | Author: Vinay Sajip (vinay.sajip) * (Python committer) | Date: 2012年05月03日 15:43 | |
Tabs in Python source are a no-no for me and lots of other people, but some people do use them. The tokenizer seems to not preserve tabs in its output. There are some tabs in the Django source, for example tests/regressiontests/localflavor/pl/tests.py. N.B. I posted this to your GitHub repo where you published the hook. |
|||
| msg222684 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2014年07月10日 18:23 | |
PEP 414 is "Explicit Unicode Literal for Python 3.3" so I've no idea where the part about "tokenizing hook" comes from. msg159865 refers to tabs in Django source and gives an example, then talks about "your GitHub repo where you published the hook". Would someone care to enlighten me. |
|||
| msg222713 - (view) | Author: Vinay Sajip (vinay.sajip) * (Python committer) | Date: 2014年07月10日 23:25 | |
> Would someone care to enlighten me. It's supposed to be an install-time hook as mentioned in PEP 414 - see footnote no. 5 in the PEP. |
|||
| msg222742 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2014年07月11日 13:42 | |
What are the Python core developers meant to do with this issue? How does a piece of code on github relate to the core Python code in Mercurial? |
|||
| msg222798 - (view) | Author: Vinay Sajip (vinay.sajip) * (Python committer) | Date: 2014年07月11日 21:25 | |
> How does a piece of code on github relate to the core Python code in Mercurial? Tangentially. Armin Ronacher is the developer of both the GitHub code and the PEP 414 implementation, and it's referenced in the PEP. It doesn't make sense for any other Python core developer to worry about it. If Armin wants to close the issue, it's up to him. |
|||
| msg222799 - (view) | Author: Armin Ronacher (aronacher) * (Python committer) | Date: 2014年07月11日 21:29 | |
I hereby close this issue which is two years old. The only point of the tokenizer thing was to support Python 3.2 which many libraries already have stopped supporting anyways. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:29 | admin | set | github: 58919 |
| 2014年07月11日 21:29:25 | aronacher | set | status: open -> closed resolution: out of date |
| 2014年07月11日 21:29:16 | aronacher | set | messages: + msg222799 |
| 2014年07月11日 21:25:45 | vinay.sajip | set | messages: + msg222798 |
| 2014年07月11日 13:42:50 | BreamoreBoy | set | messages: + msg222742 |
| 2014年07月10日 23:25:26 | vinay.sajip | set | messages: + msg222713 |
| 2014年07月10日 18:23:39 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages: + msg222684 |
| 2012年06月03日 20:54:40 | vinay.sajip | set | title: PEp 414 tokenizing hook does not preserve tabs -> PEP 414 tokenizing hook does not preserve tabs |
| 2012年05月03日 15:43:50 | vinay.sajip | create | |