[issue44356] Abstract enum mixins not allowed

2021-06-09 Thread Ethan Furman
Ethan Furman added the comment: Excellent bug report. But what is an `UnexpectedString()` ? -- ___ Python tracker ___ ___

[issue44355] Allow spaces in format strings

2021-06-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Syntax of format strings cannot be the same as in f-strings. {0} means the first positional argument in format string an integer literal 0 in f-string. {a[x]} means the value of literal string key "x" of keyword argument a in format string, and indexing

[issue44362] improve documentation of SSL deprecations

2021-06-09 Thread Thomas Grainger
Thomas Grainger added the comment: It's also confusing that other not deprecated flags are described in terms of this deprecated flag. These will need rewriting when the deprecated flag is removed -- ___ Python tracker

[issue44357] Add math.cbrt() function: Cube Root

2021-06-09 Thread Mark Dickinson
Mark Dickinson added the comment: BTW, to forestall questions about adding cmath.cbrt: it's not obvious how to extend the real cube root function to a complex cube root, so it might make sense to wait for actual use-cases before doing so. The issue is that the most natural way to define a

[issue44358] AMD64 RHEL8 LTO + PGO 3.x build failed with: /usr/bin/ld: Dwarf Error: Offset (2487097600) greater than or equal to .debug_str size (571933).

2021-06-09 Thread STINNER Victor
STINNER Victor added the comment: I reported the compiler bug to RHEL: https://bugzilla.redhat.com/show_bug.cgi?id=1969775 -- ___ Python tracker ___

[issue44363] Likely false positive for address sanitizer after fork

2021-06-09 Thread Mark Shannon
New submission from Mark Shannon : Running the buildbot for https://github.com/python/cpython/pull/26595 results in failures: https://buildbot.python.org/all/#/builders/581/builds/63 Which claim that the address calculation in `LOAD_ATTR_MODULE` is out of bounds. The tests pass with an added

[issue44357] Add math.cbrt() function: Cube Root

2021-06-09 Thread Ajith Ramachandran
Ajith Ramachandran added the comment: When I needed a function to find cube root, I couldn't find one in the math module. Also found the `cbrt()` function in C. I didn't account for the complex numbers. I didn't wanted to make it a complex function unnecessarily. So I used the `cbrt()`

[issue44346] Fraction constructor may accept spaces around '/'

2021-06-09 Thread Vedran Čačić
Vedran Čačić added the comment: Of course, I'm for it. But we have to be consistent... I was surprised to realize `complex` doesn't accept '2 + 3j' (even though it accepts '(2+3j)', and even '\n2+3j\t'). There are a lot of slippery slopes here (e.g. how about 3_j?). I think that once we

[issue44346] Fraction constructor may accept spaces around '/'

2021-06-09 Thread Sergey B Kirpichev
Sergey B Kirpichev added the comment: > See previous discussion in #9574. Given this, probably spaces around '/' should be disallowed. -- ___ Python tracker ___

[issue44359] test_ftplib fails as "env changes" if a socket operation times out in a thread: TimeoutError is not catched

2021-06-09 Thread STINNER Victor
New submission from STINNER Victor : test_ftplib fails with "env changed" if a socket operation times out in a thread (in the "dummy FTP server"). Example on AMD64 Fedora Rawhide LTO 3.10: https://buildbot.python.org/all/#/builders/653/builds/95 0:02:41 load avg: 8.20 [394/427/1] test_ftplib

[issue44357] Add math.cbrt() function: Cube Root

2021-06-09 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : See also issue27353. -- nosy: +lemburg, mark.dickinson, rhettinger, serhiy.storchaka, stutzbach versions: +Python 3.11 -Python 3.10 ___ Python tracker

[issue44343] Adding the "with" statement support to ContextVar

