[issue41048] read_mime_types() should read the rule file using UTF-8, not the locale encoding

2020-06-29 Thread Ned Deily


Ned Deily  added the comment:

Thanks for the PR! With the backports to 3.9 and 3.8 in place, I am assuming we 
can now close this issue.

--
nosy: +ned.deily
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

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



[issue41048] read_mime_types() should read the rule file using UTF-8, not the locale encoding

2020-06-29 Thread Ned Deily


Change by Ned Deily :


--
versions:  -Python 3.7

___
Python tracker 

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



[issue41048] read_mime_types() should read the rule file using UTF-8, not the locale encoding

2020-06-29 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి

Change by Srinivas  Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) 
:


--
pull_requests: +20383
pull_request: https://github.com/python/cpython/pull/21229

___
Python tracker 

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



[issue41048] read_mime_types() should read the rule file using UTF-8, not the locale encoding

2020-06-29 Thread miss-islington


miss-islington  added the comment:


New changeset 7731139b7af655b9f5df6d1b5493f8dfdf41d569 by Miss Islington (bot) 
in branch '3.8':
bpo-41048: mimetypes should read the rule file using UTF-8, not the locale 
encoding (GH-20998)
https://github.com/python/cpython/commit/7731139b7af655b9f5df6d1b5493f8dfdf41d569


--

___
Python tracker 

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



[issue41048] read_mime_types() should read the rule file using UTF-8, not the locale encoding

2020-06-29 Thread miss-islington


miss-islington  added the comment:


New changeset 9e36b6e6c8fc8925c6a5e7b57aff527bc4b862a8 by Miss Islington (bot) 
in branch '3.9':
bpo-41048: mimetypes should read the rule file using UTF-8, not the locale 
encoding (GH-20998)
https://github.com/python/cpython/commit/9e36b6e6c8fc8925c6a5e7b57aff527bc4b862a8


--

___
Python tracker 

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



[issue41048] read_mime_types() should read the rule file using UTF-8, not the locale encoding

2020-06-29 Thread miss-islington


Change by miss-islington :


--
pull_requests: +20365
pull_request: https://github.com/python/cpython/pull/21211

___
Python tracker 

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



[issue41048] read_mime_types() should read the rule file using UTF-8, not the locale encoding

2020-06-29 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset 7f569c9bc0079906012b3034d30fe8abc742e7fc by Srinivas Reddy 
Thatiparthy (శ్రీనివాస్  రెడ్డి తాటిపర్తి) in branch 'master':
bpo-41048: mimetypes should read the rule file using UTF-8, not the locale 
encoding (GH-20998)
https://github.com/python/cpython/commit/7f569c9bc0079906012b3034d30fe8abc742e7fc


--

___
Python tracker 

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



[issue41048] read_mime_types() should read the rule file using UTF-8, not the locale encoding

2020-06-29 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 3.0 -> 4.0
pull_requests: +20364
pull_request: https://github.com/python/cpython/pull/21210

___
Python tracker 

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



[issue41048] read_mime_types() should read the rule file using UTF-8, not the locale encoding

2020-06-20 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి

Change by Srinivas  Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) 
:


--
keywords: +patch
nosy: +thatiparthy
nosy_count: 2.0 -> 3.0
pull_requests: +20173
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/20998

___
Python tracker 

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



[issue41048] read_mime_types() should read the rule file using UTF-8, not the locale encoding

2020-06-20 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

MimeTypes.read() read the rule file using UTF-8, but read_mime_types() uses the 
locale encoding.

It is an easy issue. You need just repeat issue13025 for read_mime_types().

--
components: Library (Lib)
keywords: easy
messages: 371925
nosy: serhiy.storchaka, vstinner
priority: normal
severity: normal
stage: needs patch
status: open
title: read_mime_types() should read the rule file using UTF-8, not the locale 
encoding
type: behavior
versions: Python 3.10, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

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