[issue41033] readline.c: SEGFAULT on SIGWINCH when loaded twice

2021-12-16 Thread Dale
Dale added the comment: I hit this on macOS today but I didn't get segmentation fault, at least not for as long as I cared to let Python run. Instead I got a non-responsive Python process using 100% CPU that I had to kill with ^\. I first hit this with GNU readline while running Python

[issue46110] `eval("-"*3000000 + "4")` in cmd causes hard crash

2021-12-16 Thread Charles McMarrow
New submission from Charles McMarrow : `eval("-"*300 + "4")` in cmd causes hard crash -- components: Parser messages: 408753 nosy: charles.mcmarrow.4, lys.nikolaou, pablogsal priority: normal severity: normal status: open title: `eval("-"*300 + "4")` in cmd causes hard crash

[issue46108] Enum repr() incorrect when mixed with dataclasses

2021-12-16 Thread Eric V. Smith
Eric V. Smith added the comment: I know you know this, but here's a version without dataclasses, in case you want to add a test for this, too. from enum import Enum class Foo: def __init__(self, a): self.a = a def __repr__(self): return f'Foo(a={self.a!r})' class

[issue46111] test_unittest fails in optimized mode

2021-12-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : $ ./python -OO -m test -vuall test_unittest ... == FAIL: testShortDescriptionWhitespaceTrimming (unittest.test.test_case.Test_TestCase)

[issue46111] test_unittest fails in optimized mode

2021-12-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +28380 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30163 ___ Python tracker

[issue45959] Teach pprint about dict views

2021-12-16 Thread Daniel Diniz
Daniel Diniz added the comment: I have tried to add this. The PR adds: - PrettyPrinter._pprint_dict_view to handle dict_keys and dict_values (sorted with _safe_key). = PrettyPrinter._pprint_dict_items_view to handle dict_items (sorted using _safe_tuple). - Tests. Would a NEWS entry or other

[issue46097] Split function versions into 1-0xffff and 0x1000+ regions

2021-12-16 Thread Mark Shannon
New submission from Mark Shannon : Because functions are mutable, specifically because the __code__ attribute is mutable, we need to version functions when specializing. However, some specializations (for special methods mainly) only have space for 16 bit versions. It is likely that

[issue22815] unexpected successes are not output

2021-12-16 Thread Irit Katriel
Irit Katriel added the comment: In verbose mode we do get output like the one in the code.google issue: % cat tmp.py import unittest class TestStringMethods(unittest.TestCase): @unittest.expectedFailure def test_upper(self): self.assertEqual(2, 2) def test_lower(self):

[issue46096] Support PyObject interface for global variables in local scope and debugger

2021-12-16 Thread Dmitry
New submission from Dmitry : We use the embedded Python in a multiscript environment. For example, VBS can execute Python code and vice versa. For that purpose we use a global context which is common for all running scripts (Python, VBS etc.) and control access to variables in that context

[issue46028] 3.11.0a3: under tox, sys._base_executable is wrong

2021-12-16 Thread Ned Batchelder
Ned Batchelder added the comment: Here's the experiment again with 3.10.1 and 3.11.0a3, and more ls's: $ python3.10 -V Python 3.10.1 $ python3.10 -m venv v310 $ ls -al v310/bin total 72 drwxr-xr-x 12 nedbatchelder wheel 384 Dec 16 06:42 ./ drwxr-xr-x 6 nedbatchelder wheel 192 Dec

[issue20165] unittest TestResult wasSuccessful returns True when there are unexpected successes

2021-12-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue22815. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list

[issue22815] unexpected successes are not output

2021-12-16 Thread Irit Katriel
Irit Katriel added the comment: Yes, this is why I don’t understand the request here. When a test fails you know which assertion was violated or which line raised an exception. When a multi line test succeeds, you don’t know which line was supposed to fail. --

[issue22815] unexpected successes are not output

2021-12-16 Thread Irit Katriel
Irit Katriel added the comment: I know that in unittest2 an unexpected success did not cause the test to fail (when we moved from unittest2 to unittest at work we got test failures due to unexpected successes that previously did not show up). I don't know the whole history of how unittest2

