[issue26332] OSError: exception: access violation writing <...> (Windows 10 x64, Python 3.5.1)

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: Should this be closed? There wasn't enough information 4 years ago and I can't imagine anything happening with this now. -- ___ Python tracker

[issue41970] test_lib2to3 fails since Python 3.9

2020-10-08 Thread miss-islington
miss-islington added the comment: New changeset 4a9f82f50d957b6cf3fd207de8b583d9137316b8 by Pablo Galindo in branch 'master': bpo-41970: Avoid test failure in test_lib2to3 if the module is already imported (GH-22595)

[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Running ctypes.util.find_library with gcc-9, if ldconfig is not available, it falls back to check the output of gcc -Wl,-t -lc to locate the library and then runs objdump on the file it's found to parse out the SONAME. With the gcc-9 the output of

[issue41977] ctypes array inside structure requires explicit garbage collection

2020-10-08 Thread Maximilian Pichler
New submission from Maximilian Pichler : If we initialize a `Structure` with two fields as... ```python s = S() s.x = (c_int * 10**8)() s.y = s.x ``` ...and then delete it with ```del s```, the memory allocated for the array is not freed until `gc.collect()` is called. If instead we initalize

[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6ceb5232aeb1943dacbbdb87e7dddfaa716678bc by Pablo Galindo in branch '3.8': [3.8] bpo-41976: Fix the fallback to gcc of ctypes.util.find_library when using gcc>9 (GH-22598). (GH-22600)

[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 9b5a023a5dc3127da15253f7acad71019395ebe1 by Pablo Galindo in branch '3.7': [3.7] bpo-41976: Fix the fallback to gcc of ctypes.util.find_library when using gcc>9 (GH-22598). (GH-22601)

[issue31432] Documention for CERT_OPTIONAL is misleading

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: This seems complete, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue41557] Upgrade Windows and macOS builds to use SQLite 3.33

2020-10-08 Thread miss-islington
miss-islington added the comment: New changeset 089c38677d2269ab52924e4eb117394a74dfd2d9 by Miss Skeleton (bot) in branch '3.9': bpo-41557: Update Windows installer to use SQLite 3.33.0 (GH-21960) https://github.com/python/cpython/commit/089c38677d2269ab52924e4eb117394a74dfd2d9 --

[issue41805] types.GenericAlias and types.Union have no documentation

2020-10-08 Thread Patrick Reader
Patrick Reader added the comment: Sorry, I'd completely forgotten about doing a PR for this. Go ahead! -- ___ Python tracker ___

[issue38634] Symbol resolution conflict when embeding python in an application using libedit

2020-10-08 Thread Colin Watson
Colin Watson added the comment: FWIW I just ran into what I believe to be this bug with the Launchpad test suite on Python 3.6.9. The output shows some normal test output followed by: No entry for terminal type "unknown"; using dumb terminal settings. bind: Invalid command

[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 27ac19cca2c639caaf6fedf3632fe6beb265f24f by Pablo Galindo in branch 'master': bpo-41976: Fix the fallback to gcc of ctypes.util.find_library when using gcc>9 (GH-22598)

[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +21587 pull_request: https://github.com/python/cpython/pull/22599 ___ Python tracker

[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread miss-islington
miss-islington added the comment: New changeset a4ac5fadf55a9743c6812dea8d31ca4f05f33829 by Miss Skeleton (bot) in branch '3.9': bpo-41976: Fix the fallback to gcc of ctypes.util.find_library when using gcc>9 (GH-22598)

[issue39337] codecs.lookup() ignores non-ASCII characters, whereas encodings.normalize_encoding() copies them

2020-10-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3f342376ab0da3b4c8a38a27edfafba8e8cdf52d by Hai Shi in branch 'master': bpo-39337: Add a test case for normalizing of codec names (GH-19069) https://github.com/python/cpython/commit/3f342376ab0da3b4c8a38a27edfafba8e8cdf52d --

[issue37209] Add what's new entries for pickle enhancements

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: This seems complete, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue41306] test_tk test_widgets.ScaleTest fails with Tk 8.6.10

2020-10-08 Thread miss-islington
miss-islington added the comment: New changeset 15e091f63f12b659ad17563a4ce7f5188aceae0a by Miss Skeleton (bot) in branch '3.9': bpo-41306: Allow scale value to not be rounded (GH-21715) https://github.com/python/cpython/commit/15e091f63f12b659ad17563a4ce7f5188aceae0a --

[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +21586 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22598 ___ Python tracker

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-08 Thread Tim Peters
Tim Peters added the comment: Good sleuthing, Dennis! Yes, Fredrik was not willing to add "potentially expensive" (in time or in space) tricks: http://effbot.org/zone/stringlib.htm So worst-case time is proportional to the product of the arguments' lengths, and the cases here appear to,

[issue41968] 3.9 IDLE documentation.

2020-10-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Velson, when you respond to a post by email, rather than on the web page, please delete the post you are responding to, except for maybe a quoted line or two. When your response is added to the web page below previous posts, posts quoted in full constitute

[issue33431] Change description about doc in programming, faq.

2020-10-08 Thread Irit Katriel
New submission from Irit Katriel : lvhuiyang, I think the change you propose is correct and should be made. Why did you abandon the PR? -- nosy: +iritkatriel ___ Python tracker

[issue33894] tempfile.tempdir cannot be unset

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: This is complete and can be closed. -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue23984] Documentation error: Descriptors

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: This seems complete, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue37456] FAQ says positional arguments aren't a thing

2020-10-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33431] Change description about doc in programming, faq.

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: I think the intention was "a method that mutates an argument". As in, an arg other than self. Nevertheless, I agree with removing the sweeping promise about the standard libraries. -- ___ Python tracker

[issue41557] Upgrade Windows and macOS builds to use SQLite 3.33

2020-10-08 Thread miss-islington
miss-islington added the comment: New changeset 30a788990af55b950db424b9cc5408b51e0b24ed by Miss Skeleton (bot) in branch '3.8': bpo-41557: Update Windows installer to use SQLite 3.33.0 (GH-21960) https://github.com/python/cpython/commit/30a788990af55b950db424b9cc5408b51e0b24ed --

[issue38905] venv python reports wrong sys.executable in a subprocess on Windows

2020-10-08 Thread Sergey Nudnou
Sergey Nudnou added the comment: Hello, I've just run into a related issue. I have a python script, which starts an another python script using subprocess.Popen(). The parent script gets pid of the child and monitors up its activity through a database by this pid. The child script updates

[issue41306] test_tk test_widgets.ScaleTest fails with Tk 8.6.10

2020-10-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41968] 3.9 IDLE documentation.

2020-10-08 Thread Velson Horie
Velson Horie added the comment: Paine: thank you for your offer to sort the problem out. See my answer to Terry for a further introduction to the situation. My laptop's operating system Win10 64 bit was mashed by Windows update 1909. I deleted 3.6, loaded 3.8 (but that didn't work because

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-08 Thread Tim Peters
Tim Peters added the comment: Just FYI, the original test program did get the right answer for the second search on my box - after about 3 1/2 hours :-) -- ___ Python tracker

