summaryrefslogtreecommitdiffstats
path: root/Lib/encodings/idna.py
Commit message (Collapse)AuthorAgeFilesLines
* Add a BufferedIncrementalEncoder class that can be used for implementingWalter Dörwald2006-04-141-6/+72
| | | | | | | | | an incremental encoder that must retain part of the data between calls to the encode() method. Fix the incremental encoder and decoder for the IDNA encoding. This closes SF patch #1453235.
* Make error message less misleading for u"a..b".encode("idna").Walter Dörwald2006-04-141-3/+3
|
* Make raise statements PEP 8 compatible.Walter Dörwald2006-04-141-11/+11
|
* Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclassWalter Dörwald2006-03-151-2/+17
| | | | | | | of tuple) that provides incremental decoders and encoders (a way to use stateful codecs without the stream API). Functions codecs.getincrementaldecoder() and codecs.getincrementalencoder() have been added.
* Avoid forward-declaring the methods array.Martin v. Löwis2006-03-101-1/+1
| | | | Rename unicodedata.db* to unicodedata.ucd*
* Update Unicode database to Unicode 4.1.Martin v. Löwis2006-03-091-1/+2
|
* Make IDNA return an empty string when the input is empty. Fixes #1163178.Martin v. Löwis2005-08-251-0/+6
| | | | Will backport to 2.4.
* Convert input to a string object. Fixes #909230.Martin v. Löwis2004-03-231-0/+1
| | | | Backported 2.3.
* Support trailing dots in DNS names. Fixes #782510. Will backport to 2.3.Martin v. Löwis2003-08-051-3/+15
|
* Whitespace normalization.Tim Peters2003-04-241-4/+4
|
* Implement IDNA (Internationalized Domain Names in Applications).Martin v. Löwis2003-04-181-0/+187