[issue46094] Missing unit test on unittest.TestResult to check for required arguments

2021-12-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What do you mean they are required? All parameters of TestResult() are optional. -- nosy: +ezio.melotti, michael.foord, rbcollins, serhiy.storchaka status: pending -> open ___ Python tracker

[issue46099] Solaris: Fix pthread_getcpuclockid test

2021-12-16 Thread Jakub Kulik
New submission from Jakub Kulik : On Solaris, when `pthread_getcpuclockid()` is called with current thread id as an argument, it returns `CLOCK_THREAD_CPUTIME_ID`. == FAIL: test_pthread_getcpuclockid

[issue28816] [doc] Clarify that zipimport does not invoke import hooks to load custom files from zip.

2021-12-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +28354 pull_request: https://github.com/python/cpython/pull/30134 ___ Python tracker ___

[issue28816] [doc] Clarify that zipimport does not invoke import hooks to load custom files from zip.

2021-12-16 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +28353 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30133 ___ Python tracker

[issue28816] [doc] Clarify that zipimport does not invoke import hooks to load custom files from zip.

2021-12-16 Thread Irit Katriel
Irit Katriel added the comment: New changeset a951c95a13c3555ac8fb1c8ee615ba3930ccc6f7 by Irit Katriel in branch 'main': bpo-28816: [doc] clarify that zipimport invokes importers only for python files (GH-30060)

[issue45959] Teach pprint about dict views

2021-12-16 Thread Daniel Diniz
Change by Daniel Diniz : -- keywords: +patch nosy: +ajaksu2 nosy_count: 4.0 -> 5.0 pull_requests: +28355 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30135 ___ Python tracker

[issue22815] unexpected successes are not output

2021-12-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think the OP means that test details (test description, traceback, captured output) are printed for ERROR and FAIL in TextTestResult.printErrors(). Other possible results besides error and failure are success, skipped, expected failure and unexpected

[issue22815] unexpected successes are not output

2021-12-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +28356 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30138 ___ Python tracker

[issue46098] Missing test for multi-line errors in traceback

2021-12-16 Thread Irit Katriel
New submission from Irit Katriel : While reviewing a change nearby, Erlend noticed that there is no test coverage for the multi-line error case in the traceback printing code added in bpo-43914. See https://github.com/python/cpython/pull/30073#discussion_r770114429 -- messages:

[issue22815] unexpected successes are not output

2021-12-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Unless you tun tests in verbose mode you do not know which of tests was unexpectedly successful. And even in the verbose mode it is not easy to find that test in long output. Yes, unexpected successes considered successes in earlier versions. See

