[issue10154] locale.normalize strips - from UTF-8, which fails on Mac

2010-12-08 Thread MunSic JEONG

MunSic JEONG rus...@gmail.com added the comment:

Ubuntu 10.4.1 LTS 
 also work fine with both UTF8 and UTF-8

--

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



[issue10154] locale.normalize strips - from UTF-8, which fails on Mac

2010-11-24 Thread MunSic JEONG

Changes by MunSic JEONG rus...@gmail.com:


--
nosy: +ruseel

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



[issue10498] calendar.LocaleHTMLCalendar.formatyearpage() results in traceback with 'unsupported locale setting' on Windows

2010-11-23 Thread MunSic JEONG

MunSic JEONG rus...@gmail.com added the comment:

On OSX, _locale.setlocale raise locale.Error with arg 'UTF8' but ok with 
'UTF-8'. and setlocale tries to normalize localename with locale.normalize(). 
and locale.normalize() always change encoding to 'UTF8' (locale.py:646). 

So changes in locale.normalize could fix this issue at least on OSX. 

patch and unittest against p3k is attached.



I did not search why normalize() changes 'utf_8' to 'UTF8' until now. but I 
would post if I get answer in subversion log.

--
keywords: +patch
Added file: http://bugs.python.org/file19793/issue10498.patch

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



[issue10498] calendar.LocaleHTMLCalendar.formatyearpage() results in traceback with 'unsupported locale setting' on Windows

2010-11-23 Thread MunSic JEONG

MunSic JEONG rus...@gmail.com added the comment:

r38027 has following changes.

-'utf-8':'UTF-8',
+'utf_8':'UTF8',


subversion log is:

Correct mapping of Python codec name to C encoding name for UTF-8 (the C lib 
doesn't seem to like UTF-8).

--

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



[issue10498] calendar.LocaleHTMLCalendar.formatyearpage() results in traceback with 'unsupported locale setting' on Windows

2010-11-22 Thread MunSic JEONG

Changes by MunSic JEONG rus...@gmail.com:


--
nosy: +ruseel

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



[issue1508475] transparent gzip compression in urllib

2010-11-22 Thread MunSic JEONG

Changes by MunSic JEONG rus...@gmail.com:


--
nosy: +ruseel

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



[issue7980] time.strptime not thread safe

2010-10-10 Thread MunSic JEONG

MunSic JEONG rus...@gmail.com added the comment:

 Do you have a patch to fix the issue?
no, I don't. I just wanted to move stage from unittest needed to needs 
patch :)

After reading issue8098, now I realized that this is broad issue as belopolsky 
said in msg110095. 


For new reader of this issue after me, I would like to share my understanding.

