Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								68804315e0 
								
							 
						 
						
							
							
								
								SF Patch  #1093896 :  miscellaneous doc typos  
							
							
							
						 
						
							2005-01-01 00:28:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								5d6057f073 
								
							 
						 
						
							
							
								
								Fix typo.  
							
							
							
						 
						
							2004-12-02 08:31:41 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								23ce5848aa 
								
							 
						 
						
							
							
								
								Clarify the ordering of dictionary keys.  
							
							
							
						 
						
							2004-11-25 05:16:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Fred Drake 
								
							 
						 
						
							
							
							
							
								
							
							
								2269d86598 
								
							 
						 
						
							
							
								
								Fix SF bug  #1061770 : Manual typesets bit-shift operators as guillemet  
							
							
							
						 
						
							2004-11-11 06:14:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Armin Rigo 
								
							 
						 
						
							
							
							
							
								
							
							
								80adba6873 
								
							 
						 
						
							
							
								
								Mistakes in the "sequence types" page:  
							
							... 
							
							
							
							* explanation for example with lists of lists made confusing use of
  the word "contains" to mean "is built out of".
* wrong formula for slices with step.  Is it ok to use LaTeX formulas
  (which become images in the html document)?  This version needs one
  because it's based on a fraction.  Just writing "\code{(j-i)/k}" here would
  be ambiguous because it looks like a rounding-down-to-the-previous-integer
  division, which is not what we need here.  Of course we could write
  "\code{float(j-i)/k}" but it just looks confusing. 
							
						 
						
							2004-11-04 11:29:09 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								77d110d6b8 
								
							 
						 
						
							
							
								
								SF patch  #1041364 : True/False instead of 1/0 in libstdtypes.tex  
							
							... 
							
							
							
							(Contributed by Gerrit Holl.  Reviewed by Jeff Epler.) 
							
						 
						
							2004-10-08 01:52:15 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew M. Kuchling 
								
							 
						 
						
							
							
							
							
								
							
							
								55be9eab38 
								
							 
						 
						
							
							
								
								Typo fix: 'comparisions' is not a word  
							
							
							
						 
						
							2004-09-10 12:59:54 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								bb30af4565 
								
							 
						 
						
							
							
								
								Add missing close parenthesis.  
							
							
							
						 
						
							2004-09-06 00:42:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								18c6960964 
								
							 
						 
						
							
							
								
								SF bug  #901654 :  split method documentation can be improved  
							
							... 
							
							
							
							* Discuss the algorithmic distinctions between s.split() and s.split(sep).
* Document the split behavior for empty strings.
* Note the behavior when maxsplit is zero.
* Include short examples. 
							
						 
						
							2004-09-06 00:12:04 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael W. Hudson 
								
							 
						 
						
							
							
							
							
								
							
							
								5e897959db 
								
							 
						 
						
							
							
								
								This is my patch  
							
							... 
							
							
							
							[ 1004703 ] Make func_name writable
plus fixing a couple of nits in the documentation changes spotted by MvL
and a Misc/NEWS entry. 
							
						 
						
							2004-08-12 18:12:44 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael W. Hudson 
								
							 
						 
						
							
							
							
							
								
							
							
								049e7aaa0f 
								
							 
						 
						
							
							
								
								Point out that the setdefault defaults the value to None.  Inspired by  
							
							... 
							
							
							
							Michael Chermside's thinking about patch #748126  (the chief upshot of
which thinking was "reject it!"). 
							
						 
						
							2004-08-07 16:41:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew M. Kuchling 
								
							 
						 
						
							
							
							
							
								
							
							
								34ed2b020a 
								
							 
						 
						
							
							
								
								Typo fix; use 'in-place' instead of 'inplace'  
							
							
							
						 
						
							2004-08-06 18:55:09 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								52a21b8e65 
								
							 
						 
						
							
							
								
								SF patch  #980695 :  efficient string concatenation  
							
							... 
							
							
							
							(Original patch by Armin Rigo). 
							
						 
						
							2004-08-06 18:43:09 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hye-Shik Chang 
								
							 
						 
						
							
							
							
							
								
							
							
								e9ddfbb412 
								
							 
						 
						
							
							
								
								SF  #989185 : Drop unicode.iswide() and unicode.width() and add  
							
							... 
							
							
							
							unicodedata.east_asian_width().  You can still implement your own
simple width() function using it like this:
    def width(u):
        w = 0
        for c in unicodedata.normalize('NFC', u):
            cwidth = unicodedata.east_asian_width(c)
            if cwidth in ('W', 'F'): w += 2
            else: w += 1
        return w 
							
						 
						
							2004-08-04 07:38:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								cab5b94592 
								
							 
						 
						
							
							
								
								SF bug  #995983  and  #995987 :  Documentation nits.  
							
							
							
						 
						
							2004-07-22 19:33:53 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Walter Dörwald 
								
							 
						 
						
							
							
							
							
								
							
							
								ac1075a645 
								
							 
						 
						
							
							
								
								Document that encode() and decode() raise UnicodeError  
							
							... 
							
							
							
							instead of ValueError.
