[issue44372] Can't install Python3.8, 3.9, 3.10 various errors including 0x80070643

2021-06-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue44

[issue44365] Bad dataclass post-init example

2021-06-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker <https://bugs.python.org/issue44365> ___ ___ Python-bugs-list mailing list Unsub

[issue44276] Replace if-elif-else structure with match-case (PEP634)

2021-05-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is done on a case by case basis and in places necessary in future code. Modifying existing code can pollute git history, make backports hard, might introduce subtle bugs etc. This is similar to proposal to use walrus operator, f-strings, etc

[issue44267] Wrong PEP 515 parsing in decimal module (both C and Python versions)

2021-05-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +facundobatista, mark.dickinson, rhettinger ___ Python tracker <https://bugs.python.org/issue44267> ___ ___ Pytho

[issue44250] Link to ibera IRC goes to 404 page

2021-05-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Reported at https://github.com/python/pythondotorg/issues/1776 . This tracker deals with CPython related issues and python.org has its own tracker at GitHub. -- nosy: +xtreak resolution: -> third party stage: -> resolved status

[issue44246] 3.10 beta 1: breaking change in importlib.metadata entry points

2021-05-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems this was reported in https://github.com/python/importlib_metadata/issues/300 . Closed in https://github.com/python/importlib_metadata/commit/5ca9bc7dcf73d72260486afb28dadf5e532cf657. -- nosy: +xtreak

[issue44246] 3.10 beta 1: breaking change in importlib.metadata entry points

2021-05-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +jaraco ___ Python tracker <https://bugs.python.org/issue44246> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44185] mock_open file handle __exit__ does not call close

2021-05-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue44185> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44184] crash on windows invoking flake8 under tox

2021-05-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue44

[issue44183] Can't install certificates if GUI tools are not installed on macOS

2021-05-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker <https://bugs.python.org/issue44183> ___ ___ Pytho

[issue44166] Make IndexError messages for list more informative

2021-05-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue44166> ___ ___ Python-bugs-list mailing list Unsub

[issue44111] 404 link on python webpage

2021-05-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: python.org > Community > Diversity Statement links to https://www.python.org/community/diversity/ renders the page properly. I don't see any links to /community-landing/diversity in the source code. If this is an issue I guess this is som

[issue44102] mock_open does not support the use of 'seek()'

2021-05-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue25690 . https://github.com/nivbend/mock-open has support for seek. As stated in the other issue supporting all operations of a filesystem might add more complexity. -- components: +Library (Lib) nosy

[issue44095] Add suffix property to zipfile.Path

2021-05-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +jaraco ___ Python tracker <https://bugs.python.org/issue44095> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44089] csv.Error can't be subclassed

2021-05-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +petr.viktorin ___ Python tracker <https://bugs.python.org/issue44089> ___ ___ Python-bugs-list mailing list Unsub

[issue44057] Inconsitencies in `__init_subclass__` in a generic class

2021-05-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, levkivskyi ___ Python tracker <https://bugs.python.org/issue44057> ___ ___ Python-bugs-list mailin

[issue44052] patch object as argument should be explicit

2021-05-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: In my test cases I have ended up just ignoring the mock object with a placeholder if it's not needed. For the given use case you can do this using patch objects at setUp and tearDown like in https://docs.python.org/dev/library/unittest.mock

[issue44033] Adding multiple keys of the same name to a dict doesn't raise an exception

2021-05-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Looks like a duplicate of https://bugs.python.org/issue16385 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue44

[issue44021] enum docs in 3.10: missing "New in version 3.10"

2021-05-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +barry, eli.bendersky, ethan.furman ___ Python tracker <https://bugs.python.org/issue44021> ___ ___ Python-bug

[issue44018] Bug in random.seed

2021-05-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mark.dickinson, rhettinger ___ Python tracker <https://bugs.python.org/issue44018> ___ ___ Python-bugs-list mailin

[issue44017] Deprecation warning in tests over no current event loop

2021-05-03 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Related to warnings from issue39529 ./python -Wall -m test test_contextlib_async test_unittest 0:00:00 load avg: 0.91 Run tests sequentially 0:00:00 load avg: 0.91 [1/2] test_contextlib_async Task was destroyed but it is pending! task: ()>>

