| Home | Trees | Indices | Help |
|
|---|
|
|
This generator creates overlong UTF-8 encodings. First output is correct notation, then on each generation we perform a longer encoding of each character until we can do no more.
NOTE: Only supports ascii chars under 127 right now :/
|
|||
|
|||
|
|||
| string |
|
||
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
_data = None
|
|||
_size = 1
|
|||
_maxSize = 6
|
|||
_emptyByte = 0x80
|
|||
_start2 = 0xC0
|
|||
_start3 = 0xE0
|
|||
_start4 = 0xF0
|
|||
_start5 = 0xF8
|
|||
_start6 = 0xFC
|
|||
_firstMask = 0xC0
|
|||
_lastMask = 0x80
|
|||
|
|||
Base constructor, please call me!
|
Next value. OVERRIDE From Python docs on next(): The intention of the protocol is that once an iterator's next() method raises StopIteration, it will continue to do so on subsequent calls. Implementations that do not obey this property are deemed broken. (This constraint was added in Python 2.3; in Python 2.2, various iterators are broken according to this rule.) For Generators, please use the GeneratorCompleted exception instead of StopIteration (its a subclass).
|
Return raw value w/o passing through transformer if set. OVERRIDE
|
Called to reset the generator to its initial state. OVERRIDE
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Aug 16 12:17:08 2008 | http://epydoc.sourceforge.net |