Message315201
| Author |
jdemeyer |
| Recipients |
Julian, eric.araujo, eric.snow, giampaolo.rodola, jdemeyer, meador.inge, ncoghlan, nikratio, pitrou, python-dev, rhettinger, smarnach |
| Date |
2018年04月11日.20:33:52 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1523478832.98.0.682650639539.issue13585@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Why this?
_exit_wrapper.__self__ = cm
It seems that you are trying to create something which is exactly like a method except that it's not a method. Is there any reason to not use an actual method? It would actually simplify the code.
I ask because assigning __self__ might break after PEP 575. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2018年04月11日 20:33:53 | jdemeyer | set | recipients:
+ jdemeyer, rhettinger, ncoghlan, pitrou, giampaolo.rodola, eric.araujo, nikratio, meador.inge, Julian, python-dev, eric.snow, smarnach |
| 2018年04月11日 20:33:52 | jdemeyer | set | messageid: <1523478832.98.0.682650639539.issue13585@psf.upfronthosting.co.za> |
| 2018年04月11日 20:33:52 | jdemeyer | link | issue13585 messages |
| 2018年04月11日 20:33:52 | jdemeyer | create |
|