[issue46150] test_pathlib assumes "fakeuser" does not exist as user

2021-12-23 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +28466 pull_request: https://github.com/python/cpython/pull/30244 ___ Python tracker ___

[issue46162] Make `builtins.property` generic

2021-12-23 Thread Nikita Sobolev
Nikita Sobolev added the comment: Thanks, Guido! > Yes, it is too late for 3.10 (but you can add it to typing_extensions). Also, > PEP 585 is done, we don't update PEPs. Got it! > Please do test with `from __future__ import annotations` -- you never know. Done, PR is updated. Now we test

[issue46150] test_pathlib assumes "fakeuser" does not exist as user

2021-12-23 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +28465 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30247 ___ Python tracker

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Guido van Rossum
Guido van Rossum added the comment: I like the lookahead. We could also make the comma and the message mandatory when inside parentheses: | 'assert' '(' a=expression ',' b=expression [','] ')' &(NEWLINE | ';') | 'assert' a=expression b=[',' z=expression { z }] (And probably add an

[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2021-12-23 Thread Eric V. Smith
Eric V. Smith added the comment: @karzes: If you read all of the messages above, you'll find that the behavior is deeply baked in to argparse. So, no, there is no fix for this issue. I'm not sure about others, but I believe that the behavior is so deeply ingrained in how argparse works that

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Another possibility is actually handled this in the compiler: if we see an assert with a tuple of two elements, we can assume is basically in the form that we want and proceed as if is in the form assert A, B This also feels a bit hacky because the

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: We could do this, but feels a bit hacky: | 'assert' '(' a=expression b=[',' z=expression { z }] ')' &(NEWLINE | ';') | 'assert' a=expression b=[',' z=expression { z }] -- ___ Python tracker

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > We managed to do this for 'with' so it should be possible here too, I'd > think. The "committing" token would be the newline following the close > parenthesis. I am not so sure is that inmediate. Changing the assert statement from: 'assert'

[issue46117] tk could not refresh auto in mac os

2021-12-23 Thread asper
asper added the comment: tkinter.TCL_VERSION: 8.6 tkinter.TK_VERSION: 8.6 tkinter.info_patchlevel: 8.6.11 zlib.ZLIB_RUNTIME_VERSION: 1.2.11 zlib.ZLIB_VERSION: 1.2.11 On my system, it shows like that. It works well if not change the widnow's size of program, but once change the window's size

[issue46165] pythin is core dumping with SIGILL in pytest of the jupyter-server

2021-12-23 Thread Tomasz Kloczko
Tomasz Kloczko added the comment: OK accorting to your expertise this could be somethning wrong in some of the DSOs .. May I ask for a little help with pointing on possible module which i doing sometbing wrong? Just looking on top of the call trace #0 0x7f480be7a54c

[issue46169] Same-moment datetimes with different ZoneInfo timezones are not considered ==

2021-12-23 Thread Daniel Diniz
Daniel Diniz added the comment: Confirmed for 3.11 in Windows. The C datetime code can be trivially fixed so your equality test returns True, but there are two Python tests that depend on current behavior so it might not be so easy. They were added with current code in issue 24773, to

[issue46165] pythin is core dumping with SIGILL in pytest of the jupyter-server

2021-12-23 Thread Christian Heimes
Christian Heimes added the comment: The traceback indicates that it's a problem with a 3rd party extension module and not a bug in CPython core. The C stack suggests that your copy of libargon2 is the root cause. -- nosy: +christian.heimes resolution: -> third party stage: ->

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Guido van Rossum
Guido van Rossum added the comment: We managed to do this for 'with' so it should be possible here too, I'd think. The "committing" token would be the newline following the close parenthesis. Serhiy: the benefit is when you want to split it across two lines, e.g. assert

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

2021-12-23 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37295] Possible optimizations for math.comb()

2021-12-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: [Mark] > Should I code up my suggestion in a PR, Yes, go for it. -- ___ Python tracker ___

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: > can we finally get rid of this language wart Yes, please. This is a pretty bad pitfall. I've seen this happen to people who've been conditioned by other languages to think of assert() as a macro or function: assert(sometest, somemessage)

[issue46170] Improving the error message when subclassing NewType

2021-12-23 Thread Gobot1234
New submission from Gobot1234 : I'd like to propose making the error message when subclassing typing.NewType much more understandable. Currently it looks like: ``` TypeError: NewType.__init__() takes 3 positional arguments but 4 were given ``` But I think we could do much better by adding

[issue46169] Same-moment datetimes with different ZoneInfo timezones are not considered ==

2021-12-23 Thread Huon Wilson
New submission from Huon Wilson : The documentation suggests that two datetimes that represent the same moment should compare equal, even if they have different timezones: "If both comparands are aware and have different tzinfo attributes, the comparands are first adjusted by subtracting

[issue504219] locale.resetlocale is broken

2021-12-23 Thread Daniel Diniz
Change by Daniel Diniz : -- nosy: +ajaksu2 versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker ___

[issue42673] Optimize round_size for rehashing

2021-12-23 Thread Andrei Kulakov
Andrei Kulakov added the comment: Closing as it sounds like OP agreed to it in the last msg; and no benchmarking was provided. -- nosy: +andrei.avk resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing

[issue46168] Incorrect format specified for the "style" key in the configuration file format formatter example

2021-12-23 Thread Daniel Diniz
Daniel Diniz added the comment: This example was added in issue 43047. It only seems to affect 3.10+ docs. Ian, is this something you'd like to tackle? -- keywords: +easy nosy: +ajaksu2, iwienand stage: -> needs patch versions: +Python 3.10, Python 3.11 -Python 3.8

[issue37295] Possible optimizations for math.comb()

2021-12-23 Thread Tim Peters
Tim Peters added the comment: Please don't use "long long". It usually introduces platform dependence where none is intended, or helpful. PEP 7 requires that the compiler in use supply the fixed-width integer types defined by C99's stdint.h[1]. These are: int8_t int16_t int32_t int64_t

[issue45587] argparse add_argument_group: distinguish title and description from **kwargs

2021-12-23 Thread SelfAdjointOperator
New submission from SelfAdjointOperator : This is a pretty trivial PR; Can it be merged? Nearly 2 months have gone by. -- ___ Python tracker ___

[issue46168] Incorrect format specified for the "style" key in the configuration file format formatter example

2021-12-23 Thread David Bereza
New submission from David Bereza : Documentation link: https://docs.python.org/3/library/logging.config.html#configuration-file-format It seems that the example for the "formatter_form01" formatter section specifies following for the style(please note the single-quotes around the value).

[issue38085] Interrupting class creation in __init_subclass__ may lead to incorrect isinstance() and issubclass() results

2021-12-23 Thread Carl Friedrich Bolz-Tereick
Carl Friedrich Bolz-Tereick added the comment: Or, in other words, in my opinion this is the root cause of the bug: class Base: def __init_subclass__(cls): global broken_class broken_class = cls assert 0 try: class Broken(Base): pass except: pass assert

[issue38085] Interrupting class creation in __init_subclass__ may lead to incorrect isinstance() and issubclass() results

2021-12-23 Thread Carl Friedrich Bolz-Tereick
Carl Friedrich Bolz-Tereick added the comment: hm, I think I figured it out. The root cause is that even though the creation of the class Triffid fails, it can still be found via Animal.__subclasses__(), which the special subclass logic for ABCs is looking at. Triffid fills its _abc_impl

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: It's not about an advantage, it's about removing the problem of what edit to make when working on assert thing_that_has_a_meaningful_name.methods_have_good_names(value_from_somewhere) == other_thing_that_is_meaningful, "Description of what the issue is

[issue46117] tk could not refresh auto in mac os

2021-12-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: The script seems to work fine for me, python 3.10.1 on macOS 12.1. I used the python.org installer. Did you install Python from source or using the installer? What's the output of ``python3 -m test.pythoninfo``, in particular the lines related to Tcl/Tk at

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I can try to prototype something in the parser to see how it looks and work on the pep if everything looks ok. Parentheses are a bit tricky in general as backtracking ends causing all sorts of tricky situations with custom syntax errors as the parser

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It does not need any change in parser, it can be done in the code generator which currently explicitly warns about such ambiguity. Although it needs changes in formal grammar which will be more complex. But what is a benefit? What is an advantage of

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Sergei Lebedev
Change by Sergei Lebedev : -- nosy: +slebedev ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Gregory P. Smith
New submission from Gregory P. Smith : Now that we have a shiny new parser, can we finally get rid of this language wart: assert thing, description # works as intended assert (thing, description) # always True as non-empty tuples are Truthy This most often happens when extending thing or

[issue46166] Get "self" args or non-null co_varnames from frame object with C-API

2021-12-23 Thread Henry Schreiner
Change by Henry Schreiner : -- nosy: +Henry Schreiner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46166] Get "self" args or non-null co_varnames from frame object with C-API

