[issue44698] Undefined behaviour in Objects/complexobject.c's complex_pow

2021-08-04 Thread Mark Dickinson
Change by Mark Dickinson : -- assignee: twouters -> mark.dickinson status: closed -> open ___ Python tracker ___ ___ Python-bugs-lis

[issue44698] Undefined behaviour in Objects/complexobject.c's complex_pow

2021-08-04 Thread Mark Dickinson
Mark Dickinson added the comment: > brave or foolhardy enough to try to figure out what all of the special case > results *should* be for complex pow Addendum: even the C standards give up at this point. For everything else the special cases are spelled out in detail, but for cpow, from §G.6.

[issue44698] Undefined behaviour in Objects/complexobject.c's complex_pow

2021-08-04 Thread Sebastian Berg
Sebastian Berg added the comment: Thanks for looking into it! `cpow` is indeed complicated. We had some discussion in NumPy about `0**y` branch cuts (I did yet not finish it, because thinking about the branch cuts is tricky). It is almost reassuring that the C standard also hedges out :).

[issue44833] VideoCapture is not installing

2021-08-04 Thread Eric V. Smith
Eric V. Smith added the comment: Please do no post screen captures. Copy and paste the text into the bug report. It looks like VideoCapture has not released a 3.9 compatible wheel file on PyPI. You should follow up with that project directly, as it is not part of python’s standard library.

[issue43066] Zipfile with leading slashes

2021-08-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +26101 pull_request: https://github.com/python/cpython/pull/27606 ___ Python tracker ___ __

[issue43066] Zipfile with leading slashes

2021-08-04 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +26100 pull_request: https://github.com/python/cpython/pull/27605 ___ Python tracker _

[issue43066] Zipfile with leading slashes

2021-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7c5dab4340032eb15d3797d8b601ef11649bbab3 by andrei kulakov in branch 'main': [doc] bpo-43066: zipfile - add note on leading slash in the filename arg (GH-26899) https://github.com/python/cpython/commit/7c5dab4340032eb15d3797d8b601ef11649bbab3 --

[issue42958] filecmp.cmp(shallow=True) isn't actually shallow when only mtime differs

2021-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a8dc4893d2b28827e82447326ea47759c161a722 by andrei kulakov in branch 'main': bpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166) https://github.com/python/cpython/commit/a8dc4893d2b28827e82447326ea47759c161a722 -- me

[issue42958] filecmp.cmp(shallow=True) isn't actually shallow when only mtime differs

2021-08-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +26103 pull_request: https://github.com/python/cpython/pull/27608 ___ Python tracker ___ __

[issue44524] __name__ attribute in typing module

2021-08-04 Thread Bas van Beek
Bas van Beek added the comment: This PRs herein have created a situation wherein the `__name__`/`__qualname__` attributes of certain typing objects can be `None`. Is this behavior intentional? ``` >>> from typing import Union >>> print(Union[int, float].__name__) None ``` -- nosy:

[issue43066] Zipfile with leading slashes

2021-08-04 Thread miss-islington
miss-islington added the comment: New changeset 98f6a72ff621c2033e8f2c38df410e9bfa2b772a by Miss Islington (bot) in branch '3.10': [doc] bpo-43066: zipfile - add note on leading slash in the filename arg (GH-26899) https://github.com/python/cpython/commit/98f6a72ff621c2033e8f2c38df410e9bfa2b

[issue43066] Zipfile with leading slashes

2021-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1a2c0ecfa2ef8542baee951f12b60afd165be9cf by Miss Islington (bot) in branch '3.9': [doc] bpo-43066: zipfile - add note on leading slash in the filename arg (GH-26899) (GH-27606) https://github.com/python/cpython/commit/1a2c0ecfa2ef8542baee951f12b60

[issue43066] Zipfile with leading slashes

2021-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the report, Garrison. And Andrei for the patch! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11 ___ Python tracker

[issue42958] filecmp.cmp(shallow=True) isn't actually shallow when only mtime differs

