
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2019-05-03 00:45 byPaul Monson, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.
| 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)*![]() | 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 changesetb4c7defe58695a6670a8fdeaef67a638bbb47e42 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)*![]() | Date: 2019-06-13 13:22 | |
New changeset0a9baec16c17d261377fb8a31a57d8c397e25af6 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 changeset6a433f5ae63de72a85d20b05ff826c6f72d529b7 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 | |