2021-12-23 Thread Aaron Gokaslan
New submission from Aaron Gokaslan : Hello, I am a maintainer with the PyBind11 project. We have been following the 3.11 development branch and have noticed an issue we are encountering with changes to the C-API. Particularly, we have an edge case in our overloading dispatch mechanism that

[issue46162] Make `builtins.property` generic

2021-12-23 Thread Guido van Rossum
Guido van Rossum added the comment: Yes, it is too late for 3.10 (but you can add it to typing_extensions). Also, PEP 585 is done, we don't update PEPs. Please do test with `from __future__ import annotations` -- you never know. When this was first proposed

[issue46165] pythin is core dumping with SIGILL in pytest of the jupyter-server

2021-12-23 Thread Tomasz Kloczko
New submission from Tomasz Kloczko : I;m packaging python modules as rpm packages and just found that package jupyter-server (1.13.1) when pytest was executed python crashed with call trace + /usr/bin/pytest -ra jupyter_server

[issue46160] IPy->IPSet AttributeError: module 'collections' has no attribute 'MutableSet'

2021-12-23 Thread dafu-wu
dafu-wu added the comment: Many thanks,You help me to solve the problem! -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue46164] New `both()` operator for matching multiple variables to one

2021-12-23 Thread Steven D'Aprano
Steven D'Aprano added the comment: Just use if a == b == 1: Comparisons can be chained arbitrarily. https://docs.python.org/3/reference/expressions.html#comparisons -- nosy: +steven.daprano resolution: -> rejected stage: -> resolved status: open -> closed