[issue39950] Add pathlib.Path.hardlink_to()

2021-05-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The changes have introduced deprecation warnings in tests. It seems https://github.com/python/cpython/blob/ad106c68eb00f5e4af2f937107baff6141948cee/Lib/test/test_pathlib.py#L1937 is not covered. ./python -Wall -m test test_pathlib

[issue44016] Enum related deprecation warnings in test_httpservers and test_faulthandler

2021-05-03 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : These warnings seem to be related to changes in issue43945 ./python -Wall -m test test_httpservers test_faulthandler 0:00:00 load avg: 4.83 Run tests sequentially 0:00:00 load avg: 4.83 [1/2] test_httpservers /root/cpython/Lib/test

[issue44011] Borrow asyncio ssl implementation from uvloop

2021-05-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The PR made sslproto a hard dependency that even import asyncio fails on non-ssl builds and thus anything that indirectly import asyncio also fails. It seems some of the test modules can be skipped. Some parts of the asyncio codebase already has

[issue44014] Fix error in Enum documentation.

2021-05-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ethan.furman ___ Python tracker <https://bugs.python.org/issue44014> ___ ___ Python-bugs-list mailing list Unsub

[issue44011] Borrow asyncio ssl implementation from uvloop

2021-05-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue44011> ___ ___ Python-bugs-list mailing list Unsub

[issue43985] lib2to3 fails on a slash('/') after positional_only paramter in a function signature

2021-04-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks, the change was merged in December 14, 2020 just missing 3.8.7 . Can you please upgrade to 3.8.8 or 3.8.9 and try? If the issue still persists I guess it's then an issue with yapf since Python 3.8.8 has the code merged with tests

[issue43985] lib2to3 fails on a slash('/') after positional_only paramter in a function signature

2021-04-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://bugs.python.org/issue36541 add support for walrus operator and positional arguments. Relevant commit : https://github.com/python/cpython/commit/06bfd033e847bedb6e123d131dcf46393a4555df Relevant yapf issue on python 3.8 support : https

[issue43919] Potential bug in the "request" package.

2021-04-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The tracker is for issues related to CPython. requests is not part of stdlib so I am closing this as a third party issue. It seems this was already raised in requests repo https://github.com/psf/requests/issues/3017 . -- nosy: +xtreak

[issue43907] pickle.py bytearray memoization bug with protocol 5

2021-04-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pitrou ___ Python tracker <https://bugs.python.org/issue43907> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43904] Documentation for argparse, missed opportunity

2021-04-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +paul.j3, rhettinger ___ Python tracker <https://bugs.python.org/issue43904> ___ ___ Python-bugs-list mailin

[issue43883] Making urlparse WHATWG conformant

2021-04-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue43883> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43882] urllib.parse should sanitize urls containing ASCII newline and tabs.

2021-04-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also a related issue to sanitise newline on other helper functions https://bugs.python.org/issue30713 See also discussion and compatibility on disallowing control characters : https://bugs.python.org/issue30458 -- nosy

[issue43873] bz2.open() docs give conflicting defaults for mode

2021-04-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This was fixed in https://github.com/python/cpython/pull/15100 and not backported. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue43

[issue43871] urllib.parse.urlparse doesn't check port

2021-04-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess moving port validation logic to parsing time is done as part of https://github.com/python/cpython/pull/16780 -- nosy: +orsenthil, vstinner, xtreak ___ Python tracker <https://bugs.python.

[issue43862] warnings: -W option and PYTHONWARNINGS now use the message as a regex

2021-04-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue34624 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue43

[issue43861] A potential double free in list_sort_impl

2021-04-16 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger, tim.peters ___ Python tracker <https://bugs.python.org/issue43861> ___ ___ Python-bugs-list mailin

[issue43844] [easy] test_lib2to3 logs a PendingDeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+

2021-04-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I fixed this in https://github.com/python/cpython/pull/21694 . Somehow this seems to emit warning over full test run and not in individual case :( Is there a command to reproduce this always? I ran the command but it's successful for me and doesn't