2021-06-09 Thread Joongi Kim
Joongi Kim added the comment: After checking out PEP-567 (https://www.python.org/dev/peps/pep-0567/), I'm adding njs to the nosy list. -- nosy: +njs ___ Python tracker ___

[issue44346] Fraction constructor may accept spaces around '/'

2021-06-09 Thread Sergey B Kirpichev
Sergey B Kirpichev added the comment: On Wed, Jun 09, 2021 at 06:18:22AM +, Vedran Čačić wrote: > I was surprised to realize `complex` doesn't accept '2 + 3j' Good catch, probably that should be allowed too. > e.g. how about 3_j? The PEP 515 added '_' as a separator between digits. But

[issue44348] test_exceptions.ExceptionTests.test_recursion_in_except_handler stack overflow on Windows debug builds

2021-06-09 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-44360 "test_compile segfault on AMD64 Ubuntu 3.x". -- ___ Python tracker ___ ___

[issue44360] test_compile segfault on AMD64 Ubuntu 3.x

2021-06-09 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-44348 "test_exceptions.ExceptionTests.test_recursion_in_except_handler stack overflow on Windows debug builds". -- ___ Python tracker

[issue40468] IDLE: configdialog tab rearrange

2021-06-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +25205 pull_request: https://github.com/python/cpython/pull/26621 ___ Python tracker ___

[issue44351] distutils.sysconfig.parse_makefile() regression in Python 3.10

2021-06-09 Thread Lumír Balhar
Lumír Balhar added the comment: Thanks for the report. The regression is caused by the fact that the old implementation of parse_makefile in distutils.sysconfig was using feature-rich class TextFile which handles all the functionalities you reported as broken - stripping of comments,

[issue44357] Add math.cbrt() function: Cube Root

2021-06-09 Thread Mark Dickinson
Mark Dickinson added the comment: +1. This is part of C99, so if it's also supported by Visual Studio, then this seems like a no-brainer. If it's _not_ also supported by Visual Studio, or if there are implementations that have serious numerical problems (as was the case with fma) we'll need

[issue44355] Allow spaces in format strings

2021-06-09 Thread Steven D'Aprano
Steven D'Aprano added the comment: I agree that we cannot make the syntax of format string identifal to f-strings. F-strings support arbitrary expressions, while format strings support only a small subset of possible identifiers. My comment was not to make format strings identical to

[issue41165] [Python 3.10] Remove APIs deprecated long enough

2021-06-09 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44348] test_exceptions.ExceptionTests.test_recursion_in_except_handler stack overflow on Windows debug builds

2021-06-09 Thread Senthil Kumaran
Change by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44355] Allow spaces in format strings

2021-06-09 Thread Eric V. Smith
Eric V. Smith added the comment: See msg395383 for how it's an incompatible change even to .format(). In the 15 years since I implemented .format(), this is the first I've ever heard of someone being confused by adding extra spaces. I don't think it's worth changing this. --

[issue44355] Allow spaces in format strings

2021-06-09 Thread Eric V. Smith
Eric V. Smith added the comment: The problem with this change is that it wouldn't be backward compatible. I'm not sure how many people it would affect, but probably more than zero. >>> str.format('{ 0 }', **{' 0 ': 42}) '42' >>> str.format('{ }', **{' ': 43}) '43' Does that mean it can't

[issue44346] Fraction constructor may accept spaces around '/'

2021-06-09 Thread Mark Dickinson
Mark Dickinson added the comment: > I was surprised to realize `complex` doesn't accept '2 + 3j' See previous discussion in #9574. -- nosy: +mark.dickinson ___ Python tracker

[issue44358] AMD64 RHEL8 LTO + PGO 3.x build failed with: /usr/bin/ld: Dwarf Error: Offset (2487097600) greater than or equal to .debug_str size (571933).

