On Tue, Jul 22, 2014, at 08:41 AM, Ihar Hrachyshka wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > On 21/07/14 17:11, Doug Hellmann wrote: > > > > On Jul 21, 2014, at 4:45 AM, Christian Berendt > > <[email protected]> wrote: > > > >> Hello. > >> > >> There are some files using the Python source code encodings as > >> the first line. That's normally not necessary and I want propose > >> to introduce a hacking check to check for the absence of the > >> source code encodings. > > > > We need to be testing with Unicode inputs. Will the hacking check > > still support that case? > > I suspect it just means that we won't be able to use Unicode > codepoints in the code, while we still may specify those characters as > escape sequences, as in: > > >>> "\N{GREEK CAPITAL LETTER DELTA}" # Using the character name > '\u0394' > >>> "\u0394" # Using a 16-bit hex value > '\u0394' > >>> "\U00000394" # Using a 32-bit hex value > '\u0394' > > (shamelessly copied from https://docs.python.org/3/howto/unicode.html)
And what is the benefit of doing that? I assume there's some reason for suggesting this change, but I don't understand it. Is there a tool breaking on unicode characters now that I haven't heard about, maybe? Doug > > > > > Doug > > > >> > >> Best, Christian. > >> > >> -- Christian Berendt Cloud Computing Solution Architect Mail: > >> [email protected] > >> > >> B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / > >> http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: > >> Vohburg / AG: Ingolstadt,HRB 3537 > >> > >> _______________________________________________ OpenStack-dev > >> mailing list [email protected] > >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > >> > > > > _______________________________________________ OpenStack-dev > > mailing list [email protected] > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.22 (Darwin) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQEcBAEBCgAGBQJTzlv6AAoJEC5aWaUY1u57xK4H/iaHyoE2+0gz5sZHhbMHBXm3 > 8Dti0ZOB2D4XEOhaxhXguuaDQQdzYHc3LOj09uzO+7qjgKQa5X7SExYDg7Tz6VaC > lqgv5mnLZNgt2iNNK0PFGwzYV/n12w513DCuTAxROPKrZuaoMwAZFfqkcf6YGTDg > tH16qU8nr/1SFZYVE7w/flDRI5gS04yZavIHwuMEzWN5fXebR5TxDe/JRwFNMocI > jMwSZKY73TBzGlp8ND9bee0Wzv/IbUzjIi/R+FZAhgwK53Dc/jxUGJ9V+aKEox8d > JdF7yvquOhBQRwuARt9O6IRvN3AG2oT+lcheSA/KAkOZ+1v1oRjNDqkn2Y9KNRk= > =jGEy > -----END PGP SIGNATURE----- > > _______________________________________________ > OpenStack-dev mailing list > [email protected] > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev _______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
