- Use '/' key to quickly access this field.
- Enter a name of repository, or repository group for quick search.
- Prefix query to allow special search:
user:admin, to search for usernames, always global
user_group:devops, to search for user groups, always global
pr:303, to search for pull request number, title, or description, always global
commit:efced4, to search for commits, scoped to repositories or groups
file:models.py, to search for file paths, scoped to repositories or groups
For advanced full text search visit: repository search
Backport PR #2717: One liner to fix debugger printing stack traces when lines of context are larger than source....
Backport PR #2717: One liner to fix debugger printing stack traces when lines of context are larger than source.
Correctly print stack traces when context is larger than lines of source.
To test:
```
In [6]: def bar():
...: return 20
...:
```
Before:
```
In [7]: ipdb.runcall(bar)
<ipython-input-6-d0ed3bd5e16c>(2)bar()
0 return 20
```
And here's after:
```
In [6]: ipdb.runcall(bar)
<ipython-input-5-d0ed3bd5e16c>(2)bar()
1 def bar():
----> 2 return 20
```
Replaces gh-2697. (Adds a test.)