2021-06-09 Thread STINNER Victor
New submission from STINNER Victor : On RHEL8, gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) fails to build Python with LTO+PGO: the linker fails with "Dwarf Error". On ~200 builds, the linker error only occurred once (build 279) :-( It sounds really hard to reproduce. I suggest to close the

[issue44362] improve documentation of SSL deprecations

2021-06-09 Thread Christian Heimes
Change by Christian Heimes : -- assignee: -> docs@python components: +Documentation, SSL nosy: +docs@python type: -> enhancement ___ Python tracker ___

[issue44354] ssl deprecation warnings erganomics

2021-06-09 Thread Christian Heimes
Change by Christian Heimes : -- assignee: -> christian.heimes components: +SSL stage: -> needs patch type: -> behavior ___ Python tracker ___

[issue44348] test_exceptions.ExceptionTests.test_recursion_in_except_handler stack overflow on Windows debug builds

2021-06-09 Thread Mark Shannon
Change by Mark Shannon : -- nosy: +Mark.Shannon nosy_count: 9.0 -> 10.0 pull_requests: +25208 pull_request: https://github.com/python/cpython/pull/26623 ___ Python tracker ___

[issue44363] Likely false positive for address sanitizer after fork

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Buildbots have the priority, please don't merge anything that breaks the buildbots. We should figure out how to silence the false positive if indeed is one, but I don't think it is. The address sanitizer is not speculative, it literally checks if

[issue44351] distutils.sysconfig.parse_makefile() regression in Python 3.10

2021-06-09 Thread Petr Viktorin
Petr Viktorin added the comment: IMO, the functionality should only be preserved until distutils is removed. So: - distutils.sysconfig.parse_makefile should use TextFile as before, so projects that use it aren't broken *yet* - nothing else should call distutils.sysconfig.parse_makefile, so

[issue44360] test_compile segfault on AMD64 Ubuntu 3.x

2021-06-09 Thread STINNER Victor
New submission from STINNER Victor : test_compile and test_multiprocessing_forkserver crashed with segfault (SIGSEGV) on AMD64 Ubuntu 3.x: https://buildbot.python.org/all/#/builders/708/builds/31 It *seems* like test_compile.test_stack_overflow() crashed, but the log is not reliable so I

[issue44360] test_compile segfault on AMD64 Ubuntu 3.x

2021-06-09 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44361] test_smtpnet failed with SMTPServerDisconnected on x86 Gentoo Non-Debug with X 3.10

2021-06-09 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44344] Documentation for pow() should include the possibility of complex numbers as a return type

2021-06-09 Thread Steven D'Aprano
Change by Steven D'Aprano : -- nosy: +steven.daprano ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44339] Discrepancy between math.pow(0.0, -inf) and 0.0**-inf

2021-06-09 Thread Steven D'Aprano
Change by Steven D'Aprano : -- nosy: +steven.daprano ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44362] improve documentation of SSL deprecations

2021-06-09 Thread Thomas Grainger
New submission from Thomas Grainger : > I can see in the 3.10 release notes, that ssl.PROTOCOL_TLS becomes > deprecated. Is there any further context explaining why, and what the > preferred usage is instead, so that I (and anyone else) can understand this a > bit more thoroughly?

[issue44354] ssl deprecation warnings erganomics

2021-06-09 Thread Christian Heimes
Change by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44357] Add math.cbrt() function: Cube Root

2021-06-09 Thread Ajith Ramachandran
Change by Ajith Ramachandran : -- components: Library (Lib) nosy: AjithRamachandran priority: normal severity: normal status: open title: Add math.cbrt() function: Cube Root type: enhancement versions: Python 3.10 ___ Python tracker

[issue44359] test_ftplib fails as "env changes" if a socket operation times out in a thread: TimeoutError is not catched

2021-06-09 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44361] test_smtpnet failed with SMTPServerDisconnected on x86 Gentoo Non-Debug with X 3.10

2021-06-09 Thread STINNER Victor
New submission from STINNER Victor : x86 Gentoo Non-Debug with X 3.10: https://buildbot.python.org/all/#/builders/698/builds/112 This buildbot worker has Internet connection issues, so my concern is only how test_smtpnet handles Internet issues. The two tests which fail use "with

