[Python-bugs-list] [ python-Bugs-615506 ] No __mod__ on str subclass

noreply@sourceforge.net noreply@sourceforge.net
Fri, 27 Sep 2002 07:35:28 -0700


Bugs item #615506, was opened at 2002-09-27 14:35
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=615506&group_id=5470

Category: Python Interpreter Core
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Neil Schemenauer (nascheme)
Assigned to: Neil Schemenauer (nascheme)
Summary: No __mod__ on str subclass

Initial Comment:
PyNumber_Remainder does not use __mod__ on str and unicode
subclasses.  I guess the fix would be to check for
nb_remainder first
and then fallback to PyString_Format or PyUnicode_Format.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=615506&group_id=5470