Message183243
| Author |
Aman.Shah |
| Recipients |
Aman.Shah, Arfrever, alexandre.vassalotti, pitrou, r.david.murray, serhiy.storchaka |
| Date |
2013年03月01日.07:27:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1362122829.58.0.478016783742.issue17299@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I had put in the renaming because "ioclass" is not defined in the class itself, only in the subclasses. So, instantiating it and using dumps/loads would be meaningless and would raise an error. Which is similar to the behavior of an abstract class.
Also, the "if(self.f):" part can be improved as you said and I looked at the patch for other similar mistakes. But, it's an isolated mistake (at lines 33 and 74) and so maybe it can be fixed during the merge itself? |
|