[issue44357] Add math.cbrt() function: Cube Root

2021-06-09 Thread Ajith Ramachandran
Change by Ajith Ramachandran : -- keywords: +patch pull_requests: +25206 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26622 ___ Python tracker

[issue44358] AMD64 RHEL8 LTO + PGO 3.x build failed with: /usr/bin/ld: Dwarf Error: Offset (2487097600) greater than or equal to .debug_str size (571933).

2021-06-09 Thread STINNER Victor
STINNER Victor added the comment: On OFTC #gcc, I'm told that it can this known issue fixed in 2018: https://sourceware.org/bugzilla/show_bug.cgi?id=23425 -- ___ Python tracker

[issue44351] distutils.sysconfig.parse_makefile() regression in Python 3.10

2021-06-09 Thread Miro Hrončok
Miro Hrončok added the comment: Yes, for the purposes of this bug, bringing TextFile-powered parse_makefile() back to distutils (and distutils only) is the right thing to do. Whether or not Python needs a public standard library function to parse makefiles and whether that function in

[issue44363] Likely false positive for address sanitizer after fork

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I'm closing this as 3 different tools complain about the same thing, with a very simple reproducer. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue44357] Add math.cbrt() function: Cube Root

2021-06-09 Thread STINNER Victor
STINNER Victor added the comment: I didn't know the "cbrt" function name. It seems like it exists in the libc, but also in numpy. So it's a good idea to reuse this name ;-) numpy.cbrt(): Return the cube-root of an array, element-wise.

[issue44146] Format string fill not handling brace char

2021-06-09 Thread Martin Panter
Martin Panter added the comment: Another workaround: >>> '{:{brace}>10d}'.format(5, brace='{') '{5' -- nosy: +martin.panter ___ Python tracker ___

[issue44206] Add a version number to dict keys.

2021-06-09 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44363] Likely false positive for address sanitizer after fork

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: As I mentioned in https://bugs.python.org/issue43693, the way to run it is the following: $ export ASAN_OPTIONS=detect_leaks=0:allocator_may_return_null=1:handle_segv=0 $ ./configure --with-address-sanitizer --without-pymalloc $ make -j -s $ ./python

[issue44363] Likely false positive for address sanitizer after fork

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Even valgrind sees the problem: ❯ valgrind ./python -m test test_lib2to3 ==27010== Memcheck, a memory error detector ==27010== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==27010== Using Valgrind-3.17.0 and LibVEX; rerun with -h for

[issue44187] Implement infrastructure for quickening and specializing

2021-06-09 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +25209 pull_request: https://github.com/python/cpython/pull/26624 ___ Python tracker ___

[issue44357] Add math.cbrt() function: Cube Root

2021-06-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am surprised that this was not proposed before. Perhaps because it is so easy to write x**(1/3), and if you want a real root of negative argument, it is -(-x)**(1/3). It can be slightly less accurate that the result of C library function cbrt(), but

[issue44357] Add math.cbrt() function: Cube Root

2021-06-09 Thread Mark Dickinson
Mark Dickinson added the comment: There's also a decent chance that a libm implementation of cbrt will be correctly rounded, while `x**(1/3)` is highly unlikely to be so. -- ___ Python tracker

[issue44357] Add math.cbrt() function: Cube Root

2021-06-09 Thread Mark Dickinson
Mark Dickinson added the comment: > Perhaps because it is so easy to write x**(1/3), and if you want a real root > of negative argument, it is -(-x)**(1/3). I consider `x**(1/3)` to be a trap and a bug magnet: many people won't realise that the correct spelling for their situation is

[issue44363] Likely false positive for address sanitizer after fork

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Also, I can reproduce locally without any fork whatsoever: ./python -m test test_lib2to3 SUMMARY: AddressSanitizer: heap-buffer-overflow Python/ceval.c:3549 in _PyEval_EvalFrameDefault Shadow bytes around the buggy address: 0x0c1c8003ec40: fa fa fa

