Change by Karthikeyan Singaravelan :
--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
___
Python tracker
<https://bugs.python.org/issue44
Change by Karthikeyan Singaravelan :
--
nosy: +eric.smith
___
Python tracker
<https://bugs.python.org/issue44365>
___
___
Python-bugs-list mailing list
Unsub
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
Change by Karthikeyan Singaravelan :
--
nosy: +facundobatista, mark.dickinson, rhettinger
___
Python tracker
<https://bugs.python.org/issue44267>
___
___
Pytho
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
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
Change by Karthikeyan Singaravelan :
--
nosy: +jaraco
___
Python tracker
<https://bugs.python.org/issue44246>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue44185>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
___
Python tracker
<https://bugs.python.org/issue44
Change by Karthikeyan Singaravelan :
--
components: +macOS
nosy: +ned.deily, ronaldoussoren
___
Python tracker
<https://bugs.python.org/issue44183>
___
___
Pytho
Change by Karthikeyan Singaravelan :
--
nosy: +pablogsal
___
Python tracker
<https://bugs.python.org/issue44166>
___
___
Python-bugs-list mailing list
Unsub
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
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
Change by Karthikeyan Singaravelan :
--
nosy: +jaraco
___
Python tracker
<https://bugs.python.org/issue44095>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +petr.viktorin
___
Python tracker
<https://bugs.python.org/issue44089>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +gvanrossum, levkivskyi
___
Python tracker
<https://bugs.python.org/issue44057>
___
___
Python-bugs-list mailin
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
Karthikeyan Singaravelan added the comment:
Looks like a duplicate of https://bugs.python.org/issue16385
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue44
Change by Karthikeyan Singaravelan :
--
nosy: +barry, eli.bendersky, ethan.furman
___
Python tracker
<https://bugs.python.org/issue44021>
___
___
Python-bug
Change by Karthikeyan Singaravelan :
--
nosy: +mark.dickinson, rhettinger
___
Python tracker
<https://bugs.python.org/issue44018>
___
___
Python-bugs-list mailin
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: ()>>
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
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
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
Change by Karthikeyan Singaravelan :
--
nosy: +ethan.furman
___
Python tracker
<https://bugs.python.org/issue44014>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +pablogsal
___
Python tracker
<https://bugs.python.org/issue44011>
___
___
Python-bugs-list mailing list
Unsub
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
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
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
Change by Karthikeyan Singaravelan :
--
nosy: +pitrou
___
Python tracker
<https://bugs.python.org/issue43907>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +paul.j3, rhettinger
___
Python tracker
<https://bugs.python.org/issue43904>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue43883>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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.
Karthikeyan Singaravelan added the comment:
See also https://bugs.python.org/issue34624
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue43
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger, tim.peters
___
Python tracker
<https://bugs.python.org/issue43861>
___
___
Python-bugs-list mailin
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
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
Karthikeyan Singaravelan added the comment:
This is a duplicate of https://bugs.python.org/issue43825.
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue43
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
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
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
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
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.
Change by Karthikeyan Singaravelan :
--
pull_requests: +24111
pull_request: https://github.com/python/cpython/pull/25379
___
Python tracker
<https://bugs.python.org/issue41
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue43817>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
components: +C API
___
Python tracker
<https://bugs.python.org/issue43816>
___
___
Python-bugs-list mailing list
Unsub
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
Change by Karthikeyan Singaravelan :
--
pull_requests: +24087
pull_request: https://github.com/python/cpython/pull/25352
___
Python tracker
<https://bugs.python.org/issue41
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
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
Change by Karthikeyan Singaravelan :
--
nosy: +methane
___
Python tracker
<https://bugs.python.org/issue41486>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue43785>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Karthikeyan Singaravelan :
--
nosy: +gvanrossum, levkivskyi
___
Python tracker
<https://bugs.python.org/issue43772>
___
___
Python-bugs-list mailin
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
Change by Karthikeyan Singaravelan :
--
nosy: +eric.smith
___
Python tracker
<https://bugs.python.org/issue43761>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +vinay.sajip
___
Python tracker
<https://bugs.python.org/issue43758>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +gvanrossum, lys.nikolaou, pablogsal
___
Python tracker
<https://bugs.python.org/issue43755>
___
___
Python-bug
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
Change by Karthikeyan Singaravelan :
--
nosy: +gvanrossum, lys.nikolaou, pablogsal
___
Python tracker
<https://bugs.python.org/issue43748>
___
___
Python-bug
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.
Change by Karthikeyan Singaravelan :
--
nosy: +barry, eli.bendersky, ethan.furman
___
Python tracker
<https://bugs.python.org/issue43744>
___
___
Python-bug
Change by Karthikeyan Singaravelan :
--
nosy: +vinay.sajip
___
Python tracker
<https://bugs.python.org/issue43731>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +ethan.furman
___
Python tracker
<https://bugs.python.org/issue43711>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +Mark.Shannon, lukasz.langa
___
Python tracker
<https://bugs.python.org/issue43710>
___
___
Python-bugs-list mailin
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
Change by Karthikeyan Singaravelan :
--
nosy: +eli.bendersky, scoder, serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue43703>
___
___
Python-bug
Change by Karthikeyan Singaravelan :
--
nosy: +tim.peters
___
Python tracker
<https://bugs.python.org/issue43689>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue43681>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue43632>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +mark.dickinson, rhettinger
___
Python tracker
<https://bugs.python.org/issue43628>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue43596>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue43575>
___
___
Python-bugs-list mailing list
Unsub
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
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
Change by Karthikeyan Singaravelan :
--
nosy: +gvanrossum, lys.nikolaou, pablogsal
___
Python tracker
<https://bugs.python.org/issue43555>
___
___
Python-bug
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue43535>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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.
Change by Karthikeyan Singaravelan :
--
nosy: +bquinlan, pitrou
___
Python tracker
<https://bugs.python.org/issue43498>
___
___
Python-bugs-list mailin
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
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
Change by Karthikeyan Singaravelan :
--
nosy: +cjw296, lisroach, mariocj89, michael.foord
___
Python tracker
<https://bugs.python.org/issue43478>
___
___
Pytho
Change by Karthikeyan Singaravelan :
--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
___
Python tracker
<https://bugs.python.org/issue43
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue43478>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +tim.peters
___
Python tracker
<https://bugs.python.org/issue43473>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
components: +macOS
nosy: +ned.deily, ronaldoussoren
___
Python tracker
<https://bugs.python.org/issue43470>
___
___
Pytho
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue43468>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue43464>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue43436>
___
___
Python-bugs-list mailing list
Unsub
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
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue43427>
___
___
Python-bugs-list mailing list
Unsub
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
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
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
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
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
101 - 200 of 3093 matches
Mail list logo