Repository navigation
Commit 403343d
committed
"""echo "print 'test'" | bpython""" no longer breaks
bpython now checks if stdin is a tty and, if not, executes stdin through a
simple interpreter instance and exits.
committer: Bob Farrell <robertanthonyfarrell@gmail.com>1 parent f626f60 commit 403343d
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
1715 | 1715 | | |
1716 | 1716 | | |
1717 | 1717 | | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
1718 | 1723 | | |
| 1724 | + | |
1719 | 1725 | | |
1720 | 1726 | | |
1721 | 1727 | | |
| |||
0 commit comments