Patch like below can solve this ticket. (changing ImportModuleNoBlock call to 
ImportNoBlock)

 static PyObject *
 time_strptime(PyObject *self, PyObject *args)
 {
-PyObject *strptime_module = PyImport_ImportModuleNoBlock(_strptime);
+PyObject *strptime_module = PyImport_ImportModule(_strptime);


But the function PyImport_ImportModuleNoBlock() was introduced and used in 
modules such as the time module to supposedly avoid deadlocks when using 
threads. 

So we could not apply that patch.

--

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



[issue7980] time.strptime not thread safe

2010-10-05 Thread MunSic JEONG

MunSic JEONG rus...@gmail.com added the comment:

Attribute error confirmed on OSX, and py3k.

http://codereview.appspot.com/2371041

--
keywords: +patch
Added file: http://bugs.python.org/file19133/issue7980.patch

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



[issue9012] Separate compilation of time and datetime modules

2010-10-05 Thread MunSic JEONG

Changes by MunSic JEONG rus...@gmail.com:


--
nosy: +ruseel

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



[issue6608] asctime does not check its input

2010-09-30 Thread MunSic JEONG

MunSic JEONG rus...@gmail.com added the comment:

belopolsky
 
I am little worried about my words. I made patch against 2.7-maint branch. But 
I recognized that patch is not following rules, because of your guidance. Then 
I uploaded another patch against py3k branch again. and issue6608-p3k.patch 
could be applied to py3k branch cleanly. If there were any boldness in my 
words, I'm sorry.

and I'm ready to address any thing left in this issue. :)

--

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



[issue8098] PyImport_ImportModuleNoBlock() may solve problems but causes others.

2010-09-28 Thread MunSic JEONG

Changes by MunSic JEONG rus...@gmail.com:


--
nosy: +ruseel

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



[issue7980] time.strptime not thread safe

2010-09-28 Thread MunSic JEONG

Changes by MunSic JEONG rus...@gmail.com:


--
nosy: +ruseel

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



[issue459007] Document sys.path on Windows

2010-09-24 Thread MunSic JEONG

MunSic JEONG rus...@gmail.com added the comment:

I made patch which move comment from PC/getpathp.c to Doc/using/windows.rst. 
And did a little editing, reST markup.

http://codereview.appspot.com/2211046

--
keywords: +patch
Added file: http://bugs.python.org/file18997/comment_move_to_windows_rst.patch

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



[issue6608] asctime does not check its input

2010-09-24 Thread MunSic JEONG

Changes by MunSic JEONG rus...@gmail.com:


Removed file: http://bugs.python.org/file18976/issue6608-timemodule.patch

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



[issue6608] asctime does not check its input

2010-09-24 Thread MunSic JEONG

Changes by MunSic JEONG rus...@gmail.com:


Removed file: http://bugs.python.org/file18978/issue6608-testcase.patch

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



[issue6608] asctime does not check its input

2010-09-24 Thread MunSic JEONG

Changes by MunSic JEONG rus...@gmail.com:


Removed file: http://bugs.python.org/file18987/issue6608-timemodule-2nd.patch

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



[issue6608] asctime does not check its input

2010-09-24 Thread MunSic JEONG

MunSic JEONG rus...@gmail.com added the comment:

I uploaded a patch against py3k branch.

Sorry for many Added file and Removed file mails. I am learning customs 
Trac now.

--
Added file: http://bugs.python.org/file19004/issue6608-p3k.patch

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



[issue9582] documentation line needs rewording

2010-09-23 Thread MunSic JEONG

MunSic JEONG rus...@gmail.com added the comment:

uploaded patch. 

patch could be applied to 2.7-maint and p3k successfuly. single word insert.

--
nosy: +ruseel
Added file: http://bugs.python.org/file18973/issue9582.patch

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



[issue6608] asctime does not check its input

2010-09-23 Thread MunSic JEONG

MunSic JEONG rus...@gmail.com added the comment:

As alexandre.vassalotti pointed in msg107596, I added precondition check.

 * extracted the range check from time_strftime as is_valid_tm.
 * time_asctime, time_strftime call is_valid_tm

 * testcase for both asctime and strftime (abbeyj's work)

I splited patch just for unittest files(Lib/test/test_time.py) and 
(Modules/timemodule.c)

--
keywords: +patch
nosy: +ruseel
Added file: http://bugs.python.org/file18976/issue6608-timemodule.patch

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



[issue6608] asctime does not check its input

2010-09-23 Thread MunSic JEONG

Changes by MunSic JEONG rus...@gmail.com:


Added file: http://bugs.python.org/file18977/issue6608-timemodule.patch

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



[issue6608] asctime does not check its input

2010-09-23 Thread MunSic JEONG

Changes by MunSic JEONG rus...@gmail.com:


Removed file: http://bugs.python.org/file18977/issue6608-timemodule.patch

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



[issue6608] asctime does not check its input

2010-09-23 Thread MunSic JEONG

Changes by MunSic JEONG rus...@gmail.com:


Added file: http://bugs.python.org/file18978/issue6608-testcase.patch

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



[issue6608] asctime does not check its input

2010-09-23 Thread MunSic JEONG

MunSic JEONG rus...@gmail.com added the comment:

Thank you for a kind guidance.

I uploaded patch with 

 - function name checktm 
 - add comment above gettmarg
 - move comment in checktm to (above function signature)
  - change comment little bit to mention issue6608
 - { on new line

--
Added file: http://bugs.python.org/file18987/issue6608-timemodule-2nd.patch

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



[issue459007] Document sys.path on Windows

2010-09-23 Thread MunSic JEONG

Changes by MunSic JEONG rus...@gmail.com:


--
nosy: +ruseel

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