Module ImportFrom alias alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults Num body Expr Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Assign NameStore Num While CompareLt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Str TryExcept body Return Call NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Assign NameStore Call AttributeLoad Str attr keyword NameLoad If CompareIn Str Call NameLoad NameLoad body Expr Call NameLoad NameLoad Return ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Assign NameStore Call AttributeLoad Str attr keyword NameLoad ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad Str attr keyword NameLoad Expr Call NameLoad NameLoad Assign NameStore BoolOpOr NameLoad BinOpMult NameLoad Num Expr Call NameLoad Call AttributeLoad Str attr NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword BinOpAdd NameLoad Num keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Num decorator_list Call NameLoad NameLoad Return NameLoad decorator_list Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body If CompareGtE Call NameLoad NameLoad Num body Assign NameStore BinOpAdd SubscriptLoad NameLoad Slice Num Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr decorator_list Call NameLoad keyword Num FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list Call NameLoad keyword Num FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Dict Str Str Str Str CompareGt Call AttributeLoad NameLoad attr Str NameLoad CompareGt Call NameLoad NameLoad NameLoad Call NameLoad ListComp CompareIn Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad Call AttributeLoad BinOpAdd NameLoad NameLoad attr Str attr comprehension NameStore NameLoad CompareIn Str NameLoad If Call NameLoad Call AttributeLoad NameLoad attr body Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad Return ListLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list Call NameLoad keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str If NameLoad body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call NameLoad NameLoad keyword Str If BoolOpAnd NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list Call NameLoad keyword Num FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad While CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list Call NameLoad keyword Num FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd Str NameLoad For NameStore ListLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SetComp Call AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Return NameLoad decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Expr Call NameLoad Str decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore TupleLoad Str Str Str If CompareIn Str NameLoad body AugAssignAdd NameStore Call AttributeLoad Str attr Call NameLoad SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body AugAssignAdd NameStore Call AttributeLoad Str attr Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If CompareGt Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareLt Call NameLoad Call NameLoad NameLoad Num body Assign NameStore Num orelse Assign NameStore Num Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Slice NameLoad AugAssignAdd NameStore Str If CompareGt Call NameLoad NameLoad Num body Assign NameStore BinOpAdd SubscriptLoad NameLoad Slice Num Str AugAssignAdd NameStore Call AttributeLoad Str attr Call NameLoad NameLoad If SubscriptLoad NameLoad Index Str body AugAssignAdd NameStore Call AttributeLoad Str attr Call NameLoad SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body AugAssignAdd NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body AugAssignAdd NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body AugAssignAdd NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body AugAssignAdd NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Assign NameStore Num For NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad body If CompareGt BinOpAdd Call NameLoad NameLoad NameLoad Num body Assign NameStore BinOpAdd SubscriptLoad NameLoad Slice BinOpSub Num NameLoad Str AugAssignAdd NameStore Call NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str BoolOpOr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign TupleStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad Str attr keyword NameLoad Return Call NameLoad NameLoad TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad BinOpAdd Str NameLoad attr handlers ExceptHandler type NameLoad body Assign TupleStore NameStore NameStore TupleLoad NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad Expr Call NameLoad Call AttributeLoad Str attr keyword SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr Return Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If BoolOpOr CompareEq NameLoad Num BoolOpAnd CompareIn Str NameLoad CompareIn NameLoad ListLoad Num Num body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignAdd NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad orelse Expr Call NameLoad Call AttributeLoad Str attr keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Dict Num Num Num Num Num Num NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad attr NameLoad Str If SubscriptLoad NameLoad Index Str body AugAssignAdd NameStore Call AttributeLoad Str attr Call NameLoad SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body AugAssignAdd NameStore Call AttributeLoad Str attr Call NameLoad SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body AugAssignAdd NameStore Call AttributeLoad Str attr Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Return Call NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad Str attr keyword IfExp AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr keyword NameLoad If CompareIn Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call NameLoad Call AttributeLoad Str attr keyword NameLoad Return If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad body Return Expr Call NameLoad Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str Return If Call NameLoad NameLoad NameLoad body For NameStore AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Break orelse Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareNotIn AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad body Assign NameStore Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad Expr Call NameLoad Str NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list Call NameLoad FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad If NameLoad body Global identifier Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body TryFinally body TryExcept body Expr Call NameLoad NameLoad NameLoad handlers ExceptHandler body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad Str attr keyword NameLoad keyword Call NameLoad NameLoad keyword NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list Call NameLoad If CompareEq NameLoad Str body Expr Call NameLoad
N/A __future__ unicode_literals print_function N/A ideone N/A time N/A praw N/A re N/A urllib N/A traceback socket error SocketError sys exit functools wraps config * handle_api_exceptions N/A N/A max_attempts N/A 1 N/A N/A Return a function decorator that wraps a given function in a
    try-except block that will handle various exceptions that may
    occur during an API request to reddit. A maximum number of retry 
    attempts may be specified.
     decorator N/A N/A func N/A N/A wrapper N/A N/A N/A args kwargs N/A N/A retries 0 N/A N/A retries max_attempts N/A N/A sleep_time None N/A error_msg N/A N/A N/A N/A func args kwargs N/A N/A N/A N/A N/A praw errors RateLimitExceeded N/A e N/A N/A error_msg Rate Limit exceeded N/A sleep_time N/A e sleep_time N/A N/A N/A N/A praw errors HTTPException N/A e N/A N/A error_msg N/A N/A HTTPError "{error}" occurred:  format error e N/A N/A 403 N/A str e N/A N/A N/A log error_msg N/A N/A N/A N/A N/A praw errors APIException N/A e N/A N/A error_msg N/A N/A API Exception "{error}" occurred:  format error e N/A N/A SocketError N/A e N/A N/A error_msg N/A N/A SocketError "{error}" occurred:  format error e N/A N/A log error_msg N/A sleep_time N/A sleep_time N/A retries 150 N/A N/A log N/A N/A {0} in {f}. Sleeping for {t} seconds. Attempt {rt} of {at}. format error_msg f N/A func __name__ t sleep_time rt N/A retries 1 at max_attempts N/A N/A N/A time sleep sleep_time N/A retries 1 N/A N/A wraps func N/A wrapper N/A N/A decorator N/A Reply N/A object N/A N/A An object that represents a potential response to a comment.

    Replies are not tied to a specific recipient on at their inception,
    however once sent the recipient should be recorded.
     __init__ N/A N/A self text N/A N/A N/A N/A N/A len text 10000 N/A N/A text N/A N/A text N/A 9995 
