[issue30256] Adding a SyncManager Queue proxy to a SyncManager dict or Namespace proxy raises an exception

2021-07-01 Thread Guido van Rossum
Guido van Rossum added the comment: Merged and backported to 3.10, 3.9. Let's forget about 3.8 or earlier (Lukasz removed the needs-backport-to-3.8 and -3.7 labels from GH-16341 on May 4). I should note that landing this was not a great experience: - There's a closed PR with the fix and anot

[issue30256] Adding a SyncManager Queue proxy to a SyncManager dict or Namespace proxy raises an exception

2021-07-01 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 8aa45de6c6d84397b772bad7e032744010bbd456 by Miss Islington (bot) in branch '3.9': bpo-30256: Add manager_owned keyword arg to AutoProxy (GH-16341) (GH-26989) https://github.com/python/cpython/commit/8aa45de6c6d84397b772bad7e032744010bbd456 -

[issue30256] Adding a SyncManager Queue proxy to a SyncManager dict or Namespace proxy raises an exception

2021-07-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +25551 pull_request: https://github.com/python/cpython/pull/26989 ___ Python tracker ___ __

[issue30256] Adding a SyncManager Queue proxy to a SyncManager dict or Namespace proxy raises an exception

2021-07-01 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 3ec3e0f83c34eda1ad89b731e68f4a22a5f39333 by Miss Islington (bot) in branch '3.10': bpo-30256: Add manager_owned keyword arg to AutoProxy (GH-16341) (#26987) https://github.com/python/cpython/commit/3ec3e0f83c34eda1ad89b731e68f4a22a5f39333 --

[issue30256] Adding a SyncManager Queue proxy to a SyncManager dict or Namespace proxy raises an exception

2021-07-01 Thread Guido van Rossum
Guido van Rossum added the comment: (The original PR was too stale to merge, so I just merged the combined PR and added a Co-Authored-By header.) Now doing the backports. -- resolution: -> fixed ___ Python tracker

[issue30256] Adding a SyncManager Queue proxy to a SyncManager dict or Namespace proxy raises an exception

2021-07-01 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 85b920498b42c69185540ecc2f5c4907fd38d877 by finefoot in branch 'main': bpo-30256: Add manager_owned keyword arg to AutoProxy (GH-16341) https://github.com/python/cpython/commit/85b920498b42c69185540ecc2f5c4907fd38d877 -- ___

[issue30256] Adding a SyncManager Queue proxy to a SyncManager dict or Namespace proxy raises an exception

2021-07-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +25550 pull_request: https://github.com/python/cpython/pull/26988 ___ Python tracker ___ __

[issue30256] Adding a SyncManager Queue proxy to a SyncManager dict or Namespace proxy raises an exception

2021-07-01 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 11.0 -> 12.0 pull_requests: +25549 pull_request: https://github.com/python/cpython/pull/26987 ___ Python tracker ___

[issue44548] ttk Indeterminate Progressbar Not Animating Correctly After `start`

2021-07-01 Thread Ned Deily
Ned Deily added the comment: Phil, there are still some as yet unresolved differences between using Tk 8.6.8 and 8.6.11, both positive and negative, and there are a few differences between using the two variants under all conditions that we want to resolve. So, at the moment, we will continu

[issue44547] fraction.Fraction does not implement __int__.

2021-07-01 Thread Josh Rosenberg
Josh Rosenberg added the comment: Seems like an equally reasonable solution would be to make class's with __trunc__ but not __int__ automatically generate a __int__ in terms of __trunc__ (similar to __str__ using __repr__ when the latter is defined but not the former). The inconsistency is i

[issue30256] Adding a SyncManager Queue proxy to a SyncManager dict or Namespace proxy raises an exception

2021-07-01 Thread Guido van Rossum
Guido van Rossum added the comment: I'm going to merge both PRs. -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list m

[issue43425] test_peg_generator.test_c_parser emits DeprecationWarning due to distutils

2021-07-01 Thread miss-islington
miss-islington added the comment: New changeset 956f1fc89475f6c8252a9eb0689bcf0eb69c15ea by Miss Islington (bot) in branch '3.10': bpo-43425: Update setup.py not to use distutils.log (GH-26969) https://github.com/python/cpython/commit/956f1fc89475f6c8252a9eb0689bcf0eb69c15ea -- ___

[issue43425] test_peg_generator.test_c_parser emits DeprecationWarning due to distutils

2021-07-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +25548 pull_request: https://github.com/python/cpython/pull/26986 ___ Python tracker ___ __

[issue43425] test_peg_generator.test_c_parser emits DeprecationWarning due to distutils

2021-07-01 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset a7e251b07aa5f1a858a3e791a30dea78e93ab728 by Dong-hee Na in branch 'main': bpo-43425: Update setup.py not to use distutils.log (GH-26969) https://github.com/python/cpython/commit/a7e251b07aa5f1a858a3e791a30dea78e93ab728 -- ___

[issue44548] ttk Indeterminate Progressbar Not Animating Correctly After `start`

2021-07-01 Thread Jim Jewett
Jim Jewett added the comment: It sounds like the fix is a configuration change already included in the next version, so ... I think that counts as a fix. -- nosy: +Jim.Jewett resolution: -> fixed status: open -> pending ___ Python tracker

[issue43518] textwrap.shorten does not always respect word boundaries

2021-07-01 Thread Andrei Kulakov
Andrei Kulakov added the comment: Some observations: - Just to be clear (because annesylvie implied this is caused by exclamation marks), punctuation at the end of the word is not required to hit this bug: In [44]: shorten("hello universe", width=7, placeholder="") Out[44]: 'hello u' (so f

[issue44548] ttk Indeterminate Progressbar Not Animating Correctly After `start`

2021-07-01 Thread Phil Soucheray
Phil Soucheray added the comment: It looks like that has done the trick. Is there an expected time when there won't be different installers? -- ___ Python tracker ___ ___

[issue27657] urlparse fails if the path is numeric

2021-07-01 Thread Leif Walsh
Leif Walsh added the comment: I don't mean to reopen a can of worms, but this affects requests, which I reported to them here: https://github.com/psf/requests/issues/5855 -- nosy: +leif.walsh ___ Python tracker

[issue44548] ttk Indeterminate Progressbar Not Animating Correctly After `start`

2021-07-01 Thread Ned Deily
Ned Deily added the comment: I can reproduce this behavior when using the current default 3.9.x macOS installer which uses Tk 8.6.8. It appears to work correctly if you instead use the alternate 3.9.x macOS universal2 installer which bundles Tk 8.6.11. The universal2 variant will be the defa

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2021-07-01 Thread Andrei Kulakov
Andrei Kulakov added the comment: > - in case of fill, some args are a no-op, so they can be omitted from the > signature, that will make it much easier to see all effective arguments. I was mistaken here, this applies to `shorten`, not to `fill` func. -- ___

[issue39710] "will be returned as unicode" reminiscent from Python 2

2021-07-01 Thread Hubert Badocha
Change by Hubert Badocha : -- nosy: +badochov nosy_count: 9.0 -> 10.0 pull_requests: +25547 pull_request: https://github.com/python/cpython/pull/26985 ___ Python tracker ___ __

[issue43908] array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag

2021-07-01 Thread Guido van Rossum
Guido van Rossum added the comment: +1-- --Guido (mobile) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43908] array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag

2021-07-01 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: In inherit_slots() in Objects/typeobject.c, Py_TPFLAGS_HAVE_VECTORCALL inheritance depends on if the base type is a heap type or not. This aligns with PEP 590[1]: Heap types never inherit the vectorcall protocol because that would not be safe (heap ty

[issue44479] Windows build doesn't regenerate some files

2021-07-01 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +25546 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26984 ___ Python tracker ___

[issue44548] ttk Indeterminate Progressbar Not Animating Correctly After `start`

2021-07-01 Thread Phil Soucheray
New submission from Phil Soucheray : After running `start` on an indeterminate Progressbar, it animates to one side, goes back to the other and then right before it reaches the end it disappears. I've attached a sample script below and a screen recording. This is running on macOS 11.3 and pyt

[issue44547] fraction.Fraction does not implement __int__.

2021-07-01 Thread Michael Amrhein
New submission from Michael Amrhein : While int, float, complex and Decimal implement __int__, Fraction does not. Thus, checking for typing.SupportsInt for fractions fails, although int() succeeds, because Fraction implements __trunc__. This looks inconsistent. Easiest fix seems to be: Fractio

[issue44313] Generate LOAD_ATTR+CALL_FUNCTION instead of LOAD_METHOD+CALL_METHOD for imports

2021-07-01 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: New changeset 0d7f61ddb074659d8c18c8f5ac86a6a18e41f9e5 by Batuhan Taskaya in branch 'main': bpo-44313: bump up magic (#26983) https://github.com/python/cpython/commit/0d7f61ddb074659d8c18c8f5ac86a6a18e41f9e5 --

[issue44546] spam

2021-07-01 Thread Mark Dickinson
Change by Mark Dickinson : -- Removed message: https://bugs.python.org/msg396825 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue44546] spam

2021-07-01 Thread Mark Dickinson
Change by Mark Dickinson : -- stage: -> resolved status: open -> closed title: ASSESSMENT TOOLS -> spam ___ Python tracker ___ ___

[issue44313] Generate LOAD_ATTR+CALL_FUNCTION instead of LOAD_METHOD+CALL_METHOD for imports

2021-07-01 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +25545 pull_request: https://github.com/python/cpython/pull/26983 ___ Python tracker ___ _

[issue44546] ASSESSMENT TOOLS

2021-07-01 Thread skoolbeep
New submission from skoolbeep : We all are familiar with the age-old algorithm where people emphasize on grades. Grades matter, but so does an understanding of the topic. Online assessment tools are a necessary part of remote learning education. If the teachers and professors have a firm hold

[issue44545] spam

2021-07-01 Thread Mark Dickinson
Change by Mark Dickinson : -- Removed message: https://bugs.python.org/msg396822 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue44545] spam

2021-07-01 Thread Mark Dickinson
Change by Mark Dickinson : -- Removed message: https://bugs.python.org/msg396824 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue44545] spam

2021-07-01 Thread Mark Dickinson
Change by Mark Dickinson : -- stage: -> resolved status: open -> closed title: ASSESSMENT TOOLS -> spam ___ Python tracker ___ ___

[issue44545] ASSESSMENT TOOLS

2021-07-01 Thread skoolbeep
skoolbeep added the comment: Online assessment tools are a necessary part of remote learning education. If the teachers and professors have a firm hold on a student’s learning graph, he can do wonders in life! https://www.skoolbeep.com/blog/conduct-online-assessments-effectively/ --

[issue34629] Python3 regression for urllib(2).urlopen(...).fp for chunked http responses

2021-07-01 Thread Jonathan Schweder
Jonathan Schweder added the comment: Hello @tkruse, I have made some research and found that when using the Chunked transfer encoding [1], each chunk is preceded by its size in bytes, something that really happen if you check the content of one downloaded file from the example you provided [

[issue44545] ASSESSMENT TOOLS

2021-07-01 Thread skoolbeep
New submission from skoolbeep : Online assessment tools are a necessary part of remote learning education. If the teachers and professors have a firm hold on a student’s learning graph, he can do wonders in life! -- messages: 396822 nosy: skoolbeep priority: normal severity: normal sta

[issue43518] textwrap.shorten does not always respect word boundaries

2021-07-01 Thread Andrei Kulakov
Andrei Kulakov added the comment: Also see https://bugs.python.org/issue44544 which I think will help users avoid this issue. -- nosy: +andrei.avk ___ Python tracker ___

[issue44543] Remove depreciated logging.warn() method

2021-07-01 Thread Jack DeVries
Jack DeVries added the comment: I'm not sure if there will be interest in merging this PR since it hasn't happened in all this time, but then again we've been emitting deprecation warnings from these functions and methods for a *decade* now. If the decision at this point is still not to move

[issue44543] Remove depreciated logging.warn() method

2021-07-01 Thread Jack DeVries
Change by Jack DeVries : -- keywords: +patch nosy: +jack__d nosy_count: 2.0 -> 3.0 pull_requests: +25544 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26982 ___ Python tracker _

[issue13788] os.closerange optimization

2021-07-01 Thread William Manley
William Manley added the comment: Linux has a close_range syscall since v5.9 (Oct 2020): https://man7.org/linux/man-pages/man2/close_range.2.html -- nosy: +wmanley ___ Python tracker ___

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2021-07-01 Thread Andrei Kulakov
Andrei Kulakov added the comment: Additionally, I think this issue contributes to likelihood of people running into https://bugs.python.org/issue43518 or similar issues with these 3 functions. -- ___ Python tracker

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2021-07-01 Thread Andrei Kulakov
New submission from Andrei Kulakov : https://docs.python.org/3.11/library/textwrap.html The 3 functions - wrap, fill, shorten -- have a signature like `(..., **kwargs)`, where kwargs are instance attrs of TextWrap. It would be better to list all possible args in the signature because: - mor

[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record

2021-07-01 Thread jakirkham
Change by jakirkham : -- nosy: +jakirkham ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue44543] Remove depreciated logging.warn() method

2021-07-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue43234] Prohibit passing non-ThreadPoolExecutor executors to loop.set_default_executor following a deprecation

2021-07-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Illia. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue43234] Prohibit passing non-ThreadPoolExecutor executors to loop.set_default_executor following a deprecation

2021-07-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset ddd5f36971e2ffe20cc3f4b408425c847d168646 by Illia Volochii in branch 'main': bpo-43234: Prohibit non-ThreadPoolExecutor in loop.set_default_executor (GH-24540) https://github.com/python/cpython/commit/ddd5f36971e2ffe20cc3f4b408425c847d168646

[issue43425] test_peg_generator.test_c_parser emits DeprecationWarning due to distutils

2021-07-01 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +25543 pull_request: https://github.com/python/cpython/pull/26981 ___ Python tracker ___ _

[issue43216] Removal of @asyncio.coroutine in Python 3.11

2021-07-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset a1092f62492a3fcd6195bea94eccf8d5a300acb1 by Illia Volochii in branch 'main': bpo-43216: Remove @asyncio.coroutine (GH-26369) https://github.com/python/cpython/commit/a1092f62492a3fcd6195bea94eccf8d5a300acb1 --

[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record

2021-07-01 Thread Christian Heimes
Change by Christian Heimes : -- assignee: christian.heimes -> components: -Installation, Interpreter Core, Library (Lib), Windows, XML, ctypes, email versions: +Python 3.11 -Python 3.10 ___ Python tracker

[issue44490] PEP 604 Union (int | str) doesn't have __parameters__

2021-07-01 Thread Yurii Karabas
Change by Yurii Karabas <1998uri...@gmail.com>: -- keywords: +patch pull_requests: +25542 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26980 ___ Python tracker

[issue44543] Remove depreciated logging.warn() method

2021-07-01 Thread Harry
New submission from Harry : The logging.warn() method as an alias for logging.warning() is a mysterious function in the logging module, as far as I can tell it was depreciated the minute it was added, originally only added for backwards compatibility. Up until 3.3 it was undocumented, and aft

[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record

2021-07-01 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +Matthew Rocklin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue44313] Generate LOAD_ATTR+CALL_FUNCTION instead of LOAD_METHOD+CALL_METHOD for imports

2021-07-01 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue44542] Python 3.9.6 Can't Find `coverage`

2021-07-01 Thread Floating Sunfish
Floating Sunfish added the comment: Turns out my Python Launcher wasn't uninstalled properly. Uninstalling it and reinstalling Python 3.9.6 resolved the issue. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracke

[issue44542] Python 3.9.6 Can't Find `coverage`

2021-07-01 Thread Floating Sunfish
New submission from Floating Sunfish : `coverage` does not work in Python 3.9.6 (but it does in Python 3.9.5). It doesn't seem bundled with 3.9.6 because you can install it with `pip` (which normally says that it's already installed and doesn't install anything). Note that `coverage.exe` and

[issue42514] Relocatable framework for macOS

2021-07-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: I guess Ned and I are the only core devs that would be vaguely interested in working on this. I have no active plans to work on this. Having a relocatable framework would be nice, but doing this in a way that maintains all functionality, esp. w.r.t. the Py