[issue44363] Likely false positive for address sanitizer after fork

2021-06-09 Thread Mark Shannon
Mark Shannon added the comment: If I run the following on main ./configure --with-address-sanitizer make clean make -j12 test I get 22 failures. So something is broken. test_lib2to3 does fork; at least it does when I run it under gdb. -- ___

[issue44360] test_compile segfault on AMD64 Ubuntu 3.x

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I don't think that's a segfault. That seems that the process was killed no? Also, the buildbot is green so this is not happening in the latest builds -- ___ Python tracker

[issue44363] Likely false positive for address sanitizer after fork

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I can reproduce that failure of address sanitizer with GCC and clang separately, so it doesn't seem like a false positive. -- ___ Python tracker

[issue44357] Add math.cbrt() function: Cube Root

2021-06-09 Thread Ajith Ramachandran
Ajith Ramachandran added the comment: Yes I was aware of x**(1/3) and used that. I just thought it would be useful if it was present in math module as it is also used in many situations like `sqrt()`. -- ___ Python tracker

[issue44360] test_compile segfault on AMD64 Ubuntu 3.x

2021-06-09 Thread STINNER Victor
STINNER Victor added the comment: > I don't think that's a segfault. That seems that the process was killed no? > Also, the buildbot is green so this is not happening in the latest builds * (1) 0:01:12, test_compile child process was killed by signal -9 * (2) 0:08:48,

[issue44357] Add math.cbrt() function: Cube Root

2021-06-09 Thread Mark Dickinson
Mark Dickinson added the comment: @Victor: Yep, the name is pretty standard. Not just C, but JavaScript, Java, R, and likely a lot of other languages that I haven't checked. -- ___ Python tracker

[issue44360] test_compile segfault on AMD64 Ubuntu 3.x

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: But SIGSEGV is signal 11, not -9 -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue44345] The first line (comment) of the parser.c is incorrect.

2021-06-09 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: New changeset aef1b58dc8889e1bebaddf1e30f67b63a1b20f90 by Akira Nonaka in branch 'main': bpo-44345: Fix 'generated by' comment in parser.c (GH-26615) https://github.com/python/cpython/commit/aef1b58dc8889e1bebaddf1e30f67b63a1b20f90 -- nosy:

[issue44345] The first line (comment) of the parser.c is incorrect.

2021-06-09 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44242] enum.IntFlag regression: missing values cause TypeError

2021-06-09 Thread Ethan Furman
Ethan Furman added the comment: New changeset eea8148b7dff5ffc7b84433859ac819b1d92a74d by Ethan Furman in branch 'main': bpo-44242: [Enum] remove missing bits test from Flag creation (GH-26586) https://github.com/python/cpython/commit/eea8148b7dff5ffc7b84433859ac819b1d92a74d --

[issue44356] Abstract enum mixins not allowed

2021-06-09 Thread Jordan Ephron
Jordan Ephron added the comment: > But what is an `UnexpectedString()` Sorry, that’s maybe less relevant to the example. It’s just a subclass of string with some marker to make it detectable later on, similar to schemes that taint user input to prevent sql injection or whatever > On Jun 8,

[issue44360] test_compile segfault on AMD64 Ubuntu 3.x

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am quite sure this is not a segmentation fault, Victor. -- ___ Python tracker ___ ___

[issue44356] Abstract enum mixins not allowed

2021-06-09 Thread Jordan Ephron
Jordan Ephron added the comment: Oh, on further investigation I see that the example wouldn't have worked on 3.8 anyway, due to issue34536 adding some checks to the type returned by _missing_, so maybe I'm pushing Enum too far in that case. --

[issue44360] test_compile segfault on AMD64 Ubuntu 3.x

2021-06-09 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Isn't this just an (explicit) SIGKILL? The _exit code_ seems to be -9, not the signal number. -- ___ Python tracker ___