2021-08-04 Thread miss-islington
miss-islington added the comment: New changeset c2593b4d06712cefcdeae93b32f88faa4772bc3a by Miss Islington (bot) in branch '3.10': bpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166) https://github.com/python/cpython/commit/c2593b4d06712cefcdeae93b32f88faa4772bc3a

[issue42958] filecmp.cmp(shallow=True) isn't actually shallow when only mtime differs

2021-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7dad0337518a0d599caf8f803a5bf45db67cbe9b by Miss Islington (bot) in branch '3.9': bpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166) (GH-27608) https://github.com/python/cpython/commit/7dad0337518a0d599caf8f803a5bf45db67cbe9

[issue42958] filecmp.cmp(shallow=True) isn't actually shallow when only mtime differs

2021-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks all for your effort on improving this! ✨ 🍰 ✨ -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11,

[issue44828] Using tkinter.filedialog crashes on macOS 12 Monterey beta 4 with tk8.6.11 from python.org installers

2021-08-04 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. I verified that the crash also occurs on an Intel Mac VM with Monterey beta 4 using the current python.org universal2 installers for 3.9.6 and 3.10.0rc1; they both have a private copy of Tk 8.6.11; so the problem does not appear to be Apple

[issue44801] Type expression is coerced to a list of parameter arguments in substitution of ParamSpec

2021-08-04 Thread miss-islington
miss-islington added the comment: New changeset 536e35ae6a2555a01f4b51a68ad71dbf7923536d by Miss Islington (bot) in branch '3.10': bpo-44801: Check arguments in substitution of ParamSpec in Callable (GH-27585) https://github.com/python/cpython/commit/536e35ae6a2555a01f4b51a68ad71dbf7923536d

[issue44772] Regression in memory use of instances due to dictionary ordering

2021-08-04 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue41706] docs: operator dunder (`__add__`, et al.) invocations described incorrectly

2021-08-04 Thread Brett Cannon
Brett Cannon added the comment: New changeset 80f33f266b4ad5925a3e58ea3a54ae139a6b6f0e by William Chargin in branch 'main': bpo-41706: Fix special method invocation docs to mention using type() (GH-22084) https://github.com/python/cpython/commit/80f33f266b4ad5925a3e58ea3a54ae139a6b6f0e

[issue44801] Type expression is coerced to a list of parameter arguments in substitution of ParamSpec

2021-08-04 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue44617] Undesired Behavior on `match` using Singleton object

2021-08-04 Thread Brandt Bucher
Brandt Bucher added the comment: Yep, everything is working as intended here. Thanks, Dennis, for taking the time to explain why. Pablo, if you're still unsure of why your examples behave the way they do, I strongly recommend reading through the official tutorial (PEP 636). It goes through

[issue44817] os.path.realpath fails with WinError 161

2021-08-04 Thread Eryk Sun
Eryk Sun added the comment: ERROR_NETWORK_ACCESS_DENIED (65) should probably be added to the ignore list. I don't know whether it occurs in practice, but we have it mapped to EACCES in PC/errmap.h. The common access error is ERROR_ACCESS_DENIED (5), even on a UNC share with restricted access

[issue44818] '\t' (tab) support

2021-08-04 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Wed, Aug 04, 2021 at 03:25:06PM +, Pooia wrote: > unexcpeted indent What about an unexpected indent? Please explain what you think the bug is in full sentences, showing some example code we can run. -- __

[issue44818] '\t' (tab) support

2021-08-04 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I'm guessing this has to do with mixing spaces and tabs when indenting code. This can be fixed in your text editor. -- nosy: +erlendaasland status: open -> pending ___ Python tracker

[issue43468] functools.cached_property incorrectly locks the entire descriptor on class instead of per-instance locking

2021-08-04 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +26104 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27609 ___ Python tracker __

[issue44689] MacOS: Python binaries not portable between Catalina and Big Sur

2021-08-04 Thread Ned Deily
Ned Deily added the comment: > Regarding the "explicit weak linking" when building on MacOS Big Sur and > later; wouldn't this mean that a Big Sur build wouldn't work on Catalina? No, if it is done correctly. I think you are trying to solve the wrong problem here. As Ronald noted earlier,

