[issue42689] Installation

2020-12-19 Thread Rafael
Rafael added the comment: I'm very new to python. I went to download 3.9.1 and it said "There was an error creating a temporary file that is needed to complete this installation." I was wondering how I can fix this problem so I can start learning. Error code is 2502 --

[issue42689] Installation

2020-12-19 Thread Rafael
Rafael added the comment: I'm very new to python. I went to download 3.9.1 and it said "There was an error creating a temporary file that is needed to complete this installation." I was wondering how I can fix this problem so I can start learning --

[issue42689] Installation

2020-12-19 Thread Rafael
New submission from Rafael : I'm very new to python. I went to download 3.9.1 and it said "There was an error creating a temporary file that is needed to complete this installation." I was wondering how I can fix this problem so I can start learning -- components: Windows messages:

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-19 Thread Karl Nelson
Karl Nelson added the comment: I found it. The change that hit JPype is https://bugs.python.org/issue33895 Thanks, Eryk Sun for figuring this out. I would never have gotten myself. -- ___ Python tracker

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-19 Thread Karl Nelson
Karl Nelson added the comment: Drat I missed that one when I was scanning for statics because I was focusing C++ resource rather than looking for Python resources. I also wouldn't have expected this to happen on only one platform, but that was my bad. Is it possible to improve the error

[issue42688] ctypes memory error on Apple Silicon with external libffi

2020-12-19 Thread Eli Rykoff
Change by Eli Rykoff : -- keywords: +patch pull_requests: +22730 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23868 ___ Python tracker ___

[issue42688] ctypes memory error on Apple Silicon with external libffi

2020-12-19 Thread Eli Rykoff
New submission from Eli Rykoff : Building python 3.9.1 on Apple Silicon compiled against a external (non-os-provided) libffi makes the following code return a MemoryError: Test: import ctypes @ctypes.CFUNCTYPE(None, ctypes.c_int, ctypes.c_char_p) def error_handler(fif, message): pass I

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-19 Thread Eryk Sun
Eryk Sun added the comment: I built JPype normally in release mode and was able to analyze the problem using the platform debugger (cdb or WinDbg). I think the issue is pretty straight forward. The static initializer for classMagic in "native\python\pyjp_class.cpp" is calling PyDict_New().