[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-16 Thread Alex Waygood
Alex Waygood added the comment: It concerns me that help() gives very different results for some of these functions than the signature you'll find in the documentation. I think a beginner would find that highly confusing. If the view is that the slash notation should not be added to this

[issue46095] Warning about iterate/modify has unwarranted detail

2021-12-16 Thread Ture Pålsson
New submission from Ture Pålsson : The language reference about the 'for' statement (https://docs.python.org/3/reference/compound_stmts.html#the-for-statement) has a "Note" box that states that the for statement uses an "internal counter" which is "incremented", and goes into detail about

[issue22815] unexpected successes are not output

2021-12-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are no other details for unexpected successes, only test descriptions. -- type: behavior -> enhancement ___ Python tracker ___

[issue46072] Unify handling of stats in the CPython VM

2021-12-16 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +28357 pull_request: https://github.com/python/cpython/pull/30139 ___ Python tracker ___

[issue45829] Remove C stack use by specializing BINARY_SUBSCR, STORE_SUBSCR, LOAD_ATTR, and STORE_ATTR

2021-12-16 Thread Mark Shannon
Mark Shannon added the comment: New changeset 62a8a0c5223f750e22ee381d3cfbdb718cf1cc93 by Brandt Bucher in branch 'main': bpo-45829: Check `__getitem__`'s version for overflow before specializing (GH-30129) https://github.com/python/cpython/commit/62a8a0c5223f750e22ee381d3cfbdb718cf1cc93

[issue22815] unexpected successes are not output

2021-12-16 Thread Irit Katriel
Irit Katriel added the comment: I don't think adding more information from the test would be helpful - when a test fails you have (and need) information about what happened. But when a test succeeds the code of the test basically tells you what happened - all the assertions passed. I think

[issue46096] Support PyObject interface for global variables in local scope and debugger

2021-12-16 Thread Dmitry
Change by Dmitry : -- keywords: +patch pull_requests: +28359 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30141 ___ Python tracker ___

[issue28816] [doc] Clarify that zipimport does not invoke import hooks to load custom files from zip.

2021-12-16 Thread Irit Katriel
Irit Katriel added the comment: New changeset 4c1effaaee472cc67f3186411a3df4f39af3d71a by Miss Islington (bot) in branch '3.9': bpo-28816: [doc] clarify that zipimport invokes importers only for python files (GH-30060) (GH-30134)

[issue28816] [doc] Clarify that zipimport does not invoke import hooks to load custom files from zip.

2021-12-16 Thread Irit Katriel
Irit Katriel added the comment: New changeset 0194bbbee6a12264e93d3217c774e226f0a1737d by Miss Islington (bot) in branch '3.10': bpo-28816: [doc] clarify that zipimport invokes importers only for python files (GH-30060) (GH-30133)

[issue23522] Misleading note in Statistics module documentation

2021-12-16 Thread Steven D'Aprano
Steven D'Aprano added the comment: Prompted by Guido's reopening of the ticket, I have given it some more thought, and have softened my views. Jake if you're still around, perhaps there is more to what you said than I initially thought, and I just needed fresh eyes to see it. Sorry for

[issue46100] Simplify readline / editline detection

2021-12-16 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: FWIW, the XCode SDKs for macOS 11 and 12 use the NetBSD editline library. $ grep "NetBSD: readline" /Library/Developer/CommandLineTools/SDKs/MacOSX*.sdk/usr/include/readline/readline.h

[issue46088] Build hangs under Visual Studio in deepfreeze stage

2021-12-16 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +28361 pull_request: https://github.com/python/cpython/pull/30143 ___ Python tracker ___

[issue46088] Build hangs under Visual Studio in deepfreeze stage

2021-12-16 Thread Christian Heimes
Christian Heimes added the comment: VS builds could use the bootstrap interpreter again. This will remove the need to have a Python interpreter installed to build Python on Windows. -- nosy: +christian.heimes ___ Python tracker

[issue45755] Specialized generic class does not return class attributes in dir

2021-12-16 Thread Ken Jin
Ken Jin added the comment: Hi, I won't be backporting this to 3.9 since I don't like having jarring behavior changes so late into the bugfix cycle of a Python version. I'm tempted to backport to 3.10. For now, I'll be conservative and just merge it in main. Please do tell me if any of you

[issue46099] Solaris: Fix pthread_getcpuclockid test

2021-12-16 Thread Jakub Kulik
Change by Jakub Kulik : -- keywords: +patch pull_requests: +28358 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30140 ___ Python tracker ___

[issue36674] "unittest.TestCase.debug" should honour "skip" (and other test controls)

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

[issue46100] Simplify readline / editline detection

2021-12-16 Thread Christian Heimes
New submission from Christian Heimes : The configure.ac code for editline/readline detection is complicated. Especially the code for linking with extra termcap libraries makes it complicated to port the check to pkg-config. The termcap checks were added by Greg in bpo-3645 and commit

[issue46072] Unify handling of stats in the CPython VM

2021-12-16 Thread Mark Shannon
Mark Shannon added the comment: New changeset 4506bbede1644e985991884964b43afa7ee6f609 by Mark Shannon in branch 'main': bpo-46072: Document --enable-stats option. (GH-30139) https://github.com/python/cpython/commit/4506bbede1644e985991884964b43afa7ee6f609 --

[issue46072] Unify handling of stats in the CPython VM

2021-12-16 Thread Christian Heimes
Christian Heimes added the comment: I just noticed that you are using hard-coded paths with /tmp for the pystats directory. That's problematic and opens the possibility of a symlink race attack. Could please add exclusive create to _Py_PrintSpecializationStats()? The will prevent symlink

[issue28816] [doc] Clarify that zipimport does not invoke import hooks to load custom files from zip.

2021-12-16 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46088] Build hangs under Visual Studio in deepfreeze stage

2021-12-16 Thread Steve Dower
Steve Dower added the comment: On Windows we automatically download a runtime if you don't have one, so this isn't such a big deal. You *do* need an internet connection to do this, of course, but that's the case for most of our external dependencies already. Plus I don't think we're even

[issue46028] 3.11.0a3: under tox, sys._base_executable is wrong

2021-12-16 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +28362 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30144 ___ Python tracker ___

[issue46072] Unify handling of stats in the CPython VM

2021-12-16 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +28363 pull_request: https://github.com/python/cpython/pull/30145 ___ Python tracker ___

[issue22047] Deprecate unsupported nesting of argparse groups

2021-12-16 Thread Irit Katriel
Irit Katriel added the comment: New changeset 30322c497e0b8d978f7a0de95985aac9c5daf1ac by Irit Katriel in branch 'main': bpo-22047: [argparse] deprecate nested argument groups and mutually exclusive groups (GH-30098)

[issue46101] argparse: using parents & subcommands, options can be ignored

2021-12-16 Thread Lucas Cimon
Change by Lucas Cimon : -- keywords: +patch pull_requests: +28364 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30146 ___ Python tracker ___

[issue45690] Argparse exclusive group inside required exclusive group displays incorrectly

2021-12-16 Thread Irit Katriel
Irit Katriel added the comment: Nesting argument groups and mutually exclusive groups is now deprecated (see issue22047). Thank you for the bug report. -- nosy: +iritkatriel resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Deprecate unsupported

[issue46088] Build hangs under Visual Studio in deepfreeze stage

2021-12-16 Thread Steve Dower
Steve Dower added the comment: I posted a PR that shells out to the find_python script and captures its output to use during VS builds. Theoretically, this could save us from running it in build.bat, but I like having the detection and messages up front rather than buried deep in the build

[issue46072] Unify handling of stats in the CPython VM

2021-12-16 Thread Mark Shannon
Mark Shannon added the comment: The --enable-stats option is for CPython development and shouldn't be turned on for a release version, so I'm not really concerned about people attacking their own machines. -- ___ Python tracker

[issue46028] 3.11.0a3: under tox, sys._base_executable is wrong

2021-12-16 Thread Steve Dower
Steve Dower added the comment: This PR *might* be a fix, but I think it's only partial. It isn't going to work if you've made a venv and copied "python3"->"python", for example. It still might be best solved by writing base_executable into pyvenv.cfg, and then simply reading it out.

[issue46057] argparse: embedded groups may prevent options from being in help output

2021-12-16 Thread Irit Katriel
Irit Katriel added the comment: Nesting argument groups and mutually exclusive groups is now deprecated (see issue22047). Thank you for the bug report. -- stage: -> resolved status: open -> closed ___ Python tracker

[issue45554] multiprocessing exitcode is insufficiently documented

2021-12-16 Thread John Marshall
Change by John Marshall : -- keywords: +patch pull_requests: +28360 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30142 ___ Python tracker ___

[issue12681] unittest expectedFailure could take a message argument like skip does

2021-12-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Such change would break a lot of existing interfaces. * addUnexpectedSuccess() has a single parameter. The change will add the second parameter and will break subclasses of TestResult. * addExpectedFailure() has two parameter. The change will add the third

[issue23522] Misleading note in Statistics module documentation

2021-12-16 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22047] Deprecate unsupported nesting of argparse groups

