This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lschoe
Recipients ammar2, lschoe, lukasz.langa, mark.dickinson, miss-islington, rhettinger, serhiy.storchaka
Date 2020-03-17.08:32:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584433925.42.0.632343029239.issue38237@roundup.psfhosted.org>
In-reply-to
Content
There seems to be a slight mixup with the built-in pow() function in Python 3.8.2.

Currently, under https://docs.python.org/3/library/functions.html#pow it says:

	Changed in version 3.9: Allow keyword arguments. Formerly, only positional arguments were supported.
	
I think this should be into "Changed in version 3.8 ... ", as pow(3,4, mod=5) actually works in Python 3.8.2.

The "What’s New In Python 3.8" also needs to be changed accordingly. 
In https://docs.python.org/3/whatsnew/3.8.html#positional-only-parameters it says:

	One use case for this notation is that it allows pure Python functions to fully emulate behaviors of existing C coded functions. For example, the built-in pow() function does not accept keyword arguments:
		def pow(x, y, z=None, /):
			"Emulate the built in pow() function"
			r = x ** y
			return r if z is None else r%z
			
This example can simply be dropped now.
History
Date User Action Args
2020-03-17 08:32:05lschoesetrecipients: + lschoe, rhettinger, mark.dickinson, lukasz.langa, serhiy.storchaka, ammar2, miss-islington
2020-03-17 08:32:05lschoesetmessageid: <1584433925.42.0.632343029239.issue38237@roundup.psfhosted.org>
2020-03-17 08:32:05lschoelinkissue38237 messages
2020-03-17 08:32:05lschoecreate