[Python-checkins] python/dist/src/Lib/idlelib CallTips.py,1.10,1.11 NEWS.txt,1.21,1.22 idlever.py,1.13,1.14

kbk@users.sourceforge.net kbk@users.sourceforge.net
Wed, 23 Jul 2003 08:42:16 -0700


Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1:/tmp/cvs-serv16770

Modified Files:
	CallTips.py NEWS.txt idlever.py 
Log Message:
1. Python Bug 775541: Calltips error when docstring is None.  Introduced
   by patch 769142.  Fixed by patch 776062. KBK will backport net result 
   to IDLE release22-maint and IDLEfork.
2. Update NEWS.txt and idlever for release.


Index: CallTips.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/CallTips.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** CallTips.py	13 Jul 2003 10:25:14 -0000	1.10
--- CallTips.py	23 Jul 2003 15:42:13 -0000	1.11
***************
*** 163,168 ****
                  pass
          # See if we can use the docstring
!         doc = getattr(ob, "__doc__", "").lstrip()
          if doc:
              pos = doc.find("\n")
              if pos < 0 or pos > 70:
--- 163,169 ----
                  pass
          # See if we can use the docstring
!         doc = getattr(ob, "__doc__", "")
          if doc:
+             doc = doc.lstrip()
              pos = doc.find("\n")
              if pos < 0 or pos > 70:

Index: NEWS.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/NEWS.txt,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** NEWS.txt	16 Jul 2003 03:10:43 -0000	1.21
--- NEWS.txt	23 Jul 2003 15:42:14 -0000	1.22
***************
*** 1,6 ****
! What's New in IDLE 1.0rc1?
  ===================================
  
! *Release date: 17-Jul-2003*
  
  - Updated extend.txt, help.txt, and config-extensions.def to correctly
--- 1,13 ----
! What's New in IDLE 1.0 release candidate 2?
  ===================================
  
! *Release date: 24-Jul-2003*
! 
! - Calltip error when docstring was None  Python Bug 775541
! 
! What's New in IDLE 1.0 release candidate 1?
! ===================================
! 
! *Release date: 18-Jul-2003*
  
  - Updated extend.txt, help.txt, and config-extensions.def to correctly

Index: idlever.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/idlever.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** idlever.py	16 Jul 2003 03:10:43 -0000	1.13
--- idlever.py	23 Jul 2003 15:42:14 -0000	1.14
***************
*** 1 ****
! IDLE_VERSION = "1.0rc1"
--- 1 ----
! IDLE_VERSION = "1.0rc2"