Opened 7 years ago

Last modified 7 years ago

#11797 new Bugs

The __idiv__ operator was replaced with __itruediv__ and __ifloordiv__ in Python 3

Reported by: lahwaacz <j.l.k@…> Owned by: Ralf W. Grosse-Kunstleve
Milestone: To Be Determined Component: python USE GITHUB
Version: Boost 1.59.0 Severity: Problem
Keywords: Cc: j.l.k@…

Description

def(self /= double()) always creates a __idiv__ operator, even in Python 3, which does not support it. Python 3 distinguishes between __itruediv__ and __ifloordiv__, see https://www.python.org/download/releases/3.0/whatsnew/

Change History (1)

comment:1 by lahwaacz <j.l.k@…>, 7 years ago

Cc: j.l.k@… added
Note: See TracTickets for help on using tickets.