Add a note about error handling schemes added by PEP 293. 
							
						 
						
							2004-07-01 19:58:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Skip Montanaro 
								
							 
						 
						
							
							
							
							
								
							
							
								ecf7a52bb8 
								
							 
						 
						
							
							
								
								link to the codecs page from the "".encode() description.  
							
							
							
						 
						
							2004-07-01 19:26:04 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								4a9b8069e0 
								
							 
						 
						
							
							
								
								Document string methods that are locale-dependent.  Fixes   #935749 .  
							
							... 
							
							
							
							Will backport to 2.3. 
							
						 
						
							2004-06-03 09:47:01 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hye-Shik Chang 
								
							 
						 
						
							
							
							
							
								
							
							
								974ed7cfa5 
								
							 
						 
						
							
							
								
								- SF  #962502 : Add two more methods for unicode type; width() and  
							
							... 
							
							
							
							iswide() for east asian width manipulation. (Inspired by David
Goodger, Reviewed by Martin v. Loewis)
- Move _PyUnicode_TypeRecord.flags to the end of the struct so that
no padding is added for UCS-4 builds. (Suggested by Martin v. Loewis) 
							
						 
						
							2004-06-02 16:49:17 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Fred Drake 
								
							 
						 
						
							
							
							
							
								
							
							
								f72de0fb8c 
								
							 
						 
						
							
							
								
								add note about the __name__ read-only attribute  
							
							... 
							
							
							
							(closes SF bug #952212 ) 
							
						 
						
							2004-05-12 02:48:29 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hye-Shik Chang 
								
							 
						 
						
							
							
							
							
								
							
							
								9168c70438 
								
							 
						 
						
							
							
								
								SF Patch  #912462 : Relocate \end tag to the right place.  
							
							... 
							
							
							
							(Submitted by George Yoshida) 
							
						 
						
							2004-03-09 05:53:15 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								31017aed36 
								
							 
						 
						
							
							
								
								SF  #904720 :  dict.update should take a 2-tuple sequence like dict.__init_  
							
							... 
							
							
							
							(Championed by Bob Ippolito.)
The update() method for mappings now accepts all the same argument forms
as the dict() constructor.  This includes item lists and/or keyword
arguments. 
							
						 
						
							2004-03-04 08:25:44 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								91f5cbe264 
								
							 
						 
						
							
							
								
								SF bug  #872461 :  list.extend() described as experimental  
							
							
							
						 
						
							2004-01-08 00:31:50 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								50e7a11af1 
								
							 
						 
						
							
							
								
								Correct misrepresentation of print (it uses str(), not ... for  
							
							... 
							
							
							
							conversion).  Hopefully I've not messed up the formatting. 
							
						 
						
							2003-12-31 06:32:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Fred Drake 
								
							 
						 
						
							
							
							
							
								
							
							
								401d1e3cbf 
								
							 
						 
						
							
							
								
								fix a variety of markup bugs  
							
							
							
						 
						
							2003-12-30 22:21:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Fred Drake 
								
							 
						 
						
							
							
							
							
								
							
							
								7c67cb8fba 
								
							 
						 
						
							
							
								
								markup fix  
							
							
							
						 
						
							2003-12-30 17:17:17 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								64958a15d7 
								
							 
						 
						
							
							
								
								Guido grants a Christmas wish:  
							
							... 
							
							
							
							sorted() becomes a regular function instead of a classmethod. 
							
						 
						
							2003-12-17 20:43:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hye-Shik Chang 
								
							 
						 
						
							
							
							
							
								
							
							
								c6f066f9a3 
								
							 
						 
						
							
							
								
								Update documentations for str.rsplit() with Alex Martelli's rewrite.  
							
							
							
						 
						
							2003-12-17 02:49:03 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hye-Shik Chang 
								
							 
						 
						
							
							
							
							
								
							
							
								3ae811b57d 
								
							 
						 
						
							
							
								
								Add rsplit method for str and unicode builtin types.  
							
							... 
							
							
							
							SF feature request #801847 .
Original patch is written by Sean Reifschneider. 
							
						 
						
							2003-12-15 18:49:53 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Neal Norwitz 
								
							 
						 
						
							
							
							
							
								
							
							
								72452650af 
								
							 
						 
						
							
							
								
								Add version changed doc for addition of fillchar to ljust/rjust/center  
							
							
							
						 
						
							2003-11-26 14:54:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								4f8f976576 
								
							 
						 
						
							
							
								
								Add optional fillchar argument to ljust(), rjust(), and center() string methods.  
							
							
							
						 
						
							2003-11-26 08:21:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								f5f41bf087 
								
							 
						 
						
							
							
								
								* Checkin remaining documentation  
							
							... 
							
							
							
							* Add more tests
* Refactor and neaten the code a bit.
* Rename union_update() to update().
* Improve the algorithms (making them a closer to sets.py). 
							
						 
						
							2003-11-24 02:57:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								9885c93b99 
								
							 
						 
						
							
							
								
								Fix typo.  
							
							
							
						 
						
							2003-10-30 06:08:32 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								0a9b9da0c3 
								
							 
						 
						
							
							
								
								Add list.sorted() classmethod.  
							
							
							
						 
						
							2003-10-29 06:54:43 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Fred Drake 
								
							 
						 
						
							
							
							
							
								
							
							
								d22bb6584d 
								
							 
						 
						
							
							
								
								Avoid confusing name for the 3rd argument to str.replace().  
							
							... 
							
							
							
							This closes SF bug #827260 . 
							
						 
						
							2003-10-22 02:56:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Fred Drake 
								
							 
						 
						
							
							
							
							
								
							
							
								5b6150e066 
								
							 
						 
						
							
							
								
								markup fixes; this would not format  
							
							
							
						 
						
							2003-10-21 17:04:21 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								6828e18a6a 
								
							 
						 
						
							
							
								
								Patch  #825679 : Clarify semantics of .isfoo on empty strings.  
							
							... 
							
							
							
							Backported to 2.3. 
							
						 
						
							2003-10-18 09:55:08 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								849a972f35 
								
							 
						 
						
							
							
								
								Patch  #809535 : Mention behaviour of seek on text files. Backported to 2.3.  
							
							
							
						 
						
							2003-10-18 09:38:01 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								42b1ba31af 
								
							 
						 
						
							
							
								
								* list.sort() now supports three keyword arguments:  cmp, key, and reverse.  
							
							... 
							
							
							
							key provides C support for the decorate-sort-undecorate pattern.
  reverse provide a stable sort of the list with the comparisions reversed.
* Amended the docs to guarantee sort stability. 
							
						 
						
							2003-10-16 03:41:09 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								74c8e55f3b 
								
							 
						 
						
							
							
								
								SF bug  #804280 :  fromkeys is not listed in index  
							
							
							
						 
						
							2003-09-12 00:02:37 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								b67449d31d 
								
							 
						 
						
							
							
								
								Fix spacing markup and other sundries.  
							
							
							
						 
						
							2003-09-08 18:52:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								8170200ce2 
								
							 
						 
						
							
							
								
								SF patch  #797180 : Bug 792656: slicing explained  
							
							
							
						 
						
							2003-08-30 23:31:31 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								6e13bcc7b1 
								
							 
						 
						
							
							
								
								SF bug  #775836 : change 0,1 to False,True in dict.has_key doc  
							
							
							
						 
						
							2003-08-08 11:07:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								46f681cc07 
								
							 
						 
						
							
							
								
								Discussion of signatures for unicode.translate() and str.translate()  
							
							... 
							
							
							
							were in the wrong file.  Moved out of libstring.tex and into
libstdtypes.tex. 
							
						 
						
							2003-07-16 05:11:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								2dd8c42638 
								
							 
						 
						
							
							
								
								SF bug  #696777 :  How to make a class iterable using a member generator.  
							
							... 
							
							
							
							* Added a note that a container class can implement the iterator protocol
  by defining its __iter__() method as a generator. 
							
						 
						
							2003-06-25 19:03:22 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Walter Dörwald 
								
							 
						 
						
							
							
							
							
								
							
							
								93719b56ed 
								
							 
						 
						
							
							
								
								Updated documentation for the new slice arguments for list.index().  
							
							
							
						 
						
							2003-06-17 16:19:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								19a5a710fc 
								
							 
						 
						
							
							
								
								Patch  #744238 : Explain that different string types also may compare equal.  
							
							
							
						 
						
							2003-05-31 08:05:49 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								0dfd7a9361 
								
							 
						 
						
							
							
								
								Missing parenthesis found by texcheck.py  
							
							
							
						 
						
							2003-05-10 07:40:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								5467d4c0e3 
								
							 
						 
						
							
							
								
								Patch  #612627 : Add encoding attribute to file objects, and determine  
							
							... 
							
							
							
							the terminal encoding on Windows and Unix. 
							
						 
						
							2003-05-10 07:10:12 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Fred Drake 
								
							 
						 
						
							
							
							
							
								
							
							
								90fc0b356f 
								
							 
						 
						
							
							
								
								At the site of an indexed reference to print, point to the relevant  
							
							... 
							
							
							
							documentation.  Closes SF bug #723136 . 
							
						 
						
							2003-04-30 16:44:36 +00:00