... N/A N/A self text text N/A N/A self recipient None N/A send N/A N/A self N/A args kwargs N/A N/A An abstract method that sends the reply. N/A NotImplementedError N/A N/A CompiledReply N/A Reply N/A N/A Replies that contain details about evaluated code. These can be
    sent as replies to comments.
     __init__ N/A N/A self text compile_details N/A N/A N/A N/A N/A Reply __init__ self text N/A N/A self compile_details compile_details N/A N/A self parent_comment None N/A send N/A N/A self comment N/A N/A N/A Send a reply to a specific reddit comment or message. N/A N/A self parent_comment comment N/A N/A self recipient N/A comment author N/A N/A N/A comment reply N/A self text N/A N/A log N/A N/A Replied to {id} format id N/A comment id N/A N/A handle_api_exceptions max_attempts 3 make_edit N/A N/A self comment parent N/A N/A N/A Edit one of the bot's existing comments. N/A N/A self parent_comment parent N/A N/A self recipient N/A parent author N/A N/A N/A comment edit N/A self text N/A N/A log N/A N/A Edited comment {} format N/A comment id N/A N/A handle_api_exceptions max_attempts 3 detect_spam N/A N/A self N/A N/A N/A Scan a reply and return a list of potentially spammy attributes
        found in the comment's output.
         N/A output N/A N/A self compile_details N/A output N/A source N/A N/A self compile_details N/A source N/A errors N/A N/A self compile_details N/A stderr N/A spam_behaviors N/A Excessive line breaks Excessive character count Spam phrase detected Illegal system call detected N/A N/A N/A output count LINE_LIMIT N/A N/A len output CHAR_LIMIT N/A any N/A N/A N/A N/A N/A N/A word encode utf-8 lower N/A N/A N/A N/A N/A source output encode utf-8 lower N/A word SPAM_PHRASES N/A Permission denied errors N/A N/A any N/A N/A spam_behaviors values N/A N/A spam_triggers N/A k N/A N/A k v N/A N/A spam_behaviors iteritems v N/A spam_triggers N/A N/A N/A N/A MessageReply N/A Reply N/A N/A Replies that contain information that may be sent to a reddit user
    via private message.
     __init__ N/A N/A self text subject N/A N/A N/A N/A N/A Reply __init__ self text N/A N/A self subject subject N/A send N/A N/A self comment N/A N/A N/A Reply the author of a reddit comment by sending them a reply
        via private message.
         N/A N/A self recipient N/A comment author N/A r N/A comment reddit_session N/A N/A N/A self subject N/A N/A N/A self subject N/A N/A Comment {id} format id N/A comment id N/A N/A self subject N/A N/A {} - {} format R_USERNAME N/A self subject N/A N/A N/A r send_message N/A self recipient N/A self subject N/A self text N/A N/A log N/A N/A Message reply for comment {id} sent to {to} format id N/A comment id to N/A self recipient N/A N/A handle_api_exceptions max_attempts 3 N/A log N/A N/A message alert N/A False N/A N/A Log messages along with a timestamp in a log file. If the alert
    option is set to true, send a message to the admin's reddit inbox.
     N/A t N/A N/A time strftime %y-%m-%d %H:%M:%S N/A N/A time localtime N/A message N/A N/A {}: {}
 format t message N/A message N/A N/A message encode utf8 replace N/A LOG_FILE N/A N/A N/A open LOG_FILE a f N/A N/A N/A N/A f write message N/A N/A N/A print message end N/A N/A alert ADMIN N/A N/A r N/A N/A praw Reddit USER_AGENT N/A N/A N/A r login R_USERNAME R_PASSWORD N/A admin_alert message N/A subject CompileBot Alert N/A N/A N/A r send_message ADMIN subject admin_alert N/A N/A handle_api_exceptions max_attempts 3 compile N/A N/A source lang stdin N/A N/A N/A Compile and evaluate source sode using the ideone API and return
    a dict containing the output details.

    Keyword arguments:
    source -- a string containing source code to be compiled and evaluated
    lang -- the programming language pertaining to the source code
    stdin -- optional "standard input" for the program

    >>> d = compile('print("Hello World")', 'python')
    >>> d['output']
    Hello World

     N/A lang N/A N/A LANG_ALIASES get N/A N/A lang lower lang N/A i N/A N/A ideone Ideone I_USERNAME I_PASSWORD N/A sub N/A N/A i create_submission source language_name lang std_input stdin N/A sub_link N/A sub N/A link N/A details N/A N/A i submission_details sub_link N/A N/A N/A details N/A status 0 N/A N/A details N/A N/A i submission_details sub_link N/A N/A N/A time sleep 3 N/A N/A details N/A link sub_link N/A details N/A N/A handle_api_exceptions max_attempts 3 code_block N/A N/A text N/A N/A N/A Create a markdown formatted code block containing the given text N/A text N/A text N/A char N/A N/A N/A text N/A N/A text replace char N/A text N/A get_banned N/A N/A reddit N/A N/A N/A Retrive list of banned users list from the moderator subreddit N/A banned N/A N/A N/A N/A user name lower N/A user N/A N/A N/A N/A reddit get_subreddit SUBREDDIT get_banned N/A banned N/A N/A handle_api_exceptions send_modmail N/A N/A subject body reddit N/A N/A N/A Send a message to the bot moderators N/A SUBREDDIT N/A N/A sub N/A N/A reddit get_subreddit SUBREDDIT N/A N/A N/A reddit send_message sub subject body N/A N/A N/A log Mod message not sent. No subreddit found in settings. N/A N/A handle_api_exceptions format_reply N/A N/A details opts N/A N/A N/A Returns a reply that contains the output from a ideone submission's
    details along with optional additional information.
     N/A N/A head body extra N/A N/A N/A --source opts N/A N/A head N/A N/A Source:
{}

 format N/A code_block N/A details N/A source N/A N/A --input opts N/A N/A head N/A N/A Input:
{}

 format N/A code_block N/A details N/A input N/A output N/A N/A details N/A output N/A details N/A stderr N/A N/A N/A N/A output count LINE_LIMIT N/A N/A lines N/A N/A output split N/A N/A N/A len N/A set lines 5 N/A N/A lines_allowed 2 N/A N/A lines_allowed 51 N/A output N/A N/A join N/A lines N/A lines_allowed N/A output 
