On Tue, 26 Jul 2011 22:48:25 -0600, Aaron Meurer <[email protected]> wrote:
> Hi.
> 
> I just submitted a pull request
> https://github.com/inducer/pudb/pull/2, which adds a new theme,
> midnight, based on a theme of the same name from Xcode.  I also
> included other improvements, including documenting the configuration.
> 
> This is my finally backporting my custom hacks that I had in my GitHub
> fork for a while (I also finally changed it so my GitHub project is
> forked from yours).

Great--thanks for doing that. I've already worked my way through your
requests.

> There is one more change that I would like to make, which is to add a
> configuration option to change the function that is called on the
> variables (because I want to use str by default; type is completely
> useless).  Should I just allow some common ones, like type, str, repr,
> ... (what else?), or should I have a way to define an arbitrary Python
> function to be called on them?  And if the latter, what is the best
> way to do that?

Sure, sounds good. There's already a per-variable option to do that, so
your new option would just have to set the default on that. If you need
the custom stringifier function, go ahead and implement it, otherwise
I'd stick to the standard ones. (str(), repr(), type())

Thanks for your contributions,
Andreas

Attachment: pgpG4iSFAcmaT.pgp
Description: PGP signature

_______________________________________________
Pudb mailing list
[email protected]
http://lists.tiker.net/listinfo/pudb

Reply via email to