Message231251
| Author |
keviv |
| Recipients |
keviv |
| Date |
2014年11月16日.15:28:16 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1416151697.29.0.251421391647.issue22884@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Hmm, not sure why I thought I needed `inline code formatting`. It's all monospace anyway!
Anyway, I'm thinking that adding this somewhere in argparse.py:
class _WrappedIO(object):
def __init__(self, fileobj):
self._file = fileobj
def __exit__(tp, val, tb):
return True
def __getattr__(self, name):
return self._file.__gettattr__(name)
and then applying the attached patch *may* fix this. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年11月16日 15:28:17 | keviv | set | recipients:
+ keviv |
| 2014年11月16日 15:28:17 | keviv | set | messageid: <1416151697.29.0.251421391647.issue22884@psf.upfronthosting.co.za> |
| 2014年11月16日 15:28:17 | keviv | link | issue22884 messages |
| 2014年11月16日 15:28:17 | keviv | create |
|