... N/A N/A N/A len output 8000 N/A N/A output N/A N/A output N/A 8000 
    ...
 N/A body N/A N/A Output:
{}

 format N/A code_block output N/A N/A details N/A cmpinfo N/A N/A body N/A N/A Compiler Info:
{}

 format N/A code_block N/A details N/A cmpinfo N/A N/A --date opts N/A N/A extra N/A N/A Date: {}

 format N/A details N/A date N/A N/A --memory opts N/A N/A extra N/A N/A Memory Usage: {} bytes

 format N/A details N/A memory N/A N/A --time opts N/A N/A extra N/A N/A Execution Time: {} seconds

 format N/A details N/A time N/A N/A --version opts N/A N/A extra N/A N/A Version: {}

 format N/A details N/A langVersion N/A total_len 0 N/A section N/A FOOTER body head extra N/A N/A N/A N/A N/A len section total_len 9800 N/A N/A section N/A N/A section N/A N/A 9800 total_len 
...
 N/A total_len N/A len section N/A reply_text N/A N/A head body extra N/A reply_text N/A parse_comment N/A N/A body N/A N/A N/A Parse a string that contains a username mention and code block
    and return the supplied arguments, source code and input.

    c_pattern is a regular expression that searches for the following:
        1. "+/u/" + the reddit username that is using the program
            (case insensitive).
        2. A string representing the programming language and arguments
            + a "