[issue44363] Address sanitizer (gcc version) is generating false positives

2021-06-09 Thread Mark Shannon
Mark Shannon added the comment: I still get quite a few failures on the main branch. It seems like ceval.c:1600 upsets the sanitizer, at least for gcc. There isn't anything wrong with that line, but as I plan to change it anyway I guess it doesn't matter:

[issue44363] Address sanitizer (gcc version) is generating false positives

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Do you think it would be it feasible to run the address sanitizer on all PRs, > so that we can keep it passing? That's a good idea,let me see how easy doing that would be -- ___ Python tracker

[issue44363] Address sanitizer (gcc version) is generating false positives

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: commit e858ea15718709bc8ec3c13bd8451ff7d62cbe80 (HEAD -> specialize-load-attr) Author: Mark Shannon Date: Wed Jun 9 09:33:13 2021 +0100 Assert that address is in bounds (ASAN thinks it might not be). diff --git a/Python/ceval.c b/Python/ceval.c

[issue44363] Address sanitizer (gcc version) is generating false positives

2021-06-09 Thread Mark Shannon
Mark Shannon added the comment: This line seems to be responsible for most of the failures: https://github.com/python/cpython/blob/main/Objects/frameobject.c#L985 Which does appear to be a true positive. -- ___ Python tracker

[issue44364] Add non integral tests for `sqrt()`

2021-06-09 Thread Ajith Ramachandran
Change by Ajith Ramachandran : -- keywords: +patch pull_requests: +25210 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26625 ___ Python tracker

[issue44363] Address sanitizer (gcc version) is generating false positives

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This is not a false positive. I break into gdb at the moment the sanitizer makes the report and inspecting the values that apparently are wrong. I did that by breaking into __sanitizer::ColorizeReports which is called for making the report. THis is

[issue44366] Define functions without parentheses (if no parameters given)

2021-06-09 Thread Boštjan Mejak
New submission from Boštjan Mejak : The syntax to define a class looks like this: class MyClass: pass Nice and neat. *** And the syntax to define a function looks like this: def my_function(): pass Hmmm... *** What if we could define functions (that don't have any parameters) like

[issue44367] Python Code for WebView2 Exe Testing

2021-06-09 Thread Bhavna Sewani
New submission from Bhavna Sewani : I have an application developed using webview2. It is a web application that would be driven by Microsoft Edge(Chromium). It would give a feel of Native/Desktop app instead of web app to the end user. I want to automate testing for this app using

[issue44283] Add jump table for certain safe match-case statements

2021-06-09 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44366] Define functions without parentheses (if no parameters given)

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Closing as this would obviously need a PEP, please open a discusion first on python-ideas -- nosy: +pablogsal resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue44367] Python Code for WebView2 Exe Testing

2021-06-09 Thread Guido van Rossum
Guido van Rossum added the comment: Sorry, this tracker is not for getting help, only for submitting changes to Python itself. Try https://discuss.python.org/c/users/7 instead. -- resolution: -> rejected stage: -> resolved status: open -> closed

[issue44363] Address sanitizer (gcc version) is generating false positives

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: >From the gdb session looks to me that you are reading freed or invalid memory >from the dictionary keys. Well, I'm quite sure you are doing that, but I don't >know why they is happening. -- ___ Python

[issue44361] test_smtpnet failed with SMTPServerDisconnected on x86 Gentoo Non-Debug with X 3.10

2021-06-09 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44363] Address sanitizer (gcc version) is generating false positives

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > It seems like ceval.c:1600 upsets the sanitizer, at least for gcc. Even if you don't trust the sanitizer, you can also use valgrind, it shows the same error: ❯ valgrind ./python -m test test_lib2to3 ==27010== Memcheck, a memory error detector

[issue44357] Add math.cbrt() function: Cube Root

