[New-bugs-announce] [issue43255] Ceil division with /// operator

Boštjan Mejak report at bugs.python.org
Thu Feb 18 09:18:04 EST 2021


New submission from Boštjan Mejak <bostjan.xperia at gmail.com>:

I hope I'm not too late for a Python 3.10 feature request. I love the fact that Python 3.x does floor division with the // operator.

We, however, don't have a ceil division operator, besides importing the math module and using its math.ceil() function.

Is it possible we have /// as a ceil division operator in Python 3.10?

I just wanted to put this thought out of my head if anyone becomes entertained by this idea.

----------
components: Library (Lib)
messages: 387231
nosy: PedanticHacker, gvanrossum, rhettinger
priority: normal
severity: normal
status: open
title: Ceil division with /// operator
type: enhancement
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43255>
_______________________________________


More information about the New-bugs-announce mailing list