[issue41706] docs: operator dunder (`__add__`, et al.) invocations described incorrectly

2021-08-04 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44833] VideoCapture is not installing

2021-08-04 Thread ENG19EC0098_Swathi.M
ENG19EC0098_Swathi.M added the comment: Thanks for your response so which latest version of python is compatible for both VideoCapture and OpenCv? Also the error was: ERROR: Could not find a vsion that satisfies the requirement VideoCapture (from versions: none) ERROR: No matching distribution

[issue44820] subprocess hungs when processing value from mariadb

2021-08-04 Thread jb
jb added the comment: Privet, spasibo za otklik. Poprobuyu yeshche raz provesti issledovaniye. Yesli budet problema, napishu, na discuss.python.org ili stackoverflow.com. S uvazheniyem, Bolatbek. volume_up 165 / 5000 keyboard Translation results Hi, thanks for your feedback. I'll try to do my

[issue44762] getpass.getpass on Windows fallback detection is bad

2021-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: The rationale for the __stdin__ and stdin check is this: When python starts, both are usually set an io.TextIOWrapper wrapping a system console. (At least on Windows, both may instead be None instead.) __stdin__ should never be altered. Getpass.getpass kn

[issue44762] getpass.getpass on Windows fallback detection is incomplete

2021-08-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: getpass.getpass on Windows fallback detection is bad -> getpass.getpass on Windows fallback detection is incomplete ___ Python tracker ___

[issue44820] subprocess hungs when processing value from mariadb

2021-08-04 Thread jb
jb added the comment: Great, thanks! чт, 5 авг. 2021 г. в 09:57, jb : > > > jb added the comment: > > Privet, spasibo za otklik. Poprobuyu yeshche raz provesti > issledovaniye. Yesli budet problema, napishu, na discuss.python.org > ili stackoverflow.com. S uvazheniyem, Bolatbek. > volume_up >

[issue44835] What does "Python for Windows will still be Python for DOS" mean?

2021-08-04 Thread chen-y0y0
Change by chen-y0y0 : -- components: Installation, Windows nosy: paul.moore, prasechen, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: What does "Python for Windows will still be Python for DOS" mean? type: performance versions: Python 3.10, Pyt

[issue44833] VideoCapture is not installing

2021-08-04 Thread Eric V. Smith
Eric V. Smith added the comment: I don't know, and this isn't the right place to ask (since this is not a bug in Python). I suggest you ask on a VideoCapture specific forum. -- ___ Python tracker __

[issue44835] What does "Python for Windows will still be Python for DOS" mean?

2021-08-04 Thread Eric V. Smith
New submission from Eric V. Smith : Since this is not a bug in Python, this is not the appropriate place to ask. I suggest you try the python-list mailing list https://mail.python.org/mailman/listinfo/python-list And I don't know what it means. I've never heard of that saying before. ---

[issue44835] What does "Python for Windows will still be Python for DOS" mean?

2021-08-04 Thread Tim Peters
Tim Peters added the comment: The CPython Windows installer has a "thank you" box at the end: """ Special Windows thanks to Mark Hammond, without whose years of freely shared Windows expertise, Python for Windows would still be Python for DOS. """ There was no support for Windows in Python's

[issue44749] LOAD_NAME not using PyObject_GetItem when globals() is a dict subclass

2021-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Both preceding issues were closed as rejected. -- nosy: +terry.reedy resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Inconsistent behavior if globals is a dict subclass type: -> enhancement versions: -Python 3.10

[issue44749] LOAD_NAME not using PyObject_GetItem when globals() is a dict subclass

2021-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you want to change that decision, I suggest posting on python-ideas list explaining why you disagree and get support for a change now. -- ___ Python tracker

[issue44524] __name__ attribute in typing module

2021-08-04 Thread Guido van Rossum
Guido van Rossum added the comment: Serhiy or Ken-Jin? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

<    1   2