[issue43840] [easy] test_distutils logs 3 DeprecationWarning warnings

2021-04-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I have reported this in the original issue earlier https://bugs.python.org/issue41282#msg388224 . See also https://bugs.python.org/issue43425 for more discussion over handling this. -- nosy: +xtreak

[issue43841] [easy] test_collections: DeprecationWarning: Please use assertEqual instead

2021-04-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is a duplicate of https://bugs.python.org/issue43825. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue43

[issue43826] Resource warnings in test_subprocess

2021-04-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +24113 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25381 ___ Python tracker <https://bugs.python.org/issu

[issue43826] Resource warnings in test_subprocess

2021-04-12 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : It seems that some of the pipe objects were not closed properly causing resource warnings. Regarding "subprocess still running warning" I guess we need to call kill() on the subprocess before exiting test_send_signal_race2. I will

[issue43825] Deprecation warnings in test cases

2021-04-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +24112 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25380 ___ Python tracker <https://bugs.python.org/issu

[issue43825] Deprecation warnings in test cases

2021-04-12 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Following deprecation warnings are raised when tests are ran with -Wall in CPython test suite. I will raise a PR for this. 0:03:48 load avg: 0.79 [ 59/427] test_cmd_line

[issue41515] typing.get_type_hints generates KeyError

2021-04-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Victor. I have created https://github.com/python/cpython/pull/25379 that uses self.assertEqual instead of assert that produces syntax warning. -- ___ Python tracker <https://bugs.python.

[issue41515] typing.get_type_hints generates KeyError

2021-04-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +24111 pull_request: https://github.com/python/cpython/pull/25379 ___ Python tracker <https://bugs.python.org/issue41

[issue43817] Add typing.get_annotations()

2021-04-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue43817> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43816] Missing 'extern "C"' for _Py_ctype_table

2021-04-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +C API ___ Python tracker <https://bugs.python.org/issue43816> ___ ___ Python-bugs-list mailing list Unsub

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I opened a thread a year back on running tests with -Werror in CI. This issue still pops up when someone runs with -Wall and finds unhandled deprecation warnings. https://discuss.python.org/t/run-test-suite-with-werror-on-ci/2333

[issue41515] typing.get_type_hints generates KeyError

2021-04-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +24087 pull_request: https://github.com/python/cpython/pull/25352 ___ Python tracker <https://bugs.python.org/issue41

[issue41515] typing.get_type_hints generates KeyError

2021-04-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess more libraries will experience this with `from __future__ import annotations` becoming default in Python 3.10 and they switch to get_type_hints. https://github.com/sphinx-doc/sphinx/issues/8084 https://github.com/facebook/TestSlide/issues

[issue43796] "install" package on PyPI

2021-04-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to have been discussed : https://github.com/pypa/pypi-support/issues/451 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue43

[issue41486] Add _BlocksOutputBuffer for bz2/lzma/zlib module

2021-04-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +methane ___ Python tracker <https://bugs.python.org/issue41486> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43785] bz2 performance issue.

2021-04-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue43785> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43746] Weird typing annotation closure behavior

2021-04-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess this is similar to the explanation at https://bugs.python.org/issue36363#msg338389 > The problem in the original code is that the annotation references a global > name that is shadowed by a local (to the class body) name, and b

[issue43772] Minor repr error in typing.TypeVar.__ror__()

2021-04-08 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, levkivskyi ___ Python tracker <https://bugs.python.org/issue43772> ___ ___ Python-bugs-list mailin

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Just to add the last time isAlive was removed in favor of is_alive it was significant change enough that several libraries in Fedora packaging Python libraries and other open source code. The GitHub PR shows several projects that were affected

[issue43761] Documenting dataclass and namedtuple changes for structural pattern matching

2021-04-07 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker <https://bugs.python.org/issue43761> ___ ___ Python-bugs-list mailing list Unsub

[issue43758] dict.config TimedRotatingFileHandler filename .suffix does not function

2021-04-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker <https://bugs.python.org/issue43758> ___ ___ Python-bugs-list mailing list Unsub

