[Python-checkins] CVS: python/dist/src/Lib pipes.py,1.9,1.10

Fred L. Drake fdrake@users.sourceforge.net
Fri, 20 Jul 2001 11:53:36 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv30437/Lib

Modified Files:
	pipes.py 
Log Message:

Use string.ascii_letters instead of string.letters (SF bug #226706).
Work-around a font-lock bogosity.


Index: pipes.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pipes.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** pipes.py	2001/04/25 03:43:14	1.9
--- pipes.py	2001/07/20 18:53:34	1.10
***************
*** 4,9 ****
  ------------
  
! Suppose you have some data that you want to convert to another format
! (e.g. from GIF image format to PPM image format).  Maybe the
  conversion involves several steps (e.g. piping it through compress or
  uuencode).  Some of the conversion steps may require that their input
--- 4,9 ----
  ------------
  
! Suppose you have some data that you want to convert to another format,
! such as from GIF image format to PPM image format.  Maybe the
  conversion involves several steps (e.g. piping it through compress or
  uuencode).  Some of the conversion steps may require that their input
***************
*** 265,269 ****
  # Reliably quote a string as a single argument for /bin/sh
  
! _safechars = string.letters + string.digits + '!@%_-+=:,./'     # Safe unquoted
  _funnychars = '"`$\\'                           # Unsafe inside "double quotes"
  
--- 265,269 ----
  # Reliably quote a string as a single argument for /bin/sh
  
! _safechars = string.ascii_letters + string.digits + '!@%_-+=:,./' # Safe unquoted
  _funnychars = '"`$\\'                           # Unsafe inside "double quotes"