Karthikeyan Singaravelan added the comment:
As explained copy would cause backwards incompatible change on objects that
depend on identity comparison. I am not sure if this can be fixed in a
backwards compatible manner.
> One possibility would be for mock to copy the arguments you pass
Karthikeyan Singaravelan added the comment:
See also https://bugs.python.org/issue28848
--
___
Python tracker
<https://bugs.python.org/issue38346>
___
___
Pytho
Change by Karthikeyan Singaravelan :
--
nosy: +vinay.sajip
___
Python tracker
<https://bugs.python.org/issue38354>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +gvanrossum, levkivskyi
___
Python tracker
<https://bugs.python.org/issue38352>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
Using "is" could be dependent on how the string is interned to refer to the
same string during comparison for identity. Using == is more reliable and
correct.
--
nosy: +xtreak
___
Python track
Change by Karthikeyan Singaravelan :
--
nosy: +asvetlov, yselivanov
___
Python tracker
<https://bugs.python.org/issue38364>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
I am adding 3.8 regression since the report says 3.8.0b4 works and segfaults
with 3.8.0RC1.
--
keywords: +3.8regression
nosy: +lukasz.langa, xtreak
___
Python tracker
<https://bugs.python.org/issue38
Change by Karthikeyan Singaravelan :
--
nosy: +ethan.furman
___
Python tracker
<https://bugs.python.org/issue38375>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
https://docs.python.org/3/library/enum.html#allowed-members-and-attributes-of-enumerations
> The rules for what is allowed are as follows: names that start and end with a
> single underscore are reserved by enum and cannot be used; all
Karthikeyan Singaravelan added the comment:
Some relevant threads
*
https://stackoverflow.com/questions/40338652/how-to-define-enum-values-that-are-functions
* https://mail.python.org/pipermail/python-ideas/2017-April/045428.html
--
___
Python
Karthikeyan Singaravelan added the comment:
I think this can be closed since https://bugs.python.org/issue25988 has the PR
merged.
--
nosy: +serhiy.storchaka, xtreak
___
Python tracker
<https://bugs.python.org/issue37
Karthikeyan Singaravelan added the comment:
The removal was done in https://bugs.python.org/issue25988 . Given that the
version in warning message was updated I guess this can be closed.
--
___
Python tracker
<https://bugs.python.org/issue36
Change by Karthikeyan Singaravelan :
--
nosy: +levkivskyi
___
Python tracker
<https://bugs.python.org/issue38396>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
I think this is due to str bytes concatenation error on line number 19. Editing
and reimporting doesn't give you new code in repl. Try the changes in new repl
after changing it in file. Python will just use unchanged code and will use
line n
Change by Karthikeyan Singaravelan :
--
nosy: +pitrou
___
Python tracker
<https://bugs.python.org/issue38388>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +eric.smith
___
Python tracker
<https://bugs.python.org/issue38401>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +steve.dower
___
Python tracker
<https://bugs.python.org/issue38410>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
Thanks for the patch and report. CPython now accepts GitHub pull requests
https://devguide.python.org/pullrequest/
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38
Karthikeyan Singaravelan added the comment:
Can you please add a description of the expected behavior? Does
skipinitialspace help with the second input?
https://docs.python.org/3/library/csv.html#csv.Dialect.skipinitialspace
>>> import csv
>>> list(csv.reader(['
Change by Karthikeyan Singaravelan :
--
resolution: -> not a bug
___
Python tracker
<https://bugs.python.org/issue38412>
___
___
Python-bugs-list mai
Karthikeyan Singaravelan added the comment:
No problem, happy it helped :)
--
___
Python tracker
<https://bugs.python.org/issue38412>
___
___
Python-bugs-list m
Change by Karthikeyan Singaravelan :
--
nosy: +maxking
___
Python tracker
<https://bugs.python.org/issue38421>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
It looks like a documentation issue to me given the change and tests made in
https://github.com/python/cpython/commit/875048bd4c95ae90c3e541cad681b11436ce1f3f
--
nosy: +xtreak
___
Python tracker
<ht
Karthikeyan Singaravelan added the comment:
There are occasional reports of typo in translations that are opened in
bugs.python.org and it would make sense to redirect to respective GitHub repos
for the translations.
--
nosy: +mdk, xtreak
Karthikeyan Singaravelan added the comment:
Closing as fixed since PRs were merged. Thanks Ben.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Karthikeyan Singaravelan added the comment:
I would propose closing since it's meant for tests and not for end users. I am
also not sure if one of the tests depend on this behavior. Adding Victor as
friendly ping since it's tagged as security.
--
nosy:
Change by Karthikeyan Singaravelan :
--
nosy: +eric.smith
___
Python tracker
<https://bugs.python.org/issue38431>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
git blame points to
https://github.com/python/cpython/commit/01ee12ba35a333e8a6a25c4153c4a21838e9585c
. I am tagging this as a 3.8 regression since the commit was not backported
and 3.7 works fine. Feel free to remove it if it's a mi
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue38438>
___
___
Python-bugs-list mailing list
Unsub
New submission from Karthikeyan Singaravelan :
Can you please add an example of the issue and the actual/expected behavior?
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38
Karthikeyan Singaravelan added the comment:
Oh well :( My initial guess is that the report is for methods. The other
reports were for functions. So I am wondering if the check for FunctionType is
successful and if I need to handle something more. I haven't tried i
Karthikeyan Singaravelan added the comment:
Default arguments are evaluated only once as the function is defined and not
per call.
This is a common gotcha :
https://stackoverflow.com/questions/1132941/least-astonishment-and-the-mutable-default-argument
Change by Karthikeyan Singaravelan :
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue38457>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +gvanrossum, levkivskyi
___
Python tracker
<https://bugs.python.org/issue38459>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +levkivskyi
___
Python tracker
<https://bugs.python.org/issue38467>
___
___
Python-bugs-list mailing list
Unsub
New submission from Karthikeyan Singaravelan :
The following program causes AttributeError while retrieving the spec signature
of a call. It seems that not all mocks specced should have _spec_signature
where if autospec is used and the mock is attached with attach_mock then the
"
Change by Karthikeyan Singaravelan :
--
keywords: +patch
pull_requests: +16344
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16784
___
Python tracker
<https://bugs.python.org/issu
Karthikeyan Singaravelan added the comment:
I tried your example as below using __name__. I received an AttributeError for
which issue38473 in 3.7.5RC1 and 3.8.0RC1 and opened issue38473 and I am
running my below code under that issue PR. For 3.7.4, I received
manager.mock_calls to be an
Change by Karthikeyan Singaravelan :
--
nosy: +pablogsal
___
Python tracker
<https://bugs.python.org/issue38478>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue38288>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
This has an issue in GitHub and pandas is also tested with 3.8 from
https://github.com/pandas-dev/pandas/pull/28730. I am closing this as third
party.
--
resolution: -> third party
stage: -> resolved
status: open -&g
Change by Karthikeyan Singaravelan :
--
pull_requests: -16359
___
Python tracker
<https://bugs.python.org/issue38483>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +vinay.sajip
___
Python tracker
<https://bugs.python.org/issue38483>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
Thanks for the confirmation. You can download the patch for the PR by appending
.diff/.patch to the PR URL. The patch can be applied to your source locally
with "git apply patch_file" to run my example. Reverting patch would cause
Attr
Change by Karthikeyan Singaravelan :
--
components: +email
nosy: +barry, maxking, r.david.murray
___
Python tracker
<https://bugs.python.org/issue38486>
___
___
Change by Karthikeyan Singaravelan :
--
nosy: +vstinner
___
Python tracker
<https://bugs.python.org/issue33342>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
It needs to approved and merged by a core dev so that it will be available by
3.7.6 and 3.8.1. To clarify the calls are recorded in 3.7.5 and 3.8.0 in
mock_calls. It's a problem with assert_has_calls and autospec. As a workaround
you can tur
Change by Karthikeyan Singaravelan :
--
nosy: +cjw296, lisroach, mariocj89, michael.foord, xtreak
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue38
Karthikeyan Singaravelan added the comment:
In the sphinx source it's ' ' so maybe it's a problem with the rendering part.
https://raw.githubusercontent.com/python/cpython/master/Doc/library/functions.rst
.. function:: print(*objects, sep=' ', end='
Karthikeyan Singaravelan added the comment:
Seems related issue24260
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38496>
___
___
Python-bug
Karthikeyan Singaravelan added the comment:
There is shutil.rmtree that accepts path objects and is more high level. From
the previous discussions with respect to expanding API it's recommended to
change the functions already present to accept path objects which shutil.rmtree
already
Change by Karthikeyan Singaravelan :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue38194>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
assert_called_with only checks against the last call. The docs were have been
fixed with issue35946. So after multiple calls the you might get an assertion
error in your proposed implementation leading to the conclusion that the call
never
Karthikeyan Singaravelan added the comment:
Semantically mode makes sense to me though rw is correct and Template.open
docstring has rw. There are docs like unittest where the keyword arguments are
slightly different from the actual keyword arguments in the assert helpers. I
guess it
Karthikeyan Singaravelan added the comment:
Please open a new issue. It's getting little hard to track on this since it was
closed and has 2 PRs merged.
--
___
Python tracker
<https://bugs.python.org/is
Karthikeyan Singaravelan added the comment:
I think python-dev or other forums would be of good help than the bug tracker
given that it involves optimizing deb package.
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38505>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +carljm
___
Python tracker
<https://bugs.python.org/issue38517>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
I guess it will be fixed with https://github.com/python/cpython/pull/16639
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38
Karthikeyan Singaravelan added the comment:
This looks like a valid issue to me. The docs were added with issue36832.
--
nosy: +jaraco, xtreak
type: -> behavior
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issu
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38525>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +pitrou
___
Python tracker
<https://bugs.python.org/issue38514>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38530>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
Ruby has it integrated into the core : https://bugs.ruby-lang.org/issues/11252
. It was initially a gem that got merged into core.
> methosd
undefined local variable or method `methosd' for main:Object
Did you mean? methods
Change by Karthikeyan Singaravelan :
--
nosy: +paul.j3, rhettinger
___
Python tracker
<https://bugs.python.org/issue38531>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +benjamin.peterson, steve.dower
___
Python tracker
<https://bugs.python.org/issue38537>
___
___
Python-bugs-list m
Change by Karthikeyan Singaravelan :
--
nosy: +inada.naoki
___
Python tracker
<https://bugs.python.org/issue38538>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +pablogsal
___
Python tracker
<https://bugs.python.org/issue38551>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
See also https://bugs.python.org/issue36541 which has an open PR to support the
walrus operator.
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38
Karthikeyan Singaravelan added the comment:
Can you please post a short snippet of what you are trying to do and the issue
you are facing like traceback if any?
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue38
Karthikeyan Singaravelan added the comment:
Thanks for the report. As noted in the linked issue this tracker is for issues
related to CPython. pip has it's own issue tracker in GitHub :
https://github.com/pypa/pip . I am closing it as third party.
Possibly related : https://github.com
Change by Karthikeyan Singaravelan :
--
nosy: +emilyemorehouse
___
Python tracker
<https://bugs.python.org/issue38558>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue38565>
___
___
Python-bugs-list mailing list
Unsub
New submission from Karthikeyan Singaravelan :
This came up during https://github.com/psf/requests/issues/5229 . While fileno
returns True as an attribute the actual implementation uses self.raw.fileno
where the AttributeError is raised at
https://github.com/python/cpython/blob
Karthikeyan Singaravelan added the comment:
See also https://bugs.python.org/issue36661
--
nosy: +eric.smith, xtreak
___
Python tracker
<https://bugs.python.org/issue35
Karthikeyan Singaravelan added the comment:
See also https://bugs.python.org/issue32876 and
https://bugs.python.org/issue31844
--
nosy: +berker.peksag, ezio.melotti, xtreak
___
Python tracker
<https://bugs.python.org/issue38
Change by Karthikeyan Singaravelan :
--
nosy: +vstinner, xtreak
___
Python tracker
<https://bugs.python.org/issue38576>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +serhiy.storchaka
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue38566>
___
___
Python-
Karthikeyan Singaravelan added the comment:
It seems now bandersnatch is tested with python 3.8.0 stable release and passes
: https://travis-ci.org/pypa/bandersnatch/builds/599806554 . @cooperlees, can
you please confirm and close the issue
Karthikeyan Singaravelan added the comment:
Relevant docutils upstream issue : https://sourceforge.net/p/docutils/bugs/373/
. Also the SyntaxWarning was changed to DeprecationWarning with msg349335.
--
___
Python tracker
<https://bugs.python.
Karthikeyan Singaravelan added the comment:
Closing it as resolved since the optimization was merged in 3.8.0 . Thanks
@gescheit for the report and patch.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
_
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue27992>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
superseder: -> http.server module sets incorrect mimetype for WebAssembly files
versions: -Python 2.7, Python 3.7
__
Karthikeyan Singaravelan added the comment:
With PEP 570 implementation docs were expanded :
https://github.com/python/cpython/commit/b76302ddd0896cb39ce69909349b53db6e7776e2#diff-d764089fca21fdc70d55804714b1cba5
--
nosy: +pablogsal
___
Python
Karthikeyan Singaravelan added the comment:
Looking at the traceback in the screenshot this seems to be same as issue29571
happening on en_IN locale.
--
nosy: +vstinner
___
Python tracker
<https://bugs.python.org/issue32
Karthikeyan Singaravelan added the comment:
Closing it as duplicate of issue35113.
--
nosy: +serhiy.storchaka
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> inspect.getsource returns incorrect source for classes when
class definitio
Change by Karthikeyan Singaravelan :
--
resolution: -> third party
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Karthikeyan Singaravelan added the comment:
With Victor's PR 16780, "http://[::1]spam:80"; would raise a ValueError.
ValueError: Invalid network location: '[::1]spam:80'
--
___
Python tracker
<https:
Change by Karthikeyan Singaravelan :
--
resolution: -> third party
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Karthikeyan Singaravelan :
--
nosy: +paul.j3, rhettinger
___
Python tracker
<https://bugs.python.org/issue38584>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +vinay.sajip
___
Python tracker
<https://bugs.python.org/issue38586>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
Can you please attach a simple reproducer script without any third party
modules like qtwidgets to ensure crash is due to CPython and not due to the
code in third party module itself.
--
nosy: +xtreak
Change by Karthikeyan Singaravelan :
--
nosy: +levkivskyi
___
Python tracker
<https://bugs.python.org/issue38605>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +barry, maxking, r.david.murray
___
Python tracker
<https://bugs.python.org/issue38615>
___
___
Python-bugs-list m
Change by Karthikeyan Singaravelan :
--
nosy: +maxking
___
Python tracker
<https://bugs.python.org/issue38621>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +pitrou
___
Python tracker
<https://bugs.python.org/issue38624>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +mark.dickinson
___
Python tracker
<https://bugs.python.org/issue38629>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue30548>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +scoder
___
Python tracker
<https://bugs.python.org/issue38611>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +belopolsky, p-ganssle
___
Python tracker
<https://bugs.python.org/issue38645>
___
___
Python-bugs-list mailin
201 - 300 of 3092 matches
Mail list logo