[issue19959] argparse.FileType does not expand tilde "~"

2013-12-12 Thread Garth Bushell

New submission from Garth Bushell:

argparse.FileType does not expand tilde "~". 

This would be useful to take file parameters beginning with "~" and use 
os.path.expanduser to expand this.

--
components: Library (Lib)
messages: 205949
nosy: garthy
priority: normal
severity: normal
status: open
title: argparse.FileType does not expand tilde "~"
versions: Python 3.5

___
Python tracker 
<http://bugs.python.org/issue19959>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19959] argparse.FileType does not expand tilde "~"

2013-12-12 Thread Garth Bushell

Garth Bushell added the comment:

Add patch to add an option to argparse.FileType to enable expanduser.

--
keywords: +patch
Added file: 
http://bugs.python.org/file33100/19959-argparse_filetype_expanduser.patch

___
Python tracker 
<http://bugs.python.org/issue19959>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19959] argparse.FileType does not expand tilde "~"

2013-12-12 Thread Garth Bushell

Changes by Garth Bushell :


--
type:  -> enhancement

___
Python tracker 
<http://bugs.python.org/issue19959>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19959] argparse.FileType does not expand tilde "~"

2013-12-12 Thread Garth Bushell

Garth Bushell added the comment:

Update patch to include docs.

--
Added file: 
http://bugs.python.org/file33102/19959-argparse_filetype_expanduser_plus_doc.patch

___
Python tracker 
<http://bugs.python.org/issue19959>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com