".
        3. A markdown code block (one or more lines indented by 4 spaces or
            a tab) that represents the source code + a "
".
        4. (Optional) "Input:" OR "Stdin:" + "
".
        5. (Optional) A markdown code block that represents the
            program's input.
     N/A c_pattern N/A \+/u/(?i)%s\s*(?P<args>.*)\n\s*((?<=\n( {4}))|(?<=\n\t))(?P<src>.*(\n((( {4}|\t).*\n)|\n)*(( {4}|\t).*))?)(\n\s*((?i)Input|Stdin):?\s*\n\s*((?<=\n( {4}))|(?<=\n\t))(?P<in>.*(\n((( {4}|\t).*\n)|\n)*(( {4}|\t).*\n?))?))? R_USERNAME N/A m N/A N/A re search c_pattern body N/A N/A args src stdin N/A N/A N/A m group args N/A N/A m group src N/A N/A N/A m group in N/A src N/A N/A src replace N/A stdin N/A N/A stdin replace N/A N/A args src stdin N/A create_reply N/A N/A comment N/A N/A N/A Search comments for username mentions followed by code blocks
    and return a formatted reply containing the output of the executed
    block or a message with additional information.
     N/A N/A N/A N/A args src stdin N/A parse_comment N/A comment body N/A N/A N/A AttributeError N/A N/A preamble N/A N/A ERROR_PREAMBLE format link N/A comment permalink N/A postamble N/A N/A ERROR_POSTAMBLE format link N/A comment permalink N/A error_text N/A N/A preamble FORMAT_ERROR_TEXT postamble N/A N/A log N/A N/A Formatting error on comment {c.permalink} format c comment N/A N/A MessageReply error_text N/A N/A N/A N/A lang opts N/A N/A args split  - 1 N/A opts N/A N/A N/A - opts split N/A N/A N/A ValueError N/A N/A N/A lang opts N/A args N/A N/A lang N/A N/A lang strip N/A N/A N/A details N/A compile src lang stdin stdin N/A N/A log N/A N/A Compiled ideone submission {link} for comment {id} format link N/A details N/A link id N/A comment id N/A N/A N/A N/A ideone LanguageNotFoundError N/A e N/A N/A preamble N/A N/A ERROR_PREAMBLE format link N/A comment permalink N/A postamble N/A N/A ERROR_POSTAMBLE format link N/A comment permalink N/A choices N/A N/A ,  join N/A e similar_languages N/A error_text N/A N/A LANG_ERROR_TEXT format lang lang choices choices N/A error_text N/A N/A preamble error_text postamble N/A N/A log N/A N/A Language error on comment {id} format id N/A comment id N/A N/A MessageReply error_text N/A result_code N/A details N/A result N/A N/A N/A result_code 15 N/A N/A --include-errors opts N/A result_code N/A 11 12 N/A N/A text N/A format_reply details opts N/A ideone_link N/A N/A http://ideone.com/{} format N/A details N/A link N/A url_pl N/A N/A urllib quote N/A comment permalink N/A text N/A N/A FOOTER format ide_link ideone_link perm_link url_pl N/A N/A N/A log N/A N/A Result error {code} detected in comment {id} format code result_code id N/A comment id N/A preamble N/A N/A ERROR_PREAMBLE format link N/A comment permalink N/A postamble N/A N/A ERROR_POSTAMBLE format link N/A comment permalink N/A error_text N/A N/A N/A 11 12 13 17 19 20 COMPILE_ERROR_TEXT RUNTIME_ERROR_TEXT TIMEOUT_ERROR_TEXT MEMORY_ERROR_TEXT ILLEGAL_ERROR_TEXT INTERNAL_ERROR_TEXT get result_code N/A N/A details N/A cmpinfo N/A N/A error_text N/A N/A Compiler Output:

