homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:17kevivsetrecipients: + keviv
2014年11月16日 15:28:17kevivsetmessageid: <1416151697.29.0.251421391647.issue22884@psf.upfronthosting.co.za>
2014年11月16日 15:28:17kevivlinkissue22884 messages
2014年11月16日 15:28:17kevivcreate

AltStyle によって変換されたページ (->オリジナル) /