2021-12-16 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46097] Split function versions into 1-0xffff and 0x1000+ regions

2021-12-16 Thread Ken Jin
Change by Ken Jin : -- nosy: +kj ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45755] Specialized generic class does not return class attributes in dir

2021-12-16 Thread Ken Jin
Ken Jin added the comment: New changeset d6e13747161d7b634b47d2d3d212ed3be4a21fab by Ken Jin in branch 'main': bpo-45755: [typing] Reveal class attributes of generic in generic aliases in `dir()` (GH-29962) https://github.com/python/cpython/commit/d6e13747161d7b634b47d2d3d212ed3be4a21fab

[issue46101] argparse: using parents & subcommands, options can be ignored

2021-12-16 Thread Lucas Cimon
New submission from Lucas Cimon : Hi! Here is some minimal code reproducing the issue: import argparse common_opts_parser = argparse.ArgumentParser(add_help=False) common_opts_parser.add_argument("--endpoint", choices=("prod", "dev"), default="dev") parser =

[issue46102] pdb can't convert dict_values to list

2021-12-16 Thread Aidas Petryla
New submission from Aidas Petryla : Reproducing: Running pdb shell (for example "python -m pdb " Input: x = {'a': 1} list(x.values()) Output: *** Error in argument: '(x.values())' -- messages: 408714 nosy: apetryla priority: normal severity: normal status: open title: pdb can't

[issue38590] argparse unexpected behavior with argument group inside mutually exclusive group

2021-12-16 Thread Irit Katriel
Irit Katriel added the comment: Nesting argument groups and mutually exclusive groups is now deprecated (see issue22047). Thank you for the bug report. -- nosy: +iritkatriel resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Deprecate unsupported

[issue46058] argparse: arg groups and mutually exclusive groups behave inconsitently

2021-12-16 Thread Irit Katriel
Irit Katriel added the comment: Nesting argument groups and mutually exclusive groups is now deprecated (see issue22047). Thank you for the bug report. Note Paul's comment about why nesting mutually exclusive groups does not give you anything in terms of semantics. -- nosy:

[issue5004] socket.getfqdn() doesn't cope properly with purely DNS-based setups

2021-12-16 Thread Matej Cepl
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45383] PyType_FromSpec API fails to use metaclass of bases

