[issue34135] The results of time.tzname print broken.

2018-07-16 Thread 김태환

New submission from 김태환 :

When I call time.tzname at Korean Windows. (Microsoft Windows 10 Pro(10.0.17134 
Build 17134))

It prints like below. This problem occurred Python 2 and 3 both.
>>> import time
>>> time.tzname
('´ëÇѹα¹ Ç¥ÁؽÃ', '´ëÇѹα¹ Àϱ¤ Àý¾à ½Ã°£')

I used chardet for getting correct tzname.
>>> import chardet
>>> tzname = [tzn.encode('latin-1').decode('cp949') for tzn in time.tzname]
>>> tzname
['대한민국 표준시', '대한민국 일광 절약 시간']

I think that cause of this problem is tzname encoded by 'latin-1' at Window s.

--
components: Windows
messages: 321790
nosy: paul.moore, steve.dower, tim.golden, zach.ware, 김태환
priority: normal
severity: normal
status: open
title: The results of time.tzname print broken.
type: behavior
versions: Python 2.7, Python 3.5

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



[issue27648] Message of webbrowser.py something wrong.

2016-07-28 Thread 김태환

New submission from 김태환:

I'm using Python 3.5.1+ and Ubuntu 16.04.

When I open new tab to Chrome using 'webbrowser.open()'.
Some message prints next to shell prompt like below.
```
asd 저장소가 생성되었습니다...
첫 위키 페이지를 만들기 위해 Save Page 버튼을 눌러주세요!
['asd']
(Shell prompt) $ 기존 브라우저 세션에 새 창을 생성했습니다.
```
First three line is my program's message, please don't care about them.
Problem happened at final line.
'기존 브라우저 세션에 새 창을 생성했습니다.' means Program created new window to existing browser 
session.
I think that message is for webbrowser.py and it prints with shell prompt.
So, I was reading webbrowser.py simply but I cannot find where it prints 
message.

Thanks.

--
components: Library (Lib)
messages: 271603
nosy: 김태환
priority: normal
severity: normal
status: open
title: Message of webbrowser.py something wrong.
type: behavior
versions: Python 3.5

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



[issue27648] Message of webbrowser.py something wrong.

2016-07-29 Thread 김태환

김태환 added the comment:

I think you’re right.

I also think that Korean message(final line) prints by chrome. (Another lines 
printed by my own codes, please don’t care) But I used webbrowser.open() code 
to outside of __main__. I will test my codes from other web browser (like 
Firefox)

Thank you for replying! 

On 2016년 7월 29일 (금) at 오후 10:58 "R. David Murray"

<
mailto:
> wrote:

R. David Murray added the comment:

Since python isn't internationalized, or even set up for someone else to do it 
(other than getopt/optparse/argparse, and webbrowser doesn't use those outside 
of __main__), I don't see how that message could be coming from Python.

Most likely the message is coming from chrome itself. I'm going to close this 
as third party. If it turns out I'm wrong we can reopen.

--

nosy: +r.david.murray

resolution: -> third party

stage: -> resolved

status: open -> closed

___

Python tracker <
mailto:rep...@bugs.python.org
>

<
http://bugs.python.org/issue27648
>

___

--

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