[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +21588 pull_request: https://github.com/python/cpython/pull/22600 ___ Python tracker ___

[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +21589 pull_request: https://github.com/python/cpython/pull/22601 ___ Python tracker ___

[issue41557] Upgrade Windows and macOS builds to use SQLite 3.33

2020-10-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +21591 pull_request: https://github.com/python/cpython/pull/22603 ___ Python tracker ___

[issue41557] Upgrade Windows and macOS builds to use SQLite 3.33

2020-10-08 Thread Steve Dower
Steve Dower added the comment: New changeset bfe6e03cd6931813dd61b50f5fdf7d8a8848f4cd by Erlend Egeberg Aasland in branch 'master': bpo-41557: Update Windows installer to use SQLite 3.33.0 (GH-21960) https://github.com/python/cpython/commit/bfe6e03cd6931813dd61b50f5fdf7d8a8848f4cd

[issue41557] Upgrade Windows and macOS builds to use SQLite 3.33

2020-10-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +21590 pull_request: https://github.com/python/cpython/pull/22602 ___ Python tracker ___

[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue21257] Document parse_headers function of http.client

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: This seems complete. Can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue27351] Unexpected ConfigParser.read() behavior when passed fileobject

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: This seems complete, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue33894] tempfile.tempdir cannot be unset