[issue37295] Possible optimizations for math.comb()

2021-12-23 Thread Mark Dickinson
Mark Dickinson added the comment: Raymond: how do you want to proceed on this? Should I code up my suggestion in a PR, or are you already working on it? -- ___ Python tracker

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread Christian Heimes
Christian Heimes added the comment: You are using a OpenSSL build with custom, additional patches and your code is crashing somewhere in OpenSSL. It is likely that your patches are causing issue. I'm not going to provide free service for custom builds. -- assignee: christian.heimes

[issue46153] function fails in exec when locals is given

2021-12-23 Thread Eryk Sun
Eryk Sun added the comment: > You seem to be arguing that a description in the docs is "misleading", > not because it misleads, but because it don't describe a situation > which has nothing to do with the situation that the docs are describing. To me it's misleading to say "the code will be

[issue46055] Speed up binary shifting operators

2021-12-23 Thread Mark Dickinson
Change by Mark Dickinson : -- keywords: +patch pull_requests: +28464 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30243 ___ Python tracker ___

[issue46164] New `both()` operator for matching multiple variables to one

2021-12-23 Thread Eric V. Smith
Eric V. Smith added the comment: I think this is a rarely needed operation. I looked through a few tens of thousand lines of my code and couldn't find anywhere it would be used. Plus, you could write it yourself, so I don't see the advantage of it being part of the language or standard

[issue46164] New `both()` operator for matching multiple variables to one

2021-12-23 Thread Billy
New submission from Billy : A new `both()` operator for matching multiple variables to one at the same time. Currently, ```py if a == 1 and b == 1: ... ``` With a `both()` operator, it can be done as follows (concept): ```py if both(a, b) == 1: ... ``` Why? -> With the increasing

[issue46055] Speed up binary shifting operators

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

[issue46153] function fails in exec when locals is given

2021-12-23 Thread Quentin Peter
Quentin Peter added the comment: Maybe a note could be added to https://docs.python.org/3/library/functions.html#exec Something along the lines of: Note: If exec gets two separate objects as `globals` and `locals`, the code will not be executed as if it were embedded in a function

[issue46153] function fails in exec when locals is given

2021-12-23 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Thu, Dec 23, 2021 at 05:47:33AM +, Eryk Sun wrote: > > Eryk Sun added the comment: > > > That's taken straight out of the documentation. > > Yes, but it's still a misleading comparison. I asked how you would re-word the docs, but you haven't

