mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	Marc-Andre Lemburg <mal@lemburg.com>:
Add Unicode strings to the list of marshalable types.
This commit is contained in:
		
							parent
							
								
									b1b3096a54
								
							
						
					
					
						commit
						61098f201e
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
					@ -32,11 +32,11 @@ Not all Python object types are supported; in general, only objects
 | 
				
			||||||
whose value is independent from a particular invocation of Python can
 | 
					whose value is independent from a particular invocation of Python can
 | 
				
			||||||
be written and read by this module.  The following types are supported:
 | 
					be written and read by this module.  The following types are supported:
 | 
				
			||||||
\code{None}, integers, long integers, floating point numbers,
 | 
					\code{None}, integers, long integers, floating point numbers,
 | 
				
			||||||
strings, tuples, lists, dictionaries, and code objects, where it
 | 
					strings, Unicode objects, tuples, lists, dictionaries, and code
 | 
				
			||||||
should be understood that tuples, lists and dictionaries are only
 | 
					objects, where it should be understood that tuples, lists and
 | 
				
			||||||
supported as long as the values contained therein are themselves
 | 
					dictionaries are only supported as long as the values contained
 | 
				
			||||||
supported; and recursive lists and dictionaries should not be written
 | 
					therein are themselves supported; and recursive lists and dictionaries
 | 
				
			||||||
(they will cause infinite loops).
 | 
					should not be written (they will cause infinite loops).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\strong{Caveat:} On machines where C's \code{long int} type has more than
 | 
					\strong{Caveat:} On machines where C's \code{long int} type has more than
 | 
				
			||||||
32 bits (such as the DEC Alpha), it
 | 
					32 bits (such as the DEC Alpha), it
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue