Home | History | Annotate | Download | only in python2.7

Lines Matching refs:Codec

1 """ codecs -- Python Codec Registry, API and helpers.
12 ### Registry and builtin stateless codec functions
73 ### Codec base classes (defining the API)
92 class Codec:
122 The method may not store state in the Codec instance. Use
145 The method may not store state in the Codec instance. Use
320 class StreamWriter(Codec):
363 """ Flushes and resets the codec buffers used for keeping state.
393 class StreamReader(Codec):
581 Line breaks are implemented using the codec's decoder
593 """ Resets the codec buffers used for keeping state.
607 Resets the codec buffers used for keeping state.
644 returned by the codec.lookup() function to construct the
734 intermediate format (which is dependent on the given codec
760 encode, decode must adhere to the Codec interface, Reader,
848 codecs. Output is also codec dependent and will usually be
926 ### Helpers for codec lookup
930 """ Lookup up the codec for the given encoding and return
940 """ Lookup up the codec for the given encoding and return
950 """ Lookup up the codec for the given encoding and return
964 """ Lookup up the codec for the given encoding and return
978 """ Lookup up the codec for the given encoding and return
988 """ Lookup up the codec for the given encoding and return
1053 causing an exception when encountered by the charmap codec