[issue38659] enum classes cause slow startup time

2019-10-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ethan.furman ___ Python tracker <https://bugs.python.org/issue38659> ___ ___ Python-bugs-list mailing list Unsub

[issue38656] mimetypes for python 3.7.5 fails to detect matroska video

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

[issue38656] mimetypes for python 3.7.5 fails to detect matroska video

2019-10-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I couldn't find mkv in mimetypes with search. Can you please post the output of the mimetypes query in 3.7.4 and 3.7.5 for the regression? In the attached GitHub issue the user reports mkv returns None and mp4 is det

[issue38667] PYTHONCOERCECLOCALE=0 ignored

2019-11-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue38667> ___ ___ Python-bugs-list mailing list Unsub

[issue38669] patch.object should raise another error when first argument is a str

2019-11-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cjw296, lisroach, mariocj89, michael.foord, xtreak ___ Python tracker <https://bugs.python.org/issue38669> ___ ___

[issue38679] Scipy and Scikit learn library installation issues

2019-11-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This bug tracker is for CPython related issues. Please file this issue in the respective project issue tracker. I propose closing it as third party. -- nosy: +xtreak type: security -> behavior ___ Pyt

[issue38698] While parsing email message id: UnboundLocalError

2019-11-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Can you please attach a sample script to reproduce this error? -- nosy: +maxking, xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue38693] Use f-strings instead of str.format within importlib

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

[issue38700] typo in unittest mock docs

2019-11-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add the specific piece of text? There is an illustration to say that it's common mistake to type assret instead of assert with which mock gives a new child mock. This can be made stricter with unsafe mode to detect this

[issue38701] datetime.timedelta string representation is ambiguous

2019-11-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle ___ Python tracker <https://bugs.python.org/issue38701> ___ ___ Python-bugs-list mailin

[issue38656] mimetypes for python 3.7.5 fails to detect matroska video

2019-11-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It seems that there is a list of files from which the mime types are also added at https://github.com/python/cpython/blob/5c0c325453a175350e3c18ebb10cc10c37f9595c/Lib/mimetypes.py#L42. "video/x-matroska" is not present in CPython repo

[issue38698] While parsing email message id: UnboundLocalError

2019-11-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This was also reported in issue38708 with the original code added in issue35805. Commenting out the except clause also doesn't raise any error in test suite so I assume the code path was not tested. Maybe the script could be added as part o

[issue38708] parse_message_id in email module is very buggy / crashy

2019-11-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be the same as issue38698. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue38717] csv DictWriter's internal _dict_to_list raise error unsupported operand

2019-11-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please attach a sample script to reproduce the behavior difference? With below script a dictionary is passed then dict.keys() supports subtraction over a list to return the difference. I am not sure how you have received a list with

[issue38708] parse_message_id in email module is very buggy / crashy

2019-11-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +email nosy: +barry, maxking, r.david.murray type: -> behavior ___ Python tracker <https://bugs.python.org/issu

[issue38719] Surprising and possibly incorrect passing of InitVar to __post_init__ method of data classes

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

[issue38719] Surprising and possibly incorrect passing of InitVar to __post_init__ method of data classes

2019-11-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Should we also be checking for __post_init__ to have positional only arguments / syntax in the signature. I tried a simple fix of f.name + "=" + f.name to pass them as keyword always where current tests and reported example passes

[issue38729] mock.create_autospec generates incorrect signature for some decorated methods

2019-11-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Library (Lib) -Tests nosy: +cjw296, lisroach, mariocj89, michael.foord, xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue38731] bad input crashes py_compile library

2019-11-07 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue38731> ___ ___ Python-bugs-list mailing list Unsub

[issue38739] pyperformance html5lib cannot import Mapping (and fails)

2019-11-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: collections removed ABC access in 3.9. It seems you are using an older version of pip. Please update to the latest version which has the vendored html5lib package fixed. -- nosy: +xtreak ___ Python

[issue38729] mock.create_autospec generates incorrect signature for some decorated methods

2019-11-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: If I understand this correctly, when an autospec of a class is created the attributes themselves of the given class are autospecced. During autospec of attributes it's modelled upon __call__'s signature for the given attributes [0]. He

[issue38739] pyperformance html5lib cannot import Mapping (and fails)

2019-11-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sorry, I misread the traceback itself as if it's from pip. It's from html5lib being incompatible with 3.9 as per the latest release on 1.0.1 (Dec 7, 2017) . There is an issue to request new release with the fix at https://github.co

[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:

[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-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cjw296, lisroach, mariocj89, michael.foord ___ Python tracker <https://bugs.python.org/issue43478> ___ ___ Pytho

[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

[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

[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

[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.

[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

[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

[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:

[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

[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

[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

[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

[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:

[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

[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

[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:

[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

[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

[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

[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

[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

[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

[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

[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.

[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

[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

[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

[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

[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

[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 and

[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

[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 beca

[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:

[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:

[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

[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

[issue41515] typing.get_type_hints generates KeyError

2021-04-11 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

[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

[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

[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:

[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

[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.

[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

[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

[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 rais

[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

[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

[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

[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 do

[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

[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

[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.

[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

[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

[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:

[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

[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:

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

2021-04-22 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

[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

[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

[issue44011] Borrow asyncio ssl implementation from uvloop

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

[issue44014] Fix error in Enum documentation.

2021-05-02 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
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

[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

[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

[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: ()>>

[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

[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

[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

[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

[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

[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

[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:

[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

[issue44111] 404 link on python webpage

2021-05-11 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 i

[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

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