[issue42788] Issue with Python’s Floor Division

Raymond Hettinger report at bugs.python.org
Wed Dec 30 12:43:51 EST 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

The current behavior was specified in PEP 238:

   int / int -> float            
   float // int -> float 

See:  https://www.python.org/dev/peps/pep-0238/#semantics-of-floor-division

----------
nosy: +rhettinger
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list