[issue18977] The -t option has no effect in for uu command-line

2019-04-27 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue18977] The -t option has no effect in for uu command-line

2014-08-07 Thread Mark Lawrence

Mark Lawrence added the comment:

Could it be argued that this is a regression so the type should be behavior and 
not enhancement?

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18977
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18977] The -t option has no effect in for uu command-line

2013-09-08 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

The uu module can be run as command-line tool. In Python 2, uu -t infile 
outfile opens input file in text mode, i.e. convert '\r\n' to '\n' on Windows 
and '\r' to '\n' on Mac Classic, and uu -d -t infile outfile opens output 
file in text mode, i.e. convert '\n' to '\r\n' on Windows and '\n' to '\r' on 
Mac Classic. In Python 3 this option has no effect.

The proposed patch restores former behavior and extends it. Encoding with -t 
option now uses universal newlines for reading, and decoding with -t option now 
converts '\n' to os.linesep for writing. In additional text mode now works with 
standard input/output.

This change perhaps is too large for the fix of such  insignificant bug and 
that is why I propose it as a new feature.

--
assignee: serhiy.storchaka
components: Demos and Tools, Library (Lib)
files: uu_text_mode.patch
keywords: patch
messages: 197279
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: The -t option has no effect in for uu command-line
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file31675/uu_text_mode.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18977
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com