[Pulp-list] Python Module Header

Jason Connor jconnor at redhat.com
Thu Oct 25 15:32:03 UTC 2012


+1 to the utf-8 coding header and the © symbol. Red Hat's default text file encoding is utf-8 and I think the header looks professional. I don't know why pep-8 says not to use a mechanism they provide, but this is on of the few times I disagree with it.

On Oct 25, 2012, at 7:59 AM, Jay Dobies <jason.dobies at redhat.com> wrote:

> Not only are people using different headers, but some people are changing existing headers when they edit a file. It's not a technical problem but ends up being noise in the pull request.
> 
> The main point of contention seems to be the utf-8 encoding. I'm guessing the rationale there is that PEP-8 says not to do that for python 2. It's not buying us much outside of the copyright symbol in the header itself; there's nowhere in the code otherwise (that I've seen) that uses utf-8 characters.
> 
> I really don't care what decision we make. I'll update PyCharm to throw it in and not think about it. But let's decide on one so we don't have all the noise in pull requests of one developer changing what another initially put.
> 
> Cast your votes on what to use and we'll go with the majority.
> 
> -- 
> Jay Dobies
> Freenode: jdob @ #pulp
> http://pulpproject.org | http://blog.pulpproject.org
> 
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list

Jason L Connor
linear on freenode #pulp
http://pulpproject.org/
RHCE: 805010912355231
GPG Fingerprint: 2048R/CC4ED7C1







More information about the Pulp-list mailing list