mirror of
				https://github.com/python/cpython.git
				synced 2025-10-29 17:38:56 +00:00 
			
		
		
		
	Closes #10650: Deprecate the watchexp parameter of Decimal.quantize().
This commit is contained in:
		
							parent
							
								
									9ecae7a437
								
							
						
					
					
						commit
						af3f3a7f00
					
				
					 3 changed files with 12 additions and 0 deletions
				
			
		|  | @ -737,6 +737,11 @@ Decimal objects | ||||||
|       resulting exponent is greater than :attr:`Emax` or less than |       resulting exponent is greater than :attr:`Emax` or less than | ||||||
|       :attr:`Etiny`. |       :attr:`Etiny`. | ||||||
| 
 | 
 | ||||||
|  |       .. deprecated:: 3.3 | ||||||
|  |          *watchexp* is an implementation detail from the pure Python version | ||||||
|  |          and is not present in the C version. It will be removed in version | ||||||
|  |          3.4, where it defaults to ``True``. | ||||||
|  | 
 | ||||||
|    .. method:: radix() |    .. method:: radix() | ||||||
| 
 | 
 | ||||||
|       Return ``Decimal(10)``, the radix (base) in which the :class:`Decimal` |       Return ``Decimal(10)``, the radix (base) in which the :class:`Decimal` | ||||||
|  |  | ||||||
|  | @ -1190,6 +1190,10 @@ API changes | ||||||
|   changed to match the order displayed by :func:`repr`. |   changed to match the order displayed by :func:`repr`. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | * The ``watchexp`` parameter in the :meth:`~decimal.Decimal.quantize` method | ||||||
|  |   is deprecated. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| ftplib | ftplib | ||||||
| ------ | ------ | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -23,6 +23,9 @@ Library | ||||||
| - Issue #15340: Fix importing the random module when /dev/urandom cannot | - Issue #15340: Fix importing the random module when /dev/urandom cannot | ||||||
|   be opened.  This was a regression caused by the hash randomization patch. |   be opened.  This was a regression caused by the hash randomization patch. | ||||||
| 
 | 
 | ||||||
|  | - Issue #10650: Deprecate the watchexp parameter of the Decimal.quantize() | ||||||
|  |   method. | ||||||
|  | 
 | ||||||
| - Issue #15785: Modify window.get_wch() API of the curses module: return | - Issue #15785: Modify window.get_wch() API of the curses module: return | ||||||
|   a character for most keys, and an integer for special keys, instead of |   a character for most keys, and an integer for special keys, instead of | ||||||
|   always returning an integer. So it is now possible to distinguish special |   always returning an integer. So it is now possible to distinguish special | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Stefan Krah
						Stefan Krah