[issue2628] ftplib Persistent data connection

2021-11-01 Thread Ethan Furman
Ethan Furman added the comment: Ah. Well, in that case closing seems like the best idea. Thank you, Jonathan, for getting the CLA signed and providing perspective. Thank you, Mike, for moving this issue forward. -- resolution: -> rejected stage: patch review -> resolved status:

[issue45641] Error In opening a file through tkinter on macOS Monterey

2021-11-01 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. We'll look into it on Issue44828. -- resolution: wont fix -> duplicate ___ Python tracker ___

[issue45641] Error In opening a file through tkinter on macOS Monterey

2021-11-01 Thread Dev Kumar
Dev Kumar added the comment: Ya, it's resolved but, The saving prompt is not closing after saving the file. -- assignee: -> terry.reedy components: -Tkinter, macOS resolution: duplicate -> wont fix status: closed -> open type: crash -> behavior Added file:

[issue45641] Error In opening a file through tkinter on macOS Monterey

2021-11-01 Thread Ned Deily
Ned Deily added the comment: See msg405488: an updated macOS installer for 3.10.0 is now available as the default download from python.org. -- ___ Python tracker ___

[issue44828] tkinter.filedialog linked with Tk 8.6.11 crashes on macOS 12 Monterey, breaking IDLE saves

2021-11-01 Thread Ned Deily
Ned Deily added the comment: As of 2021-11-02, the macOS installer file on python.org for the 3.10.0 release has been updated to include an updated Tk library that includes this fix. All other files installed by the installer are the same as in the original 3.10.0 installer, other than the

[issue45584] Clarifying truncating in documentation

2021-11-01 Thread Arthur Milchior
Arthur Milchior added the comment: Done -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45584] Clarifying truncating in documentation

2021-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, revise and retest your branch and push it. -- ___ Python tracker ___ ___ Python-bugs-list

[issue45638] Does ccbench still require 2.6 compatibility?

2021-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Lukasz, is 'delete it' the no-brainer it seems to be? -- nosy: +lukasz.langa, terry.reedy ___ Python tracker ___

[issue45625] Add support for top-level await

2021-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Python has async frameworks other than anyncio. At least one is much older than asyncio. I think that this proposal to run one by default, on startup, should be rejected. >My script must be able to run properly without any special setup. Then write it

[issue45584] Clarifying truncating in documentation

2021-11-01 Thread Arthur Milchior
Arthur Milchior added the comment: I'm quite fan of your suggestion. Should I push it on the PR? Do you create another PR? I'm not used to BPO, I beg your pardon, only to github -- ___ Python tracker

[issue45602] The grammar misses links that are present everywhere else

2021-11-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +lukasz.langa, pablogsal stage: -> test needed versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue45589] webbrowser does not handle opens under Windows WSL properly

2021-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Windows people, do we support running on WSL? Is there a buildbot running it? -- nosy: +terry.reedy stage: -> test needed versions: +Python 3.11 ___ Python tracker

[issue45584] Clarifying truncating in documentation

2021-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Current docs: math.ceil(x) Return the ceiling of x, the smallest integer greater than or equal to x. If x is not a float, delegates to x.__ceil__(), which should return an Integral value. math.floor(x) Return the floor of x, the largest integer

[issue2628] ftplib Persistent data connection

2021-11-01 Thread Jonathan Bell
Jonathan Bell added the comment: I should rephrase: There doesn't seem to be a practical way to verify BLOCK transmission mode against actual servers in the wild. As the Wikipedia article that Giampaolo referenced points out, BLOCK mode is a rarity that was primarily supported only by

[issue44295] self.assertDictContainsSubset warning is unhelpful

2021-11-01 Thread Anthony Sottile
Anthony Sottile added the comment: looks like this was removed in 3.11 -- wondering if it's still worth correcting the deprecation warning location -- versions: +Python 3.10 -Python 3.11 ___ Python tracker

[issue39214] Add curses.window.in_wch

2021-11-01 Thread Anthony Sottile
Anthony Sottile added the comment: rebased this onto 3.11 -- versions: +Python 3.11 -Python 3.9 ___ Python tracker ___ ___