[issue43755] lambda expression no longer valid at comp_if in Python 3.9

2021-04-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, lys.nikolaou, pablogsal ___ Python tracker <https://bugs.python.org/issue43755> ___ ___ Python-bug

[issue43755] lambda expression no longer valid at comp_if in Python 3.9

2021-04-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks like a duplicate of https://bugs.python.org/issue41848 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue43

[issue43748] Inconsistent grammar in new error message (introduced in 3.10.0a7)

2021-04-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, lys.nikolaou, pablogsal ___ Python tracker <https://bugs.python.org/issue43748> ___ ___ Python-bug

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Given that the PR is against master is this issue present in Python 3.10 alphas too since last alpha was released today. -- nosy: +pablogsal, xtreak ___ Python tracker <https://bugs.python.

[issue43744] enum: Adding a member named _classname__ raises IndexError

2021-04-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +barry, eli.bendersky, ethan.furman ___ Python tracker <https://bugs.python.org/issue43744> ___ ___ Python-bug

[issue43731] PEP 597: logging.basicConfig() uses locale encoding.

2021-04-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker <https://bugs.python.org/issue43731> ___ ___ Python-bugs-list mailing list Unsub

[issue43711] cgi.log() uses locale encoding

2021-04-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ethan.furman ___ Python tracker <https://bugs.python.org/issue43711> ___ ___ Python-bugs-list mailing list Unsub

[issue43710] Access violations in C extension modules on Python 3.9.3

2021-04-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +Mark.Shannon, lukasz.langa ___ Python tracker <https://bugs.python.org/issue43710> ___ ___ Python-bugs-list mailin

[issue43664] Long computations in pdb.run() lead to segfault

2021-04-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks like a duplicate of https://bugs.python.org/issue42714 which has been fixed. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue43

[issue43703] xml.etree parser does not accept valid control characters

2021-04-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eli.bendersky, scoder, serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue43703> ___ ___ Python-bug

[issue43689] difflib: mention other "problematic" characters in documentation

2021-04-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +tim.peters ___ Python tracker <https://bugs.python.org/issue43689> ___ ___ Python-bugs-list mailing list Unsub

[issue43681] doctest forgets previous imports

2021-03-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue43681> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43632] an error in the documentation of descriptor

2021-03-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker <https://bugs.python.org/issue43632> ___ ___ Python-bugs-list mailing list Unsub

[issue43628] Incorrect argument errors for random.getstate()

2021-03-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mark.dickinson, rhettinger ___ Python tracker <https://bugs.python.org/issue43628> ___ ___ Python-bugs-list mailin

[issue43596] change assertRaises message when wrong exception is raised

2021-03-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue43596> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43575] map() instantiation time reducing by using PEP 590 vectorcall

2021-03-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker <https://bugs.python.org/issue43575> ___ ___ Python-bugs-list mailing list Unsub

[issue43584] Doc description of str.title() upper case vs. title case.

2021-03-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There was recent change to str.capitalize. I am not sure if Serhiy was referring to this doc change in https://bugs.python.org/issue36549#msg339570 -- nosy: +serhiy.storchaka, xtreak ___ Python tracker

[issue43581] array assignment error

2021-03-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: By using * 4 in the end you are making four lists having same reference. Hence change in one causes change in other 4 lists. Relevant FAQ : https://docs.python.org/3/faq/programming.html#how-do-i-create-a-multidimensional-list -- nosy

[issue43555] Location of SyntaxError with new parser missing (after continuation character)

2021-03-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, lys.nikolaou, pablogsal ___ Python tracker <https://bugs.python.org/issue43555> ___ ___ Python-bug

[issue43535] Make str.join auto-convert inputs to strings.

2021-03-17 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue43535> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43532] Add keyword-only fields to dataclasses

2021-03-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks like a duplicate of https://bugs.python.org/issue33129 or that ticket can be closed. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue43

[issue11339] annotation for class being defined

2021-03-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this issue resolved with PEP 563 and the behavior becoming default in Python 3.10? https://www.python.org/dev/peps/pep-0563/#forward-references -- nosy: +xtreak ___ Python tracker <ht