2020-10-08 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33167] RFC Documentation Updates to urllib.parse.rst

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: Since the PR was abandoned as out of date, should this issue be closed as well? -- nosy: +iritkatriel ___ Python tracker ___

[issue37456] FAQ says positional arguments aren't a thing

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: This seems complete, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue38634] Symbol resolution conflict when embeding python in an application using libedit

2020-10-08 Thread Colin Watson
Colin Watson added the comment: Here's a reasonably minimal reproduction recipe reduced from real code in the Launchpad test suite that doesn't require compiling a separate C extension. It fails on Ubuntu 18.04 with the gir1.2-gtk-3.0, python3-gi, and xvfb packages installed. (The

[issue41970] test_lib2to3 fails since Python 3.9

2020-10-08 Thread Federico Granata
Federico Granata added the comment: I just run "python -m test" for it to fail and "python -m test test_lib2to3" for it to succeded. -- ___ Python tracker ___

[issue21506] Windows MSI installer should mklink (symlink) python.exe to python2.7.exe

2020-10-08 Thread ahiijny
Change by ahiijny : -- nosy: +ahiijny ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7946] Convoy effect with I/O bound threads and New GIL

2020-10-08 Thread STINNER Victor
STINNER Victor added the comment: If someone wants to close this issue, I suggest to write a short section in the Python documentation to give some highlights on the available options and stategies to maximize performances and list drawbacks of each method. Examples: * Multiple threads

[issue40066] Enum._convert should change __repr__ and/or __str__ to use module name instead of class name

2020-10-08 Thread Vedran Čačić
Vedran Čačić added the comment: > - do you think the change has merit? Absolutely. > - why /shouldn't/ we make the change? Well, standard backward compatibility stuff. :-) -- ___ Python tracker

[issue28874] test_logging fails and freezes

2020-10-08 Thread STINNER Victor
STINNER Victor added the comment: Python 3.5 is no longer supported (no bugfix, no security fix). This issue is closed. -- ___ Python tracker ___

[issue39273] ncurses does not include BUTTON5_* constants

2020-10-08 Thread Grady Martin
Grady Martin added the comment: This baffled me, as well. Does the reason involve bit-field width? By the way, look at what my Python installation does when just *pressing* button 5 (mouse wheel down) after calling `curses.mousemask()`: ``` _curses.error: getmouse() returned ERR ``` The

[issue41306] test_tk test_widgets.ScaleTest fails with Tk 8.6.10

2020-10-08 Thread miss-islington
miss-islington added the comment: New changeset 3d103e06951324680c587d4fe1135f06367c9d3d by Miss Skeleton (bot) in branch '3.8': bpo-41306: Allow scale value to not be rounded (GH-21715) https://github.com/python/cpython/commit/3d103e06951324680c587d4fe1135f06367c9d3d --

[issue41306] test_tk test_widgets.ScaleTest fails with Tk 8.6.10

2020-10-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +21585 pull_request: https://github.com/python/cpython/pull/22597 ___ Python tracker ___

[issue41970] test_lib2to3 fails since Python 3.9

2020-10-08 Thread Federico Granata
Federico Granata added the comment: I can have the test to fails if I run "python -m test test_lib2to3 test_lib2to3" as well -- ___ Python tracker ___

[issue28874] test_logging fails and freezes

