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.

Author pitrou
Recipients belopolsky, loewis, orsenthil, pitrou
Date 2010-06-10.20:27:47
SpamBayes Score 2.2738664e-05
Marked as misclassified No
Message-id <1276201670.09.0.903361171134.issue8963@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, so what it boils down to is the following behaviour:

>>> import locale, socket
>>> sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>>> locale.getlocale(locale.LC_TIME)
(None, None)
>>> sock.connect(("invalidhost", 80))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
socket.gaierror: [Errno -2] Nom ou service inconnu
>>> locale.getlocale(locale.LC_TIME)
('fr_FR', 'UTF8')
History
Date User Action Args
2010-06-10 20:27:50pitrousetrecipients: + pitrou, loewis, belopolsky, orsenthil
2010-06-10 20:27:50pitrousetmessageid: <1276201670.09.0.903361171134.issue8963@psf.upfronthosting.co.za>
2010-06-10 20:27:48pitroulinkissue8963 messages
2010-06-10 20:27:47pitroucreate