[issue43630] unittest use dir(module) to load test cases. Run unittest file by _PyRun_SimpleFileObject, have bug

2021-03-26 Thread junyixie
New submission from junyixie : _PyRun_SimpleFileObject load __main__ module at cache. Call this function multiple times, the attributes stored in the module dict will affect eachother. for example. if we run test_A.py, call _PyRun_SimpleFileObject will create __main__ module, test_A.py add

[issue43631] Update to OpenSSL 1.1.1k

2021-03-26 Thread Christian Heimes
New submission from Christian Heimes : OpenSSL 1.1.1k contains fixes for two high severity CVEs https://www.openssl.org/news/vulnerabilities.html https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3450 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3449 -- assignee: chris

[issue43631] Update to OpenSSL 1.1.1k

2021-03-26 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +23774 pull_request: https://github.com/python/cpython/pull/25024 ___ Python tracker ___ ___

[issue43626] SIGSEV in PyErr_SetObject

2021-03-26 Thread Abraham Macias
Abraham Macias added the comment: Thank you Victor for your response. I follow your advice but the output was an error in a different point of the code and I couldn't see any information about memory allocations. But, I compiled Python 3.7 from source and modified the "Python/errors.c" code

[issue43626] SIGSEV in PyErr_SetObject

2021-03-26 Thread STINNER Victor
STINNER Victor added the comment: > That makes me think that this is a problem in pymongo module. I will report > this bug to them. Yeah, in 90% of cases, the bug comes from a third party C extensions. That's why Python 3.10 now dumps the list of 3rd party C extensions on a fatal error :-)

[issue43094] sqlite3 signature discrepancies between documentation and implementation

2021-03-26 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: > I'd prefer writing a PEP and fix all modules once and for all. Berker, I started drafting a PEP. Would you be interested in helping? -- ___ Python tracker ___

[issue24132] Direct sub-classing of pathlib.Path

2021-03-26 Thread Irit Katriel
Change by Irit Katriel : -- components: +Library (Lib) stage: patch review -> needs patch type: behavior -> enhancement versions: +Python 3.10 -Python 3.6 ___ Python tracker __

[issue43632] an error in the documentation of descriptor

2021-03-26 Thread 江杉
New submission from 江杉 <23533...@gmail.com>: In this section https://docs.python.org/3.8/howto/descriptor.html#functions-and-methods , there is an error: the output of CMD 'd.f.__func__' should be same as the output of 'D.__dict__['f']'. Here the former should be '', but not '' --

[issue43624] Add underscore as a decimal separator for string formatting

2021-03-26 Thread STINNER Victor
STINNER Victor added the comment: > If we do anything for float, we should do the same for decimal.Decimal. and complex ;-) -- ___ Python tracker ___

[issue43632] an error in the documentation of descriptor

2021-03-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue43624] Add underscore as a decimal separator for string formatting

2021-03-26 Thread STINNER Victor
STINNER Victor added the comment: How backward incompatible and annoying would it be to modify the behavior of the existing "_f" format? Do you see use cases which only want to group digits in the integer part but not the fractional part? According to https://discuss.python.org/t/add-under

[issue12638] urllib.URLopener prematurely deletes files on cleanup

2021-03-26 Thread Irit Katriel
Irit Katriel added the comment: I think this is out of date as this feature was deprecated in issue10050. -- components: +Library (Lib) -None nosy: +iritkatriel status: open -> pending ___ Python tracker ___

[issue41906] logging.config.dictConfig does not work with callable filters

