[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

[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

[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

[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

[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. ---

[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 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

[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 >

[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 ___

[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

[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

[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

[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 ___ ___

[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,

[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 __

[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

[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. -- __

[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

[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

[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

[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

[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

[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

[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

[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,

[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 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

[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

[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 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

[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:

[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 ___ __

[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

[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 --

[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 miss-islington
Change by miss-islington : -- pull_requests: +26101 pull_request: https://github.com/python/cpython/pull/27606 ___ Python tracker ___ __

[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.

[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 :).

[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 Mark Dickinson
Change by Mark Dickinson : -- assignee: twouters -> mark.dickinson status: closed -> open ___ Python tracker ___ ___ Python-bugs-lis

[issue44564] DeprecationWarning in test_enum over formatting

2021-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Brandon! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue33277] Deprecate __loader__, __package__, __file__, and __cached__ on modules

2021-08-04 Thread Brett Cannon
Brett Cannon added the comment: > Maybe this can be revisited now. I've started the work already (albeit rather slowly 😄). Importlib has been updated to prefer __spec__.parent of __package__ and warns when the values are not equal. Next step will be to raise an ImportWarning when __package__

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

2021-08-04 Thread Mark Dickinson
Mark Dickinson added the comment: > a double-check that the behaviour change is desirable I'm not sure I'm brave or foolhardy enough to try to figure out what all of the special case results *should* be for complex pow. The special cases seem reasonably clear cut for everything else in the c

[issue44564] DeprecationWarning in test_enum over formatting

2021-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f99c015638b46e46ae3ee3f27b96a514007cdaef by Brandon Schabell in branch 'main': bpo-44564 Move formatted assertion under deprecation warning context (GH-27090) https://github.com/python/cpython/commit/f99c015638b46e46ae3ee3f27b96a514007cdaef -

[issue44828] Using tkinter.filedialog crashes on macOS Python 3.9.6

2021-08-04 Thread E. Paine
E. Paine added the comment: Thanks for reporting issue and for including the backtrace. I presume you used the Universal 2 installer, given that you are running an M1 mac? Kevin, do you have access to the macOS 12 beta to help test whether this is a Tkinter or Tk bug? (I assume the latter,

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

2021-08-04 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks, @seberg. I'll take a look and see if we can restore the old behaviour, at least for Python 3.9 and 3.10. I'm not convinced that the new behaviour is objectively wrong, but I agree that the *change* in behaviour is problematic. I do find it a little o

[issue41354] filecmp.cmp documentation does not match actual code

2021-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: Closed in favor of BPO-42958. Thanks for your report, Christof! -- nosy: +lukasz.langa resolution: -> out of date stage: patch review -> resolved status: open -> closed superseder: -> filecmp.cmp(shallow=True) isn't actually shallow when only mtime dif

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

2021-08-04 Thread Sebastian Berg
Sebastian Berg added the comment: (Sorry for the spam. I think we can/should just hard-code the expected values in the NumPy test-suite. So this is not actually an issue for NumPy and probably just warrants a double-check that the behaviour change is desirable.) -- ___

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

2021-08-04 Thread Michael Förderer
Michael Förderer added the comment: Updated with ERROR_BAD_NETPATH (53). What about following errors: - ERROR_LOCK_VIOLATION (33) - ERROR_DEV_NOT_EXIST (52) - ERROR_BAD_NET_RESP (58) - ERROR_UNEXP_NET_ERR (59) - ERROR_NETNAME_DELETED (64) - ERROR_NETWORK_ACCESS_DENIED (65) - ERROR_BAD_DEV_TYPE (

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

2021-08-04 Thread Sebastian Berg
Sebastian Berg added the comment: Hmm, sorry, I overshot/misread :(. The thing that the NumPy test-suite trips over is that: c_powi(inf+0j, 3) seems to not raise, but: _Py_c_pow(inf+0j, 3.+0j) (or nan+0.j rather then inf+0j) does seem to raise (returning `nan+nanj` in both cases).

[issue44301] Is there a way to provide destructor for module written using C API?

2021-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for your report, Azat! ✨ 🍰 ✨ -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-li

[issue44301] Is there a way to provide destructor for module written using C API?

2021-08-04 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11 ___ Python tracker ___ _

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

2021-08-04 Thread Sebastian Berg
Sebastian Berg added the comment: The fix broke NumPy (see also https://github.com/numpy/numpy/pull/19612) It seems incorrect. After all, it doesn't matter much whether the float can be converted to an integer correctly (or even if it returns an undefined value), so long `int_value == float

[issue44760] Turtle Documentation - Contents Hyperlink conflict

2021-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Harry! ✨ 🍰 ✨ -- nosy: +lukasz.langa resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 ___ Python tracker _

[issue33277] Deprecate __loader__, __package__, __file__, and __cached__ on modules

2021-08-04 Thread Irit Katriel
Irit Katriel added the comment: > We didn't make it stronger since we can't get rid of any of these attributes > until Python 2.7 compatibility is no longer a concern. Maybe this can be revisited now. -- nosy: +iritkatriel versions: +Python 3.11 -Python 3.8 _

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

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

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

2021-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 3875a6954741065b136650db67ac533bc70a3eac by Serhiy Storchaka in branch 'main': bpo-44801: Check arguments in substitution of ParamSpec in Callable (GH-27585) https://github.com/python/cpython/commit/3875a6954741065b136650db67ac533bc70a3eac --

[issue44834] contextvars.Context.run w/ coroutines gives inconsistent behavior

2021-08-04 Thread Adrian Garcia Badaracco
Change by Adrian Garcia Badaracco : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue42815] new thread doesn't copy context of the parent thread

2021-08-04 Thread Adrian Garcia Badaracco
Change by Adrian Garcia Badaracco : -- nosy: +adriangb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue44829] zoneinfo.ZoneInfo does not check for Windows device names

2021-08-04 Thread Eryk Sun
Change by Eryk Sun : -- Removed message: https://bugs.python.org/msg398916 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44834] contextvars.Context.run w/ coroutines gives inconsistent behavior

2021-08-04 Thread Adrian Garcia Badaracco
New submission from Adrian Garcia Badaracco : I recently tried to use `contextvars.Context.run` w/ coroutines, expecting the same behavior as with regular functions, but it seems that `contextvars.Context.run` does not work w/ coroutines. I'm sorry if this is something obvious to do with how

[issue44301] Is there a way to provide destructor for module written using C API?

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

[issue44301] Is there a way to provide destructor for module written using C API?

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

[issue44833] VideoCapture is not installing

2021-08-04 Thread ENG19EC0098_Swathi.M
New submission from ENG19EC0098_Swathi.M : The python version is failing to install the VideoCapture of opencv despite many trials. Would request you to kindly go through this at the earliest -- components: Installation files: Screenshot 2021-08-04 232419.jpg messages: 398923 nosy: en

[issue44831] Inconsistency between datetime.now() and datetime.fromtimestamp(time.time(), None)

2021-08-04 Thread Miksus
Miksus added the comment: I accidentially posted Python 3.6 link to the declaration of datetime.datetime.now() but this has been unchanged: https://github.com/python/cpython/blob/3d2b4c6f18d7e644e5850d2af74ac5dc530eb24c/Lib/datetime.py#L1696 The actual piece of code as of now: ... import tim

[issue44803] change tracemalloc.BaseFilter to an abstract class

2021-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: Many standard libraries, including new ones like asyncio, use `raise NotImplementedError` to denote methods that need re-implementation in subclasses. Some of those base classes even literally *called* Abstract and yet don't inherit from ABC (nor use ABCMeta).

[issue44832] Compiler detection is not strict enough

2021-08-04 Thread Ben Boeckel
New submission from Ben Boeckel : Generally, the `configure.ac` script tries to detect compilers based on the path to the compiler. This is mostly fine, but trips up when using `mpicc` as the compiler. Even if the underlying compiler is `gcc`, this gets detected as `icc` in various situations

[issue44831] Inconsistency between datetime.now() and datetime.fromtimestamp(time.time(), None)

2021-08-04 Thread Miksus
New submission from Miksus : I am trying to measure time twice and the second measurement gives a time that is 1 microsecond before the first measurement about half of the time. My experiment in short: --- import time, datetime start = time.time(

[issue44760] Turtle Documentation - Contents Hyperlink conflict

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

[issue44760] Turtle Documentation - Contents Hyperlink conflict

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

[issue44829] zoneinfo.ZoneInfo does not check for Windows device names

2021-08-04 Thread Paul Ganssle
Paul Ganssle added the comment: Sorry you didn't receive a response to your security@ email, I guess my response just went to the PSRT, not to you as well. I believe we determined that this was an issue in importlib.resources generally, not specific to zoneinfo. I think `importlib.resources

[issue44818] '\t' (tab) support

2021-08-04 Thread Eric V. Smith
Eric V. Smith added the comment: Please show us an example that demonstrates your problem. Show us the code you tried, what you expected to happen, and what actually happened. Otherwise we can’t help you. -- nosy: +eric.smith ___ Python tracker

[issue44819] assertSequenceEqual does not use _getAssertEqualityFunc

2021-08-04 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate superseder: -> addTypeEqualityFunc is not used in assertListEqual ___ Python tracker ___

[issue44829] zoneinfo.ZoneInfo does not check for Windows device names

2021-08-04 Thread Eryk Sun
Eryk Sun added the comment: In zoneinfo._tzpath, _validate_tzfile_path() depends on os.path.normpath(). I think the Windows implementation of normpath() in the ntpath module should be extended to normalize reserved names in the final path component in the same manner as WinAPI GetFullPathNam

[issue44829] zoneinfo.ZoneInfo does not check for Windows device names

2021-08-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue39355] The Python library will not compile with a C++2020 compiler because the code uses the reserved “module” keyword

2021-08-04 Thread Hasan
Hasan added the comment: If nobody works, i would like to solve this -- nosy: +AliyevH ___ Python tracker ___ ___ Python-bugs-list

[issue44830] Broken Mozilla devguide link in "Dealing with Bugs" doc section

2021-08-04 Thread Mark Dickinson
Mark Dickinson added the comment: A bit more Googling found this: https://support.mozilla.org/en-US/kb/contributors-guide-writing-good-bug -- ___ Python tracker ___ _

[issue44830] Broken Mozilla devguide link in "Dealing with Bugs" doc section

2021-08-04 Thread Mark Dickinson
New submission from Mark Dickinson : The "Bug Report Writing Guidelines" link in the "Dealing with Bugs" doc section (https://docs.python.org/3/bugs.html) looks broken. The linked URL is https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writing_guidelines, but that gives me a "Page not

[issue41946] Add concrete examples to os.path documentation

2021-08-04 Thread Andrei Kulakov
Andrei Kulakov added the comment: Some examples were added since this issue was created, but more can be added. Stargirl: feel free to open a PR, I can review it. -- nosy: +andrei.avk ___ Python tracker ___

[issue44819] assertSequenceEqual does not use _getAssertEqualityFunc

2021-08-04 Thread Brian
Brian added the comment: I've attached an example of what I want. It contains a class, a function to be tested, and a test class which tests the function. What TestCase.addTypeEqualityFunc feels like it offers is a chance to compare objects however I feel like is needed for each test. Someti

[issue41117] [easy C] GC: Use local variable 'op' when invoking 'traverse' in 'subtract_refs'

2021-08-04 Thread STINNER Victor
STINNER Victor added the comment: Thanks William, I made the change that you suggested. Next time, please create a PR directly ;-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 3.10 _

[issue41117] [easy C] GC: Use local variable 'op' when invoking 'traverse' in 'subtract_refs'

2021-08-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset c34fa2bb06ea44045af8493dfa414addb2b7ce66 by Victor Stinner in branch 'main': bpo-41117: Cleanup subtract_refs() (GH-27593) https://github.com/python/cpython/commit/c34fa2bb06ea44045af8493dfa414addb2b7ce66 -- __

[issue44683] Can't subscript objects with the string "1" using str.format()

2021-08-04 Thread Eric V. Smith
Change by Eric V. Smith : -- components: +Interpreter Core -Unicode ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue44821] Instance dictionaries should be created eagerly

2021-08-04 Thread Mark Shannon
Mark Shannon added the comment: New changeset cee67fa66129b5d1db5c8aa3884338f82f0da3de by Mark Shannon in branch 'main': bpo-44821: Eagerly assign __dict__ for new objects. (GH-27589) https://github.com/python/cpython/commit/cee67fa66129b5d1db5c8aa3884338f82f0da3de -- _

[issue44661] Update property_descr_set to use vectorcall if possible.

2021-08-04 Thread STINNER Victor
STINNER Victor added the comment: > Mean +- std dev: [property_base] 140 ns +- 5 ns -> [property_vectorcall] 125 > ns +- 2 ns: 1.12x faster Ah! That's better. If it was only 1.01x faster, I would say that it's not worth it. But 1.12x is worth it. Thanks for this optimization. -- __

[issue44683] Can't subscript objects with the string "1" using str.format()

2021-08-04 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue41117] [easy C] GC: Use local variable 'op' when invoking 'traverse' in 'subtract_refs'

2021-08-04 Thread STINNER Victor
STINNER Victor added the comment: I created PR 27593. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue41117] [easy C] GC: Use local variable 'op' when invoking 'traverse' in 'subtract_refs'

2021-08-04 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner nosy_count: 1.0 -> 2.0 pull_requests: +26094 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27593 ___ Python tracker ___

[issue31426] [3.5] crash in gen_traverse(): gi_frame.ob_type=NULL, called by subtract_refs() during a GC collection

2021-08-04 Thread STINNER Victor
STINNER Victor added the comment: This bug report mentions Python 3.5 and 3.6 which no longer accept bugfixes. Since nobody reported issues on Python 3.9 and newer (which still accept bugfixes), I close the issue as out of date. Victor Zhestkov: > It seems I have the same segfault, but with

[issue44818] '\t' (tab) support

2021-08-04 Thread Pooia
Pooia added the comment: unexcpeted indent On Tue, Aug 3, 2021 at 7:59 PM Serhiy Storchaka wrote: > > Change by Serhiy Storchaka : > > > -- > status: open -> pending > > ___ > Python tracker > > ___

[issue44760] Turtle Documentation - Contents Hyperlink conflict

2021-08-04 Thread Harry
Change by Harry : -- keywords: +patch pull_requests: +26093 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/27592 ___ Python tracker ___

[issue44820] subprocess hungs when processing value from mariadb

2021-08-04 Thread Mark Dickinson
Mark Dickinson added the comment: Hi @jb. This tracker is for reporting bugs in the core Python language. While it's possible that what you're experiencing is due to a bug in core Python, on the information given it's likely that the problem is either in your own code, or in whatever databas

[issue44611] CPython uses deprecated randomness API

2021-08-04 Thread STINNER Victor
STINNER Victor added the comment: Thanks for this change, I like the fact that hCryptProv variable could be removed! -- ___ Python tracker ___ ___

[issue44611] CPython uses deprecated randomness API

2021-08-04 Thread STINNER Victor
STINNER Victor added the comment: Would it be possible to document in os.urandom() documentation that the BCryptGenRandom() function is used on Windows with the "system-preferred random number generator algorithm"? (I don't think that we should mention the BCRYPT_USE_SYSTEM_PREFERRED_RNG con

[issue44829] zoneinfo.ZoneInfo does not check for Windows device names

2021-08-04 Thread apple502j
New submission from apple502j : Note: this issue was submitted to security@ due to its potential as a DoS vector on 2021-05-08, but I have not received a response (excluding the automated email). It is over 88 days since the report, so I am now reporting this publicly. Issue: zoneinfo.ZoneIn

[issue44760] Turtle Documentation - Contents Hyperlink conflict

2021-08-04 Thread Harry
Harry added the comment: The conflict comes from the fact that the documentation is written from the perspective of the procedure-oriented interface "All methods of TurtleScreen/Screen also exist as functions, i.e. as part of the procedure-oriented interface" The conflict in the documentati

[issue44827] Incomplete 3.10.0rc1 release info

2021-08-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Yeah, there is CDN in front and it has to get invalidated when we update it -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue44827] Incomplete 3.10.0rc1 release info

2021-08-04 Thread PEW's Corner
PEW's Corner added the comment: It was probably a caching issue, because another device was just now still displaying the page without files until I forced a refresh. -- ___ Python tracker _

[issue42524] [doc] pdb access to return value

2021-08-04 Thread Irit Katriel
Irit Katriel added the comment: Yes, exactly - to update the doc so that the next person who needs it will easily find a way to do it (which was not available to you when you created this issue). The test should assert that what the doc says, so that if someone breaks documented functionali

[issue44050] [subinterpreters] _PyImport_FixupExtensionObject() regression in Python 3.9

2021-08-04 Thread Trygve Aaberge
Trygve Aaberge added the comment: @jack__d: If you're just getting "no data" once and nothing else, the test isn't working correctly. You should get "no data" twice when it works correctly and the issue is fixed, or "unknown error" and some other info if the issue is present. I'm not sure wh

  1   2   >