[issue45874] urllib.parse.parse_qsl does not parse empty query string with strict parsing

2021-11-22 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +27952 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29716 ___ Python tracker

[issue33489] Newer externals for windows do not always trigger rebuild

2021-11-22 Thread Irit Katriel
Irit Katriel added the comment: > When tcl/tk has been upgraded during 3.x alpha/beta periods, tcl/tk seems to > have been recompiled when it should be. Terry, are you saying this was only a problem on 2.7? -- nosy: +iritkatriel ___ Python

[issue45572] urllib.request:AttributeError: 'dict' object has no attribute 'get_all' in http_error_auth_reqed function

2021-11-22 Thread Andrei Kulakov
Andrei Kulakov added the comment: I'm not sure about the hang in 3.7 and CVE, but as far as `get_all()` error is concerned, it's due to passing the wrong kind of argument as `headers`. For this (undocumented) method, `headers` should be a Message object created in this way, e.g.:

[issue38541] Performance degradation of attribute accesses in Python 3.7.4

2021-11-22 Thread Irit Katriel
Irit Katriel added the comment: Closing as this is resolved in 3.8 and we won't do anything about 3.7. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

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

2021-11-22 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

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

2021-11-22 Thread Brett Cannon
Brett Cannon added the comment: New changeset 99aad31b7ad493d4feea04064bcd6b04061477f9 by Brett Cannon in branch '3.10': [3.10] bpo-45250: fix docs regarding `__iter__` and iterators being inconsistently required by CPython (GH-29170) (GH-29650)

[issue45548] Update Modules/Setup

2021-11-22 Thread Brett Cannon
Brett Cannon added the comment: @christian are you using this issue for your pkg-config work, or should I close this? -- ___ Python tracker ___

[issue42238] Deprecate suspicious.py?

2021-11-22 Thread Carol Willing
Carol Willing added the comment: New changeset 024209401ebc8a011f242af00efdd8ecece6953d by Julien Palard in branch 'main': bpo-42238: [doc] Announce the future removal of make suspicous. (GH-29652) https://github.com/python/cpython/commit/024209401ebc8a011f242af00efdd8ecece6953d --

[issue45850] Port deep-freeze to Windows

2021-11-22 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +27954 pull_request: https://github.com/python/cpython/pull/29717 ___ Python tracker ___

[issue45873] Stop using bootstrap_python for deep-freeze in UNIX builds

2021-11-22 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +27953 pull_request: https://github.com/python/cpython/pull/29717 ___ Python tracker ___

[issue36706] Python script on startup stucks at import

2021-11-22 Thread Irit Katriel
Irit Katriel added the comment: Serge, are you still having this problem and if so can you provide the traces? If this issue is abandoned I will close it within a couple of weeks. -- nosy: +iritkatriel status: open -> pending ___ Python tracker

[issue45833] NamedTemporaryFile deleted before enclosing context manager exit

2021-11-22 Thread Zachary Ware
Change by Zachary Ware : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22067] time_test fails after strptime()

2021-11-22 Thread Irit Katriel
Irit Katriel added the comment: I am unable to reproduce this on 3.11. -- nosy: +iritkatriel resolution: -> works for me status: open -> pending ___ Python tracker ___

[issue45874] urllib.parse.parse_qsl does not parse empty query string with strict parsing

2021-11-22 Thread Christian Sattler
New submission from Christian Sattler : Calling urllib.parse.parse_qsl('', strict_parsing=True) yields an error: ValueError: bad query field: '' The empty string '' is produced by urllib.parse.urlencode({}) and also as query string by urllib.parse.urlsplit('http://example.org/') so it

[issue40324] python 3.8.2 idle not opening

2021-11-22 Thread Irit Katriel
Irit Katriel added the comment: Closing as there isn't enough information here to understand the issue and there was no reply to followup questions. Please create a new issue if you still have a problem and are able to explain it more fully. -- nosy: +iritkatriel resolution: ->

[issue28989] .dll files missing

2021-11-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45509] Gzip header corruption not properly checked.

2021-11-22 Thread Ruben Vorderman
Ruben Vorderman added the comment: I increased the performance of the patch. I added the file used for benchmarking. I also test the FHCRC changes now. The benchmark tests headers with different flags concatenated to a DEFLATE block with no data and a gzip trailer. The data is fed to

[issue45555] Object stays alive for weak reference if an exception happens in constructor

