2010/2/28 Ulrich Petri :
> ~/ python2.6
> Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32)
> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
from urllib2 import urlopen
urlopen('http://пример.испытание/')
> >
Yeah, i
This seems only to be true for python 2.4. In 2.5 and above urlopen
will
happily accept IDNs.
Are you sure?
Yes:
~/ python2.5
Python 2.5.1 (r251:54863, Feb 6 2009, 19:02:12)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information
>> Validation of IDN (Internationalized Domain Names) was added in
>> [12474], but I noticed that the verify_exists option doesn't work when
>> you use an IDN. This is caused by urllib2 not supporting IDN and the
>> validation code using the original unicode version of the URL when
>> testing for e
On Feb 27, 8:02 pm, Fraser Nevett wrote:
[...]
> I have a patch worked up for this and will raise a ticket shortly.
Ticket created and patch uploaded...
http://code.djangoproject.com/ticket/12989
Fraser
--
You received this message because you are subscribed to the Google Groups
"Django deve
Am 27.02.2010 um 21:02 schrieb Fraser Nevett:
Validation of IDN (Internationalized Domain Names) was added in
[12474], but I noticed that the verify_exists option doesn't work when
you use an IDN. This is caused by urllib2 not supporting IDN and the
validation code using the original unicode ve
Validation of IDN (Internationalized Domain Names) was added in
[12474], but I noticed that the verify_exists option doesn't work when
you use an IDN. This is caused by urllib2 not supporting IDN and the
validation code using the original unicode version of the URL when
testing for existence.
The