2021-03-26 Thread Mario Corchero
Mario Corchero added the comment: Vinay would you consider a patch for logging where dictConfig allows taking objects directly in addition to the reference id? That would allow the following: ``` def noErrorLogs(param): return 1 if param.levelno < 40 else 0 logconfig_dict = { "hand

[issue43620] os.path.join does not use os.sep as documentation claims

2021-03-26 Thread Jared Sutton
Change by Jared Sutton : -- keywords: +patch pull_requests: +23775 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25025 ___ Python tracker

[issue43620] os.path.join does not use os.sep as documentation claims

2021-03-26 Thread Jared Sutton
Jared Sutton added the comment: Thank you for understanding my position, Fred. I submitted a draft PR (25025) for this bug. -- ___ Python tracker ___

[issue43094] sqlite3 signature discrepancies between documentation and implementation

2021-03-26 Thread Berker Peksag
Berker Peksag added the comment: > Berker, I started drafting a PEP. Would you be interested in helping? Of course! I may be not be able to respond to you quickly in the next few weeks, though. -- ___ Python tracker

[issue41506] Inclusion or documentation of extended with syntax in 3.9

2021-03-26 Thread Irit Katriel
Change by Irit Katriel : -- assignee: -> docs@python components: +Documentation, Interpreter Core nosy: +docs@python ___ Python tracker ___ ___

[issue43632] an error in the documentation of descriptor

2021-03-26 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: docs@python -> rhettinger priority: normal -> ___ Python tracker ___ ___ Python-bugs-lis

[issue43632] an error in the documentation of descriptor

2021-03-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the report. This has already been fixed for the 3.9 release and later: https://docs.python.org/3.9/howto/descriptor.html#functions-and-methods It was minor enough to not warrant a backport to 3.8. -- resolution: -> out of date stage:

[issue43620] os.path.join does not use os.sep as documentation claims

2021-03-26 Thread Fred Drake
Fred Drake added the comment: New changeset 21a2cabb3795f5170c746ab8f29e9d25c7442550 by Jared Sutton in branch 'master': bpo-43620: Remove reference to os.sep from os.path.join() doc (#25025) https://github.com/python/cpython/commit/21a2cabb3795f5170c746ab8f29e9d25c7442550 -- _

[issue43620] os.path.join does not use os.sep as documentation claims

2021-03-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +23777 pull_request: https://github.com/python/cpython/pull/25027 ___ Python tracker _

[issue43620] os.path.join does not use os.sep as documentation claims

2021-03-26 Thread Fred Drake
Fred Drake added the comment: New changeset f311290f091957653bba5ebfda28ad981bb78363 by Miss Islington (bot) in branch '3.9': bpo-43620: Remove reference to os.sep from os.path.join() doc (GH-25025) (#25027) https://github.com/python/cpython/commit/f311290f091957653bba5ebfda28ad981bb78363

[issue43633] Improve the textual representation of IPv4-mapped IPv6 addresses

2021-03-26 Thread Maxime Mouchet
New submission from Maxime Mouchet : Python supports IPv4-mapped IPv6 addresses as defined by RFC 4038: "the IPv6 address :::x.y.z.w represents the IPv4 address x.y.z.w.” The current behavior is as follows: from ipaddress import ip_address addr = ip_address(':::8.8.4.4') # IPv6Ad

[issue42136] [importlib] deprecate module_repr() methods

2021-03-26 Thread Brett Cannon
Change by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue43564] ftp tests in test_urllib2net fail instead of skipping on unreachable network

2021-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +giampaolo.rodola, orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue43564] ftp tests in test_urllib2net should skip on unreachable network

2021-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: ftp tests in test_urllib2net fail instead of skipping on unreachable network -> ftp tests in test_urllib2net should skip on unreachable network ___ Python tracker ___

[issue43565] PyUnicode_KIND macro does not has specified return type

2021-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +benjamin.peterson, ezio.melotti, lemburg ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue43568] Drop support for Mac OS X < 10.3 module linking

2021-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list

[issue42136] [importlib] deprecate module_repr() methods

2021-03-26 Thread Brett Cannon
Brett Cannon added the comment: New changeset 1899087b21119c5c64cd41619b542c0bf0ab5751 by Brett Cannon in branch 'master': bpo-42136: Deprecate module_repr() as found in importlib (GH-25022) https://github.com/python/cpython/commit/1899087b21119c5c64cd41619b542c0bf0ab5751 -- __

[issue43634] Extensions build does not respect --jobs setting

2021-03-26 Thread JustAnotherArchivist
New submission from JustAnotherArchivist : The extension building does not respect the --jobs option passed to make. Specifically, in that step, `python setup.py build` always spawns as many gcc processes as there are CPU cores available regardless of that option. This caused problems for me

[issue42136] [importlib] deprecate module_repr() methods

2021-03-26 Thread Brett Cannon
Change by Brett Cannon : -- assignee: brett.cannon -> resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue43609] ast.unparse-ing a FunctionType gives ambiguous result

2021-03-26 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > @BTaskaya I've seen this in third party ides and type checker. For example > they are referring to "Union[Callable[[], Union[int, str]], None]" as "() -> > (int | str) | None" where there are parentheses around the returns. Though you can not simple parse

[issue43576] python3.6.4 os.environ error when write chinese to file

2021-03-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.6 only gets security patches. You or someone needs to show an unfixed bug in master. Your code runs for me on Windows, whereas you appear to be using *nix. Replacing job_name.encode() should have the same behavior. Do you see the same with job_name="中文"

[issue39231] Mistaken notion in tutorial

2021-03-26 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch nosy: +iritkatriel nosy_count: 4.0 -> 5.0 pull_requests: +23778 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25029 ___ Python tracker _

[issue43585] perf_counter() returns computers uptime

2021-03-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Eryk, if I understand correctly, this should be closed as 'not a bug'. Correct? -- nosy: +terry.reedy ___ Python tracker ___ ___

[issue43594] Subclass of both `ABC` and `ABCMeta` breaks on `__subclasscheck__`

2021-03-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Verified on Win10 for 3.8-3.10. 3.6 only gets security fixes. Guido, is the above a bug? (There is no listed abc or 'metaclass' expert and I don't know.) -- nosy: +gvanrossum, terry.reedy title: A metaclass that inherits both `ABC` and `ABCMeta` b

[issue43585] perf_counter() returns computers uptime

2021-03-26 Thread Eryk Sun
Eryk Sun added the comment: I think so. But I'll mark it pending for now in case Tobi provides more information to explain why this is a problem. Making time.perf_counter() system-wide in Windows was fixing it to match the documented behavior. That this provides the system uptime is a natura

[issue39369] Doc: Update mmap readline method documentation

2021-03-26 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-

[issue39616] SSLContext.check_hostname description is inaccurate wrt match_hostname

2021-03-26 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43635] Documentation needs to declare CalledProcessError as potentially resulting from subprocess.run()

2021-03-26 Thread Jennie
New submission from Jennie : The documentation for subprocess says that run() can return CalledProcessError... https://docs.python.org/3/library/subprocess.html#subprocess.run ...but when you click on the link (5th paragraph down) for CalledProcessError, it only lists check_call() and check_

[issue43620] os.path.join does not use os.sep as documentation claims

2021-03-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +23779 pull_request: https://github.com/python/cpython/pull/25030 ___ Python tracker ___ __

[issue43605] Eval/exec and comprehension scopes unclear in documentation

2021-03-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not an execution bug. https://docs.python.org/3/reference/expressions.html#displays-for-lists-sets-and-dictionaries "However, aside from the iterable expression in the leftmost for clause, the comprehension is executed in a separate implicitly nested

[issue43620] os.path.join does not use os.sep as documentation claims

2021-03-26 Thread Fred Drake
Fred Drake added the comment: New changeset 455583b54aaec9a4266ff37dd438cbbd8ec6068a by Miss Islington (bot) in branch '3.8': bpo-43620: Remove reference to os.sep from os.path.join() doc (GH-25025, GH-5030) https://github.com/python/cpython/commit/455583b54aaec9a4266ff37dd438cbbd8ec6068a

[issue43606] tkinter: initial huge window & no widgets visible

2021-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -paul.moore, steve.dower, tim.golden, zach.ware title: PySimpleGUI: initial huge window & no widgets visible -> tkinter: initial huge window & no widgets visible ___ Python tracker

[issue43620] os.path.join does not use os.sep as documentation claims

2021-03-26 Thread Fred Drake
Fred Drake added the comment: PR applied and backported; closing this. Thanks, Jared! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue43576] python3.6.4 os.environ error when write chinese to file

2021-03-26 Thread Eryk Sun
Eryk Sun added the comment: I think this is a locale configuration problem, in which the locale encoding doesn't match the terminal encoding. If so, it can be closed as not a bug. > export a="中文" In POSIX, the shell reads "中文" from the terminal as bytes encoded in the terminal encoding, whic

[issue43605] Eval/exec and comprehension scopes unclear in documentation

2021-03-26 Thread Bruno Loff
Bruno Loff added the comment: Hmm... OK, if I understand correctly, the evaluation procedure for a (e.g.) list comprehension, as described in the documentation you linked in, is as follows: * The generator in the leftmost for expression is evaluated in the current local scope. (doc: "The it

[issue43354] xmlrpc.client: Fault.faultCode erroneously documented to be a string, should be int

2021-03-26 Thread miss-islington
miss-islington added the comment: New changeset 027b6699276ed8d9f68425697ac89bf61e54e6b9 by Jürgen Gmach in branch 'master': bpo-43354: xmlrpc: Fix type documentation for Fault.faultCode (GH-24707) https://github.com/python/cpython/commit/027b6699276ed8d9f68425697ac89bf61e54e6b9 -- n

[issue43576] python3.6.4 os.environ error when write chinese to file

2021-03-26 Thread STINNER Victor
STINNER Victor added the comment: Python works as expected: the UTF-8 codec doesn't allow to encode surrogate characters. Surrogate characters are coming from os.environ['a'] because this environment variable contains bytes which cannot be decoded from the sys.getfilesystemencoding(). You

[issue43576] python3.6.4 os.environ error when write chinese to file

2021-03-26 Thread STINNER Victor
STINNER Victor added the comment: Oh, I forgot to note that Windows is not affected by this issue, since Windows provides directly environment variables as Unicode, and so Python doesn't need to decode byte strings to read os.environ['a'] ;-) -- _

[issue43594] Subclass of both `ABC` and `ABCMeta` breaks on `__subclasscheck__`

2021-03-26 Thread Guido van Rossum
Guido van Rossum added the comment: I think it's strange code -- the mixin wants to be a metaclass but also an ABC (which is not a meta class). Unless there's a serious use case I'm inclinded to reply "don't care". -- ___ Python tracker

[issue43624] Add underscore as a decimal separator for string formatting

2021-03-26 Thread Terry Davis
Terry Davis added the comment: Good point Victor, though I wonder how likely it is that a person using 3.10 would only use this particular new feature, and have an otherwise backwards-compatible codebase. This isn't something that I asked about out of necessity, and there hasn't been any ot

[issue43636] test_descr fails randomly when executed with -R :

2021-03-26 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : ❯ ./python -m test test_descr -m test_slots -R 3:3 0:00:00 load avg: 0.26 Run tests sequentially 0:00:00 load avg: 0.26 [1/1] test_descr beginning 6 repetitions 123456 test test_descr failed -- Traceback (most recent call last): File "/home/pablogsal/

[issue43636] test_descr fails randomly when executed with -R :

2021-03-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Bisecting points at: commit ee48c7d54147ae906776b9f6f96e8920e097d0c4 Author: Dino Viehland Date: Sat Mar 20 12:12:05 2021 -0700 bpo-43452: Micro-optimizations to PyType_Lookup (GH-24804) The common case going through _PyType_Lookup is to ha

[issue43452] Microoptimize PyType_Lookup for cache hits

2021-03-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Seems that commit ee48c7d54147ae906776b9f6f96e8920e097d0c4 has introduced a regression: https://bugs.python.org/issue43636 -- ___ Python tracker __

[issue43636] test_descr fails randomly when executed with -R :

2021-03-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Dino, could you take a look? -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue43636] test_descr fails randomly when executed with -R :

2021-03-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +methane ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue43576] python3.6.4 os.environ error when write chinese to file

2021-03-26 Thread Eryk Sun
Eryk Sun added the comment: > If you are lost with locale encodings, you can attempt to encode > everything in UTF-8 and enables the Python UTF-8 Mode: rushant is using Python 3.6. UTF-8 mode was added in 3.7, so it's not an option without first upgrading to 3.7. Also, it's important to note t

[issue43636] test_descr fails randomly when executed with -R :

2021-03-26 Thread Dino Viehland
Dino Viehland added the comment: Looking! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue43636] test_descr fails randomly when executed with -R :

2021-03-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Seems that the problem is removing the check: if (MCACHE_CACHEABLE_NAME(name) && _PyType_HasFeature(type, Py_TPFLAGS_VALID_VERSION_TAG)) { -- ___ Python tracker

[issue43636] test_descr fails randomly when executed with -R :

2021-03-26 Thread Dino Viehland
Dino Viehland added the comment: It's probably worth having an assert that the version tag is valid, that'll make it easier to see what's going wrong in the cache hit case. We should have the version tag being 0 now when it's not valid. I may not be able to debug it anymore tonight, but if

[issue43636] test_descr fails randomly when executed with -R :

2021-03-26 Thread Dino Viehland
Dino Viehland added the comment: And it looks like we have an entry with a 0 version, but with a valid name: (type_cache_entry) $3 = { version = 0 name = 0x000100ec44f0 value = NULL } -- ___ Python tracker

[issue43636] test_descr fails randomly when executed with -R :

2021-03-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +23780 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25032 ___ Python tracker __

[issue43636] test_descr fails randomly when executed with -R :

2021-03-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think I have it, we still neet to validate that the version tag is correct. Can you take a look at https://github.com/python/cpython/pull/25032 ? -- stage: patch review -> ___ Python tracker

[issue43636] test_descr fails randomly when executed with -R :

2021-03-26 Thread Dino Viehland
Dino Viehland added the comment: I think the issue here is that in assign_version_tag there's this code: if (type->tp_version_tag == 0) { // Wrap-around or just starting Python - clear the whole cache type_cache_clear(cache, 1); return 1; } the return 1 is inco

[issue43636] test_descr fails randomly when executed with -R :

2021-03-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Yup, that makes sense. Let me update the PR -- ___ Python tracker ___ ___ Python-bugs-list

[issue43636] test_descr fails randomly when executed with -R :

2021-03-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue43636] test_descr fails randomly when executed with -R :

2021-03-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 11b85abbae8aaa8410b19f358abd7b401881bb1c by Pablo Galindo in branch 'master': bpo-43636: Validate the version tag in _PyType_Lookup (GH-25032) https://github.com/python/cpython/commit/11b85abbae8aaa8410b19f358abd7b401881bb1c --

[issue38999] Python launcher on Windows does not detect active venv

2021-03-26 Thread Eryk Sun
Eryk Sun added the comment: > I realize one could interpret the python3 in the shebang as an > "explicit version specification", but a) that's not on the > command line, which seems the more natural reading and b) it's > only a partial specification, since it doesn't say which python3 > to u

[issue37769] Windows Store installer should warn user about MAX_PATH

2021-03-26 Thread Eryk Sun
Change by Eryk Sun : -- versions: +Python 3.10 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue34142] Windows launcher version lookup flawed

2021-03-26 Thread Eryk Sun
Change by Eryk Sun : -- type: behavior -> enhancement versions: +Python 3.10 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list

[issue41661] os.path.relpath does not document ValueError on Windows with different drives

2021-03-26 Thread Eryk Sun
Eryk Sun added the comment: The suggested documentation change looks good to me. -- type: behavior -> enhancement versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.7 ___ Python tracker ___

[issue35306] OSError [WinError 123] when testing if pathlib.Path('*') (asterisks) exists

2021-03-26 Thread Eryk Sun
Change by Eryk Sun : -- Removed message: https://bugs.python.org/msg333746 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35306] [Windows] OSError when testing whether pathlib.Path('*') exists

2021-03-26 Thread Eryk Sun
Change by Eryk Sun : -- title: OSError [WinError 123] when testing if pathlib.Path('*') (asterisks) exists -> [Windows] OSError when testing whether pathlib.Path('*') exists type: -> behavior versions: +Python 3.10 -Python 3.7 ___ Python tracker <

[issue42855] pathlib.exists on Windows raises an exception on URL like/bad input

2021-03-26 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> [Windows] OSError when testing whether pathlib.Path('*') exists ___ Python tracker

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2021-03-26 Thread Eryk Sun
Change by Eryk Sun : -- Removed message: https://bugs.python.org/msg361476 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2021-03-26 Thread Eryk Sun
Eryk Sun added the comment: ucrt in Windows 10 v2004 uses an internal wide-character version of the time-zone name, which gets updated by _tzset() and kept in sync with the _tzname encoded strings. Also, note that the current implementation uses the locale's ANSI code page for both "de-DE" a

[issue36319] Erro 0xC0000374 on windows 10

2021-03-26 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> [Windows] time: crash on formatting time with de_DE locale ___ Python tracker _