[issue46163] multiprocessing logger deadlocks if used with logging.handlers.QueueHandler

2021-12-23 Thread dmitry-bychkov
New submission from dmitry-bychkov : Hello! If you use multiprocessing logger with logging.handlers.QueueHandler it will deadlock on first attempt at logging. First attempt will initialize queue's background thread, which uses multiprocessing logger itself which will result in something what

[issue43424] Document the `controller.name` field in `webbrowser` module

2021-12-23 Thread Alex Waygood
Change by Alex Waygood : -- type: security -> enhancement versions: +Python 3.11 -Python 3.10 ___ Python tracker ___ ___

[issue43424] Document the `controller.name` field in `webbrowser` module

2021-12-23 Thread Nikita Sobolev
Change by Nikita Sobolev : -- pull_requests: +28463 pull_request: https://github.com/python/cpython/pull/30241 ___ Python tracker ___

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
Change by tongxiaoge : -- nosy: -christian.heimes, sxt1001, thatiparthy, vstinner Added file: https://bugs.python.org/file50512/python3.spec ___ Python tracker ___

[issue43424] Document the `controller.name` field in `webbrowser` module

2021-12-23 Thread Nikita Sobolev
Nikita Sobolev added the comment: Hm, looks like `.name` does not exist for `MacOSXOSAScript`: ``` Python 3.11.0a3+ (heads/main-dirty:71ef0b4c2b, Dec 23 2021, 12:38:09) [Clang 11.0.0 (clang-1100.0.33.16)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>>

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
tongxiaoge added the comment: I want to know whether this is an OpenSSL problem or a python 3 problem, and how to fix it? Thanks. (The OpenSSL source package is large and has not been uploaded successfully. We can download it from the OpenSSL official website) -- status: closed ->

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
Change by tongxiaoge : Added file: https://bugs.python.org/file50511/openssl-1.1.1-build.patch ___ Python tracker ___ ___ Python-bugs-list

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
Change by tongxiaoge : -- keywords: +patch Added file: https://bugs.python.org/file50510/openssl-1.1.1-fips.patch ___ Python tracker ___

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
Change by tongxiaoge : Added file: https://bugs.python.org/file50509/openssl.spec ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
Change by tongxiaoge : Added file: https://bugs.python.org/file50508/Makefile.certificate ___ Python tracker ___ ___ Python-bugs-list

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
tongxiaoge added the comment: Other information: ``` (gdb) f 2 #2 SSL_CTX_new (meth=0xe222cc30) at ssl/ssl_lib.c:3046 warning: Source file is more recent than executable. 3046ret->session_timeout = meth->get_timeout(); (gdb) l 3041ret->max_proto_version = 0; 3042

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
tongxiaoge added the comment: Today, I upgraded my version of Python3 to 3.9.9. When running test_ ssl,It has a segment error again. The version of OpenSSL I use is 1.1.1l, here is part of the stack information (the complete one is too long): ``` (gdb) bt #0 0x9e563830 in raise ()

[issue46150] test_pathlib assumes "fakeuser" does not exist as user

2021-12-23 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch nosy: +sobolevn nosy_count: 1.0 -> 2.0 pull_requests: +28462 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30240 ___ Python tracker

[issue46157] Typo in JSON documentation

2021-12-23 Thread Kumar Aditya
Kumar Aditya added the comment: Fixed in a new PR @Serhiy -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46157] Typo in JSON documentation

2021-12-23 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +28461 pull_request: https://github.com/python/cpython/pull/30239 ___ Python tracker ___

[issue46157] Typo in JSON documentation

2021-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 30237 introduced few new errors. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue46162] Make `builtins.property` generic

2021-12-23 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch pull_requests: +28460 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30238 ___ Python tracker ___

[issue46162] Make `builtins.property` generic

2021-12-23 Thread Nikita Sobolev
Nikita Sobolev added the comment: One more question about PEP585: it does not specify `property`. Do we need to update it? -- ___ Python tracker ___

[issue46162] Make `builtins.property` generic

2021-12-23 Thread Nikita Sobolev
New submission from Nikita Sobolev : Original discussion in `typing` bug tracker: https://github.com/python/typing/issues/985 Short description: - `property[GetType, SetType]` is required for us to remove a lot of special casing from type-checkers and just use the primitive type - In runtime

[issue46161] `class A(1, 2, 3, **d): pass` gives bad bytecode

2021-12-23 Thread Dennis Sweeney
Dennis Sweeney added the comment: I was trying to figure out how code like this could ever *not* raise an exception, and here is one case that runs to completion on 3.6--3.8, but it raises `TypeError: 'str' object is not callable` on 3.9--3.11. class I(int): def __init__(*args,

[issue46157] Typo in JSON documentation

2021-12-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 71ef0b4c2b77195bb1adc42602549284f7ee9566 by Kumar Aditya in branch 'main': bpo-46157: fix typo in docs (GH-30237) https://github.com/python/cpython/commit/71ef0b4c2b77195bb1adc42602549284f7ee9566 -- nosy: +asvetlov

[issue46157] Typo in JSON documentation

2021-12-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue46157] Typo in JSON documentation

2021-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And more errors can be found with: $ find -name '*.rst' -exec egrep --color -i '\ban +[qwrtpsdfghjklzxcvbnm]' '{}' + $ find -name '*.rst' -exec egrep --color -i '\ba +[eioa]' '{}' + It is worth to check also: $ find -name '*.rst' -exec egrep --color -i

[issue46157] Typo in JSON documentation

2021-12-23 Thread Kumar Aditya
Kumar Aditya added the comment: I have fixed most of them in the PR which I found correct, rest can be fixed later on. -- ___ Python tracker ___

[issue46157] Typo in JSON documentation

2021-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Kumar. These errors were found with the following one-liners: $ find -name '*.rst' -exec egrep --color -i '\ban +:[a-z:]+:`[qwrtpsdfghjklzxcvbnm]' '{}' + $ find -name '*.rst' -exec egrep --color -i '\ba +:[a-z:]+:`[eyuioa]' '{}' + They produce

[issue46157] Typo in JSON documentation

2021-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Doc/using/cmdline.rst:474: * ``-X warn_default_encoding`` issues a :class:`EncodingWarning` when the Doc/c-api/init_config.rst:601: If non-zero, emit a :exc:`EncodingWarning` warning when :class:`io.TextIOWrapper` Doc/library/fractions.rst:90:

[issue46161] `class A(1, 2, 3, **d): pass` gives bad bytecode

2021-12-23 Thread Dennis Sweeney
Dennis Sweeney added the comment: Bisected to here: 13bc13960cc83dbd1cb5701d9a59ac9b9144b205 is the first bad commit commit 13bc13960cc83dbd1cb5701d9a59ac9b9144b205 Author: Mark Shannon Date: Thu Jan 23 09:25:17 2020 + bpo-39320: Handle unpacking of *values in compiler (GH-17984)

[issue46157] Typo in JSON documentation

2021-12-23 Thread Kumar Aditya
Kumar Aditya added the comment: I'll fix them all :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46157] Typo in JSON documentation

2021-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are other similar errors: Doc/library/json.rst:162: will result in an :exc:`RecursionError` (or worse). Doc/library/json.rst:435: prevent an infinite recursion (which would cause an :exc:`RecursionError`). Doc/library/tarfile.rst:66: |

[issue26897] [doc] Clarify Popen stdin, stdout, stderr

2021-12-23 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch nosy: +kumaraditya303 nosy_count: 3.0 -> 4.0 pull_requests: +28459 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30231 ___ Python tracker

[issue46160] IPy->IPSet AttributeError: module 'collections' has no attribute 'MutableSet'

2021-12-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46157] Typo in JSON documentation

2021-12-23 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch nosy: +kumaraditya303 nosy_count: 2.0 -> 3.0 pull_requests: +28458 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30237 ___ Python tracker

[issue46160] IPy->IPSet AttributeError: module 'collections' has no attribute 'MutableSet'

2021-12-23 Thread Kumar Aditya
Kumar Aditya added the comment: In Python 3.10 these deprecated aliases where removed from collections module. To fix it you can change `collections.MutableSet` to `collections.abc.MutableSet`. See

[issue46130] Untranslatable link text in whatsnew/3.10

2021-12-23 Thread Rafael Fontenelle
Change by Rafael Fontenelle : -- pull_requests: +28457 pull_request: https://github.com/python/cpython/pull/30236 ___ Python tracker ___