Package implementing various functions/classes needed everywhere within eric.
_escape |
_escape_map |
_slashmap |
_uescape |
_uunescape |
codingBytes_regexps |
coding_regexps |
supportedCodecs |
CodingError | Class implementing an exception, which is raised, if a given coding is incorrect. |
__showwarning | Module function to raise a SyntaxError for a SyntaxWarning. |
_percentReplacementFunc | Protected function called for replacing % codes. |
convertLineEnds | Function to convert the end of line characters. |
decode | Function to decode some byte text into a string. |
decodeBytes | Function to decode some byte text into a string. |
decodeString | Function to decode a string containing Unicode encoded characters. |
encode | Function to encode text into a byte text. |
escape_entities | Function to encode html entities. |
escape_uentities | Function to encode html entities. |
extractFlags | Function to extract eric specific flags out of the given text. |
extractFlagsFromFile | Function to extract eric specific flags out of the given file. |
extractLineFlags | Function to extract flags starting and ending with '__' from a line comment. |
filterAnsiSequences | Function to filter out ANSI escape sequences (color only). |
generateDistroInfo | Module function to generate a string with distribution infos. |
generatePluginsVersionInfo | Module function to generate a string with plugins version infos. |
generateVersionInfo | Module function to generate a string with various version infos. |
getCoverageFileName | Function to build a file name for a coverage data file. |
getCoverageFileNames | Function to build a list of coverage data file names. |
getPercentReplacement | Function to get the replacement for code. |
getPercentReplacementHelp | Function to get the help text for the supported %-codes. |
getProfileFileName | Function to build a file name for a profile data file. |
getProfileFileNames | Function to build a list of profile data file names. |
getSysPath | Module function to get the Python path (sys.path) of a specific interpreter. |
getTestFileNames | Function to build the potential file names of a test file. |
get_coding | Function to get the coding of a text. |
get_codingBytes | Function to get the coding of a bytes text. |
html_encode | Function to correctly encode a text for html. |
html_udecode | Function to correctly decode a html text to a unicode text. |
html_uencode | Function to correctly encode a unicode text for html. |
linesep | Function to return the line separator used by the editor. |
normalizeCode | Function to normalize the given code. |
parseOptionString | Function used to convert an option string into a list of options. |
readEncodedFile | Function to read a file and decode its contents into proper text. |
readEncodedFileWithEncoding | Function to read a file and decode its contents into proper text. |
readEncodedFileWithHash | Function to read a file, calculate a hash value and decode its contents into proper text. |
readStringFromStream | Module function to read a string from the given stream. |
rxIndex | Function to get the index (start position) of a regular expression match within some text. |
slash | Function to convert an escaped string to a string containing escape codes. |
unescape_uentities | Function to decode html entities. |
unslash | Function to convert a string containing escape codes to an escaped string. |
writeEncodedFile | Function to write a file with properly encoded text. |
Class implementing an exception, which is raised, if a given coding is incorrect.
None |
None |
CodingError | Constructor |
__repr__ | Special method returning a representation of the exception. |
__str__ | Special method returning a string representation of the exception. |
None |
Constructor
Special method returning a representation of the exception.
Special method returning a string representation of the exception.
Module function to raise a SyntaxError for a SyntaxWarning.
Protected function called for replacing % codes.
Function to convert the end of line characters.
Function to decode some byte text into a string.
Function to decode some byte text into a string.
Function to decode a string containing Unicode encoded characters.
Function to encode text into a byte text.
Function to encode html entities.
Function to encode html entities.
Function to extract eric specific flags out of the given text.
Flags are contained in comments and are introduced by 'eflag:'. The rest of the line is interpreted as 'key = value'. value is analyzed for being an integer or float value. If that fails, it is assumed to be a string. If a key does not contain a '=' character, it is assumed to be a boolean flag. Flags are expected at the very end of a file. The search is ended, if a line without the 'eflag:' marker is found.
Function to extract eric specific flags out of the given file.
Function to extract flags starting and ending with '__' from a line comment.
Function to filter out ANSI escape sequences (color only).
Module function to generate a string with distribution infos.
Module function to generate a string with plugins version infos.
Module function to generate a string with various version infos.
Function to build a file name for a coverage data file.
Function to build a list of coverage data file names.
Function to get the replacement for code.
Function to get the help text for the supported %-codes.
Function to build a file name for a profile data file.
Function to build a list of profile data file names.
Module function to get the Python path (sys.path) of a specific interpreter.
Function to build the potential file names of a test file.
The file names for the test file is built by prepending the string "test" and "test_" to the file name passed into this function and by appending the string "_test".
Function to get the coding of a text.
Function to get the coding of a bytes text.
Function to correctly encode a text for html.
Function to correctly decode a html text to a unicode text.
Function to correctly encode a unicode text for html.
Function to return the line separator used by the editor.
Function to normalize the given code.
Function used to convert an option string into a list of options.
Function to read a file and decode its contents into proper text.
Function to read a file and decode its contents into proper text.
Function to read a file, calculate a hash value and decode its contents into proper text.
Module function to read a string from the given stream.
Function to get the index (start position) of a regular expression match within some text.
Function to convert an escaped string to a string containing escape codes.
Note: This is the reverse of 'unslash()'.
Function to decode html entities.
Function to convert a string containing escape codes to an escaped string.
Function to write a file with properly encoded text.