[Idle-dev] CVS: idle CallTips.py,1.4,1.5

Kurt B. Kaiser kbk@users.sourceforge.net
Fri, 13 Sep 2002 17:55:23 -0700


Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv3217

Modified Files:
	CallTips.py 
Log Message:
MERGE DS_RPC_BRANCH into MAIN
CallTips
    track Py Idle loewis: Use ascii_letters to avoid UnicodeErrors 06Aug


Index: CallTips.py
===================================================================
RCS file: /cvsroot/idlefork/idle/CallTips.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** CallTips.py	19 Jan 2002 10:39:47 -0000	1.4
--- CallTips.py	14 Sep 2002 00:55:21 -0000	1.5
***************
*** 64,68 ****
  
      def get_object_at_cursor(self,
!                              wordchars="._" + string.uppercase + string.lowercase + string.digits):
          # XXX - This needs to be moved to a better place
          # so the "." attribute lookup code can also use it.
--- 64,71 ----
  
      def get_object_at_cursor(self,
!                 wordchars="._" + string.ascii_letters + string.digits):
!         # Usage of ascii_letters is necessary to avoid UnicodeErrors
!         # if chars contains non-ASCII.
! 
          # XXX - This needs to be moved to a better place
          # so the "." attribute lookup code can also use it.