[Python-ideas] "any" and "all" support multiple arguments

2017-08-01 Thread Louie Lu
Hi all, In "min" and "max" builtin-func, it support two style of args: min(...) min(iterable, *[, default=obj, key=func]) -> value min(arg1, arg2, *args, *[, key=func]) -> value But for "any" and "all", it only support iterable: all(iterable, /) Return True if

[Python-ideas] pdb / bdb adding watchpoint ability

2017-05-24 Thread Louie Lu
Hi all, Current pdb and bdb didn't have the ability to create a watchpoint for variable. Such in gdb, it have a series of watchpoint function*: * watch : break when expression value changed * rwatch : break when read value from expression * awatch: breka when read or write value to