Jay Marcyes
Jay Marcyes
I think it makes sense the way it is if you are ever using the interface raw. It would be kind of confusing if you were using the interface outside...
This is a little more difficult than I thought it would be at first. It looks like right now the best solution will be to modify `Interface.raise_error()` to take in...
I merged this in as https://github.com/Jaymon/dsnparse/pull/12 to make sure you still got credit. I had gone in and refactored the parsing a few months ago and didn't see this PR...
bah! I squashed and merged out of habit and so it truncated your commit out of the official history. Sigh
```python import ast r = list(range(10)) ast.literal_eval(r) ``` might be handy here ([via](https://stackoverflow.com/a/22478998/5006))
It would be cool if you could also do something like get dumped into a shell, something like: ```python pout.d() ``` and at the line that `pout.d()` is called it...
also look at [tracemalloc](https://docs.python.org/3/library/tracemalloc.html) ```python import tracemalloc tracemalloc.start() snapshot = tracemalloc.take_snapshot() top_stats = snapshot.statistics('lineno') print("[ Top 10 ]") for stat in top_stats[:10]: print(stat) ```
[Cyberbrain](https://github.com/laike9m/Cyberbrain) via [Cyberbrain: Python debugging, redefined](https://www.reddit.com/r/Python/comments/k32p48/cyberbrain_python_debugging_redefined/)
https://docs.python.org/3/library/trace.html I was able to get it to run on a test like this: ``` $ python -m trace --listfunc --module pyt ```
Could this be useful for something? https://docs.python.org/3/library/dis.html