[issue25664] Logging cannot handle Unicode logger names

2015-12-26 Thread Vinay Sajip

Vinay Sajip added the comment:

> Why not doing that in record constructor?

You're right, that's probably better. Perhaps I was too hasty ...

--

___
Python tracker 

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



[issue25664] Logging cannot handle Unicode logger names

2015-12-26 Thread STINNER Victor

STINNER Victor added the comment:

> New changeset 512a628c683e by Vinay Sajip in branch '2.7':
> Closes #25664: handled logger names in Unicode.
> https://hg.python.org/cpython/rev/512a628c683e

.format() doesn't look to me like the best place to encode the name. Why not 
doing that in record constructor?

I don't want to add one try/except for each record field :-/

--

___
Python tracker 

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



[issue25664] Logging cannot handle Unicode logger names

2015-12-22 Thread Joseph Gordon

Changes by Joseph Gordon :


--
nosy: +josephgordon

___
Python tracker 

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



[issue25664] Logging cannot handle Unicode logger names

2015-12-04 Thread Vinay Sajip

Vinay Sajip added the comment:

The problem is that logger names which are Unicode are not handled correctly, 
leading to the error.

--
assignee:  -> vinay.sajip
title: Unexpected UnicodeDecodeError in logging module -> Logging cannot handle 
Unicode logger names

___
Python tracker 

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