2021-11-22 Thread Andrei Kulakov
Andrei Kulakov added the comment: Note also that in addition to not being related to weakref as Pablo said, it's also not related to the __init__() -- the exception can be moved to any method of the object with the same result. It may be good to update the title so that it's not misleading?

[issue45235] argparse does not preserve namespace with subparser defaults

2021-11-22 Thread Frost Ming
Frost Ming added the comment: Hi, I noticed this bug because of the regression of Python 3.9.8. And I proposed a better approach in PR 29574. Maybe the folks here can have a look. Thanks - Frost -- ___ Python tracker

[issue45875] gzip.decompress performance can be improved with memoryviews

2021-11-22 Thread Ruben Vorderman
Ruben Vorderman added the comment: Tried and failed. It seems that the overhead of creating a new memoryview object beats the performance gained by it. -- ___ Python tracker

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Christian Heimes
Christian Heimes added the comment: New changeset d82f2caf942fa8b94e797a2f116ee54ec303c2df by Erlend Egeberg Aasland in branch 'main': bpo-45847: Port _socket to PY_STDLIB_MOD (GH-29713) https://github.com/python/cpython/commit/d82f2caf942fa8b94e797a2f116ee54ec303c2df --

[issue45561] Run smelly.py and multissltests.py from $(srcdir)

2021-11-22 Thread Christian Heimes
Christian Heimes added the comment: New changeset 457e6a6e96b5afad403a0bc892508a77beef4d33 by Neil Schemenauer in branch 'main': bpo-45561: Run smelly.py tool from $(srcdir) (GH-29138) https://github.com/python/cpython/commit/457e6a6e96b5afad403a0bc892508a77beef4d33 -- nosy:

[issue45561] Run smelly.py and multissltests.py from $(srcdir)

2021-11-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +27955 pull_request: https://github.com/python/cpython/pull/29719 ___ Python tracker

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Christian Heimes
Christian Heimes added the comment: New changeset 758a23d1c4db97b578bc16e0ea110074d65c4c52 by Erlend Egeberg Aasland in branch 'main': bpo-45847: Fix xxlimited and xxlimited_35 build conditions (GH-29715) https://github.com/python/cpython/commit/758a23d1c4db97b578bc16e0ea110074d65c4c52

[issue33489] Newer externals for windows do not always trigger rebuild

2021-11-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Apparently so, which makes this irrelevant. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue45869] Unicode and acii regular expressions do not agree on ascii space characters

2021-11-22 Thread Steven D'Aprano
Steven D'Aprano added the comment: Hi Joran, I'm not sure why you think that /s should agree between ASCII and Unicode. That seems like an unjustified assumption to me. You say: "The expectation would be that the re.A (or re.ASCII) flag should not impact the matching behavior of a regular

[issue45875] gzip.decompress performance can be improved with memoryviews

2021-11-22 Thread Ruben Vorderman
New submission from Ruben Vorderman : The current implementation uses a lot of bytestring slicing. While it is much better than the 3.10 and earlier implementations, it can still be further improved by using memoryviews instead. Possibly. I will check this out. -- components:

[issue45869] Unicode and acii regular expressions do not agree on ascii space characters

2021-11-22 Thread Steven D'Aprano
Steven D'Aprano added the comment: In any case, any change to this would have to be limited to Python 3.11. It is not clearly a bug, so this would be an enhancement. -- type: behavior -> enhancement versions: -Python 3.10, Python 3.8, Python 3.9

[issue45509] Gzip header corruption not properly checked.

2021-11-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it is good idea, although we may get reports about regressions in 3.11 when Python will start to reject GZIP files which was successfully read before. But before merging this I want to know: 1. How much overhead does it add for reading files with

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: 45 down, 35 to go. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45864] unittest does not discover tests in PEP420 packages

2021-11-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be similar to https://bugs.python.org/issue23882 -- nosy: +methane, xtreak ___ Python tracker ___

[issue45862] Anomaly of eval() of list comprehension

2021-11-22 Thread Mark Dickinson
Mark Dickinson added the comment: See also #41216 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45862] Anomaly of eval() of list comprehension