[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks for the PR, mattip! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-19 Thread Karl Nelson
Karl Nelson added the comment: Gave another series of shots at the problem. So the reason that attaching the debugger fixes the issue is that it calls LoadLibraryExW for a bunch libraries when it attaches. I was also able to unconditionally trigger the bug even when loading without the

[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 4b155967b3e743cbdc31600f13f1bfcf07f7b6ce by Miss Islington (bot) in branch '3.9': bpo-42604: always set EXT_SUFFIX=${SOABI}${SHLIB_SUFFIX} when using configure (GH-23708) (GH-23866)

[issue42675] Document changes made in bpo-42195

2020-12-19 Thread Ken Jin
Change by Ken Jin : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-19 Thread miss-islington
miss-islington added the comment: New changeset b01091a3e71e6636d2df4db45920e820cdf7df3b by Miss Islington (bot) in branch '3.8': bpo-42604: always set EXT_SUFFIX=${SOABI}${SHLIB_SUFFIX} when using configure (GH-23708)

[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +22728 pull_request: https://github.com/python/cpython/pull/23866 ___ Python tracker

[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +22729 pull_request: https://github.com/python/cpython/pull/23867 ___ Python tracker ___

[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset a44ce6c9f725d336aea51a946b42769f29fed613 by Matti Picus in branch 'master': bpo-42604: always set EXT_SUFFIX=${SOABI}${SHLIB_SUFFIX} when using configure (GH-23708)

[issue29595] Expose max_queue_size in ThreadPoolExecutor

2020-12-19 Thread tianc777
Change by tianc777 <18702287...@163.com>: -- nosy: +tianc777 nosy_count: 9.0 -> 10.0 pull_requests: +22727 pull_request: https://github.com/python/cpython/pull/23865 ___ Python tracker

[issue29595] Expose max_queue_size in ThreadPoolExecutor

2020-12-19 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 8.0 -> 9.0 pull_requests: +22726 pull_request: https://github.com/python/cpython/pull/23864 ___ Python tracker

[issue41724] SQLite returns "str" instead of "datetime.datetime" with aggregate queries.

2020-12-19 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks for the PR! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41724] SQLite returns "str" instead of "datetime.datetime" with aggregate queries.

2020-12-19 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 24862b02dfd1e2843727f28fa2ba05828fdfa8de by Miss Islington (bot) in branch '3.8': bpo-41724: Explain when the conversion is not possible with detect_types enabled (GH-23855) (GH-23863)

[issue41724] SQLite returns "str" instead of "datetime.datetime" with aggregate queries.

2020-12-19 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset a34ab8188e0352e4066da4f79ed3cc24d1b61a63 by Miss Islington (bot) in branch '3.9': bpo-41724: Explain when the conversion is not possible with detect_types enabled (GH-23855) (GH-23862)

[issue37717] argparse subcommand docs has non-existent parameter "action"

2020-12-19 Thread paul j3
paul j3 added the comment: I'm closing the is as a duplicate of https://bugs.python.org/issue23487, which is already closed. -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker

[issue41724] SQLite returns "str" instead of "datetime.datetime" with aggregate queries.

2020-12-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +22725 pull_request: https://github.com/python/cpython/pull/23863 ___ Python tracker ___

[issue41724] SQLite returns "str" instead of "datetime.datetime" with aggregate queries.

2020-12-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +22724 pull_request: https://github.com/python/cpython/pull/23862 ___ Python tracker

[issue41724] SQLite returns "str" instead of "datetime.datetime" with aggregate queries.

2020-12-19 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 09a36cdfb7c22f44df45b44e5561776206bcedfb by sblondon in branch 'master': bpo-41724: Explain when the conversion is not possible with detect_types enabled (GH-23855)

[issue42675] Document changes made in bpo-42195

2020-12-19 Thread Guido van Rossum
Guido van Rossum added the comment: Can this be closed now? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42675] Document changes made in bpo-42195

2020-12-19 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 597ebc8cf604de49eabbc7b83be2debd005d7819 by kj in branch '3.9': [3.9] bpo-42675: Document collections.abc.Callable changes (GH-23839) (#23852) https://github.com/python/cpython/commit/597ebc8cf604de49eabbc7b83be2debd005d7819 --

[issue30480] samefile and sameopenfile fail for WebDAV mapped drives

2020-12-19 Thread Steven Geerts
Steven Geerts added the comment: still an issue with Python 3.8 and 3.9. A copy between 2 files on webdave mapped drives can't be done, although src and dst are different. -- nosy: +steven.geerts versions: +Python 3.8, Python 3.9 ___ Python

[issue9694] argparse required arguments displayed under "optional arguments"

2020-12-19 Thread Martin Burger
Change by Martin Burger : -- nosy: -mburger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9694] argparse required arguments displayed under "optional arguments"

2020-12-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: I also like Eric'c suggestion of just using "options:" instead of "optional arguments". -- ___ Python tracker ___

[issue42681] mistake in curses documentation

2020-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Good catch! And it is not only documentation issue now. Since color numbers and pair numbers use different range checks, this prevents using this function with pair numbers larger that COLORS (should be accepted up to COLOR_PAIRS-1). Seems there is also

[issue9694] argparse required arguments displayed under "optional arguments"

2020-12-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: Since any chance to the help output will likely break tests, marking this as 3.10 only. -- components: +Library (Lib) -Documentation versions: -Python 3.9 ___ Python tracker

[issue9694] argparse required arguments displayed under "optional arguments"

2020-12-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +22723 pull_request: https://github.com/python/cpython/pull/23858 ___ Python tracker ___

[issue42677] Support comments in argparse fromfile_prefix_chars files

2020-12-19 Thread Thomas Nabelek
Thomas Nabelek added the comment: For anyone else, here is my implementation. I decided not to do anything to support comments on the same lines as arguments. import argparse import re # Override argparse's convert_arg_line_to_args method to allow for comments and empty lines class

[issue26003] Issues with PyEval_InitThreads and PyGILState_Ensure

2020-12-19 Thread Irit Katriel
Irit Katriel added the comment: Since PyEval_InitThreads is now an empty function and to be removed, this issue seems out of date. A I right? -- nosy: +iritkatriel resolution: -> out of date status: open -> pending ___ Python tracker

[issue29030] argparse: choices override metavar

2020-12-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- components: +Documentation -Library (Lib) versions: +Python 3.10, Python 3.9 -Python 2.7, Python 3.5 ___ Python tracker ___

[issue9694] argparse required arguments displayed under "optional arguments"

2020-12-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- components: +Documentation type: enhancement -> behavior ___ Python tracker ___ ___

[issue9694] argparse required arguments displayed under "optional arguments"

2020-12-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: Based on the attached survey of practices, I propose a minimal edit to the help display. Instead of "optional arguments:", we say "the options are as follows:". The use of the word "option" is dominant is in the CLI world, followed by "action" and

[issue42677] Support comments in argparse fromfile_prefix_chars files

2020-12-19 Thread Thomas Nabelek
Thomas Nabelek added the comment: Oh, yes, returning [] does work. Thanks guys. -- ___ Python tracker ___ ___ Python-bugs-list

[issue9694] argparse required arguments displayed under "optional arguments"

2020-12-19 Thread Raymond Hettinger
Change by Raymond Hettinger : Added file: https://bugs.python.org/file49692/argparse_optional.txt ___ Python tracker ___ ___

[issue9694] argparse required arguments displayed under "optional arguments"

2020-12-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- Removed message: https://bugs.python.org/msg374042 ___ Python tracker ___ ___ Python-bugs-list

[issue42677] Support comments in argparse fromfile_prefix_chars files

2020-12-19 Thread Eric V. Smith
Eric V. Smith added the comment: Have you tried returning an empty list? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42677] Support comments in argparse fromfile_prefix_chars files

2020-12-19 Thread Thomas Nabelek
Thomas Nabelek added the comment: While overloading convert_arg_line_to_args may work, I think that @file reading is kind of the odd ball out in not recognizing '#' as the beginning of a comment. Besides, I'm not sure that overloading just convert_arg_line_to_args is sufficient. Here is

[issue42681] mistake in curses documentation

2020-12-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3722] print followed by exception eats print with doctest

2020-12-19 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy -patch versions: +Python 3.10 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-19 Thread Karl Nelson
Karl Nelson added the comment: I will look through the list of samples in Detours to see if there is something that can give us better stacktrace information. If we really need a stack trace I can make Detours bust by creating an intentional segfault and see if we can attach the debugger

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-19 Thread Steve Dower
Steve Dower added the comment: > I recommend first doing a capture of these functions first I don't think that'll be necessary - the logging output ought to be enough. Capturing or redirecting those functions would be great if the debugger was working, but since that spoils it, it's not. >

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-19 Thread William Pickard
William Pickard added the comment: I recommend first doing a capture of these functions first, incase Windows is routing some through them: LoadLibrary(Ex)(W|A) W is the Unicode variant while A is the Ascii variant. -- ___ Python tracker

[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2020-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for tracking it Ronald. Could this issue be closed now? -- status: pending -> open ___ Python tracker ___

[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2020-12-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38661] Changes to tkinter result in (unexpected) widget map call return changes wrt. 3.7

2020-12-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39171] Missing default root in tkinter simpledialog.py

2020-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is addressed in issue42630. Now a RuntimeError with relevant error message is raised when call askinteger() without explicit parent if there is no default root widget. Autocreating a top-level root window is not good idea. It pops up an empty window

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-19 Thread Karl Nelson
Karl Nelson added the comment: I looked more at the logs to see if I can find out what to instrument next. The log files unfortunately don't diff well because every line contains a timestamp so I can't a proper alignment as well as all the real addresses. So I wrote a short program to

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-19 Thread Karl Nelson
Karl Nelson added the comment: Eryk, Unfortunately, this particular bug is resistant to attaching the debugger. Whenever the debugger is attached the bug disappears. Fortunately the suggestion to use Detours by WildCard65 appears to offer a way to diagnose the issue. --

[issue40219] ttk LabeledScale: label covered by hidden element

2020-12-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40219] ttk LabeledScale: label covered by hidden element