[issue43478] Disallow Mock spec arguments from being Mocks

2021-03-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The tests can be fixed. The change to raise exception can be merged to gather feedback during alpha/beta and see if there are any valid usecases. -- ___ Python tracker <https://bugs.python.

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-03-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +bquinlan, pitrou ___ Python tracker <https://bugs.python.org/issue43498> ___ ___ Python-bugs-list mailin

[issue43371] Mock.assert_has_calls works strange

2021-03-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://docs.python.org/3/library/unittest.mock.html#unittest.mock.Mock.assert_has_calls > If any_order is false then the calls must be sequential. There can be extra > calls before or after the specified calls. One way to check that the

[issue43478] Disallow Mock spec arguments from being Mocks

2021-03-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: For a simple experiment raising an exception I can see two tests failing in test suite that have the pattern of having an autospec which is a mock object. diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py index 720f682efb..d33c7899a1 100644

[issue43478] Disallow Mock spec arguments from being Mocks

2021-03-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cjw296, lisroach, mariocj89, michael.foord ___ Python tracker <https://bugs.python.org/issue43478> ___ ___ Pytho

[issue43486] Python 3.9 installer not updating ARP table

2021-03-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue43

[issue43478] Disallow Mock spec arguments from being Mocks

2021-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue43478> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43473] Junks in difflib

2021-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +tim.peters ___ Python tracker <https://bugs.python.org/issue43473> ___ ___ Python-bugs-list mailing list Unsub

[issue43470] Installation of Python 3.6.13 fails on MacOS Big Sur 11.2.3

2021-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker <https://bugs.python.org/issue43470> ___ ___ Pytho

[issue43468] functools.cached_property locking is plain wrong.

2021-03-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker <https://bugs.python.org/issue43468> ___ ___ Python-bugs-list mailing list Unsub

[issue43464] set intersections should short-circuit

2021-03-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker <https://bugs.python.org/issue43464> ___ ___ Python-bugs-list mailing list Unsub

[issue43436] bounded _lru_cache_wrapprer behaves as if typed=True when it wasn't

2021-03-08 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker <https://bugs.python.org/issue43436> ___ ___ Python-bugs-list mailing list Unsub

[issue43425] test_peg_generator.test_c_parser emits DeprecationWarning due to distutils

2021-03-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the clarification. As per issue41282 I thought disutils will be removed. The accepted PEP 632 states this scenario so I guess silencing the warning is good enough. > The final dependency on distutils is CPython itself, which u

[issue43427] Possible error on the descriptor howto guide

2021-03-07 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker <https://bugs.python.org/issue43427> ___ ___ Python-bugs-list mailing list Unsub

[issue41282] Deprecate and remove distutils

2021-03-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I have created below issues where deprecation warning is emitted due to distutils usage in tests. Probably there are other places that need an update to setuptools like setup.py used by make that emits deprecation warning during building cpython

[issue43426] test_importlib.test_windows emits deprecation warning over usage of distutils

2021-03-06 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : test_windows uses distutil which emits a deprecation warning due to distutils being deprecated. sysconfig.get_platform and distutils.util.get_host_platform seem to be identical though distutils.util.get_platform has an extra if clause for nt

[issue43425] test_peg_generator.test_c_parser emits DeprecationWarning due to distutils

2021-03-06 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : distutils was deprecated for removal in Python 3.10. It is used in test_peg_generator.test_c_parser which emits a deprecation warning. It also seems to be used in test_support for missing_compiler_executable that will emit a deprecation warning

[issue43405] DeprecationWarnings in test_unicode

2021-03-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The changes were introduced in https://bugs.python.org/issue36346 -- nosy: +methane, xtreak ___ Python tracker <https://bugs.python.org/issue43

[issue43400] Remove "Mock is very easy to use" from unittest.mock documentation

2021-03-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Mock has a section on getting started that has several recipes but it's not under howto section. Perhaps this page could be updated if you want to make a PR : https://docs.python.org/3/library/unittest.mock-examples.html There is also a section

<    1   2   3   4   5   6   7   8   9   10   >