Change by Karthikeyan Singaravelan :
--
nosy: +belopolsky, p-ganssle
___
Python tracker
<https://bugs.python.org/issue42371>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +barry, eli.bendersky, ethan.furman
___
Python tracker
<https://bugs.python.org/issue42385>
___
___
Python-bug
Karthikeyan Singaravelan added the comment:
See also https://bugs.python.org/issue28054
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue15
Change by Karthikeyan Singaravelan :
--
nosy: +eric.smith
___
Python tracker
<https://bugs.python.org/issue42414>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue42450>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
This was proposed earlier : https://bugs.python.org/issue39352
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue42
Karthikeyan Singaravelan added the comment:
Please don't attach images since text will have better accessibility for
readers. The expression is as below and is a result of operator precedence :
https://docs.python.org/3/reference/expressions.html#operator-precedence
>>> 7+3==1
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue42470>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
My analysis was that close was called on fakesocket which is internally closed
when it's counter resets to zero and the destructor was trying to flush on a
closed object during destructor call.
Comment from https://bugs.python.org/issue
New submission from Karthikeyan Singaravelan :
In issue27485 the deprecated functions were replaced with underscore prefixed
ones due to which imports where modified. Some of the places where not changed
causing NameError in using urllib.request.URLopener.retrieve for local files
and non
Change by Karthikeyan Singaravelan :
--
keywords: +patch
pull_requests: +13297
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issu
Karthikeyan Singaravelan added the comment:
Relevant PR and discussion : https://github.com/python/cpython/pull/10596 . pip
is incompatible due to the vendored copy of html5lib that needs a new release .
--
nosy: +xtreak
___
Python tracker
<ht
Change by Karthikeyan Singaravelan :
--
nosy: +scoder
___
Python tracker
<https://bugs.python.org/issue36954>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
See also issue36845 that seems to have fixed this.
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue35
Change by Karthikeyan Singaravelan :
--
nosy: +p-ganssle
___
Python tracker
<https://bugs.python.org/issue36959>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
Is this same as issue35328?
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue36966>
___
___
Pytho
Change by Karthikeyan Singaravelan :
--
superseder: -> Set a environment variable for venv prompt
___
Python tracker
<https://bugs.python.org/issu
Change by Karthikeyan Singaravelan :
--
pull_requests: +13336
stage: commit review -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Karthikeyan Singaravelan :
--
pull_requests: +13337
___
Python tracker
<https://bugs.python.org/issue35647>
___
___
Python-bugs-list mailing list
Unsub
New submission from Karthikeyan Singaravelan :
test_json results in stack overflow after the commit to implement __repr__ for
weakset. This is very much similar to the one consistently occurring on my
inspect module PR in Windows tests only for the past two weeks. My change was
in changing
Karthikeyan Singaravelan added the comment:
See also issue36910 which seems to be similar report on non-ascii
Content-Transfer-Encoding which is present in the reported file0 file too.
--
components: +email
nosy: +barry, maxking, msapiro, r.david.murray, xtreak
Change by Karthikeyan Singaravelan :
--
nosy: +davin
___
Python tracker
<https://bugs.python.org/issue36977>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +gvanrossum, levkivskyi
___
Python tracker
<https://bugs.python.org/issue36983>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
I have seen it occurring consistently in my PR 10307 in Travis and AppVeyor. It
seems to be reproducible by importing ast at the top in inspect module which
seems to have an effect as libregrtest is used to run the test_json. Using
unittest module
New submission from Karthikeyan Singaravelan :
I came across this while using AsyncMock but it seems to apply to
Mock/MagicMock too. When patch decorator is used to wrap an async function to
mock sync or async functions it doesn't seem to work. Manually adding patcher
or using pat
Karthikeyan Singaravelan added the comment:
> Are the correct methods advertised in the right place? (I don’t use mock so
> I forgot if there is a method to assert not called or if it’s
> assertEqual(mock calls count, 0) or some False property)
There is assert_not_call
Karthikeyan Singaravelan added the comment:
See also issue19376. This behavior is now documented with
https://github.com/python/cpython/commit/56027ccd6b9dab4a090e4fef8574933fb9a36ff2
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.
Karthikeyan Singaravelan added the comment:
Thanks @asvetlov for the explanation. I tried the patch and it works fine for
my example with no test failures for mock. I will try to make a PR. Only
func(*args, **keywargs) needs to be changed and await requires an async
function which I seem to
Change by Karthikeyan Singaravelan :
--
nosy: +tim.peters
___
Python tracker
<https://bugs.python.org/issue37004>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
Thank you David and Berker.
--
___
Python tracker
<https://bugs.python.org/issue36948>
___
___
Python-bugs-list m
New submission from Karthikeyan Singaravelan :
Since issue34616 is merged that allows using compile flags to support top level
await statements I think it would be good to add support for top level await in
doctest. This would help in concise examples in docs where await statements
need to
Karthikeyan Singaravelan added the comment:
I tried using AsyncioDocTestRunner that inherits from DocTestRunner and most of
the current DocTestRunner is synchronous and the execution happens in __run
that seems to cause problem due to name mangling inheriting and changing it.
Also python -m
Change by Karthikeyan Singaravelan :
--
nosy: +cjw296, lisroach, mariocj89, michael.foord
versions: -Python 3.7
___
Python tracker
<https://bugs.python.org/issue37
Karthikeyan Singaravelan added the comment:
This seems to occur rather commonly now such that it fails and then passes on
verbose run. Example :
https://dev.azure.com/Python/cpython/_build/results?buildId=43325&view=logs&j=c83831cd-3752-5cc7-2f01-8276919eb334&t=5a421c4a-09
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue37015>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
Not sure if it helps. Set backlog in the below test as 1. Add a print statement
print(type(_mock_call)) at [0] . I could see some of _mock_call to be AsyncMock
. So instead of calling return _mock_self._mock_call(*args, **kwargs) directly
if I
Karthikeyan Singaravelan added the comment:
patching _accept_connection2 attribute on loop object seems to return an
AsyncMock.
➜ cpython git:(master) ✗ cat ../backups/bpo37015.py
import asyncio
from unittest.mock import patch
with patch.object(asyncio.get_event_loop(), '_accept_connec
Karthikeyan Singaravelan added the comment:
I guess cause is at [0] . When there is no new value specified and with spec
being None if mock.patch is used on an async object (original =
_accept_connection2). Here original is an async object then AsyncMock is
returned.
Changing this causes
Karthikeyan Singaravelan added the comment:
Could test.support.catch_unraisable_exception also be documented at
https://docs.python.org/3/library/test.html#module-test.support ?
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.
Karthikeyan Singaravelan added the comment:
Relevant doc : https://docs.python.org/3/tutorial/floatingpoint.html
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue37
Change by Karthikeyan Singaravelan :
--
nosy: +berker.peksag
___
Python tracker
<https://bugs.python.org/issue37024>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue37028>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue35753>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
This logic is present in create_autospec too at [0]. The behavior for patch
seems to be documented at [1] which also needs to be updated to reflect that an
AsyncMock by default is created instead of MagicMock if the target is an async
function
Karthikeyan Singaravelan added the comment:
I believe this PR at least addresses the concern raised at [0] to provide a way
where internal and undocumented commands can be hidden from the user.
[0] https://bugs.python.org/issue13214#msg309788
--
nosy: +xtreak
Karthikeyan Singaravelan added the comment:
@asvetlov No problem then if it can be fixed after beta.
--
___
Python tracker
<https://bugs.python.org/issue37
Change by Karthikeyan Singaravelan :
--
keywords: +patch
pull_requests: +13473
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/13562
___
Python tracker
<https://bugs.python.org/issu
New submission from Karthikeyan Singaravelan :
* In create_autospec there is some logic to detect if the function is an async
function this could be refactored out as a private function.
* create_autospec has initialization code for async mock. For synchronous
functions this is done with
Change by Karthikeyan Singaravelan :
--
keywords: +patch
pull_requests: +13482
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/13574
___
Python tracker
<https://bugs.python.org/issu
New submission from Karthikeyan Singaravelan :
Since issue26467 implemented AsyncMock along with async dunder methods for
MagicMock it enables users to mock async for and async with statements.
Currently examples of how to use this is present only in tests and would be
good to add it to docs
Karthikeyan Singaravelan added the comment:
See also https://bugs.python.org/issue37053
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue37
Karthikeyan Singaravelan added the comment:
> The actual bug appears to be "doctest can't run on a module that contains
> un-unwrappable objects"
Is it the below example scenario being discussed in the issue? Since call is
imported it's also present in obj.__
Karthikeyan Singaravelan added the comment:
See also https://github.com/python/cpython/pull/13579 that replaces self.warn
with self.logger.warn in Doc/tools/extensions/suspicious.py
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.
Change by Karthikeyan Singaravelan :
--
nosy: +ethan.furman
___
Python tracker
<https://bugs.python.org/issue37062>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +eric.smith
___
Python tracker
<https://bugs.python.org/issue37065>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
Related open issue : issue34364. Also issue29051 which was closed as duplicate
of issue34364.
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue37
Change by Karthikeyan Singaravelan :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue37066>
___
___
Pyth
New submission from Karthikeyan Singaravelan :
* assert_has_awaits has a comma in between the error message string used in
AssertionError and hence error is raised as a tuple instead of a string.
import asyncio
from unittest.mock import AsyncMock, call
async def main():
a = AsyncMock
Change by Karthikeyan Singaravelan :
--
keywords: +patch
pull_requests: +13518
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/13616
___
Python tracker
<https://bugs.python.org/issu
Change by Karthikeyan Singaravelan :
--
stage: -> resolved
status: open -> closed
title: norton login -> spam
___
Python tracker
<https://bugs.python.or
Change by Karthikeyan Singaravelan :
--
nosy: +emilyemorehouse
___
Python tracker
<https://bugs.python.org/issue37082>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
Seems this was added in db7b6b95828c25df6f428bc21a5d6d1cb68287a0 (2009) and
wasn't updated from then.
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/is
Karthikeyan Singaravelan added the comment:
test_stream_shutdown_hung_task_prevents_cancellation was added as part of this
issue. Seems to be a random error :
https://ci.appveyor.com/project/python/cpython/builds/24901585
Change by Karthikeyan Singaravelan :
--
keywords: +patch
pull_requests: +13552
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/13661
___
Python tracker
<https://bugs.python.org/issu
Change by Karthikeyan Singaravelan :
--
nosy: +lars.gustaebel, serhiy.storchaka
versions: +Python 3.8, Python 3.9 -Python 3.7
___
Python tracker
<https://bugs.python.org/issue37
Change by Karthikeyan Singaravelan :
--
nosy: +gregory.p.smith
___
Python tracker
<https://bugs.python.org/issue37091>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
This change seems to have created some compile time warnings :
https://buildbot.python.org/all/#/builders/103/builds/2544/steps/3/logs/warnings__6_
Python/pystrhex.c:18:45: warning: passing argument 1 of ‘PyObject_Size’
discards ‘const’ qualifier
New submission from Karthikeyan Singaravelan :
In PR 13245 getfullargspec was undeprecated. But functions like getargspec and
formatargspec still have deprecation warnings in code. As part of the PR code
to ignore these warnings in test were also removed though the actual warning
remains in
Change by Karthikeyan Singaravelan :
--
keywords: +patch
pull_requests: +13567
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/13679
___
Python tracker
<https://bugs.python.org/issu
New submission from Karthikeyan Singaravelan :
Running test_coroutines under -Werror raises error. It seems ZeroDivisionError
is expected and RuntimeWarning is raised and happens only under -Werror. This
test was added with e4d300e07c3 .
./python.exe -Werror -m test test_coroutines
Run tests
Change by Karthikeyan Singaravelan :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Karthikeyan Singaravelan added the comment:
The coroutine is not awaited in the test and generates a RuntimeWarning. Since
I used -Werror I guess the warning was converted to an error and thus replacing
ZeroDivisionError in the support.catch_unraisable_exception context manager
Karthikeyan Singaravelan added the comment:
Please consider posting text content instead of images for better
accessibility. This could be due to issue29995.
➜ cpython git:(master) python3.6
Python 3.6.4 (default, Mar 12 2018, 13:42:53)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81
Karthikeyan Singaravelan added the comment:
See also issue25521
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue37103>
___
___
Python-bug
Karthikeyan Singaravelan added the comment:
It's a behavior change from 3.6 and it's present from 3.7.0a1
--
___
Python tracker
<https://bugs.python.o
Karthikeyan Singaravelan added the comment:
Is this same as issue25735 ?
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue37109>
___
___
Pytho
Change by Karthikeyan Singaravelan :
--
resolution: -> duplicate
superseder: -> math.factorial doc should mention integer return type
___
Python tracker
<https://bugs.python.org/i
Change by Karthikeyan Singaravelan :
--
nosy: +pablogsal
___
Python tracker
<https://bugs.python.org/issue37116>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
https://docs.python.org/3/library/stdtypes.html#dictionary-view-objects
> Keys views are set-like since their entries are unique and hashable. If all
> values are hashable, so that (key, value) pairs are unique and hashable, then
> the i
Karthikeyan Singaravelan added the comment:
I couldn't find the traceback for test_venv in the buildbot logs. They were
skipped and fixed as part of issue35978.
--
components: +Tests
nosy: +xtreak
type: -> behavior
versions: +Py
Karthikeyan Singaravelan added the comment:
Also seems to occur on Ubuntu :
https://buildbot.python.org/all/#/builders/141/builds/1912/steps/5/logs/stdio
karthi@ubuntu-s-1vcpu-1gb-blr1-01:~/cpython$ ./python -m unittest
test.test_asyncio.test_unix_events
...Exception in
Karthikeyan Singaravelan added the comment:
It seems the assertion has to use ThreadedChildWatcher instead of
SafeChildWatcher as the default seems to be changed at [0] . If changing
assertion fixes the test I am curious why it didn't fail in the primary CI.
[0]
https://github.com/p
Change by Karthikeyan Singaravelan :
--
pull_requests: +13643
pull_request: https://github.com/python/cpython/pull/13745
___
Python tracker
<https://bugs.python.org/issue33
Change by Karthikeyan Singaravelan :
--
components: +asyncio
nosy: +asvetlov, yselivanov
___
Python tracker
<https://bugs.python.org/issue37142>
___
___
Pytho
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
versions: -Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.org/issue37145>
___
___
Pytho
Karthikeyan Singaravelan added the comment:
I created a post about it for discussion [0]. There is no consensus on the
format and to modify the existing debugging notation. There were also
suggestions to include a builtin function (dbg) like breakpoint() that does
this. I guess
Karthikeyan Singaravelan added the comment:
A copy of the URL is present in archive.org [0] . Perhaps the docs could be
updated with it.
[0]
https://web.archive.org/web/20190524140835/https://infohost.nmt.edu/tcc/help/pubs/tkinter/web/index.html
--
nosy: +xtreak
versions: -Python
Karthikeyan Singaravelan added the comment:
> Can someone try to backport the fix to Python 2.7?
The backport to 2.7 PR 13426 is open. It would be helpful if someone can review
it. I am not sure of the commit review process and who needs to review and
approve it since this is assigned
Karthikeyan Singaravelan added the comment:
> Python 2.7 is still affected, right? Is there someone interested to backport
> the fix?
PR 13427 fixes the issue in 2.7 :)
--
___
Python tracker
<https://bugs.python.org/i
Karthikeyan Singaravelan added the comment:
This still seems to hang and timeout after 25 minutes :
https://buildbot.python.org/all/#/builders/168/builds/1151/steps/5/logs/stdio
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.
Change by Karthikeyan Singaravelan :
--
nosy: +paul.j3
___
Python tracker
<https://bugs.python.org/issue37150>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
This was documented in c45cd167d403d7d98078d5fc4a37b16195dc7a35 but it seems a
test for opening gzip file with 'w|gz' mode as in the original report was
missing.
--
nosy: +lars.gustaebel, serhiy.storchaka, xtreak
versions: +
Change by Karthikeyan Singaravelan :
--
nosy: +barry, jaraco
___
Python tracker
<https://bugs.python.org/issue37162>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Karthikeyan Singaravelan added the comment:
The jira issue in pyside2 is closed as fixed. I am closing this as third party.
--
resolution: -> third party
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bug
Karthikeyan Singaravelan added the comment:
Closing this as resolved since this is merged for 3.8. Thank you all.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bug
Karthikeyan Singaravelan added the comment:
call objects inherit from tuple and here the reported argument is a dict with 3
items returning len of 3. I am closing this as part of triaging since there is
no additional information from @snakevil on reproducing this. Feel free to
reopen this
Change by Karthikeyan Singaravelan :
--
nosy: +vstinner
___
Python tracker
<https://bugs.python.org/issue37169>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
Is this different from the docs at
https://docs.python.org/3/library/contextvars.html#contextvars.Context.run?
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue37
Change by Karthikeyan Singaravelan :
--
nosy: +gregory.p.smith
___
Python tracker
<https://bugs.python.org/issue37184>
___
___
Python-bugs-list mailing list
Unsub
1301 - 1400 of 3092 matches
Mail list logo