[issue40477] Python Launcher app on macOS 10.15 Catalina fails to run scripts

2021-11-01 Thread Ned Deily
Change by Ned Deily : -- type: crash -> behavior versions: +Python 3.10, Python 3.11 -Python 3.7, Python 3.8 ___ Python tracker ___

[issue45685] PythonLauncher app fails run scripts on Mac BigSur

2021-11-01 Thread Ned Deily
Ned Deily added the comment: Thank you for the issue and the reminder. Unfortunately, you are running into a problem with the Python Launcher as documented in open Issue40477, a problem that has slipped off my radar. Due to changes in macOS 10.15 Catalina and still present in 11 Big Sur,

[issue45686] ElementTree.Element.extend: bad error message when error occurs in generator

2021-11-01 Thread Michael Wayne Goodman
New submission from Michael Wayne Goodman : Both the Python and C versions of xml.etree.ElementTree allow Element.extend() to accept a sequence or an iterable, such as a generator expression (although the docs only mention "sequence"; that's a separate problem): >>> from xml.etree import

[issue44511] Improve the bytecode for mapping patterns

2021-11-01 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +27617 pull_request: https://github.com/python/cpython/pull/29357 ___ Python tracker ___

[issue45243] [sqlite3] add support for changing connection limits

2021-11-01 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27616 pull_request: https://github.com/python/cpython/pull/29356 ___ Python tracker ___

[issue45685] PythonLauncher app fails run scripts on Mac BigSur

2021-11-01 Thread giancarlo niccolo virgutto
Change by giancarlo niccolo virgutto : -- title: PuthonLauncher app fails run scripts on Mac BigSur -> PythonLauncher app fails run scripts on Mac BigSur ___ Python tracker

[issue45685] PuthonLauncher app fails run scripts on Mac BigSur

2021-11-01 Thread giancarlo niccolo virgutto
New submission from giancarlo niccolo virgutto : I can’t figure out how to use Python Launcher on BigSur. Or it is broken. Anyway: It does absolutely nothing. When I double click a script file, I see very shortly the preferences window of Launcher, and this is all. The script is not executed.

[issue45243] [sqlite3] add support for changing connection limits

2021-11-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset b6b38a82267ff70d2abaf2a8371327268887c97d by Erlend Egeberg Aasland in branch 'main': bpo-45243: Add support for setting/getting `sqlite3` connection limits (GH-28463)

[issue45684] `functools.singledispatchmethod` does not define `__class_getitem__`

2021-11-01 Thread Alex Waygood
Change by Alex Waygood : -- keywords: +patch pull_requests: +27615 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29355 ___ Python tracker ___

[issue45681] tkinter breaks on high resolution screen after ctypes SetProcessDPIAware()

2021-11-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___

[issue45359] TopologicalSorter is not Generic at runtime (but is in typeshed)

2021-11-01 Thread Alex Waygood
Change by Alex Waygood : -- versions: +Python 3.10, Python 3.11 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45372] Unwarranted "certificate has expired" when urlopen-ing R3 sites

2021-11-01 Thread Alexandre
Alexandre added the comment: If anyone is having this issue too, you can find more informations at https://community.letsencrypt.org/t/potential-problem-with-r3-intermediates-on-windows-servers/157164, it looks like Windows keeps using expired certificates until rebooted. A solution is to

[issue10483] http.server - what is executable on Windows

2021-11-01 Thread Glenn Linderman
Glenn Linderman added the comment: Ethan, 3.7.2 at the moment. I doubt there'd be any issues moving it to 3.11, unless there have been significant changes to the main branch in that area, I just haven't bothered because it is working for me as is. I forget what version I started with,

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-11-01 Thread Éric Araujo
Éric Araujo added the comment: If this is deemed a bugfix, the PR should be backported. -- nosy: +eric.araujo type: -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker

[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-11-01 Thread Steve Dower
Steve Dower added the comment: Looks like something went wrong back when I built it in March and it built the older version again. I probably need to revamp that build step. I think it relies on a race to build properly, since it's in the main repo. We need a way to override the version

[issue45466] Simple curl/wget-like download functionality in urllib (like http offers server)

2021-11-01 Thread Eric V. Smith
Eric V. Smith added the comment: The core devs have decided to reject this. Basically for a few reasons: - the possibility of introducing security vulnerabilities - the ongoing maintenance burden -- nosy: +eric.smith resolution: -> rejected stage: patch review -> resolved status:

[issue44495] wrong FNAME in tarfile if tgz extension is used

2021-11-01 Thread Rob Nelson
Rob Nelson added the comment: The code referenced in the previous comment only hits for tarfiles built from Streams. The same (incorrect) code exists in the gzip.py library as well, and hits the more common usecase of building a tar.gz from a set of files on disk. def

[issue45459] Limited API support for Py_buffer

2021-11-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: I would advocate: * expose the Py_buffer struct fully * expose the various PyBUF_* constants * expose at least PyObject_GetBuffer() and PyBuffer_Release() The rest is optional. -- ___ Python tracker

[issue45459] Limited API support for Py_buffer

2021-11-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Py_buffer *is* an ABI, and it hasn't changed from the start. Of course you can still try to collect feedback from third-party projects, but there is a very high probability that it won't need to change in the near future. --

[issue10483] http.server - what is executable on Windows

2021-11-01 Thread Ethan Furman
Ethan Furman added the comment: Glen, which version of Python is your fork using? -- nosy: +ethan.furman ___ Python tracker ___

[issue10483] http.server - what is executable on Windows

2021-11-01 Thread Glenn Linderman
Glenn Linderman added the comment: As the original author of this report, getting significant pushback from the then maintainer of the code, I went ahead and implemented what I considered to be a useful set of features to make CGI work on Windows. I never proposed them as a patch, because

[issue45683] dns.asyncresolver ignores nameserver parameter

2021-11-01 Thread James Lawrie
James Lawrie added the comment: Sorry. This was a pebkac error, I was setting nameserver instead of nameservers -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue45684] `functools.singledispatchmethod` does not define `__class_getitem__`

2021-11-01 Thread Alex Waygood
New submission from Alex Waygood : `functools.singledispatchmethod` is marked as being a generic class in `typeshed`, but does not define `__class_getitem__`, so cannot be parameterized at runtime. cpython source code:

[issue45683] dns.asyncresolver ignores nameserver parameter

2021-11-01 Thread James Lawrie
New submission from James Lawrie : The DNS async resolver allows you to specify a list of nameservers to use, but they are ignored and the system nameservers are used instead. Test code below demonstrating the issue: # cat test.py import dns.asyncresolver import asyncio from pprint import

[issue45466] Simple curl/wget-like download functionality in urllib (like http offers server)

2021-11-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: > If curl/wget are available, great, but often slim images > don't offer that. I concur with Christian. For the most part, the standard library aims to be a collection of resources helpful for building applications like curl and wget. The applications

[issue45617] sys.stdin does not iterate correctly on '\r' line separator

2021-11-01 Thread Kelly Brazil
Kelly Brazil added the comment: Are there other scenarios where splitlines behavior deviates from the default of newline=None (Universal Newlines)? It seems sys.stdin (on non-Windows OS) is the outlier. All of these use Universal Newlines: - sys.stdin (on Windows) - open(0, 'r') -

[issue45250] Make sure documentation is accurate for what an (async) iterable and (async) iterator are

2021-11-01 Thread Nir Friedman
Nir Friedman added the comment: Okay, fair enough. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2628] ftplib Persistent data connection

2021-11-01 Thread Ethan Furman
Ethan Furman added the comment: I would like to have the issue fixed instead of just closed. Jonathan, you say there is no practical method to verify that the block transmission mode exists -- so it's only useful if the user knows that it exists? If the user tries it and the server does

[issue45466] Simple curl/wget-like download functionality in urllib (like http offers server)

2021-11-01 Thread Christian Heimes
Christian Heimes added the comment: I fear that you underestimate both the complexity of this feature request and the amount of demand from users this feature is going to create. Once we start to offer a command line client for urllib, users **will** ask for more options, e.g. POST

