Change by Karthikeyan Singaravelan :
--
components: -asyncio
nosy: -asvetlov, yselivanov
stage: -> resolved
status: open -> closed
title: Printer offline -> Spam
___
Python tracker
<https://bugs.python.or
Change by Karthikeyan Singaravelan :
--
nosy: +belopolsky, p-ganssle
___
Python tracker
<https://bugs.python.org/issue39103>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +barry, eli.bendersky, ethan.furman
___
Python tracker
<https://bugs.python.org/issue39102>
___
___
Python-bug
Change by Karthikeyan Singaravelan :
--
nosy: +gpolo, serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue39093>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger, steven.daprano, taleinat
___
Python tracker
<https://bugs.python.org/issue39094>
___
___
Python-bug
Karthikeyan Singaravelan added the comment:
Found Raymond's answer on the difference between __dict__ and attribute lookup
regarding descriptors to be useful here : https://stackoverflow.com/a/44600603
--
___
Python tracker
&
Karthikeyan Singaravelan added the comment:
As per the fspath PEP https://www.python.org/dev/peps/pep-0519/#c-api the below
precedence is set. So for the enum inheriting from str the object itself is
returned and MyEnum.RED.__str__ is used returning MyEnum.RED. You can remove
inheritance
Karthikeyan Singaravelan added the comment:
There seems to be a difference in obtaining the attribute out of the __dict__
and getattr. patch uses __dict__ [0] to access the attribute to be patched and
falls back to getattr. There is a difference in detecting normal attribute
access to be a
Karthikeyan Singaravelan added the comment:
Using patch as a function just returns a patch object. You need to call start
method on the patch object to return a Mock.
--
nosy: +lisroach, xtreak
___
Python tracker
<https://bugs.python.
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39075>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue39076>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
pull_requests: +17111
pull_request: https://github.com/python/cpython/pull/17642
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
nosy: +asvetlov, yselivanov
___
Python tracker
<https://bugs.python.org/issue39048>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +vstinner
___
Python tracker
<https://bugs.python.org/issue39066>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +pablogsal
___
Python tracker
<https://bugs.python.org/issue39061>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +maxking
___
Python tracker
<https://bugs.python.org/issue39040>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39046>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +mark.dickinson, rhettinger, stutzbach
___
Python tracker
<https://bugs.python.org/issue39043>
___
___
Python-bug
Karthikeyan Singaravelan added the comment:
Thanks Mario. I think the last patch attached to the issue is complete with
tests and needs to be updated master. Feel free to raise a PR.
--
___
Python tracker
<https://bugs.python.org/issue21
Change by Karthikeyan Singaravelan :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Karthikeyan Singaravelan :
--
nosy: +ethan.furman
___
Python tracker
<https://bugs.python.org/issue39038>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +ethan.furman
___
Python tracker
<https://bugs.python.org/issue39039>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
keywords: +patch
pull_requests: +17060
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17588
___
Python tracker
<https://bugs.python.org/issu
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue27197>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue27341>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
create_autospec already does recursive spec setting on the class and it has the
attributes/methods mocked to retain attributes but doesn't copy the metadata of
the original methods to the mock itself. I am not sure spec_set needs to do
more
Karthikeyan Singaravelan added the comment:
Sure Serhiy, I will create one.
--
___
Python tracker
<https://bugs.python.org/issue39033>
___
___
Python-bugs-list m
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue32952>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
This sounds like a good idea given the docs and the general agreement in the
thread. I would like to target this for 3.9 . Differentiation between the
normal patches and the ones from patch.dict is nice but given that docstring
indicates LIFO for
Change by Karthikeyan Singaravelan :
--
components: +asyncio
nosy: +asvetlov, yselivanov
___
Python tracker
<https://bugs.python.org/issue39034>
___
___
Pytho
Karthikeyan Singaravelan added the comment:
Ma Lin, Running pylint/flake8 could possibly detect it but needs to be manually
checked. issue36948 was a similar report I filed in the past using flake8
regarding NameError.
pylint - Lib/zipimport.py:611:20: E0602: Undefined variable
Karthikeyan Singaravelan added the comment:
Also since the fix involves modifying zipimport.py it would also require
running "make regen-importlib && make -s" for changes to ensure the updated
regen code is used.
--
___
Pyth
Karthikeyan Singaravelan added the comment:
A possible test case to trigger this code path based on
testUncheckedHashBasedPyc would be as below. check_hash_based_pycs can be
patched to be "always" so that the hash is validated using
_bootstrap_external._validate_hash_pyc. The
Change by Karthikeyan Singaravelan :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue39033>
___
___
Python-bugs-list mailin
New submission from Karthikeyan Singaravelan :
I can reproduce frequently the failure of test_clean on my Mac machine. It
checks for removal of foo_path. It's removed by Maildir.clean that removes
files based on the access time as below. The test also does similar thing with
os.
Karthikeyan Singaravelan added the comment:
One more resource warning about unclosed resource being garbage collected. As
per the other tests I think transport and protocol need to be closed as per
below patch but someone can verify if it's the right approach.
./python.exe -X tracem
Karthikeyan Singaravelan added the comment:
The fix seems to generate few DeprecationWarning while running test suite with
-Wall.
➜ cpython git:(master) git checkout ab513a38c98695f271e448fe2cb7c5e39eef~1
Lib/asyncio
Updated 1 path from 4fb4056fbc
➜ cpython git:(master) ✗ ./python.exe
Karthikeyan Singaravelan added the comment:
Bisecting gives me the commit as da6ce58dd5ac109485af45878fca6bfd265b43e9 where
exception message is improved with issue36993
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.
Karthikeyan Singaravelan added the comment:
master produces the below error while 3.8.0 produces IndexError. I guess it's
fixed by one of the reports.
./python ../backups/bpo39018.py
../crash-23b7d72644702df94bfcfaab4c25b01ff31c0b38
Traceback (most recent call last):
File "/h
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39015>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue28249>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
Thanks for the confirmation. The issue was found after 3.8.0 release. The fix
is in 3.8.1RC1 and will be made as 3.8.1 in couple of weeks. Normally
regressions are not listed at downloads page but are tagged as regression in
the tracker like the
Karthikeyan Singaravelan added the comment:
This seems to be same as issue38640 . Can you please try 3.8.1RC1 to see if
it's fixed?
https://www.python.org/downloads/release/python-381rc1/
--
nosy: +xtreak
___
Python tracker
&
Karthikeyan Singaravelan added the comment:
Is it different from the defaults parameter added in 3.7 with
https://github.com/python/cpython/commit/3948207c610e931831828d33aaef258185df31db
. The linked pypi package seems to do the same thing.
--
nosy: +xtreak
Change by Karthikeyan Singaravelan :
--
nosy: +brett.cannon, pitrou
___
Python tracker
<https://bugs.python.org/issue38990>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
Similar past report : issue31007
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38887>
___
___
Change by Karthikeyan Singaravelan :
--
nosy: +davin
___
Python tracker
<https://bugs.python.org/issue38973>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
It's not necessarily the first line. The code is executed with the context of
the given file. Hence the corresponding line number of error from traceback
with respect to file is printed.
$ cat /tmp/passwd
line 1
line 2
line 3
line 4
$ pytho
Karthikeyan Singaravelan added the comment:
https://bugs.python.org/issue38544#msg355041 seems like a related old report
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38
Karthikeyan Singaravelan added the comment:
>From Python 3.8, type_ignores is also mandatory for ast.Module as discussed in
>issue35894 which also needs to be fixed in the module. Closing this as third
>party as I don't see any apparent regression here in 3.8.
---
Karthikeyan Singaravelan added the comment:
This issue tracker is for issues related to CPython. Please report this to the
respective issue tracker at https://bitbucket.org/ericvsmith/namedlist/issues.
The error message looks related to handling positional only arguments that
needs to be
Karthikeyan Singaravelan added the comment:
I think this is same as https://bugs.python.org/issue26072#msg277578 and is
reproducible with below sample script without depending on turbogears. The
attached patch in the issue fixes this. Try using interact command from pdb as
a workaround
Karthikeyan Singaravelan added the comment:
Ah okay, thanks for the detail. Forgot there should be an open file handle to
be returned by codecs.open
--
___
Python tracker
<https://bugs.python.org/issue38
Karthikeyan Singaravelan added the comment:
Does using with block similar to https://bugs.python.org/issue22831 solve this
problem?
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue38
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38971>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
components: +Tests
nosy: +vstinner
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue38965>
___
_
Karthikeyan Singaravelan added the comment:
Error message changes in code are normally not backported to older versions so
I have changed the subject accordingly and tagged 3.9. Thanks.
--
assignee: docs@python ->
components: +Library (Lib) -Documentation
nosy: +xtreak
ti
Karthikeyan Singaravelan added the comment:
This is same as doing the below with list1 getting a reference of list2.
Assignments in Python don't copy the value but make a reference. This is not an
issue specific to IDLE as tagged and has the same behaviour under a normal REPL.
Change by Karthikeyan Singaravelan :
--
nosy: +eric.smith
___
Python tracker
<https://bugs.python.org/issue38964>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +paul.j3, rhettinger
___
Python tracker
<https://bugs.python.org/issue38956>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue31807>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +eryksun
___
Python tracker
<https://bugs.python.org/issue31842>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
This looks like a duplicate of issue35019.
--
nosy: +xtreak
type: -> enhancement
versions: +Python 3.9 -Python 3.5, Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.pyth
Karthikeyan Singaravelan added the comment:
Closing this as fixed. Thanks.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Karthikeyan Singaravelan :
--
nosy: +eric.smith
___
Python tracker
<https://bugs.python.org/issue38947>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
components: +XML
nosy: +scoder
___
Python tracker
<https://bugs.python.org/issue38941>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
Maybe you are looking for floor division?
https://docs.python.org/3.3/reference/expressions.html#binary-arithmetic-operations
> The / (division) and // (floor division) operators yield the quotient of
> their arguments. The numeric argumen
Karthikeyan Singaravelan added the comment:
> Yes, exactly the same behaviour, but arguing that normpath() can take a
> pathlib object is just saying that it saves you from doing an intermediate
> str(), which is, well, nice, but still not pretty. Consider `mypath =
> mypath.nor
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue38938>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
> Note that the _file attribute may be TextIOWrapper after rollover() anyway
> and the rollover() may be called implicitly.
The code depending on the specific type of the _file is fragile at first.
Okay, thanks for the
Karthikeyan Singaravelan added the comment:
This could also help in understanding late binding that happens with the
lambdas in the report :
https://docs.python-guide.org/writing/gotchas/#late-binding-closures
--
nosy: +xtreak
___
Python tracker
Karthikeyan Singaravelan added the comment:
Do we need to explicitly document the return value change of _file which is
documented with a separate versionchanged directive for 3.7 and 3.8? Code like
below could fail in them since TextIOWrapper doesn't have getvalue attribute as
the
Karthikeyan Singaravelan added the comment:
Thanks Vegard for the report. The docs say "Child mocks and the return value
mock (if any) are reset as well." so it makes sense to me to reset the
return_value and side_effect of children. But as mentioned in the PR it's a
behavi
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38932>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38854>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
Can you please add an example of how normalize() should behave? I assume you
want the same behaviour as os.path.normpath which already accepts a pathlike
object to be added to pathlib.
--
nosy: +xtreak
Karthikeyan Singaravelan added the comment:
Can you please attach a simple script to reproduce the issue?
--
nosy: +vinay.sajip, xtreak
___
Python tracker
<https://bugs.python.org/issue38
Karthikeyan Singaravelan added the comment:
This needs to be discussed on python-ideas mailing list. Inplace operation for
walrus operator like :*= feels difficulty to read than (x := x * 2) and would
require changes to grammar.
--
nosy: +xtreak
Karthikeyan Singaravelan added the comment:
Thanks David for the report and patch.
--
nosy: +xtreak
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue34716>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
This seems more like an issue with lxml.
--
nosy: +scoder, xtreak
___
Python tracker
<https://bugs.python.org/issue38
Karthikeyan Singaravelan added the comment:
> This is already done in master branch ;)
Thanks, I noticed the speed improvement in master and 3.7 but assumed it's due
to some other optimisation in master.
> Do you mind if I create PR for it? I would like to start contributing to
Karthikeyan Singaravelan added the comment:
Another point is that _spec_asyncs is a list of attributes that pass
asyncio.iscoroutinefunction which could be also little expensive [0]. The check
is made for the attribute to be async only when the child mock is created to
return an AsyncMock
Karthikeyan Singaravelan added the comment:
Thanks Marcel for the pointer. I can confirm the performance impact. This
occurs in the common case where not being an AsyncMock the signature of
NonCallableMock.__init__ is created every time and then bind_partial is used to
detect the spec being
Change by Karthikeyan Singaravelan :
--
nosy: +eryksun
___
Python tracker
<https://bugs.python.org/issue38905>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38901>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38878>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38895>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
IIUC, there was a similar discussion on negative weights and all weights being
zero to raise ValueError at https://bugs.python.org/issue18844#msg196252
--
nosy: +xtreak
___
Python tracker
<ht
Change by Karthikeyan Singaravelan :
Removed file:
https://bugs.python.org/file48739/TransactionHistory-79b28f7d5748ad20cb8afb107f00330adbcd6d81.csv
___
Python tracker
<https://bugs.python.org/issue24
Change by Karthikeyan Singaravelan :
--
components: -2to3 (2.x to 3.x conversion tool)
type: resource usage -> enhancement
versions: -Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.pyth
Karthikeyan Singaravelan added the comment:
Closing as fixed since PRs are merged. Thanks Alex for the report and
@Claudiu.Popa for the patch.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Pytho
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue38881>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38859>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +paul.j3, rhettinger
___
Python tracker
<https://bugs.python.org/issue38843>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +mdk
___
Python tracker
<https://bugs.python.org/issue38836>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +vinay.sajip
___
Python tracker
<https://bugs.python.org/issue38830>
___
___
Python-bugs-list mailing list
Unsub
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
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
Change by Karthikeyan Singaravelan :
--
nosy: +p-ganssle
___
Python tracker
<https://bugs.python.org/issue38812>
___
___
Python-bugs-list mailing list
Unsub
901 - 1000 of 3092 matches
Mail list logo