2020-10-08 Thread Leo kirotawa silva
Leo kirotawa silva added the comment: I'm facing similar issue with test_logging in python3.5.2-2ubuntu0~16.04.12. Test just get hangs and so, our builders kill the build process without a successful ending. [1/1] test_locale 1 test OK. [1/1] test_logging E: Build killed with signal TERM

[issue41975] Textwrap to conform to https://www.unicode.org/reports/tr14/tr14-45.html

2020-10-08 Thread Julien Palard
New submission from Julien Palard : Currently it looks like our `textwrap.fill` implementation does not conforms to the Unicode Line Breaking Algorithm from the unicode standard. Should this be enhanced? If so, as a sidenote, it could be nice to have the override parameter of libunistring

[issue41877] Check against misspellings of assert etc. in mock

2020-10-08 Thread Vedran Čačić
Vedran Čačić added the comment: Sorry, but 1) Stability policy is great when we hold on to it. If we add new spellings of assert every few years, what kind of stability it is? "My" solution is of the same type: just add one more thing to the API. But that solution is better, because a) it

[issue41970] test_lib2to3 fails since Python 3.9

2020-10-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Pablo, I can see the error in Travis. The difference I can see is that the tests are executed sequentially in coverage run but normal run has tests executing in parallel. Felix and Federico, can you please add the command you use to run the tests?

[issue18163] Add a 'key' attribute to KeyError

2020-10-08 Thread Anatoliy Platonov
Anatoliy Platonov added the comment: I agree with Mark. I will be useful to provide ability to specify custom long message for error. And logically it would be better to do not allow users change key field in error so easy. -- nosy: +p4m-dev ___

[issue33533] Provide an async iterator version of as_completed

2020-10-08 Thread Justin Arthur
Change by Justin Arthur : -- versions: +Python 3.10 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41968] 3.9 IDLE documentation.

2020-10-08 Thread Velson Horie
Velson Horie added the comment: As Terry said, the issue of Idle not starting by a .py file association was raised in another thread. That parenthesis was mentioned to give context to the documentation enquiry. In my new 3.9 installation, I could find idle.bat, but I had just been told by the

[issue41970] test_lib2to3 fails since Python 3.9

2020-10-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ok, thanks everyone for the help reproducing this. I think I can work on a fix today -- ___ Python tracker ___

[issue41306] test_tk test_widgets.ScaleTest fails with Tk 8.6.10

2020-10-08 Thread miss-islington
miss-islington added the comment: New changeset aecf036738a404371303e770f4ce4fd9f7d43de7 by E-Paine in branch 'master': bpo-41306: Allow scale value to not be rounded (GH-21715) https://github.com/python/cpython/commit/aecf036738a404371303e770f4ce4fd9f7d43de7 -- nosy:

[issue41306] test_tk test_widgets.ScaleTest fails with Tk 8.6.10

2020-10-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +21584 pull_request: https://github.com/python/cpython/pull/22596 ___ Python tracker ___

[issue41970] test_lib2to3 fails since Python 3.9

2020-10-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I can reproduce this by running test_lib2to3 twice or running test___all__ with test_lib2to3 ./python -m test test_lib2to3 test_lib2to3 0:00:00 load avg: 0.03 Run tests sequentially 0:00:00 load avg: 0.03 [1/2] test_lib2to3 0:00:13 load avg: 0.25

[issue41894] UnicodeDecodeError during load failure in non-UTF-8 locale

2020-10-08 Thread Kevin
Kevin added the comment: Ok, so should I switch the PR back from PyUnicode_DecodeFSDefault? -- ___ Python tracker ___ ___

[issue41970] test_lib2to3 fails since Python 3.9

2020-10-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess this could be due to loading the module twice where the warning is not emitted again on reimport which test__all__ seems to do so by importing lib2to3. One obvious fix would be to pass quiet=True. Else we need to find a way to import the

[issue41970] test_lib2to3 fails since Python 3.9

2020-10-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +21583 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22595 ___ Python tracker

[issue32397] textwrap output may change if you wrap a paragraph twice