2021-12-16 Thread Sebastian Berg
Sebastian Berg added the comment: It is probably early, but I am starting to like the idea of a "C MetaClass factory" helper/indicator. It seems to me that yes, at least `tp_new` cannot be called reasonable for a class that is created in C, it is just too confusing/awkward to try to push

[issue46097] Split function versions into 1-0xffff and 0x1000+ regions

2021-12-16 Thread Brandt Bucher
Brandt Bucher added the comment: Interesting idea! > It is likely that programs will have more than 2**16 functions versions, but > it is much less likely that they will have more than 2**16 versions of > special methods. Is it? The pyperformance suite isn't exactly representative of huge

[issue46103] inspect.getmembers will call the instance __bases__ attribute, which may cause an exception

2021-12-16 Thread hongweipeng
New submission from hongweipeng : root@debian:/workspace/cpython# ./python Python 3.11.0a3+ (heads/main-dirty:b123ad8030, Dec 16 2021, 06:16:15) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import inspect >>> class Foo: ... def

[issue38584] argparse: Specifying a whitespace-only help message to a positional arg triggers an IndexError when displaying --help

2021-12-16 Thread Lucas Cimon
Lucas Cimon added the comment: This was resolved by https://github.com/python/cpython/pull/28050 -- message_count: 4.0 -> 5.0 pull_requests: +28366 status: open -> closed pull_request: https://github.com/python/cpython/pull/28050 ___ Python tracker

[issue46103] inspect.getmembers will call the instance __bases__ attribute, which may cause an exception

2021-12-16 Thread hongweipeng
Change by hongweipeng : -- keywords: +patch pull_requests: +28367 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30147 ___ Python tracker ___

[issue45383] PyType_FromSpec API fails to use metaclass of bases

