Alexander Belopolsky wrote: > On Wed, Feb 23, 2011 at 4:54 PM, M.-A. Lemburg <m...@egenix.com> wrote: > .. >> Yet 108 for the correct name, so I can't follow your statement >> that the wrong variant is used more often. > > Hmm, your grepping skills are probably better than mine. I get > > > $ grep -iw latin-1 Lib/*.py | wc -l > 24 > > and > > $ grep -iw latin1 Lib/test/*.py | wc -l > 25 > > (I did get spurious hits with naive "grep latin1", so I retract my > "more often" claim and just say that both spellings are equally > common.)
I used a Python script based on re, perhaps that's why :-) grep only counts lines, not multiple instances on a single line and looking through the hits I found, there are a few false positives such as 'latin-10' or 'iso-latin-1'. Without those, I get 83 hits. If you open a ticket for this, I'll add the list of hits to that ticket. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Feb 23 2011) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com