MCPcopy Create free account

hub / github.com/bpython/bpython / functions

Functions1,126 in github.com/bpython/bpython

↓ 4 callersMethodtry_stages_kill
(self, strings, func)
bpython/test/test_manual_readline.py:207
↓ 3 callersFunctionFileLock
( fileobj: IO, mode: int = 0, filename: str | None = None )
bpython/filelock.py:126
↓ 3 callersMethodactivate
(self)
bpython/curtsiesfrontend/filewatch.py:63
↓ 3 callersMethodadd_config_attr
(self, config_attr, func)
bpython/curtsiesfrontend/manual_readline.py:58
↓ 3 callersMethodappend_reload_and_write
( self, s: str, filename: Path, encoding: str )
bpython/history.py:225
↓ 3 callersFunctioncaptured_output
()
bpython/test/test_curtsies_repl.py:224
↓ 3 callersMethodcurrent
(self)
bpython/repl.py:249
↓ 3 callersFunctioncursor_on_closing_char_pair
Checks if cursor sits on closing character of a pair and whether its pair character is directly behind it
bpython/line.py:285
↓ 3 callersMethodecho
(self, orig_s)
bpython/urwid.py:635
↓ 3 callersMethodfile_prompt
(self, s: str)
bpython/repl.py:354
↓ 3 callersMethodfirst
Move back to the beginning of the history.
bpython/history.py:71
↓ 3 callersMethodflush
Olivier Grisel brought it to my attention that the logging module tries to call this method, since it makes assumptions about stdout t
bpython/repl.py:1077
↓ 3 callersMethodformat
(self, word: str)
bpython/autocomplete.py:416
↓ 3 callersFunctionformat_tokens
(tokensource)
bpython/urwid.py:273
↓ 3 callersMethodis_bpython_filename
(self, fname: Any)
bpython/patch_linecache.py:18
↓ 3 callersMethodis_cseq
(self)
bpython/repl.py:281
↓ 3 callersFunctionlast_word_pos
returns the start index of the last word of given string
bpython/curtsiesfrontend/manual_readline.py:209
↓ 3 callersMethodload
(self, filename: Path, encoding: str)
bpython/history.py:195
↓ 3 callersMethodload_code
Prep code to be run
bpython/curtsiesfrontend/coderunner.py:111
↓ 3 callersFunctionmain
(args=None, locals_=None, banner=None)
bpython/urwid.py:1112
↓ 3 callersMethodmatches
( self, cursor_offset: int, line: str, **kwargs: Any )
bpython/autocomplete.py:308
↓ 3 callersMethodmodule_matches
Modules names to replace cw with
bpython/importcompletion.py:89
↓ 3 callersMethodpager
Runs an external pager on text
bpython/curtsiesfrontend/repl.py:2089
↓ 3 callersMethodprocess_event_and_paint
If None is passed in, just paint the screen
bpython/curtsies.py:130
↓ 3 callersMethodreadline
(self, size: int = -1)
bpython/curtsiesfrontend/repl.py:177
↓ 3 callersMethodrequest_refresh
Request that the bpython display to be refreshed soon.
bpython/curtsiesfrontend/repl.py:540
↓ 3 callersFunctionrun_with_tty
(command)
bpython/test/test_args.py:17
↓ 3 callersMethodsend_session_to_external_editor
Sends entire bpython session to external editor to be edited. Usually bound to F7.
bpython/curtsiesfrontend/repl.py:1102
↓ 3 callersMethodset_edit_markup
Call this when markup changes but the underlying text does not. You should arrange for this to be called from the 'change' signal.
bpython/urwid.py:336
↓ 3 callersMethodset_input_line
Set current input line of the test REPL.
bpython/test/test_repl.py:298
↓ 3 callersMethodshow_source
(self)
bpython/curtsiesfrontend/repl.py:2099
↓ 3 callersMethodsubstitute_cseq
Returns a new line by substituting a common sequence in, and update matches
bpython/repl.py:286
↓ 3 callersMethodtab
Process the tab key being hit. If the line is blank or has only whitespace: indent. If there is text before the cursor: cycle comple
bpython/urwid.py:1061
↓ 3 callersMethodtick
(self, dt=1)
bpython/test/test_curtsies.py:43
↓ 3 callersMethodup_one_line
(self)
bpython/curtsiesfrontend/repl.py:1047
↓ 2 callersFunctionModuleChangedEventHandler
(*args)
bpython/curtsiesfrontend/filewatch.py:12
↓ 2 callersMethod__enter__
(self)
bpython/repl.py:82
↓ 2 callersMethod__exit__
( self, exc_type: type[BaseException] | None, exc_val: BaseException | None, e
bpython/repl.py:85
↓ 2 callersMethod__init__
Initialise the repl. interp is a Python code.InteractiveInterpreter instance config is a populated bpython.config.Struct.
bpython/repl.py:470
↓ 2 callersMethod__init__
(self)
bpython/filelock.py:30
↓ 2 callersMethod__init__
( self, module_gatherer: ModuleGatherer, mode: AutocompleteModes = AutocompleteModes.S
bpython/autocomplete.py:325
↓ 2 callersFunction_after_last_dot
(name: str)
bpython/autocomplete.py:178
↓ 2 callersFunction_few_enough_underscores
Returns whether match should be shown based on current if current is _, True if match starts with 0 or 1 underscore if current is __, True re
bpython/autocomplete.py:182
↓ 2 callersMethod_funcname_and_argnum
Parse out the current function name and arg from a line of code.
bpython/repl.py:601
↓ 2 callersFunction_last_word
(line: str)
bpython/curtsiesfrontend/repl.py:2199
↓ 2 callersFunction_process_ps
Replace ps1/ps2 with the default if the user specified value contains control characters.
bpython/curtsiesfrontend/repl.py:300
↓ 2 callersMethod_reset_timer
Reset the timer from message.
bpython/urwid.py:205
↓ 2 callersMethod_set_current_line
(self, val: str)
bpython/test/test_repl.py:50
↓ 2 callersMethod_unload_code
Called when done running code
bpython/curtsiesfrontend/coderunner.py:119
↓ 2 callersMethodadd_input_character
(self, e: str)
bpython/curtsiesfrontend/repl.py:162
↓ 2 callersMethodadd_normal_character
(self, e)
bpython/curtsiesfrontend/interaction.py:115
↓ 2 callersMethodadd_to_incremental_search
Modify the current search term while in incremental search. The only operations allowed in incremental search mode are adding charact
bpython/curtsiesfrontend/repl.py:1201
↓ 2 callersMethodassertCompiles
(self, source)
bpython/test/test_preprocess.py:37
↓ 2 callersMethodassertShowWhitespaceEqual
(self, a, b)
bpython/test/test_preprocess.py:46
↓ 2 callersMethodattr_lookup
Second half of attr_matches.
bpython/autocomplete.py:439
↓ 2 callersMethodattr_matches
Attributes to replace name with
bpython/importcompletion.py:103
↓ 2 callersFunctionbackspace
(cursor_offset, line)
bpython/curtsiesfrontend/manual_readline.py:230
↓ 2 callersMethodclear_current_block
(self, remove_from_history=True)
bpython/curtsiesfrontend/repl.py:1351
↓ 2 callersMethodclose
See the flush() method docstring.
bpython/repl.py:1091
↓ 2 callersMethodclose
(self)
bpython/curtsiesfrontend/repl.py:223
↓ 2 callersFunctioncode_finished_will_parse
Returns a tuple of whether the buffer could be complete and whether it will parse True, True means code block is finished and no predicted pa
bpython/curtsiesfrontend/interpreter.py:123
↓ 2 callersMethodconfirm
(self, s: str)
bpython/repl.py:344
↓ 2 callersFunctioncopyright_banner
()
bpython/args.py:68
↓ 2 callersFunctioncreate_repl
(brackets_enabled=False, **kwargs)
bpython/test/test_brackets_completion.py:20
↓ 2 callersFunctiondefault_config_path
Returns bpython's default configuration file path.
bpython/config.py:77
↓ 2 callersFunctiondelete_from_cursor_forward
(cursor_offset, line)
bpython/curtsiesfrontend/manual_readline.py:342
↓ 2 callersFunctiondisplay_linize
Returns lines obtained by splitting msg over multiple lines. Warning: if msg is empty, returns an empty list of lines
bpython/curtsiesfrontend/replpainter.py:17
↓ 2 callersMethodenter
(self, line: str)
bpython/history.py:187
↓ 2 callersMethodestimate
(self)
bpython/repl.py:99
↓ 2 callersFunctionextract_exit_value
Given the arguments passed to `SystemExit`, return the value that should be passed to `sys.exit`.
bpython/repl.py:1308
↓ 2 callersMethodformat
(self, tokensource, outfile)
bpython/curtsiesfrontend/interpreter.py:58
↓ 2 callersFunctionfs_from_match
(d: dict[str, Any])
bpython/curtsiesfrontend/parse.py:64
↓ 2 callersFunctiongen_names
()
bpython/test/test_curtsies_painting.py:730
↓ 2 callersMethodget_bpython_history
Given a filename provided by remember_bpython_input, returns the associated source string.
bpython/patch_linecache.py:21
↓ 2 callersFunctionget_config_home
Returns the base directory for bpython's configuration files.
bpython/config.py:72
↓ 2 callersMethodget_object
(self, name: str)
bpython/repl.py:593
↓ 2 callersFunctionget_pager_command
(default: str = "less -rf")
bpython/pager.py:35
↓ 2 callersMethodget_session_formatted_for_file
Format the stdout buffer to something suitable for writing to disk, i.e. without >>> and ... at input lines and with "# OUT: " prepended to
bpython/repl.py:868
↓ 2 callersFunctiongetattr_safe
Side effect free getattr (calls getattr_static).
bpython/inspection.py:384
↓ 2 callersMethodgetstdout
(self)
bpython/repl.py:865
↓ 2 callersMethodhead
(self, path)
bpython/test/test_curtsies_repl.py:355
↓ 2 callersMethodhelp_text
(self)
bpython/curtsiesfrontend/repl.py:2111
↓ 2 callersMethodin_paste_mode
(self)
bpython/curtsiesfrontend/repl.py:1853
↓ 2 callersMethodinitialize_interp
(self)
bpython/curtsiesfrontend/repl.py:2045
↓ 2 callersMethodinsert_char_pair_end
Accepts character which is a part of CHARACTER_PAIR_MAP like brackets and quotes, and checks whether it should be inserted to the line
bpython/curtsiesfrontend/repl.py:862
↓ 2 callersMethodinsert_char_pair_start
Accepts character which is a part of CHARACTER_PAIR_MAP like brackets and quotes, and appends it to the line with an appropriate chara
bpython/curtsiesfrontend/repl.py:833
↓ 2 callersMethodinsert_into_history
(self, s: str)
bpython/repl.py:1009
↓ 2 callersMethodisatty
(self)
bpython/curtsiesfrontend/repl.py:211
↓ 2 callersMethodkeyboard_interrupt
(self)
bpython/urwid.py:953
↓ 2 callersMethodlast
Move forward to the end of the history.
bpython/history.py:173
↓ 2 callersFunctionleft_arrow
(cursor_offset, line)
bpython/curtsiesfrontend/manual_readline.py:175
↓ 2 callersFunctionline_with_cursor
(cursor_offset: int, line: str)
bpython/test/test_line_properties.py:51
↓ 2 callersMethodload_from
(self, fd: TextIO)
bpython/history.py:200
↓ 2 callersMethodmake_readonly
(self)
bpython/urwid.py:327
↓ 2 callersMethodmapping_with_config
Creates a new mapping object by applying a config object
bpython/curtsiesfrontend/manual_readline.py:107
↓ 2 callersMethodmatches_from_completions
( self, cursor, line, block, history, completions )
bpython/test/test_autocomplete.py:366
↓ 2 callersFunctionmock_next
(obj, return_value)
bpython/test/test_curtsies_repl.py:105
↓ 2 callersMethodmodule_attr_matches
Only attributes which are modules to replace name with
bpython/importcompletion.py:129
↓ 2 callersMethodnext_indentation
Return the indentation of the next line based on the current input buffer.
bpython/repl.py:845
↓ 2 callersFunctionpage_internal
A more than dumb pager function.
bpython/pager.py:39
← previousnext →101–200 of 1,126, ranked by callers