[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-11-01 Thread E. Paine
E. Paine added the comment: This does not seem to have done the trick. The installers for 3.10.0 and 3.11.0a1 both use Tk 8.6.10 still. This can be verified using the bug in #45681 or using `tkinter.test.support.get_tk_patchlevel()`. -- nosy: +epaine

[issue45681] tkinter breaks on high resolution screen after ctypes SetProcessDPIAware()

2021-11-01 Thread E. Paine
E. Paine added the comment: This is definitely a Tk issue, but it is resolved as of Tk 8.6.11. I assume this is similar to #41969. Strangely, the Windows installers for 3.10 and 3.11 appear to still be using Tk 8.6.10 despite PR-25170, rather than 8.6.11. I'll raise it on #43652.

[issue45625] Add support for top-level await

2021-11-01 Thread Fred
Fred added the comment: $ python3 --async myscript.py unknown option --async Also I cannot go around telling other people how to run my script. My script must be able to run properly without any special setup. -- ___ Python tracker

[issue45681] tkinter breaks on high resolution screen after ctypes SetProcessDPIAware()

2021-11-01 Thread Gabe
Gabe added the comment: I should add - the reason why this is an issue is because pyautogui calls this function, and I would like to use pyautogui in my tkinter app, but I currently cannot without sacrificing my checkbuttons. (Well, pyautogui uses pyscreeze for screenshots and pyscreeze

[issue45250] Make sure documentation is accurate for what an (async) iterable and (async) iterator are

2021-11-01 Thread Brett Cannon
Brett Cannon added the comment: > Wouldn't a nicer resolution for this be to change `iter` Unfortunately that isn't backwards-compatible. Some people may explicitly want their iterators to not be iterables to guarantee that people who want an iterator get a fresh/new one instead of reusing

[issue45681] tkinter breaks on high resolution screen after ctypes SetProcessDPIAware()

2021-11-01 Thread Gabe
Gabe added the comment: The exact same effect happens with SetProcessDPIAware(1). The IDLE checkboxes are in fact affected; they're tiny. I discovered that I was able to prevent the issue by using `ctypes.windll.shcore.SetProcessDpiAwareness(0)`. This prevents the issue only if it is called

[issue45420] Python 3.10 final installation failure

2021-11-01 Thread Steve Dower
Steve Dower added the comment: What tool did you use to find all the component registrations? If your answer is "Registry Editor", there's no chance you found them all. You'll need a tool specifically designed for cleaning up MSI issues. I don't know all the keys used. They're managed by

[issue45319] Possible regression in __annotations__ descr for heap type subclasses

2021-11-01 Thread Christian Heimes
Christian Heimes added the comment: I created a new branch in my clone for you that has the 3.10 workaround disabled. # checkout: git clone -b bpo45319 https://github.com/tiran/wrapt.git cd wrapt # build src/wrapt/_wrappers.abi3.so python3 setup.py build_ext -i # run tests $ PYTHONPATH=src

[issue45319] Possible regression in __annotations__ descr for heap type subclasses

2021-11-01 Thread Larry Hastings
Larry Hastings added the comment: (Preferably not using "tox". I don't know that tool.) -- ___ Python tracker ___ ___

[issue45319] Possible regression in __annotations__ descr for heap type subclasses

2021-11-01 Thread Larry Hastings
Larry Hastings added the comment: I got the PR locally, but the command-line you gave me fails, tox can't find python3.10 despite it being on the path. Rather than force me to reverse-engineer and recreate your build environment, can you give me a straightforward command-line or shell

[issue45625] Add support for top-level await

2021-11-01 Thread Grégory Starck
Grégory Starck added the comment: python --async myscript.py ? -- nosy: +gstarck ___ Python tracker ___ ___ Python-bugs-list

[issue44828] tkinter.filedialog linked with Tk 8.6.11 crashes on macOS 12 Monterey, breaking IDLE saves

2021-11-01 Thread Ned Deily
Ned Deily added the comment: Thanks for the heads-up about the "10.16" issue, Marc. Sorry I missed that aspect when reviewing your fix as we had run into that "feature" before. I guess the idea was that it made it easier during the early days of Big Sur to build some products that were not

[issue2628] ftplib Persistent data connection

2021-11-01 Thread Jonathan Bell
Jonathan Bell added the comment: No practical method exists to verify BLOCK transmission mode, which as mentioned earlier, was rarely implemented even when this issue was opened. Given that reality, I'm inclined to close this issue. -- ___ Python

[issue45625] Add support for top-level await

2021-11-01 Thread Éric Araujo
Éric Araujo added the comment: But Python doesn’t have a concept of main function. Anyway, it’s no use arguing here, please go to python-ideas for a wider audience. -- ___ Python tracker

[issue45641] Error In opening a file through tkinter on macOS Monterey

2021-11-01 Thread E. Paine
E. Paine added the comment: > when is the new version is coming for tackling this problem? The patch was merged in #44828 and backported to 3.8, 3.9 and 3.10 (i.e. it will be in 3.9.8). -- ___ Python tracker

[issue44828] tkinter.filedialog linked with Tk 8.6.11 crashes on macOS 12 Monterey, breaking IDLE saves

2021-11-01 Thread Marc Culler
Marc Culler added the comment: Heads up! A strange Apple quirk has been identified which could affect the file dialog behavior if the Tk library is compiled on macOS 10.XX and used on macOS 11 or 12. (I am not sure if this applies here.) The fix for the broken file dialog was to use

[issue22377] %Z in strptime doesn't match EST and others

2021-11-01 Thread Kevin
Kevin added the comment: With the introduction of PEP 0615 (https://www.python.org/dev/peps/pep-0615/) —  Support for the IANA Time Zone Database in the Standard Library — should this be revisited to now leverage ZoneInfo to fully parse these time zone values in Python 3.9+ (or 3.11 with

[issue45681] tkinter breaks on high resolution screen after ctypes SetProcessDPIAware()

2021-11-01 Thread E. Paine
E. Paine added the comment: What happens if you use `ctypes.windll.user32.SetProcessDPIAware(1)` (note the 1)? Also, are the checkboxes on the IDLE config dialog affected (since IDLE also sets the dpi awareness: see

[issue45666] Warning: "'swprintf' : format string '%s' requires an argument of type 'unsigned short *', but variadic argument 1 has type 'const char *'"

2021-11-01 Thread Ken Jin
Ken Jin added the comment: @Serhiy Thanks for catching my mistake. I'm glad you came across the PR. And thank you @Nikita for your patience. Closing this issue! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue45666] Warning: "'swprintf' : format string '%s' requires an argument of type 'unsigned short *', but variadic argument 1 has type 'const char *'"

2021-11-01 Thread Ken Jin
Ken Jin added the comment: New changeset 401d25e92f62a9ef320a97542b3e63cb8c34e7e9 by Nikita Sobolev in branch 'main': bpo-45666: Use `%S` for MSVC and `%s` elsewhere for `swprintf` in `_testembed.c` (GH-29341) https://github.com/python/cpython/commit/401d25e92f62a9ef320a97542b3e63cb8c34e7e9

[issue43158] uuid won't build when libuuid is installed in a non-standard place

2021-11-01 Thread Alexandru Ardelean
Alexandru Ardelean added the comment: I confirm that this works on OpenWrt :) I actually started testing shortly after the PR was created. Many thanks for the quick patch. -- ___ Python tracker

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

2021-11-01 Thread Oleksandr Pavliuk
Oleksandr Pavliuk added the comment: @maxmouchet, thank you for creating the issue. For me it makes sense, and RFC 4291 calls such IPv6 text representation approach as "more convenient". I'll try to fix this, if you don't mind. P.S.: Sorry for providing PR before I asked. --

[issue43158] uuid won't build when libuuid is installed in a non-standard place

2021-11-01 Thread Christian Heimes
Christian Heimes added the comment: I have created a PR that adds a check for libuuid to configure and then uses configure variables in setup.py. Could you please try the patch in your build system? -- versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8

[issue43158] uuid won't build when libuuid is installed in a non-standard place

2021-11-01 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27614 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/29353 ___ Python tracker

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2021-11-01 Thread Eryk Sun
Change by Eryk Sun : -- nosy: -gustavoxo, jugnugee2, kevingeller, printerhelpcenter ___ Python tracker ___ ___ Python-bugs-list

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2021-11-01 Thread Eryk Sun
Change by Eryk Sun : -- Removed message: https://bugs.python.org/msg368787 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2021-11-01 Thread Eryk Sun
Change by Eryk Sun : -- Removed message: https://bugs.python.org/msg389658 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2021-11-01 Thread Eryk Sun
Change by Eryk Sun : -- nosy: -emmajohan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2021-11-01 Thread Eryk Sun
Change by Eryk Sun : -- Removed message: https://bugs.python.org/msg405432 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2021-11-01 Thread emma
emma added the comment: Missoma Discount Codes Shop online for more luxury jewelry for less when you use Missoma Discount Codes. For great gift ideas and inspiration, you can find it all, with the perfect accessories for less when you shop online. Choose from Rings, Necklaces, Bracelets,

[issue45635] Tidy up error handling in traceback.c / python run.c

2021-11-01 Thread Irit Katriel
Irit Katriel added the comment: It's more intricate than I initially thought - the assertion that no exception is set is in PyObject_Str rather than PyFile_WriteObject, and it should remain there because it ensures that exceptions are not accidentally cleared by an str() call. In the

[issue45668] Some PGO tests are failing when building with --enable-optimizations --disable-test-modules

2021-11-01 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45625] Add support for top-level await

2021-11-01 Thread Fred
Fred added the comment: I think it would fit with the design and commmunity of Python. I think people who use Python don't care about what async runtime it is, or how to configure it or set it up, they just want to call async functions. This is 2021, we live in a async-first world. I think

[issue45665] Problems caused by isinstance(list[int], type) returning True

2021-11-01 Thread Martin Rueckl
Martin Rueckl added the comment: Sorry for the noise: - Literal['a', 'b'], - TypeVar('T') Behave like Optional/Union -- ___ Python tracker ___

[issue10483] http.server - what is executable on Windows

2021-11-01 Thread mike mcleod
mike mcleod added the comment: Hi Éric, Then would the easiest way of dealing with this issue, to close it without any further work? Possibly adding to the documents it doesn't work on windows.. I can move to the next issue. Regards, Mike On Sun, 31 Oct 2021 at 18:03, Éric Araujo wrote: >

[issue45665] Problems caused by isinstance(list[int], type) returning True

2021-11-01 Thread Martin Rueckl
Martin Rueckl added the comment: One thing that probably should be considered in this context: isinstance(arg, type) == issubclass(type(arg), type) Holds True for arg in (Optional[X], Union[X, Y]). Both sides evaluate to False. (v3.10.0) While I still think both sides evaluating to True

[issue2628] ftplib Persistent data connection

2021-11-01 Thread mike mcleod
mike mcleod added the comment: I am happy to do any testing. My reason for getting involved is I am new to helping with Cpython and thought this may be the least intrusive way of getting started with something that nobody really cares about that much. Hence, the oldest issue I see can be

[issue45668] Some PGO tests are failing when building with --enable-optimizations --disable-test-modules

2021-11-01 Thread Christian Heimes
Christian Heimes added the comment: New changeset e73283a20fb05b70da2990decefac0e011faec17 by Christian Heimes in branch 'main': bpo-45668: Fix PGO tests without test extensions (GH-29315) https://github.com/python/cpython/commit/e73283a20fb05b70da2990decefac0e011faec17 --

[issue43158] uuid won't build when libuuid is installed in a non-standard place

2021-11-01 Thread Alexandru Ardelean
Alexandru Ardelean added the comment: I've added Christian Heimes to this, mostly to help us get this further. (i.e. to refer someone else here, that can help). So, there is a fix for this in Buildroot's tree:

[issue10572] Move test sub-packages to Lib/test

2021-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Do we need Lib/test/test_sqlite3/__init__.py? Would not tests in package be loaded automatically? -- nosy: +serhiy.storchaka ___ Python tracker

[issue10572] Move test sub-packages to Lib/test

2021-11-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 762a4dc9361f9563e158e373ba8d767b4449f23d by Erlend Egeberg Aasland in branch 'main': bpo-10572: Fixup Lib/test/libregrtest/pgo.py (GH-29327) https://github.com/python/cpython/commit/762a4dc9361f9563e158e373ba8d767b4449f23d --

[issue45598] setup.py grep_headers_for() is broken by design

2021-11-01 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27613 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29352 ___ Python tracker