[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

[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

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

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

[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

[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

[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

[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

[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

[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

[issue44376] Improve performance of integer exponentiation

2021-06-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mark.dickinson ___ Python tracker <https://bugs.python.org/issue44376> ___ ___ Python-bugs-list mailing list Unsub

[issue44417] bytecode<>line number mapping seems wrong in 3.10.0b2

2021-06-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +Mark.Shannon ___ Python tracker <https://bugs.python.org/issue44417> ___ ___ Python-bugs-list mailing list Unsub

[issue44451] test_entry_points_by_index (test.test_importlib.test_metadata_api.APITests) fails on Fedora 33 and 34

2021-06-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to have been reported also at https://bugs.python.org/issue44246#msg395202 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue44

[issue44466] faulthandler should indicate if the fault happened in garbage collection

2021-06-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue44466> ___ ___ Python-bugs-list mailing list Unsub

[issue44475] Dataclass Causes Infinite Recursion when using type of bytes

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

[issue44487] Regression in pathlib.path.read_text

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

[issue44489] _handle_existing_loggers should respect loggers that were manually disabled

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

[issue44550] SPAM

2021-07-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- Removed message: https://bugs.python.org/msg396854 ___ Python tracker <https://bugs.python.org/issue44550> ___ ___ Pytho

[issue44550] SPAM

2021-07-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> not a bug stage: -> resolved status: open -> closed title: DIGITAL CLASSROOM -> SPAM ___ Python tracker <https://bugs.python

[issue44557] It's a bug? Dict

2021-07-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is not a bug since in this case assignment is referring to the same object and thus mutating one variable reflects change in other variable. Relevant FAQ : https://docs.python.org/3/faq/programming.html#why-did-changing-list-y-also-change

[issue44564] DeprecationWarning in test_enum over formatting

2021-07-04 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : It seems the line above this is wrapped under a block to check for deprecation warning but this line got missed out. PYTHONWARNINGS=always ./python.exe -Wall -m test test_enum 0:00:00 load avg: 3.91 Run tests sequentially 0:00:00 load avg: 3.91

[issue38291] Deprecate the typing.io and typing.re pseudo-modules

2021-07-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This change seems to emit deprecation warnings in test_pydoc. PYTHONWARNINGS=always ./python.exe -Wall -m test test_pydoc 0:00:00 load avg: 2.57 Run tests sequentially 0:00:00 load avg: 2.57 [1/1] test_pydoc /Users/kasingar/stuff/python/cpython/Lib

[issue44579] shutil.copy() inefficient implementation in Windows

2021-07-07 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

[issue44586] unittest requires __init__.py for test discovery

2021-07-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue23882 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue44

[issue44589] Pattern Matching - duplicate keys in mapping patterns

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

[issue44599] Changing logging format for one handler changes it for all

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

[issue44638] zipfile.ZipFile is closed when zipfile.Path is closed

2021-07-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems similar to https://bugs.python.org/issue40564 -- nosy: +jaraco, xtreak ___ Python tracker <https://bugs.python.org/issue44

[issue44658] No ValueError for duplicate key value in mapping patern when lengths do not match

2021-07-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue44589 -- nosy: +brandtbucher, xtreak ___ Python tracker <https://bugs.python.org/issue44

[issue44684] Docs for mock.call

2021-07-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > A call object is either a tuple of (positional args, keyword args) or (name, > positional args, keyword args) depending on how it was constructed https://github.com/python/cpython/pull/11807 added support for args and kwargs from python 3

[issue44695] asdict use deep copy to dataclass instances

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

[issue44671] Create a built-in yaml module

2021-07-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There was some discussion in 2013 : https://mail.python.org/archives/list/python-id...@python.org/thread/Y3Y5T54S2RSR6QW3HSEQV77EZPP7PWCX/#7H72ZRMSX74453GGURV26242UYM75VOW . This has to go through python-ideas and probably might need a PEP. There

[issue44784] test_importlib uses deprecated SelectableGroups interface

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

[issue44809] Changelog missing removal of StrEnum etc.

2021-08-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There was a revert of enum related changes in Python 3.10. Since the news file is generated I guess this is probably missed. -- nosy: +ethan.furman, xtreak ___ Python tracker <https://bugs.python.

[issue44823] Docs fail to build - looking for the wrong interpreter (Python 3.10-rc1)

2021-08-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems like a duplicate of https://bugs.python.org/issue44824 -- nosy: +pablogsal, xtreak ___ Python tracker <https://bugs.python.org/issue44

[issue44827] Incomplete 3.10.0rc1 release info

2021-08-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I can see the files section table with links. -- nosy: +pablogsal, xtreak ___ Python tracker <https://bugs.python.org/issue44

[issue44829] zoneinfo.ZoneInfo does not check for Windows device names

2021-08-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle ___ Python tracker <https://bugs.python.org/issue44829> ___ ___ Python-bugs-list mailin

[issue44893] importlib.metadata Entrypoint has a broken _asdict

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

[issue44918] Unhandled Exception (Not Implemented) in HTMLParser().feed

2021-08-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems similar to https://bugs.python.org/issue38573 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue44

[issue41322] unittest: deprecate test methods returning non-None values

2021-08-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There are few deprecation warnings in other tests : 0:00:05 load avg: 3.20 [ 52/428] test_code passed /home/karthikeyan/stuff/python/cpython/Lib/unittest/case.py:550: DeprecationWarning: It is deprecated to return a value!=None from a test case

[issue41322] unittest: deprecate test methods returning non-None values

2021-08-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Deprecation warnings are not on by default in tests. You can pass -Wall while running tests to turn on all warnings. ./python -Wall -m test test_capi 0:00:00 load avg: 2.46 Run tests sequentially 0:00:00 load avg: 2.46 [1/1] test_capi /home

[issue33710] Deprecate gettext.lgettext()

2021-08-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It seems like the docs have a note that these functions were removed in Python 3.10 but they probably missed the release. Doc : https://docs.python.org/3.10/library/gettext.html#gettext.lgettext

[issue43826] Resource warnings in test_subprocess

2021-08-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: New changeset 7179930ab5f5b2dea039023bec968aadc03e3775 by Karthikeyan Singaravelan in branch 'main': bpo-43826: Fix resource warning due to unclosed objects. (GH-25381) https://github.com/python/cpyt

[issue43826] Resource warnings in test_subprocess

2021-08-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 3.10 ___ Python tracker <https://bugs.python.or

[issue45028] module 'unittest.mock' has no attribute 'AsyncMock'

2021-08-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add a sample script to reproduce the problem. It will be also helpful to add how you run the script and also attach the error message you are getting. Given that you have selected Python 3.7 version AsyncMock was added in Python 3.8

[issue45028] module 'unittest.mock' has no attribute 'AsyncMock'

2021-08-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: What version of Python are you using? -- ___ Python tracker <https://bugs.python.org/issue45028> ___ ___ Python-bug

[issue45028] module 'unittest.mock' has no attribute 'AsyncMock'

2021-08-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: AsyncMock is a feature of Python 3.8 . Please upgrade to Python 3.8 or use mock backport for AsyncMock in Python 3.7 https://github.com/testing-cabal/mock . I guess this can be closed as not a bug

[issue45028] module 'unittest.mock' has no attribute 'AsyncMock'

2021-08-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> not a bug stage: -> resolved status: open -> closed type: compile error -> behavior ___ Python tracker <https://bugs.python

[issue45110] argparse repeats itself when formatting help metavars

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

[issue45135] dataclasses.asdict() incorrectly calls __deepcopy__() on values.

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

[issue45156] mock.seal has infinite recursion with int class attributes

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

[issue45019] Freezing modules has manual steps but could be automated.

2021-09-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The PR 28319 seems to have introduced a new deprecation warning in tests : 0:00:13 load avg: 2.82 [ 98/427] test_ctypes passed Hello world! /home/karthikeyan/stuff/python/cpython/Lib/ctypes/test/test_values.py:5: DeprecationWarning: the imp module

[issue45284] Better `TypeError` message when a string is indexed using a non int

2021-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue44110 . This looks like a duplicate. Also https://bugs.python.org/issue35077 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue45

[issue35077] Make TypeError message less ambiguous

2021-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://bugs.python.org/issue44110 did some improvements to error message to include type. -- ___ Python tracker <https://bugs.python.org/issue35

[issue45293] List inplace addition different from normal addition

2021-09-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://docs.python.org/3/faq/programming.html#faq-augmented-assignment-tuple-error > for lists, __iadd__ is equivalent to calling extend on the list and returning > the list. That’s why we say that for lists, += is a “shorthand” for > li

[issue45320] Remove deprecated inspect functions

2021-09-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Slightly related, inspect.getfullargspec was also deprecated and later undeprecated. Please find the discussion post this message https://bugs.python.org/issue36751#msg341128 https://bugs.python.org/issue37010 -- nosy: +xtreak

[issue45338] Add key argument to collections.Counter

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

[issue45366] dataclass init=False field with default works but default_factory does not

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

[issue45370] Typo in pep-0636 page

2021-10-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report and fix. Closing it as third party since PEPs are maintained in different repo using GitHub issues. -- nosy: +xtreak resolution: -> third party stage: -> resolved status: open -&g

[issue45475] gzip fails to read a gzipped file (ValueError: readline of closed file)

2021-10-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This might be related to below commit : commit d2a8e69c2c605fbaa3656a5f99aa8d295f74c80e Author: Inada Naoki Date: Tue Apr 13 13:51:49 2021 +0900 bpo-43787: Add __iter__ to GzipFile, BZ2File, and LZMAFile (GH-25353) python -m gzip

[issue45524] Cross-module dataclass inheritance breaks get_type_hints

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

[issue45755] Mock spec with a specialized generic class does not mock class attributes

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

[issue45292] Implement PEP 654: Exception Groups

2021-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The tests emit some deprecation warnings : PYTHONWARNINGS=always ./python -Wall -m test test_exception_group 0:00:00 load avg: 0.39 Run tests sequentially 0:00:00 load avg: 0.39 [1/1] test_exception_group /home/karthikeyan/stuff/python/cpython/Lib

[issue45755] Specialized generic class does not return class attributes in dir

2021-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be an issue with typing than mock since mock just uses the output from dir() . I am not able to bisect the relevant change but below is the output of dir(Foo[int]) in Python 3.6 and master. Python 3.6.9 ['__abstractmeth

[issue45292] Implement PEP 654: Exception Groups

2021-11-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: New changeset 8b06d01507fd708468570eaa43a349828784489a by Irit Katriel in branch 'main': bpo-45292: Use raw strings for regex in tests (GH-29545) https://github.com/python/cpython/commit/8b06d01507fd708468570eaa43a349

[issue45725] test_freeze doesn't clean up after itself

2021-11-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://github.com/python/cpython/pull/29527 uses a temporary directory for the test instead that should help with the cleanup. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue45

[issue45814] Use the same function signature for datetime.time.strftime

2021-11-16 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle, xtreak ___ Python tracker <https://bugs.python.org/issue45814> ___ ___ Python-bugs-list m

[issue45826] unittest.assertRaisesRegex is broken in Python 3.11 and leading to crashing if tested regex does not match name.

2021-11-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Running it in debug build mode ./python -X dev ../bpo45826.py python: Python/suggestions.c:215: offer_suggestions_for_name_error: Assertion `frame != NULL' failed. Fatal Python error: Aborted Current t

[issue45756] mock raises exception when using a spec with an attribute that raises exception on access

2021-11-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be similar to https://bugs.python.org/issue41768 . -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue45

[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 <https://bugs.python.org/issue45

[issue45897] Frozen dataclasses with slots raise TypeError

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

[issue45930] Lambda function bug

2021-11-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is known behaviour due to binding. Please see https://docs.python.org/3/faq/programming.html#why-do-lambdas-defined-in-a-loop-with-different-values-all-return-the-same-result -- nosy: +xtreak

[issue38753] AsyncMock not cited as new in 3.8

2019-11-08 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lisroach, xtreak ___ Python tracker <https://bugs.python.org/issue38753> ___ ___ Python-bugs-list mailin

[issue38756] Add generic versions of weakref types to typing module

2019-11-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, levkivskyi ___ Python tracker <https://bugs.python.org/issue38756> ___ ___ Python-bugs-list mailin

[issue38757] mocking an exception, arguments do not seem to be passed to the mock

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

[issue38757] mocking an exception, arguments do not seem to be passed to the mock

2019-11-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Currently, the exception is not instantiated. Maybe we can check if it's callable and pass args, kwargs to the exception constructor to be raised. diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py index a48132c5b1..f5bcb911f5 100644

[issue38753] AsyncMock not cited as new in 3.8

2019-11-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: John, would you like to raise a PR for this? The fix would be to add versionadded sphinx directive to https://github.com/python/cpython/blob/master/Doc/library/unittest.mock.rst . I am marking it as easy. -- keywords: +easy, newcomer

[issue38760] Document for urllib.error.HTTPError.headers Should Specify What Version

2019-11-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. But this is a common convention across the docs to add versionadded and versionchanged directive that are rendered as new in version and changed in version with version being Python's version since docs is for CPython.

[issue38763] mock with side effect : assert_called_once returns None while call_count returns 1

2019-11-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: assert_called_once is supposed to raise an AssertionError if the mock is not called and to return None like other assert_* helpers. The return value is not supposed to be used and it's more of an assertion action where if it's None

[issue38762] Logging displays wrong "processName" if "sys.modules" is cleared in child process

2019-11-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker <https://bugs.python.org/issue38762> ___ ___ Python-bugs-list mailing list Unsub

[issue38764] Deterministic globbing.

2019-11-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue38764> ___ ___ Python-bugs-list mailin

[issue38775] Cloudpickle.py file is crashing due to data type incompatibility.

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this on Python 3.8.0 ? There was a similar report in the past with cloudpickle at https://bugs.python.org/issue36886#msg342182 due to PEP 570 with which CodeType.replace was introduced. cloudpickle also added support for this with https

[issue38774] Statements in try block still executes after raised error

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add the script without any dependencies to reproduce this? -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue36092] unittest.mock's patch.object and patch.dict are not supported on classmethod, propery and staticmethod

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Jackson for the information. I am fine with closing it as outdated and one can reopen if they need this along with reviving the removed tests in the PR. -- resolution: -> out of date stage: -> resolved status: open -&g

[issue38777] plist handling of real data type

2019-11-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ned.deily ___ Python tracker <https://bugs.python.org/issue38777> ___ ___ Python-bugs-list mailing list Unsub

[issue38763] mock with side effect : assert_called_once returns None while call_count returns 1

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think we can close this as not a bug. I don't think we need to add boolean return value of True if the assert statements are True since it's never meant to be used. I would wait for others opinion on this. -- nosy: +cjw296

[issue37855] Compiling Python 3.7.4 with Intel compilers 2019

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue37415 -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue37855> ___ ___ Python-bug

[issue35856] bundled pip syntaxwarning

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this is fixed in pip's side with requests package upgraded with https://github.com/pypa/pip/commit/785ecf476a63e00819ef1b14bc8ee758dc9c12cb#diff-9235561c186d44f2bb0eef8b7f1d57ceR3 using raw string literls. I think we can close th

[issue35666] Update design FAQ about assignment expression

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is updated with 6357c95716d89ac1f80587fbc4133df8d2e8396c . Closing this as fixed. Feel free to reopen if needed. Thanks. -- resolution: -> fixed stage: -> resolved status: open -&g

[issue35192] pathlib mkdir throws FileExistsError when not supposed to

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing this as duplicate of issue29694. I hope this is backported to Ubuntu repos and there is not much pending work to this issue. Thanks. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder:

[issue36130] Pdb(skip=[...]) + module without __name__ => TypeError

2019-11-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @blueyed, I guess the backport was not made by the bot though the label was applied for 3.7 branch. -- ___ Python tracker <https://bugs.python.org/issue36

[issue38804] Regular Expression Denial of Service in http.cookiejar

2019-11-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka, vstinner ___ Python tracker <https://bugs.python.org/issue38804> ___ ___ Python-bugs-list mailin

[issue38804] Regular Expression Denial of Service in http.cookiejar

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

[issue38775] Cloudpickle.py file is crashing due to data type incompatibility.

2019-11-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess this was fixed upstream with https://github.com/apache/spark/commit/811d563fbf60203377e8462e4fad271c1140b4fa . Please try the latest version as per the commit details. I am closing this as third party since it's not a CPython issu

[issue38826] Regular Expression Denial of Service in urllib.request.AbstractBasicAuthHandler

2019-11-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Please report security issues to secur...@python.org so that the security team can analyze and triage it to be made public. More information at https://www.python.org/news/security/ -- nosy: +xtreak

[issue38825] shutil.disk_usage - Lacking documentation

2019-11-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I modified psutil to shutil since I feel it's a typo. Please revert back if it's incorrect. -- nosy: +giampaolo.rodola, tarek, xtreak title: psutil.disk_usage - Lacking documentation -> shutil.disk_usage - Lacking

[issue38827] [security] requests (lib) connects to a wrong host

2019-11-16 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Please stop creating multiple issues with no description. The previous issue also had no description : https://bugs.python.org/issue38824 . requests module has it's own security process : https://requests.kennethreitz.org/en/master/comm

[issue38812] Comparing datetime.time objects incorrect for TZ aware and unaware

2019-11-16 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +p-ganssle ___ Python tracker <https://bugs.python.org/issue38812> ___ ___ Python-bugs-list mailing list Unsub

[issue38828] cookiejar.py broken in 3.8

2019-11-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add a sample script to reproduce this that worked fine before Python 3.8? -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue38828] http.cookiejar handle cookie.version to be None

2019-11-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: You specifically mentioned Python 3.8 and I just wanted to understand the issue to see if it's a regression. I don't see any version related code changes in recent times. Hence this is not necessarily a regression in 3.8 unless t

[issue38830] `A Qt GUI for logging` produces TypeError

2019-11-17 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker <https://bugs.python.org/issue38830> ___ ___ Python-bugs-list mailing list Unsub

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