2021-12-16 Thread Sebastian Berg
Sebastian Berg added the comment: Sorry, I need some time to dive back into this, so some things might be garbled :). Yes, I do agree supporting a custom `tp_new` here seems incredibly tricky. I have not thought about the implications of this, though. > guess the safest option is to fail

[issue46104] Reduce use of old-style syntax in typing docs

2021-12-16 Thread Alex Waygood
New submission from Alex Waygood : There are a few places in the typing docs where old-style (pre-PEP 526) syntax is used in examples. It doesn't look like these examples have been updated since 2016; it would be good to change them so that they use the newer syntax introduced in PEP 526.

[issue46090] C extensions can't swap out live frames anymore

2021-12-16 Thread Jason Madden
Change by Jason Madden : -- nosy: +jmadden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46104] Reduce use of old-style syntax in typing docs

2021-12-16 Thread Alex Waygood
Change by Alex Waygood : -- keywords: +patch pull_requests: +28368 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30148 ___ Python tracker ___

[issue46102] pdb can't convert dict_values to list

2021-12-16 Thread Christian Heimes
Christian Heimes added the comment: list is a pdb command. (Pdb) help list l(ist) [first [,last] | .] List source code for the current file. Without arguments, list 11 lines around the current line or continue the previous listing. With . as argument, list 11 lines

[issue42238] Deprecate suspicious.py?

2021-12-16 Thread Julien Palard
Julien Palard added the comment: Another true positive for make suspicious: WARNING: [c-api/apiabiversion:70] ":macro" found in "the same format as the c:macro:" I'm working on implementing it on rstlint, in the meantime I opened: => https://github.com/python/cpython/pull/30149 to fix

[issue46105] Requirement syntax broken when extras indicated on url_req

2021-12-16 Thread Jason R. Coombs
New submission from Jason R. Coombs : In https://github.com/python/importlib_metadata/issues/357, a user reported an issue where a requirement generated by importlib.metadata from egg info metadata would result in a parse error attempting to parse the error. A fix was released in

[issue46085] OrderedDict iterator allocates di_result unnecessarily

2021-12-16 Thread Kevin Shweh
Kevin Shweh added the comment: Almost - C's weird bitwise operator precedence means it has to be parenthesized as if ((kind & _odict_ITER_ITEMS) == _odict_ITER_ITEMS) -- ___ Python tracker