{}

 format N/A code_block N/A details N/A cmpinfo N/A N/A details N/A output N/A N/A error_text N/A N/A Output:

{}

 format N/A code_block N/A details N/A output N/A N/A details N/A stderr N/A N/A error_text N/A N/A Error Output:

{}

 format N/A code_block N/A details N/A stderr N/A error_text N/A N/A preamble error_text postamble N/A N/A MessageReply error_text N/A N/A CompiledReply text details N/A process_unread N/A N/A new r N/A N/A N/A Parse a new comment or message for various options and ignore reply
    to as appropriate.
     N/A reply None N/A sender N/A new author N/A N/A log N/A N/A New {type} {id} from {sender} format type N/A N/A new was_comment mention message id N/A new id sender sender N/A N/A N/A N/A N/A sender name lower BANNED_USERS N/A N/A N/A log N/A N/A Ignoring banned user {user} format user sender N/A N/A N/A N/A new was_comment N/A N/A re search N/A N/A (?i)\+/u/{} format R_USERNAME N/A new body N/A N/A reply N/A create_reply new N/A reply N/A N/A N/A N/A reply send new N/A N/A N/A N/A N/A new was_comment N/A N/A re match (i?)\s*--help N/A new body N/A N/A reply N/A MessageReply HELP_TEXT subject CompileBot Help N/A N/A N/A reply send new N/A N/A N/A N/A N/A new was_comment N/A N/A re match (i?)\s*--report N/A new body SUBREDDIT N/A N/A N/A send_modmail N/A N/A Report from {author} format author N/A new author N/A new body r N/A reply N/A MessageReply Your message has been forwarded to the moderators. Thank you. subject CompileBot Report N/A N/A N/A reply send new N/A N/A N/A N/A N/A new was_comment N/A N/A re match (i?)\s*--recompile N/A new body N/A N/A p (i?)--recompile\s*(?P<url>[^\s*]+)?(?P<id>\b\w+/\w+/\w+\b) N/A m N/A N/A re search p N/A new body N/A N/A N/A id N/A N/A m group id N/A N/A N/A AttributeError N/A N/A N/A N/A new reply RECOMPILE_ERROR_TEXT N/A N/A sub N/A N/A r get_submission submission_id id comment_sort best N/A N/A N/A original N/A N/A sub comments N/A 0 N/A N/A N/A IndexError N/A N/A N/A N/A log N/A N/A Processing request to recompile {id} from {user} format id N/A original id user N/A new author N/A N/A N/A original author N/A new author N/A N/A reply N/A create_reply original N/A N/A N/A N/A new reply RECOMPILE_AUTHOR_ERROR_TEXT N/A N/A log Attempt to reompile on behalf of another author detected. Request deined. N/A N/A N/A isinstance reply CompiledReply N/A N/A rp N/A original replies N/A N/A N/A N/A N/A N/A N/A rp author name lower N/A N/A R_USERNAME lower N/A N/A footnote N/A N/A 

**EDIT:** Recompile request by {} format N/A new author N/A N/A reply text footnote N/A N/A N/A reply make_edit rp original N/A N/A N/A N/A N/A reply send original N/A N/A N/A N/A reply send new N/A N/A reply N/A isinstance reply CompiledReply N/A N/A spam N/A N/A reply detect_spam N/A N/A spam N/A N/A N/A N/A reply parent_comment subreddit display_name IGNORE_SPAM N/A N/A text N/A N/A Potential spam detected on comment {c.permalink} by {c.author}:  format c N/A reply parent_comment N/A text N/A N/A ,  join spam N/A N/A send_modmail Potential spam detected text r N/A N/A log text N/A N/A handle_api_exceptions main N/A N/A N/A N/A N/A r N/A N/A praw Reddit USER_AGENT N/A N/A N/A r login R_USERNAME R_PASSWORD disable_warning True N/A SUBREDDIT N/A N/A BANNED_USERS N/A BANNED_USERS N/A get_banned r N/A inbox N/A N/A r get_unread N/A new inbox N/A N/A N/A N/A N/A N/A N/A process_unread new r N/A N/A N/A N/A tb N/A N/A traceback format_exc N/A N/A log N/A N/A Error processing comment {c.id}
{traceback} format c new traceback N/A code_block tb alert True N/A N/A N/A N/A new mark_as_read N/A N/A handle_api_exceptions N/A N/A __name__ __main__ N/A N/A N/A main