[Python-ideas] pdb.set_trace may not seem long

anatoly techtonik techtonik at gmail.com
Mon Apr 9 19:45:28 CEST 2012


On Mon, Apr 9, 2012 at 5:20 PM, Yuval Greenfield <ubershmekel at gmail.com> wrote:
> Proposal:
>
> pdb.st = pdb.set_trace
> -----------
>
> I find myself typing this a lot:
>
>     import pdb;pdb.set_trace()

How about?

    import pdb.trace

--
anatoly t.



More information about the Python-ideas mailing list