Karthikeyan Singaravelan added the comment:
> What may make more sense for some magic methods is to call the underlying
> object and use the return value or raise any exception that occurs.
Sorry, isn't that what the previous issue did? It tries to return the wrapped
object at
Karthikeyan Singaravelan added the comment:
It's supposed to raise an AttributeError if the attribute is not present. The
previous case was that magicmethods were not wrapped returning configured
values. So this conflicts with the documentation returning a default value when
not pr
Karthikeyan Singaravelan added the comment:
This looks like a duplicate of https://bugs.python.org/issue1491804
--
nosy: +rhettinger, xtreak
___
Python tracker
<https://bugs.python.org/issue40
Karthikeyan Singaravelan added the comment:
On thinking more about this the wraps argument provides a way to wrap the calls
for the mock to a given object. So when an attribute not present in the wrapped
object is being accessed then it should act like the attribute is not present.
Falling
New submission from Karthikeyan Singaravelan :
Currently, test_etree has a Python 2 shim importing cElementTree and skipping
the test on ImportError. Since cElementTree was deprecated and removed in
Python 3 with 36543. So this test is now skipped. The fix would be to remove
the shim and
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue40084>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
Does timespec fulfill this use case to always return microseconds?
https://docs.python.org/3/library/datetime.html#datetime.datetime.isoformat
Return a string representing the date and time in ISO 8601 format:
-MM-DDTHH:MM:SS.ff, if
Change by Karthikeyan Singaravelan :
--
nosy: +belopolsky, p-ganssle
___
Python tracker
<https://bugs.python.org/issue40076>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue40065>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +pradyunsg
___
Python tracker
<https://bugs.python.org/issue40059>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +belopolsky, p-ganssle
___
Python tracker
<https://bugs.python.org/issue40058>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
unicodedata.category can be used here I guess to validate this.
>>> [unicodedata.category(c) for c in "あいう"]
['Lo', 'Lo', 'Lo']
--
nosy: +xtreak
___
Py
Karthikeyan Singaravelan added the comment:
Relevant python-dev discussion :
https://mail.python.org/pipermail/python-dev/2019-May/157405.html . The format
has still not reached 1.0. Issue to track the 1.0 release candidate :
https://github.com/toml-lang/toml/issues/698
--
nosy
Karthikeyan Singaravelan added the comment:
Closing this as fixed. Thanks Moshe for the report.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
title: CSV DictReader parameter documentation -> CSV DictReader restval
parameter docume
Karthikeyan Singaravelan added the comment:
New changeset e5527f0edf7edc98e5e859b5fe823878684b4b6a by Miss Islington (bot)
in branch '3.7':
bpo-40013: Clarify documentation of restval in csv.DictReader (GH-19099)
(GH-19142)
https://github.com/python/cpyt
Karthikeyan Singaravelan added the comment:
New changeset 2227c1a4ca87034ed9eac55eb260a5fb0a04375d by Miss Islington (bot)
in branch '3.8':
bpo-40013: Clarify documentation of restval in csv.DictReader (GH-19099)
(GH-19141)
https://github.com/python/cpyt
Karthikeyan Singaravelan added the comment:
New changeset 4b3252cb764807fdb3a661b458d43e4af55cf4df by Juhana Jauhiainen in
branch 'master':
bpo-40013: Clarify documentation of restval in csv.DictReader (GH-19099)
https://github.com/python/cpyt
Karthikeyan Singaravelan added the comment:
See also https://bugs.python.org/issue28739
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue40
Change by Karthikeyan Singaravelan :
--
nosy: +vinay.sajip
___
Python tracker
<https://bugs.python.org/issue40053>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
Closing this as duplicate. Feel free to reopen if it's a mistake. Thanks.
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> bad input crashes p
Karthikeyan Singaravelan added the comment:
Japanese translation is tracked in GitHub and can be reported there.
https://github.com/python/python-docs-ja
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue40
Karthikeyan Singaravelan added the comment:
I am not sure if this was done but CPython has a page on reporting security
issues that you can use for future reports so that they can be triaged before
being public.
https://www.python.org/dev/security/
--
nosy: +vstinner
Karthikeyan Singaravelan added the comment:
Thanks for the report. Is this a case of the warning below?
https://docs.python.org/3.8/library/multiprocessing.html#multiprocessing.connection.Connection.recv
> Warning The Connection.recv() method automatically unpickles the data it
> re
Karthikeyan Singaravelan added the comment:
This is a duplicate of https://bugs.python.org/issue38731
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue40
Karthikeyan Singaravelan added the comment:
Previous discussion: https://bugs.python.org/issue17351
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue40
Karthikeyan Singaravelan added the comment:
This seems to be a similar case of
https://docs.python.org/3/tutorial/floatingpoint.html. See also comment
https://stackoverflow.com/questions/55534307/calculating-sum-of-float-numbers-using-math-fsum-showing-incorrect-values
Karthikeyan Singaravelan added the comment:
This looks like a good clarification to me where None is clarified that it's
the value of restval. DictWriter has a similar doc "The optional restval
parameter specifies the value to be written if the dictionary is missing a key
in fiel
Karthikeyan Singaravelan added the comment:
Amir, this needs a test like the initial report without preferably using
sys.stdout and patch for cases below :
1. Where the attribute is present on the wrapped object and uses it.
2. Where the attribute is not present on the wrapped object and
New submission from Karthikeyan Singaravelan :
I was trying to compile and run tests on a fresh ubuntu 18.03 machine that
didn't zlib. test_importlb.test_zip seems to have some tests that depend on
zlib but not marked as such causing test errors. Like other tests these could
be skipped
Karthikeyan Singaravelan added the comment:
See also the approach to use robots.txt
https://github.com/python/pythondotorg/issues/1030
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue40
Change by Karthikeyan Singaravelan :
--
nosy: +barry, eli.bendersky, ethan.furman
___
Python tracker
<https://bugs.python.org/issue40025>
___
___
Python-bug
Change by Karthikeyan Singaravelan :
--
nosy: +mdk
___
Python tracker
<https://bugs.python.org/issue40012>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +barry, eli.bendersky, ethan.furman
___
Python tracker
<https://bugs.python.org/issue40006>
___
___
Python-bug
Change by Karthikeyan Singaravelan :
--
nosy: +eric.smith
___
Python tracker
<https://bugs.python.org/issue39985>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
math.degrees returns 0.0 and even has a test for this at
https://github.com/python/cpython/blob/5b66ec166b81c8a77286da2c0d17be3579c3069a/Lib/test/test_math.py#L476
. I am not sure of the environment under which repl.it runs as sys is not
Change by Karthikeyan Singaravelan :
--
nosy: +belopolsky, p-ganssle
___
Python tracker
<https://bugs.python.org/issue39970>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
Thanks for the report. There should be a check to ensure that the attribute is
present to handle the attribute error while attaching the wrapped object's
value. Something like below could be done so that we check for wrapped value or
fallba
Karthikeyan Singaravelan added the comment:
Thanks Mads Sejersen for the report. Closing this as fixed as it's merged to
3.9 and 3.8.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.9
Change by Karthikeyan Singaravelan :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
type: -> enhancement
___
Python tracker
<https://bugs.python
Karthikeyan Singaravelan added the comment:
New changeset 7a5cbc72988aee668816be9d1ef44c0cb4081ff6 by Rahul Kumaresan in
branch 'master':
bpo-39937: Improve suggestions for removal of getchildren and getiterator in
changelog (GH-18937)
https://github.com/python/cpyt
Change by Karthikeyan Singaravelan :
--
nosy: +inada.naoki
___
Python tracker
<https://bugs.python.org/issue39957>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
Seems to be a duplicate of issue2
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue39955>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
This seems to be a duplicate of issue28297 and issue34677.
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue39944>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39939>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +vinay.sajip
___
Python tracker
<https://bugs.python.org/issue39938>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +paul.j3, rhettinger
versions: -Python 2.7, Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
nosy: +berker.peksag, ghaering
___
Python tracker
<https://bugs.python.org/issue39652>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
keywords: +patch
pull_requests: +18276
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/18924
___
Python tracker
<https://bugs.python.org/issu
Change by Karthikeyan Singaravelan :
--
status: open -> pending
___
Python tracker
<https://bugs.python.org/issue39326>
___
___
Python-bugs-list mai
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39892>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +eric.smith
___
Python tracker
<https://bugs.python.org/issue39929>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
This seems to be a duplicate of issue39291.
--
nosy: +pitrou, xtreak
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
nosy: +gregory.p.smith
___
Python tracker
<https://bugs.python.org/issue39857>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +eryksun
___
Python tracker
<https://bugs.python.org/issue39920>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
Thanks for the report. At [0] self.call_args is used. This value is always the
last call. So when the object is awaited it will be always the last call object
and gets appended. The id of the call objects remain the same. The fix would be
to
Karthikeyan Singaravelan added the comment:
Please stop creating duplicate issues. You have already reported it at
https://bugs.python.org/issue39921. There is also a stack overflow question on
this
https://stackoverflow.com/questions/60610913/json-module-install-error-i-was-use-windows-10
Karthikeyan Singaravelan added the comment:
The tracker is for issues related to CPython. It seems like this is a problem
with jsonlib. I would suggest following up on their tracker or other forums.
--
nosy: +xtreak
___
Python tracker
<ht
Change by Karthikeyan Singaravelan :
--
nosy: +lisroach, xtreak
___
Python tracker
<https://bugs.python.org/issue39915>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +vinay.sajip
___
Python tracker
<https://bugs.python.org/issue39914>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +vinay.sajip
___
Python tracker
<https://bugs.python.org/issue39893>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +pitrou
___
Python tracker
<https://bugs.python.org/issue39906>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +pitrou
___
Python tracker
<https://bugs.python.org/issue39659>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
This optimisation was also hinted at
https://bugs.python.org/issue26032#msg257653
--
nosy: +pitrou, serhiy.storchaka, xtreak
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
nosy: +gvanrossum, levkivskyi
___
Python tracker
<https://bugs.python.org/issue39866>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
Please include a sample script to reproduce the program along with a
description of why you think it's an error in CPython. This seems to be a
custom exception raised by a library.
--
nosy: +x
Karthikeyan Singaravelan added the comment:
This seems to be similar to issue9584. Below are the results in my zsh and bash
in Mac.
bash
bash-3.2$ cd /tmp/
bash-3.2$ ls *py
hello_1.py hello_2.py hello_3.py
bash-3.2$ ls hell*{1-2}.*
ls: hell*{1-2}.*: No such file or directory
bash
Change by Karthikeyan Singaravelan :
--
nosy: +eric.smith
___
Python tracker
<https://bugs.python.org/issue39854>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +ethan.furman
___
Python tracker
<https://bugs.python.org/issue39851>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
See also discussion at https://bugs.python.org/issue19610
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39
New submission from Karthikeyan Singaravelan :
Since zipfile.Path is a public API and documented it could be included in
__all__ . This might be a problem for code that uses below pattern :
from zipfile import *
from pathlib import Path
If this is accepted this can be a good beginner issue
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39816>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
test comment for email
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue15012>
___
___
Python-bug
Change by Karthikeyan Singaravelan :
--
nosy: +paul.j3, rhettinger
___
Python tracker
<https://bugs.python.org/issue39809>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue39806>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
> Augmented assignment behaves identically to the update method called with a
> single positional argument, so it also accepts anything implementing the
> Mapping protocol (more specifically, anything with the keys and __getitem__
>
Change by Karthikeyan Singaravelan :
--
nosy: +brandtbucher, gvanrossum, steven.daprano
___
Python tracker
<https://bugs.python.org/issue39806>
___
___
Python-bug
Change by Karthikeyan Singaravelan :
--
nosy: +Michael.Felt
___
Python tracker
<https://bugs.python.org/issue39798>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
I have merged the doc change since it's minor. I will leave this open for
clarification regarding Brett's question.
--
___
Python tracker
<https://bugs.python.o
Karthikeyan Singaravelan added the comment:
New changeset 1f0cd3c61a5ae3aac5ebaccc75ae9828ca4f96c4 by Ananthakrishnan in
branch 'master':
bpo-39379: Remove reference to sys.path[0] being absolute path in whatsnew
(GH-18561)
https://github.com/python/cpyt
Change by Karthikeyan Singaravelan :
--
nosy: +brett.cannon, pitrou
___
Python tracker
<https://bugs.python.org/issue39783>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +petr.viktorin
___
Python tracker
<https://bugs.python.org/issue39773>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue39755>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
This is a known behavior : https://docs.python.org/3/tutorial/floatingpoint.html
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39712>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: -xtreak
___
Python tracker
<https://bugs.python.org/issue2771>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +barry, eli.bendersky, ethan.furman
___
Python tracker
<https://bugs.python.org/issue39728>
___
___
Python-bug
Karthikeyan Singaravelan added the comment:
This seems to be a duplicate of https://bugs.python.org/issue39691
--
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39723>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +facundobatista, mark.dickinson, rhettinger, skrah
___
Python tracker
<https://bugs.python.org/issue39722>
___
___
Karthikeyan Singaravelan added the comment:
Sorry, I had the part only to detect annotations attached. My part is something
similar to yours except it stores the appropriate function in the registry
itself instead of passing the arguments at __get__
Change by Karthikeyan Singaravelan :
--
nosy: +BTaskaya, pablogsal
___
Python tracker
<https://bugs.python.org/issue39715>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +paul.j3, rhettinger
___
Python tracker
<https://bugs.python.org/issue39716>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
Thanks for the clarification, I agree on disabling automatic coverage comments.
Aren't these builds already optional in Travis marked as allow failures and
status is reported once the required builds pass though the coverage builds
keep ru
Karthikeyan Singaravelan added the comment:
Just to clarify is it about just disabling the automatic comment about code
coverage on PRs or the code coverage build itself?
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
nosy: +steve.dower
___
Python tracker
<https://bugs.python.org/issue39701>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
See also https://bugs.python.org/issue23644
--
nosy: +vstinner, xtreak
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
nosy: +ethan.furman
___
Python tracker
<https://bugs.python.org/issue39693>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +vinay.sajip
___
Python tracker
<https://bugs.python.org/issue39589>
___
___
Python-bugs-list mailing list
Unsub
601 - 700 of 3092 matches
Mail list logo