2021-11-22 Thread David Pratten
David Pratten added the comment: Hi Mark, Thanks.   The anomaly is that the print("eg def2", ...)  works.  Should it not fail in the same way that print("eg def4", ...) does. David On 22/11/2021 7:36:31 PM, Mark Dickinson wrote: Mark Dickinson added the comment: Thanks for the report.

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread miss-islington
miss-islington added the comment: New changeset 39f7d2ff01eb03f1dd87a019472a32cde6250e84 by Erlend Egeberg Aasland in branch 'main': bpo-45847: Port _lfprof, _opcode, _asyncio, _queue, _statistics, and _typing to PY_STDLIB_MOD_SIMPLE (GH-29690)

[issue45509] Gzip header corruption not properly checked.

2021-11-22 Thread Ruben Vorderman
Ruben Vorderman added the comment: 1. Quite a lot I tested it for the two most common use case. import timeit import statistics WITH_FNAME = """ from gzip import GzipFile, decompress import io fileobj = io.BytesIO() g = GzipFile(fileobj=fileobj, mode='wb', filename='compressable_file')

[issue19270] sched.cancel() doesn't distinguish equal events and can break order

2021-11-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: Document that sched.cancel() doesn't distinguish equal events and can break order -> sched.cancel() doesn't distinguish equal events and can break order type: enhancement

[issue45864] unittest does not discover tests in PEP420 packages

2021-11-22 Thread Adam Johnson
Change by Adam Johnson : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45864] unittest does not discover tests in PEP420 packages

2021-11-22 Thread Adam Johnson
Adam Johnson added the comment: It's exactly that ticket. I missed that when searching for duplicates - I only searched for "pep420" and not "namespace packages". Mea culpa. -- resolution: -> duplicate ___ Python tracker

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Christian Heimes
Christian Heimes added the comment: New changeset 133c65a870e8bdcce7cd6a2bc6bd0cefbb2fa9f3 by Erlend Egeberg Aasland in branch 'main': bpo-45847: Port array, _contextvars, math, and cmath to PY_STDLIB_MOD_SIMPLE (GH-29688)

[issue45509] Gzip header corruption not properly checked.

2021-11-22 Thread Ruben Vorderman
Ruben Vorderman added the comment: Ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread miss-islington
miss-islington added the comment: New changeset 718cee08cc082ece590f5a012253a405422da03d by Erlend Egeberg Aasland in branch 'main': bpo-45847: Port _bisect, _heapq, _json, _pickle, _random, and _zoneinfo to PY_STDLIB_MOD_SIMPLE (GH-29689)

[issue45865] Old syntax in unittest

2021-11-22 Thread Adam Johnson
New submission from Adam Johnson : I often browse the unittest code in order to write extensions. It still uses some Python 2-isms like classes inheriting from object, it would be nice to clean that up. -- components: Tests messages: 406757 nosy: adamchainz priority: normal severity:

[issue34943] sched cancel (wrong item removed from queue)

2021-11-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Document that sched.cancel() doesn't distinguish equal events and can break order ___ Python tracker

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2021-11-22 Thread Adam Johnson
Adam Johnson added the comment: I just reported https://bugs.python.org/issue45864 , and closed as duplicate of this. -- nosy: +adamchainz ___ Python tracker ___

[issue45723] Improve and simplify configure.ac checks

2021-11-22 Thread Christian Heimes
Christian Heimes added the comment: New changeset db2277a114463d30a58d9066f2b47f7a53a1488c by Erlend Egeberg Aasland in branch 'main': bpo-45723: Add helpers for save/restore env (GH-29637) https://github.com/python/cpython/commit/db2277a114463d30a58d9066f2b47f7a53a1488c --

[issue45863] tarfile zeroes ustar header fields unnecessarily

2021-11-22 Thread Joshua Root
Change by Joshua Root : -- keywords: +patch pull_requests: +27931 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29693 ___ Python tracker ___

[issue45862] Anomaly of eval() of list comprehension

2021-11-22 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the report. The behaviour is by design: see #5242 (especially msg81898) for an explanation. Closing this issue as a duplicate of #5242. -- nosy: +mark.dickinson resolution: -> duplicate stage: -> resolved status: open -> closed

[issue45862] Anomaly of eval() of list comprehension

2021-11-22 Thread Mark Dickinson
Mark Dickinson added the comment: True: there's another detail here that's needed to explain the behaviour. The first "for" clause in a list comprehension is special: it's evaluated in the enclosing scope, rather than in the local function scope that the list comprehension creates. See the

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

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

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +27933 pull_request: https://github.com/python/cpython/pull/29697 ___ Python tracker ___

[issue45864] unittest does not discover tests in PEP420 packages

2021-11-22 Thread Adam Johnson
New submission from Adam Johnson : unittest's test discovery does not descend into directories without `__init__.py`. This avoids discovering test modules that are otherwise valid and importable, after PEP 420. I've seen this more than once where there were valid looking test files not being

[issue45865] Old syntax in unittest

2021-11-22 Thread Adam Johnson
Change by Adam Johnson : -- keywords: +patch pull_requests: +27934 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29698 ___ Python tracker ___

[issue45813] Importing asyncio after deleting a coroutine object and before cleaning it up leads to crashing on Python3.11

2021-11-22 Thread Mark Shannon
Mark Shannon added the comment: I'm seeing a similar failure on a debug build of 3.10 as well. ./python Python 3.10.0+ (heads/3.10:9e7a2e4920, Nov 22 2021, 10:51:32) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> async def f(): ... pass

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +27935 pull_request: https://github.com/python/cpython/pull/29699 ___ Python tracker ___

[issue45863] tarfile zeroes ustar header fields unnecessarily

2021-11-22 Thread Joshua Root
New submission from Joshua Root : When using the pax format, tarfile will zero out the field in the ustar header for any values that are represented with a float, setting the correct value only in the pax header. This mainly seems to apply to the mtime. This behaviour doesn't cause problems

[issue45868] xattr support missing in os module under cygwin

2021-11-22 Thread Oskar Enoksson
New submission from Oskar Enoksson : With the latest Python 3.8.10 under cygwin the following fails: >>> import os >>> os.listxattr('.') Traceback (most recent call last): File "", line 1, in < module> AttributeError: module 'os' has no attribute 'listxattr' /usr/include/attr/xattr.h

[issue45865] Old syntax in unittest

2021-11-22 Thread Eric V. Smith
Eric V. Smith added the comment: As a general rule, we don't accept large patches with changes like this. The chance for breakage somewhere in the 27 files is too high. I could see maybe dropping inheriting from object, since that's relatively safe. -- nosy: +eric.smith

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Christian Heimes
Christian Heimes added the comment: New changeset 5b946cadaa1175a5caae98bd2d309840bea52a58 by Erlend Egeberg Aasland in branch 'main': bpo-45847: Port fcntl to Py_STDLIB_MOD (GH-29696) https://github.com/python/cpython/commit/5b946cadaa1175a5caae98bd2d309840bea52a58 --

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

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

[issue44649] dataclasses slots with init=False field raises AttributeException

2021-11-22 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks for the bug report! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45866] Out of tree build of Python 3.11.0a2+ breaks regen-frozen

2021-11-22 Thread Miro Hrončok
New submission from Miro Hrončok : In Fedora, when building Python 3.11.0a2 with Python 3.11.0a2 for regen, we found that regen-frozen fails. It can be reproduced either on the v3.11.0a2 tag or on the main branch. On tag v3.11.0a2 with 3.11.0a2 installed in $PATH: # in root of cpython local

[issue45867] kwarg default value expression incorrectly evaluated

2021-11-22 Thread Muhamed Itani
New submission from Muhamed Itani : I have an MPYFrame class that inherits from tkinter.Frame. It's init looks like this: from os.path import normcase,normpath def __init__(self,master=None,port=None,baudrate=115200,timeout=1,localFolder=normcase(normpath(os.getcwd(: The problem is,

[issue45869] Unicode and acii regular expressions do not agree on ascii space characters

2021-11-22 Thread Joran van Apeldoorn
New submission from Joran van Apeldoorn : The expectation would be that the re.A (or re.ASCII) flag should not impact the matching behavior of a regular expression on strings consisting only of ASCII characters. However, for the characters 0x1c till 0x1f, the classes \s and \S differ. For

[issue45857] PEP 604 Union syntax does not support forward references

2021-11-22 Thread Ken Jin
Ken Jin added the comment: I think I saw a similar bug report elsewhere (or maybe I'm misremembering). Anyways, Eric is right, the correct way is to wrap the entire thing, so "Foo|int" instead of "Foo"|int. @Alex you brought up some good suggestions, I'll try to address them: > Arguably,

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Christian Heimes
Christian Heimes added the comment: New changeset 29699a2a2aa2f0d6e790beeae55967fc2f35fe50 by Christian Heimes in branch 'main': bpo-45847: Various PY_STDLIB_MOD cleanups (GH-29697) https://github.com/python/cpython/commit/29699a2a2aa2f0d6e790beeae55967fc2f35fe50 --

[issue45813] Importing asyncio after deleting a coroutine object and before cleaning it up leads to crashing on Python3.11

2021-11-22 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +27936 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29700 ___ Python tracker ___

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +27938 pull_request: https://github.com/python/cpython/pull/29702 ___ Python tracker ___

[issue45866] Out of tree build of Python 3.11.0a2+ breaks regen-frozen

2021-11-22 Thread Miro Hrončok
Miro Hrončok added the comment: It also seems that it is *not* necessary to use Python 3.11 for regen-frozen to get the failure: $ make regen-frozen PYTHON_FOR_REGEN=python3.10 python3.10 ../../Tools/scripts/freeze_modules.py ERROR: missing _freeze_module make: *** [Makefile:1259:

[issue44649] dataclasses slots with init=False field raises AttributeException

2021-11-22 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset d3062f672c92855b7e9e962ad4bf1a67abd4589b by Eric V. Smith in branch 'main': bpo-44649: Fix dataclasses(slots=True) with a field with a default, but init=False (GH-29692)

[issue44649] dataclasses slots with init=False field raises AttributeException

2021-11-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +27940 pull_request: https://github.com/python/cpython/pull/29704 ___ Python tracker

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Christian Heimes
Christian Heimes added the comment: New changeset b451673f93465a27ee61e408190ee61cb9dbd5b6 by Erlend Egeberg Aasland in branch 'main': bpo-45847: Port mmap, select, and _xxsubinterpreters to Py_STDLIB_MOD (GH-29703)

[issue45813] Importing asyncio after deleting a coroutine object and before cleaning it up leads to crashing on Python3.11

2021-11-22 Thread Mark Shannon
Change by Mark Shannon : -- assignee: -> Mark.Shannon keywords: +3.11regression priority: normal -> release blocker ___ Python tracker ___

[issue45723] Improve and simplify configure.ac checks

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

[issue45402] ERROR: test_sundry (test.test_tools.test_sundry.TestSundryScripts): SystemExit: ERROR: missing _freeze_module

2021-11-22 Thread Miro Hrončok
Miro Hrončok added the comment: There seem to be a regression in this fix, see https://bugs.python.org/issue45866 -- ___ Python tracker ___

[issue45866] Out of tree build of Python 3.11.0a2+ breaks regen-frozen

2021-11-22 Thread Miro Hrončok
Miro Hrončok added the comment: git bisect says: ff8859d965815e8b5af346bd90299cfa5568c855 is the first new commit commit ff8859d965815e8b5af346bd90299cfa5568c855 Author: Victor Stinner Date: Thu Oct 7 21:19:13 2021 +0200 bpo-45402: Fix test_tools.test_sundry() (GH-28786) Fix

[issue45867] kwarg default value expression incorrectly evaluated

2021-11-22 Thread Muhamed Itani
Change by Muhamed Itani : Removed file: https://bugs.python.org/file50456/mpyFrame.pyw ___ Python tracker ___ ___ Python-bugs-list mailing

[issue45867] kwarg default value expression incorrectly evaluated

2021-11-22 Thread Muhamed Itani
Change by Muhamed Itani : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45869] Unicode and acii regular expressions do not agree on ascii space characters

2021-11-22 Thread Joran van Apeldoorn
Change by Joran van Apeldoorn : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44649] dataclasses slots with init=False field raises AttributeException

2021-11-22 Thread miss-islington
miss-islington added the comment: New changeset 10343bd98390ef15909e3a19f26a6178162996fd by Miss Islington (bot) in branch '3.10': bpo-44649: Fix dataclasses(slots=True) with a field with a default, but init=False (GH-29692)

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Christian Heimes
Christian Heimes added the comment: New changeset d9cedabeba0d87799f99c0717e81743a1c2d34ce by Christian Heimes in branch 'main': bpo-45847: Port compression libs to PY_STDLIB_MOD (GH-29702) https://github.com/python/cpython/commit/d9cedabeba0d87799f99c0717e81743a1c2d34ce --

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-22 Thread keeely
New submission from keeely : In the past this was worked around by installing a third-party module: https://github.com/pyreadline/pyreadline For Python 3.10, however this module doesn't work. And pyreadline doesn't seem to be maintained anymore, so it's possible it won't get fixed.

[issue45813] Importing asyncio after deleting a coroutine object and before cleaning it up leads to crashing on Python3.11

2021-11-22 Thread Mark Shannon
Mark Shannon added the comment: New changeset 7fd92a8b7ee5bed28c2681fa38e0a1e76200dd8e by Mark Shannon in branch 'main': bpo-45813: Make sure that frame->generator is NULLed when generator is deallocated. (GH-29700)

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +27942 pull_request: https://github.com/python/cpython/pull/29706 ___ Python tracker ___

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Christian Heimes
Christian Heimes added the comment: New changeset c6dec7e27a82cba33539d07ef8d7346e0a232421 by Christian Heimes in branch 'main': bpo-45847: Port nis module to PY_STDLIB_MOD (GH-29699) https://github.com/python/cpython/commit/c6dec7e27a82cba33539d07ef8d7346e0a232421 --

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: _socket coming up... -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45859] test_collections has a wrong test in case _itemgetter is not available

2021-11-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +27946 pull_request: https://github.com/python/cpython/pull/29710 ___ Python tracker ___

[issue45869] Unicode and acii regular expressions do not agree on ascii space characters

2021-11-22 Thread Joran van Apeldoorn
Joran van Apeldoorn added the comment: Small addition, the sre categories CATEGORY_LINEBREAK and CATEGORY_UNI_LINEBREAK also do not agree on ASCII characters. The first is only '\n' while the second also includes for example '\r' and some others. These do not seem to correspond to anything

[issue45859] test_collections has a wrong test in case _itemgetter is not available

2021-11-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 56b5cd52ab58d8f2f11f253ec1bb3e6000d2dbd2 by Miss Islington (bot) in branch '3.10': bpo-45859: Mark test_field_descriptor in test_collections as CPython-only (GH-29691) (GH-29708)

[issue45871] Refactor exception matcher validation out of JUMP_IF_NOT_EXC_MATCH

2021-11-22 Thread Irit Katriel
New submission from Irit Katriel : The validation will be shared with except* so this refactor is prep for implementing PEP-654. Also need to add the missing unit test for the validation. -- messages: 406790 nosy: iritkatriel priority: normal severity: normal status: open title:

[issue45871] Refactor exception matcher validation out of JUMP_IF_NOT_EXC_MATCH

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

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Christian Heimes
Christian Heimes added the comment: _crypt is powered by pkgconf libcrypt or libxcrypt on Linux. On my system and on Debian, libcrypt.pc is a symlink to libxcrypt.pc. Linux has crypt() and/or crypt_r() in . On FreeBSD crypt_r() is in and libc. _uuid needs similar special handling. It's ,

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

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

[issue45859] test_collections has a wrong test in case _itemgetter is not available

2021-11-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +27945 pull_request: https://github.com/python/cpython/pull/29709 ___ Python tracker ___

[issue45859] test_collections has a wrong test in case _itemgetter is not available

2021-11-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 4fad314246399b69ef0c57ba8527d9efade99069 by Carl Friedrich Bolz-Tereick in branch 'main': bpo-45859: Mark test_field_descriptor in test_collections as CPython-only (GH-29691)

[issue45859] test_collections has a wrong test in case _itemgetter is not available

2021-11-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +27944 pull_request: https://github.com/python/cpython/pull/29708 ___ Python tracker

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Christian Heimes
Christian Heimes added the comment: New changeset 0e1c2f3ef84572b79fa7d8498a69bc5a56ff0d8d by Christian Heimes in branch 'main': bpo-45847: port _struct to PY_STDLIB_MOD (GH-29706) https://github.com/python/cpython/commit/0e1c2f3ef84572b79fa7d8498a69bc5a56ff0d8d --

[issue32582] chr raises OverflowError

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

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

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

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Christian Heimes
Christian Heimes added the comment: Not converted yet: readline _curses _curses_panel _crypt _socket _ssl _hashlib _dbm _gdbm _ctypes _multiprocessing _posixshmem _tkinter _uuid xxlimited xxlimited_35 -- ___ Python tracker

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread miss-islington
miss-islington added the comment: New changeset eee683cbde499e62fc90ad366f7c45625fe92150 by Erlend Egeberg Aasland in branch 'main': bpo-45847: Port audioop, _csv, and _posixsubprocess to PY_STDLIB_MOD_SIMPLE (GH-29705)

  1   2   >