2020-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 6ad5fd14825fc6039a9684dfdc14f5d12b86e25f by Miss Islington (bot) in branch '3.9': bpo-40219: Lowered ttk LabeledScale dummy (GH-21467) (GH-23788) https://github.com/python/cpython/commit/6ad5fd14825fc6039a9684dfdc14f5d12b86e25f --

[issue42683] asyncio should handle keyboard interrupt while the event loop is running

2020-12-19 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-19 Thread mattip
mattip added the comment: The linked PR 23708 is meant to fix the failures. Any chance you can take a look? -- ___ Python tracker ___

[issue42686] include built-in Math functions in SQLite to 3.35.0 of march 2021

2020-12-19 Thread Steven D'Aprano
Steven D'Aprano added the comment: As far as I can tell, every one of those are already available in Python. https://docs.python.org/3/library/math.html -- nosy: +steven.daprano ___ Python tracker

[issue42681] mistake in curses documentation

2020-12-19 Thread Zackery Spytz
Zackery Spytz added the comment: Please explain why you believe this is a mistake. -- nosy: +ZackerySpytz ___ Python tracker ___

[issue42687] tokenize module does not recognize Barry as FLUFL

2020-12-19 Thread Erik Soma
Change by Erik Soma : -- keywords: +patch pull_requests: +22722 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23857 ___ Python tracker ___

