Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #10439
| References | <4371028e-5be0-49dd-8e05-ea773ce74e00@l37g2000yqd.googlegroups.com> |
|---|---|
| Date | 2011-07-28 19:36 +1000 |
| Subject | Re: PyWart: PEP8: A cauldron of inconsistencies. |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1562.1311845798.1164.python-list@python.org> (permalink) |
On Thu, Jul 28, 2011 at 8:34 AM, rantingrick <rantingrick@gmail.com> wrote: >> ---------------------------------------------------------- >> Encodings (PEP 263) >> >> Code in the core Python distribution should always use the >> ASCII or Latin-1 encoding (a.k.a. ISO-8859-1). For Python >> 3.0 and beyond, UTF-8 is preferred over Latin-1, see PEP >> 3120. >> ---------------------------------------------------------- > > no, NO, NO!. We should never be writing source in ANYTHING besides > ASCII. Can you offer any "good reason" why we should? No, because > there are no good reasons. This is just more fluffy feel good crap and > it makes me sick! Are we trying to keep xah happy? I know he likes > Unicode. There's nothing wrong with using UTF-8 for source files. It means that: a) Unicode string literals can incorporate copied-and-pasted Unicode characters (assuming the editor knows to save with the right encoding), instead of forcing them to be translated into \uXXXX notation; and b) identifiers are not limited to the ASCII character set. There's no reason to deny either of these. Rick, you're welcome to stay in the US and never send any code to the rest of the world, but some of us do. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
PyWart: PEP8: A cauldron of inconsistencies. rantingrick <rantingrick@gmail.com> - 2011-07-27 15:34 -0700
Re: PyWart: PEP8: A cauldron of inconsistencies. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-27 18:48 -0500
Re: PyWart: PEP8: A cauldron of inconsistencies. Thomas Jollans <t@jollybox.de> - 2011-07-28 02:06 +0200
Re: PyWart: PEP8: A cauldron of inconsistencies. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-28 13:07 +1000
Re: PyWart: PEP8: A cauldron of inconsistencies. harrismh777 <harmar@member.fsf.org> - 2011-07-27 22:23 -0500
Re: PyWart: PEP8: A cauldron of inconsistencies. Chris Angelico <rosuav@gmail.com> - 2011-07-28 19:36 +1000
Re: PyWart: PEP8: A cauldron of inconsistencies. "bruno.desthuilliers@gmail.com" <bruno.desthuilliers@gmail.com> - 2011-07-30 09:52 -0700
Re: PyWart: PEP8: A cauldron of inconsistencies. Chris Angelico <rosuav@gmail.com> - 2011-07-30 18:04 +0100
csiph-web