2020-10-08 Thread Julien Palard
Julien Palard added the comment: Could be "related" to https://bugs.python.org/issue41975. -- nosy: +mdk ___ Python tracker ___

[issue41971] multiple tests in test_tools fail since Python 3.9

2020-10-08 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35404] Document how to import _structure in email.message

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: This seems complete, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue30181] Correct the parsing of a test case docstring.

2020-10-08 Thread Chris Jerdonek
Chris Jerdonek added the comment: I believe this was addressed by issue 39450, which I think was technically a duplicate of this issue. -- nosy: +chris.jerdonek ___ Python tracker

[issue33647] Add re.replace(string, replacement_map)

2020-10-08 Thread Chris Jerdonek
Chris Jerdonek added the comment: Another API option is to use str.replace's existing arguments: str.replace(old, new[, count]). In addition to "old" and "new" being strings, they could also be lists of strings of equal length, similar to how str.maketrans() can accept two strings of equal

[issue41192] Some audit events are undocumented

2020-10-08 Thread Saiyang Gou
Saiyang Gou added the comment: Hi Steve. If you had time could you review PR 21308, PR 21310 and PR 21322? Thanks! -- ___ Python tracker ___

[issue34552] Clarify built-in types comparisons

2020-10-08 Thread Guido van Rossum
Guido van Rossum added the comment: Yup. Thanks for catching this! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35404] Document how to import _structure in email.message

2020-10-08 Thread Mariatta
Change by Mariatta : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39450] unittest TestCase shortDescription does not strip whitespace

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: This seems complete, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue23984] Documentation error: Descriptors

2020-10-08 Thread Raymond Hettinger
Change by Raymond Hettinger : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue26680] Incorporating float.is_integer into Decimal

2020-10-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks. I'm hoping that this will easy now the most of the details have already been worked out. -- ___ Python tracker ___

[issue40747] sysconfig.get_config_var("py_version_nodot") should return 3_10

2020-10-08 Thread Florian Bruhin
Change by Florian Bruhin : -- nosy: +The Compiler ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33647] Add str.replace(replacement_map)

2020-10-08 Thread Chris Jerdonek
Change by Chris Jerdonek : -- title: Add re.replace(string, replacement_map) -> Add str.replace(replacement_map) ___ Python tracker ___

[issue20582] socket.getnameinfo() does not document flags

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: This seems complete, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue27141] Fix collections.UserList shallow copy

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: This seems complete, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue24538] os.setxattr PermissionError on panfs propagates up causing `copystat`, `copytree`, and `pip install .` to fail unhepfully

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: This seems complete, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue34552] Clarify built-in types comparisons

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: This seems complete, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue39450] unittest TestCase shortDescription does not strip whitespace

2020-10-08 Thread Chris Jerdonek
Chris Jerdonek added the comment: I believe this also resolves issue 30181 (which was the same issue). -- nosy: +chris.jerdonek resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Python tracker

[issue41894] UnicodeDecodeError during load failure in non-UTF-8 locale

2020-10-08 Thread Inada Naoki
Inada Naoki added the comment: Yes, please. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41877] Check against misspellings of assert etc. in mock

2020-10-08 Thread Vedran Čačić
Vedran Čačić added the comment: Of course, that's why I wrote "my" in quotes above. It's not my solution, it's the idea that many people independently had. Because it is _the_ solution, of course. :-] I'd just like to point out in the above thread (first link you provided), how _many_

[issue26389] Expand traceback module API to accept just an exception as an argument

2020-10-08 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 6.0 -> 7.0 pull_requests: +21593 pull_request: https://github.com/python/cpython/pull/22610 ___ Python tracker

[issue41970] test_lib2to3 fails since Python 3.9

2020-10-08 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +21592 pull_request: https://github.com/python/cpython/pull/22609 ___ Python tracker ___

[issue41877] Check against misspellings of assert etc. in mock