[issue42687] tokenize module does not recognize Barry as FLUFL

2020-12-19 Thread Erik Soma
New submission from Erik Soma : '<>' is not recognized by the tokenize module as a single token, instead it is two tokens. ``` $ python -c "import tokenize; import io; import pprint; pprint.pprint(list(tokenize.tokenize(io.BytesIO(b'<>').readline)))" [TokenInfo(type=62 (ENCODING),

[issue42630] Variable.__init__ raises obscure AttributeError

2020-12-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42685] Improve placing of simple query windows.

2020-12-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +22721 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23856 ___ Python tracker

[issue42686] include built-in Math functions in SQLite to 3.35.0 of march 2021

2020-12-19 Thread Big Stone
New submission from Big Stone : SQlite-3.35.0 of mach 2021 will have Built-In Math Functions option. https://sqlite.org/draft/releaselog/3_35_0.html Would it be possible to have it activated in the following versions update of Python ? It's pretty usefull for some basic statistics

[issue42685] Improve placing of simple query windows.

2020-12-19 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently simple query windows in Tkinter (such as tkinter.simpledialog.askinteger()) are placed at position 50 pixels right and 50 pixels below of the top left corner of the parent widget (even if it is not visible). If the parent is not specified, the

[issue41724] SQLite returns "str" instead of "datetime.datetime" with aggregate queries.

2020-12-19 Thread Stéphane Blondon
Change by Stéphane Blondon : -- keywords: +patch nosy: +sblondon nosy_count: 5.0 -> 6.0 pull_requests: +22720 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23855 ___ Python tracker

[issue42630] Variable.__init__ raises obscure AttributeError

2020-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 80c445cafbdfb16c4a882e3ff6fe28b471aacdfc by Serhiy Storchaka in branch '3.8': [3.8] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) (GH-23854)

[issue42655] Fix subprocess extra_groups gid conversion

2020-12-19 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: This bug would have been caught at compile time if `_Py_Gid_Converter()` used `gid_t *` instead of `void *`. I couldn't find any call sites where `void *` would be needed, so probably `_Py_Gid_Converter()` should be fixed too (in a separate PR/issue?). The

[issue42122] macOS complains about how fonts are accessed

2020-12-19 Thread Christopher A. Chavez
Christopher A. Chavez added the comment: This was already reported to Tcl/Tk: https://core.tcl-lang.org/tk/info/855049e799 . They determined it was caused by a bug in macOS 10.15.1. There are workarounds implemented for this in Tcl/Tk 8.6.10 and the upcoming 8.6.11 releases. --

[issue42684] Improvements to documentation for PyUnicode_FS{Converter, Decoder}

2020-12-19 Thread Antony Lee
New submission from Antony Lee : The docs for PyUnicode_FSConverter and PyUnicode_FSDecoder could be improved on two points: - The functions also reject str/bytes that contain null bytes (one can easily verify that there's a specific check for them in the C implementations). Currently the

[issue42672] tkinter/__init__.py raises a NameError if NoDefaultRoot()

2020-12-19 Thread Ivo Shipkaliev
Ivo Shipkaliev added the comment: Thank you! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-12-19 Thread FX Coudert
FX Coudert added the comment: Reported to Apple as FB8945560 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-19 Thread William Pickard
William Pickard added the comment: Msvcp140.dll from what I can find is part of the VS 2015 Redstributable package. -- ___ Python tracker ___

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-19 Thread Steve Dower
Steve Dower added the comment: Looking at the winapi_thunks.cpp source file from the CRT, it may be that LCIDToLocaleName is failing to be loaded for some reason. That's the one that comes after LCMapStringEx, so if it's failing, that could abort the whole process. Alternatively,

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-19 Thread Steve Dower
Steve Dower added the comment: > Everything succeeds, then we get an extra successful request for FlsFree then > it immediately returns with a fail. That makes it sound like the CRT is uninitialising itself, so this may be a conflict between statically linked vcruntime140.dll and

[issue42572] Better path handling with argparse

2020-12-19 Thread Austin Scola
Austin Scola added the comment: Thank you Raymond! I learned a few things by reading the proposed documentation updates. -- ___ Python tracker ___

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-12-19 Thread FX Coudert
FX Coudert added the comment: Hi, Homebrew developer here, we're seeing this with macOS 11.1 and I think it's not a python issue but an Apple's Tcl/Tk issue. The backtrace I have is: 0 libsystem_kernel.dylib 0x7fff2031f462 __pthread_kill + 10 1 libsystem_pthread.dylib

[issue42683] asyncio should handle keyboard interrupt while the event loop is running

2020-12-19 Thread Paul Moore
Change by Paul Moore : -- nosy: +njs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42683] asyncio should handle keyboard interrupt while the event loop is running

2020-12-19 Thread Paul Moore
New submission from Paul Moore : See the comment on Discourse here: https://discuss.python.org/t/feeding-data-generated-via-asyncio-into-a-synchronous-main-loop/5436/28 (and the thread leading up to this comment). In the thread, @njs states that if the user hits Ctrl-C while the asyncio

[issue42630] Variable.__init__ raises obscure AttributeError

2020-12-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22719 pull_request: https://github.com/python/cpython/pull/23854 ___ Python tracker ___

[issue42630] Variable.__init__ raises obscure AttributeError

2020-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 87e7a14ee3bd7dc495e51166598453114342d0bf by Serhiy Storchaka in branch '3.9': [3.9] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) (GH-23853)

[issue42630] Variable.__init__ raises obscure AttributeError

2020-12-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22718 pull_request: https://github.com/python/cpython/pull/23853 ___ Python tracker ___

[issue23522] Misleading note in Statistics module documentation

2020-12-19 Thread Steven D'Aprano
Steven D'Aprano added the comment: Sorry Raymond, I missed this before closing the task. > FWIW, Allen Downey also had concerns about this wording. I don't recognise the name, who is Allen Downey and what concerns does he have? -- ___ Python

[issue42624] sqlite3 package document mistake

2020-12-19 Thread LIU Qingyuan
LIU Qingyuan added the comment: Python 3.9.1 (default, Dec 11 2020, 14:32:07) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information. >>> import sqlite3 >>> conn = sqlite3.connect("test.db") >>> conn.execute("CREATE TABLE test (id INTEGER,

[issue42630] Variable.__init__ raises obscure AttributeError

2020-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 3d569fd6dccf9f582bafaca04d3535094cae393e by Serhiy Storchaka in branch 'master': bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781)

[issue42672] tkinter/__init__.py raises a NameError if NoDefaultRoot()

2020-12-19 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The patch is not correct. Its first part negates the correct behavior, its second part does not affect behavior at all, and all this does not have any effect on NameError. This issue looks like a duplication of 42630. -- resolution: ->

[issue42682] awaiting a wrapped asyncio.Task multiple times gives long, repeative tracebacks

2020-12-19 Thread lilydjwg
New submission from lilydjwg : import asyncio async def crash(key): raise Exception('crash!') async def wait(fu): await fu async def main(): crasher = asyncio.create_task(crash(())) fs = [wait(crasher) for _ in range(10)] for fu in asyncio.as_completed(fs): try: await fu