Commit Graph

60 Commits

Author SHA1 Message Date
Josh Junon
8b020dde69 0.1.8 2017-05-12 00:12:44 -07:00
Josh Junon
a6b49d021f run PYTHONSTARTUP in better-exceptions REPL 2017-05-12 00:09:34 -07:00
Kevin Woldt
4ab6076c3e using relative imports to support sub packaging (#30) 2017-05-03 12:52:37 -07:00
Josh Junon
e1cf1ff35e 0.1.7 2017-04-24 15:51:36 -07:00
Josh Junon
d807d03afc use new PY3 variable instead of system check 2017-04-24 15:51:18 -07:00
cold
cd378ffe7d Fix Non-ASCII exceptions UnicodeDecodeError (#33)
* Fix Non-ASCII exceptions UnicodeDecodeError

Fix some code includes Non-ASCII characters will cause `UnicodeDecodeError`

* Add test encoding & regenerate test data
2017-04-24 15:48:26 -07:00
Josh Junon
74eb5373aa 0.1.6 2017-03-28 14:48:13 -07:00
Josh Junon
9a53e5ffa8 add isatty(2) check back in to color support detection 2017-03-28 14:16:31 -07:00
Josh Junon
c104693af9 updated test output for logging hooks 2017-03-28 14:13:27 -07:00
Josh Junon
f6f74b8ea7 add logger patching (closes #21) 2017-03-28 14:12:14 -07:00
Josh Junon
3c51839251 allow for either dict or module __builtins__ (fixes #26) 2017-03-28 12:56:32 -07:00
Josh Junon
096281cbae clarify usage message when default interpreter is used 2017-03-26 09:23:30 -07:00
Josh
096e70d921 Add Travis testing (#20)
* add .travis

* don't add TERM as test case (duh)

* update tests (TERM -> xterm)

* remove support for 2.6

* don't test on 3.3 (has weird ANSI bug)

* add travis badge
2017-03-24 01:56:12 -07:00
Josh Junon
0d600e9c88 pull out interactive raw test (for now) 2017-03-24 01:30:02 -07:00
Josh Junon
f548b84f21 add special case to remove runcode() calls 2017-03-24 01:18:39 -07:00
Josh Junon
6db81f32c6 omit last frame if we created it 2017-03-24 01:14:15 -07:00
Josh Junon
bcac52d39b define final_source in case there isn't a frame 2017-03-24 01:05:49 -07:00
Josh Junon
2a9b86d8d3 ignore dummy exception frame if tb not present 2017-03-24 00:58:00 -07:00
Josh Junon
db4dc3f378 update tests 2017-03-24 00:47:01 -07:00
Josh Junon
9024677a77 allow for non-whitespace characters to surround strings 2017-03-24 00:46:15 -07:00
Josh Junon
64f01e0d65 update test output for -c fixes 2017-03-24 00:37:58 -07:00
Josh Junon
7fabe8725f fix encoding issues and accidental skipping when compact -c is used 2017-03-24 00:35:28 -07:00
Josh Junon
0d28697d31 add test case for strange -c configurations 2017-03-24 00:32:32 -07:00
Josh Junon
c7e306d309 fix -c parsing when code is the last program argument 2017-03-24 00:06:18 -07:00
Josh Junon
aa2cf4eca7 update test output 2017-03-23 23:58:27 -07:00
Josh Junon
f1ba394557 decode output from spawn() prior to shlex.split-ting it 2017-03-23 23:58:18 -07:00
Josh Junon
525012db05 add comment to test_string 2017-03-23 23:46:57 -07:00
Josh Junon
df512de997 sort colored ast nodes based on their col_offset (fixes #18) 2017-03-23 23:46:46 -07:00
Josh Junon
46363e1061 read command line from system if using -c 2017-03-23 23:31:11 -07:00
Josh Junon
be3b5b38f4 default to 'python' when not running test suite 2017-03-23 22:20:46 -07:00
Josh Junon
8e1040c20a add more sophisticated tests 2017-03-23 22:10:14 -07:00
Josh Junon
e359b7dbb4 add ability to silence the banner 2017-03-23 22:09:56 -07:00
Josh Junon
2d0978b0f1 add interactive mode 2017-03-23 21:04:03 -07:00
Josh Junon
2d87e3e090 0.1.5 2017-03-23 11:43:35 -07:00
Josh Junon
a53ef3c58a fix line munging (fixes #11) 2017-03-23 11:40:15 -07:00
JiuLi Gao
f5defff2b5 Update funciton get_frame_information (#14)
We could use `inspect.getframeinfo()` method to parse all info of a frame that we need.
2017-03-23 11:39:51 -07:00
Josh Junon
e45928fb6b add more terminfo paths 2017-03-23 10:55:51 -07:00
P M
f33c858e15 Improve terminfo detection (fixes #15) (#16)
* Iterate over possible terminfo directories.

* Simplify iterating over terminfo subdirs.
2017-03-23 10:53:33 -07:00
JiuLi Gao
5df6bdef70 Update __init__.py (#13)
typo error
2017-03-22 20:48:27 -07:00
Josh Junon
baf35b3d33 0.1.4 2017-03-22 18:43:09 -07:00
Josh
87413759cc use better color detection methods and add color support on windows
Makes color detection a little more intuitive and adds proper Windows support via colorama (only installed on Windows).
2017-03-22 18:41:02 -07:00
Josh
222d871323 use system encoding and detect non-unicode encoding (#9)
use system encoding and detect non-unicode encoding
2017-03-22 12:30:36 -07:00
Josh Junon
81a1e8a3ca use better version buildup in setup.py 2017-03-22 10:28:41 -07:00
Josh Junon
247ee1c118 0.1.3 2017-03-22 10:28:04 -07:00
Josh Junon
a81b768fd6 don't use bolded angle box character (fixes #6) 2017-03-22 10:26:45 -07:00
Josh Junon
8e53f5b660 add See Also section 2017-03-22 09:42:12 -07:00
Josh Junon
02932bdb35 remove '2.x' now that Python 3 is supported 2017-03-22 09:25:39 -07:00
Josh Junon
0cc5dc13d8 0.1.2 2017-03-22 09:15:33 -07:00
Florian Mounier
3801a070ec Remove useless strip parameter 2017-03-22 09:12:37 -07:00
Florian Mounier
6c22d2b1a4 Use linecache 2017-03-22 09:12:37 -07:00