##// END OF EJS Templates
Allow passing extra options to TerminalPdb.pt_init...
Allow passing extra options to TerminalPdb.pt_init Currently, subclasses of TerminalPdb (like in https://github.com/kmaork/madbg/blob/master/madbg/debugger.py#L55) will have to duplicate the entire pt_init method in order to add additional arguments for the prompt session (which accepts about 40 of them). An example would be a subclass that wants to write the prompts to a different output stream than the default. After this change it would just have to override the call to pt_init with `pt_init(dict(input=input, output=output))`

File last commit:

r25839:98bb6cc0
r25868:cc9da29a
Show More
appveyor.yml
31 lines | 765 B | text/x-yaml | YamlLexer
build: false
matrix:
fast_finish: true # immediately finish build once one of the jobs fails.
environment:
matrix:
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python38"
PYTHON_VERSION: "3.8.x"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8.x"
PYTHON_ARCH: "64"
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "%CMD_IN_ENV% python -m pip install --upgrade setuptools pip"
- "%CMD_IN_ENV% pip install nose coverage"
- "%CMD_IN_ENV% pip install .[test]"
- "%CMD_IN_ENV% mkdir results"
- "%CMD_IN_ENV% cd results"
test_script:
- "%CMD_IN_ENV% iptest --coverage xml"