[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-12-16 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +28371 pull_request: https://github.com/python/cpython/pull/30151 ___ Python tracker ___

[issue46105] Requirement syntax broken when extras indicated on url_req

2021-12-16 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +28370 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30151 ___ Python tracker ___

[issue46105] Requirement syntax broken when extras indicated on url_req

2021-12-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 109d96602199a91e94eb14b8cb3720841f22ded7 by Jason R. Coombs in branch 'main': bpo-46105: Honor spec when generating requirement specs with urls and extras. (GH-30151)

[issue46105] Requirement syntax broken when extras indicated on url_req

2021-12-16 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +28375 pull_request: https://github.com/python/cpython/pull/30156 ___ Python tracker

[issue46101] argparse: using parents & subcommands, options can be ignored

2021-12-16 Thread Lucas Cimon
Lucas Cimon added the comment: The GitHub PR is ready for reviewing. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-12-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: The change as implemented for importlib_metadata involves refactorings that can't be backported, so the fix will only go into Python 3.11. I'll consider backporting a more selective fix for this issue if it's important, but I suspect there may not be,

[issue37578] Change Glob: Allow Recursion for Hidden Files

2021-12-16 Thread Andrei Kulakov
Change by Andrei Kulakov : -- keywords: +patch nosy: +andrei.avk nosy_count: 5.0 -> 6.0 pull_requests: +28372 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30153 ___ Python tracker

[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-12-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 04deaee4c8d313717f3ea8f6a4fd70286d510d6e by Jason R. Coombs in branch 'main': bpo-44893: Implement EntryPoint as simple class with attributes. (GH-30150) https://github.com/python/cpython/commit/04deaee4c8d313717f3ea8f6a4fd70286d510d6e

[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-12-16 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +28369 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30150 ___ Python tracker ___

[issue45755] Specialized generic class does not return class attributes in dir

2021-12-16 Thread Guido van Rossum
Guido van Rossum added the comment: I think a 3.10 backport would be appreciated. -- ___ Python tracker ___ ___ Python-bugs-list

[issue23522] Misleading note in Statistics module documentation

2021-12-16 Thread Mark Dickinson
Mark Dickinson added the comment: > "The mean is strongly affected by outliers and is not necessarily a typical > example of the data points. For a more robust, although less efficient, > measure of central tendency, see median()" That wording sounds fine to me. I don't think we can

[issue46044] Update distutils documentation to say PyPI only accepts tar.gz and zip.

2021-12-16 Thread miss-islington
miss-islington added the comment: New changeset ecdc0ccede5f9ac4042ff56f295d81df2f428950 by Matthias Bussonnier in branch 'main': bpo-46044: Annotate deprecated sdists formats (GH-30043) https://github.com/python/cpython/commit/ecdc0ccede5f9ac4042ff56f295d81df2f428950 --

[issue46044] Update distutils documentation to say PyPI only accepts tar.gz and zip.

2021-12-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +28374 pull_request: https://github.com/python/cpython/pull/30155 ___ Python tracker ___

[issue46044] Update distutils documentation to say PyPI only accepts tar.gz and zip.

2021-12-16 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +28373 pull_request: https://github.com/python/cpython/pull/30154 ___ Python tracker

[issue46088] Build hangs under Visual Studio in deepfreeze stage

2021-12-16 Thread Guido van Rossum
Guido van Rossum added the comment: I don't see a reason to go through the bootstrap python on Windows. It would increase the build time, which is already pretty slow. -- ___ Python tracker

[issue23522] Misleading note in Statistics module documentation

2021-12-16 Thread Guido van Rossum
Guido van Rossum added the comment: Great! I will leave it to Steven and Mark D to work out an acceptable solution. PS. Allen Downey is a computer scientist who has written at least one book about Python. -- ___ Python tracker

[issue46097] Split function versions into 1-0xffff and 0x1000+ regions

2021-12-16 Thread Brandt Bucher
Brandt Bucher added the comment: Ah, never mind, I think I understand what you meant. Special methods get 0x0001-0x, all other functions get 0x0001-0x. So we use 16-bit versions for special method caches, and 32-bit versions for normal call caches. "super().__init__()" and

[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-12-16 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: -28371 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46106] OpenSSL 1.1.1m is now available

2021-12-16 Thread Ned Deily
New submission from Ned Deily : Update Windows build, macOS installer, and Tools/multissltests.py -- components: Build, Windows, macOS messages: 408736 nosy: christian.heimes, ned.deily, paul.moore, ronaldoussoren, steve.dower, tim.golden, zach.ware priority: normal severity: normal

[issue46105] Requirement syntax broken when extras indicated on url_req

2021-12-16 Thread miss-islington
miss-islington added the comment: New changeset 09d7319bfe0006d9aa3fc14833b69c24ccafdca6 by Miss Islington (bot) in branch '3.10': bpo-46105: Honor spec when generating requirement specs with urls and extras. (GH-30151)

[issue46107] ExceptionGroup.split()/subgroup() don't copy __note__ to parts

2021-12-16 Thread Irit Katriel
Change by Irit Katriel : -- assignee: -> iritkatriel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1062277] Pickle breakage with reduction of recursive structures

2021-12-16 Thread Daniel Diniz
Change by Daniel Diniz : -- versions: +Python 3.11 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46107] ExceptionGroup.split()/subgroup() don't copy __note__ to parts

2021-12-16 Thread Irit Katriel
New submission from Irit Katriel : >>> e = ExceptionGroup("eg", [ValueError(1), TypeError(2)]) >>> e.__note__ = "a note" >>> e.split(ValueError) (ExceptionGroup('eg', [ValueError(1)]), ExceptionGroup('eg', [TypeError(2)])) >>> e.split(ValueError)[0].__note__ >>> e.subgroup(ValueError).__note__

  1   2   >