Re: [Python-Dev] PEP 461 and __imod__

2015-01-17 Thread Ethan Furman
On 01/17/2015 07:12 PM, Ethan Furman wrote: > > I have % (__mod__) working for both bytes and bytearray (yay!), but I cannot > find > nor figure out how to tell the bytearray object that 'xyz' is the __imod__ > function. > > Any pointers? I think I found a clue in Objects/floatobject.c: static

[Python-Dev] PEP 461 and __imod__

2015-01-17 Thread Ethan Furman
I have % (__mod__) working for both bytes and bytearray (yay!), but I cannot find nor figure out how to tell the bytearray object that 'xyz' is the __imod__ function. Any pointers? -- ~Ethan~ signature.asc Description: OpenPGP digital signature __