[issue23421] tarfile module does not correctly choose compression algorithms

2015-02-09 Thread

許邱翔 added the comment:

yes

just wanna know is there a standard way to get file type by libmagic ?

--
versions:  -Python 3.4

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



[issue23421] tarfile module does not correctly choose compression algorithms

2015-02-09 Thread

Changes by 許邱翔 :


--
versions: +Python 3.4

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



[issue23421] tarfile module does not correctly choose compression algorithms

2015-02-09 Thread

許邱翔 added the comment:

Oh, I can use it.
thx

--

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



[issue23421] tarfile module does not correctly choose compression algorithms

2015-02-09 Thread

許邱翔 added the comment:

Here is the tests.

--
hgrepos: +298
Added file: http://bugs.python.org/file38059/add_tarfile_cli_filetype_test.patch

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



[issue23421] tarfile module does not correctly choose compression algorithms

2015-02-09 Thread

許邱翔 added the comment:

Attached factored patch for tests.

It looks much better. :)

--
hgrepos: +299
Added file: 
http://bugs.python.org/file38079/add_tarfile_cli_filetype_test_refactor.patch

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



[issue23421] tarfile module does not correctly choose compression algorithms

2015-02-09 Thread

許邱翔 added the comment:

s/factored/refactored/

--

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



[issue24774] inconsistency in http.server.test

2015-08-01 Thread

New submission from 許邱翔:

In http.server.test, it still say "This runs an HTTP server on port 8000 (or 
the first command line argument).", but it won't read command line argument any 
more.

since this commit (https://hg.python.org/cpython/rev/935a656359ae)

--
components: Library (Lib)
files: fix_description.patch
keywords: patch
messages: 247821
nosy: wdv4758h
priority: normal
severity: normal
status: open
title: inconsistency in http.server.test
type: behavior
versions: Python 3.3, Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file40095/fix_description.patch

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