2021-06-09 Thread Mark Dickinson
Mark Dickinson added the comment: If we *really* wanted to bikeshed on the name, back in 1991 Kahan wrote: > Perhaps the last problem is the hardest: choosing the program's name. Ideally > it should need no explanation, but a limitation upon its length may preclude > that. Although "CBRT"

[issue44358] AMD64 RHEL8 LTO + PGO 3.x build failed with: /usr/bin/ld: Dwarf Error: Offset (2487097600) greater than or equal to .debug_str size (571933).

2021-06-09 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44360] test_compile segfault on AMD64 Ubuntu 3.x

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: We'll wait for more builds, but for now the buildbot is green so I think this should be closed and reopened if we see it again. -- ___ Python tracker

[issue44187] Implement infrastructure for quickening and specializing

2021-06-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Is anything left in this issue? -- nosy: +pablogsal ___ Python tracker ___ ___

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-06-09 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +25212 pull_request: https://github.com/python/cpython/pull/26626 ___ Python tracker ___

[issue44187] Implement infrastructure for quickening and specializing

2021-06-09 Thread Mark Shannon
Mark Shannon added the comment: No, this is done -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44360] test_compile segfault on AMD64 Ubuntu 3.x

2021-06-09 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44364] Add non integral tests for `sqrt()`

2021-06-09 Thread Ajith Ramachandran
Change by Ajith Ramachandran : -- components: Tests nosy: AjithRamachandran priority: normal severity: normal status: open title: Add non integral tests for `sqrt()` type: enhancement versions: Python 3.10, Python 3.11 ___ Python tracker

[issue44365] Bad dataclass post-init example

2021-06-09 Thread Micael Jarniac
New submission from Micael Jarniac : https://docs.python.org/3/library/dataclasses.html#post-init-processing https://github.com/python/cpython/blob/3.9/Doc/library/dataclasses.rst#post-init-processing In the example, a base class "Rectangle" is defined, and then a "Square" class inherits

[issue44365] Bad dataclass post-init example

2021-06-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44364] Add non integral tests for `sqrt()`

2021-06-09 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44363] Address sanitizer (gcc version) is generating false positives

2021-06-09 Thread Mark Shannon
Mark Shannon added the comment: What commit are you running that on? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44366] Define functions without parentheses (if no parameters given)

2021-06-09 Thread Irit Katriel
Irit Katriel added the comment: The python-ideas mailing list is a better place for such questions than the bug tracker. -- nosy: +iritkatriel ___ Python tracker ___

[issue44371] asyncio.wait_for does not cancel running tasks in the correct fashion

2021-06-09 Thread Ofek Kirzner
New submission from Ofek Kirzner : Following https://bugs.python.org/issue32751 I think wait_for should also wait for running coroutine in case it has been cancelled. Example code: import asyncio async def inner(): try: print(1) await asyncio.sleep(3600)

[issue44242] enum.IntFlag regression: missing values cause TypeError

2021-06-09 Thread Ethan Furman
Change by Ethan Furman : -- pull_requests: +25221 pull_request: https://github.com/python/cpython/pull/26635 ___ Python tracker ___

[issue44352] Native Windows Python builds running on Europe/Moscow TZ report wrong time from datetime.datetime.now when there is TZ environment variable also set to Europe/Moscow

2021-06-09 Thread Eryk Sun
Eryk Sun added the comment: > 2. Execute 'set TZ=Europe/Moscow' The Windows C runtime supports a simple format for the TZ environment variable, which is detailed in the documentation of _tzset() [1]. For example, it's "MSK-3" for Moscow Standard Time. It's -3 because the offset is from

[issue40468] IDLE: configdialog tab rearrange

2021-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Along with the spinbox PR for #33962, I believe everything discussed here is done. There are still issues to improve specific pages. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue14322] More test coverage for hmac

2021-06-09 Thread Arjun
Change by Arjun : -- pull_requests: +25222 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/26636 ___ Python tracker ___

  1   2   >