This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2019年05月03日 00:45 by Paul Monson, last changed 2022年04月11日 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 13073 | merged | matrixise, 2019年05月22日 06:45 | |
| PR 14032 | merged | miss-islington, 2019年06月12日 23:13 | |
| PR 14057 | merged | miss-islington, 2019年06月13日 13:23 | |
| Messages (5) | |||
|---|---|---|---|
| msg341318 - (view) | Author: Paul Monson (Paul Monson) * | Date: 2019年05月03日 00:45 | |
Need to work around a CRT bug in the use of _tzset() + _tzname[] Calling setlocale(LC_CTYPE, "") on a system where GetACP() returns CP_UTF8 results in empty strings in _tzname[]. This causes time.tzname to be an empty string. I have reported the bug. One possible workaround is to temporarily change the locale by calling setlocale(LC_CTYPE, "C") before calling _tzset and restore the current locale after if the GetACP() == CP_UTF8 or CP_UTF7 |
|||
| msg343148 - (view) | Author: Stéphane Wirtel (matrixise) * (Python committer) | Date: 2019年05月22日 06:48 | |
Hi Paul, I have added your PR at this issue, it was assigned to another bpo issue. |
|||
| msg345426 - (view) | Author: miss-islington (miss-islington) | Date: 2019年06月12日 23:13 | |
New changeset b4c7defe58695a6670a8fdeaef67a638bbb47e42 by Miss Islington (bot) (Paul Monson) in branch 'master': bpo-36779: time.tzname returns empty string on Windows if default cod... (GH-13073) https://github.com/python/cpython/commit/b4c7defe58695a6670a8fdeaef67a638bbb47e42 |
|||
| msg345515 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2019年06月13日 13:22 | |
New changeset 0a9baec16c17d261377fb8a31a57d8c397e25af6 by Victor Stinner (Miss Islington (bot)) in branch '3.8': bpo-36779: time.tzname returns empty string on Windows if default cod... (GH-13073) (GH-14032) https://github.com/python/cpython/commit/0a9baec16c17d261377fb8a31a57d8c397e25af6 |
|||
| msg345517 - (view) | Author: miss-islington (miss-islington) | Date: 2019年06月13日 13:42 | |
New changeset 6a433f5ae63de72a85d20b05ff826c6f72d529b7 by Miss Islington (bot) in branch '3.7': bpo-36779: time.tzname returns empty string on Windows if default cod... (GH-13073) https://github.com/python/cpython/commit/6a433f5ae63de72a85d20b05ff826c6f72d529b7 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:59:14 | admin | set | github: 80960 |
| 2021年03月08日 18:25:28 | vstinner | set | resolution: fixed |
| 2021年03月06日 16:21:56 | eryksun | link | issue16322 superseder |
| 2019年06月13日 13:42:55 | miss-islington | set | messages: + msg345517 |
| 2019年06月13日 13:23:33 | miss-islington | set | pull_requests: + pull_request13919 |
| 2019年06月13日 13:22:57 | vstinner | set | nosy:
+ vstinner messages: + msg345515 |
| 2019年06月12日 23:54:23 | Paul Monson | set | status: open -> closed stage: patch review -> resolved |
| 2019年06月12日 23:13:53 | miss-islington | set | pull_requests: + pull_request13896 |
| 2019年06月12日 23:13:30 | miss-islington | set | nosy:
+ miss-islington messages: + msg345426 |
| 2019年05月22日 06:48:26 | matrixise | set | nosy:
+ matrixise messages: + msg343148 |
| 2019年05月22日 06:45:29 | matrixise | set | keywords:
+ patch stage: test needed -> patch review pull_requests: + pull_request13399 |
| 2019年05月03日 07:45:11 | SilentGhost | set | versions:
+ Python 3.7, Python 3.8 nosy: + paul.moore, tim.golden, zach.ware, steve.dower components: + Windows type: behavior stage: test needed |
| 2019年05月03日 00:47:28 | Paul Monson | set | title: strptime returns empty string on Windows if default codepage is a Unicode codepage -> time.tzname returns empty string on Windows if default codepage is a Unicode codepage |
| 2019年05月03日 00:45:22 | Paul Monson | create | |