2020-10-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also below issues for previous discussion on making the assert helpers as top level functions : https://bugs.python.org/issue24651 https://bugs.python.org/issue30949 -- nosy: +cjw296, lisroach, mariocj89, rbcollins, xtreak

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-08 Thread Tim Peters
Tim Peters added the comment: BTW, this initialization in the FASTSEARCH code appears to me to be a mistake: skip = mlast - 1; That's "mistake" in the sense of "not quite what was intended, and so confusing", not in the sense of "leads to a wrong result". I believe `skip` should be

[issue24538] os.setxattr PermissionError on panfs propagates up causing `copystat`, `copytree`, and `pip install .` to fail unhepfully

2020-10-08 Thread Olexa Bilaniuk
Olexa Bilaniuk added the comment: Yes, it may be closed. The fix was merged in time to make it into Python 3.7.4 and 3.8.0, and solved the problems we were facing with fancy filesystem xattrs on read-only files. -- ___ Python tracker

[issue41978] numpy, scipy packages failed to install via pip - Windows 10 Pro 64 bit

2020-10-08 Thread Thomas M. Alldread
New submission from Thomas M. Alldread : Several attempts to install numpy/scipy packages failed. Pip reported pages of error information. Reverting back to version 3.8.5 resolved the issue using the exact same procedure. -- components: Extension Modules, Installation, Windows

[issue26332] OSError: exception: access violation writing <...> (Windows 10 x64, Python 3.5.1)

2020-10-08 Thread Eryk Sun
Eryk Sun added the comment: I see nothing to act on in this issue. A common cause of access violations with ctypes is truncated pointer values. There's a lot of sloppy ctypes code from the 32-bit era that assumes a C int can store a pointer. -- nosy: +eryksun resolution: -> not a

[issue37881] __text_signature__ parser doesn't handle globals in extension module

2020-10-08 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41970] test_lib2to3 fails since Python 3.9

2020-10-08 Thread Felix Yan
Felix Yan added the comment: I use this in Arch's packaging: LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a -n "$servernum" \ "${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_tk (test_tk is currently skipped due to

[issue39273] ncurses does not include BUTTON5_* constants

2020-10-08 Thread Grady Martin
Change by Grady Martin : -- versions: +Python 3.6, Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41376] site.getusersitepackages() incorrectly claims that PYTHONNOUSERSITE is respected

2020-10-08 Thread Inada Naoki
Inada Naoki added the comment: New changeset 35f041dd0171f575fc3adce1709b31fdf45a5ff6 by Phil Elson in branch 'master': bpo-41376: Fix the documentation of `site.getusersitepackages()` (GH-21602) https://github.com/python/cpython/commit/35f041dd0171f575fc3adce1709b31fdf45a5ff6 --

[issue41973] Docs: TypedDict is now of type function instead of class

2020-10-08 Thread Bernat Gabor
Bernat Gabor added the comment: Static checkers/linters (see e.g. https://github.com/PyCQA/pylint/issues/3884) are caught of guard by being able to inherit from functions. They'll need to adapt, but let's update the documentation to reflect this. --

[issue41973] Docs: TypedDict is now of type function instead of class

2020-10-08 Thread Bernat Gabor
Bernat Gabor added the comment: This seem to apply to typing.NamedTuple too. -- ___ Python tracker ___ ___ Python-bugs-list

[issue41894] UnicodeDecodeError during load failure in non-UTF-8 locale

2020-10-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think that it is more correct to use the locale encoding. If error messages are translated for readability, we should not ruin this by outputting \xXX. -- nosy: +serhiy.storchaka ___ Python tracker

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What is the content of "data.bin"? How can we reproduce the issue? -- nosy: +serhiy.storchaka versions: +Python 3.10 ___ Python tracker

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-08 Thread Ammar Askar
Ammar Askar added the comment: It's available from the Github gist that Kevin posted. Here is a direct link that you can curl/wget: https://gist.github.com/Zeturic/7d0480a94352968c1fe92aa62e8adeaf/raw/6daebaabedaa903016810c2c04d0d1f0b1af1ed3/data.bin -- nosy: +ammar2

  1   2   >