Announcements, bump version, tweak example to show attr visibility

This commit is contained in:
Andreas Kloeckner 2015-05-25 14:13:48 -04:00
parent a0245474fd
commit f390f25a91
3 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,10 @@
class MyClass(object):
def __init__(self, a, b):
self.a = a
self.b = b
self._b = [b]
mc = MyClass(15, MyClass(12, None))
def simple_func(x): def simple_func(x):
x += 1 x += 1

View File

@ -1,4 +1,4 @@
NUM_VERSION = (2015, 2) NUM_VERSION = (2015, 3)
VERSION = ".".join(str(nv) for nv in NUM_VERSION) VERSION = ".".join(str(nv) for nv in NUM_VERSION)
__version__ = VERSION __version__ = VERSION

View File

@ -2036,7 +2036,7 @@ class DebuggerUI(FrameVarInfoKeeper):
self.message("Package 'pygments' not found. " self.message("Package 'pygments' not found. "
"Syntax highlighting disabled.") "Syntax highlighting disabled.")
WELCOME_LEVEL = "e024" WELCOME_LEVEL = "e025"
if CONFIG["seen_welcome"] < WELCOME_LEVEL: if CONFIG["seen_welcome"] < WELCOME_LEVEL:
CONFIG["seen_welcome"] = WELCOME_LEVEL CONFIG["seen_welcome"] = WELCOME_LEVEL
from pudb import VERSION from pudb import VERSION
@ -2053,6 +2053,10 @@ class DebuggerUI(FrameVarInfoKeeper):
"(invoked by hitting '?' after this message) should get you " "(invoked by hitting '?' after this message) should get you "
"on your way.\n" "on your way.\n"
"\nChanges in version 2015.3:\n\n"
"- Disable set_trace lines from the UI (Aaron Meurer)\n"
"- Better control over attribute visibility (Ned Batchelder)\n"
"\nChanges in version 2015.2:\n\n" "\nChanges in version 2015.2:\n\n"
"- ptpython support (P. Varet)\n" "- ptpython support (P. Varet)\n"
"- Improved rxvt support (Louper Rouch)\n" "- Improved rxvt support (Louper Rouch)\n"