[issue39966] mock 3.9 bug: Wrapped objects without __bool__ raise exception

2020-03-27 Thread Karthikeyan Singaravelan
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 att

[issue39966] mock 3.9 bug: Wrapped objects without __bool__ raise exception

2020-03-27 Thread Karthikeyan Singaravelan
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 present

[issue40088] list.reverse(): slow sublist reverse

2020-03-27 Thread Karthikeyan Singaravelan
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

[issue39966] mock 3.9 bug: Wrapped objects without __bool__ raise exception

2020-03-27 Thread Karthikeyan Singaravelan
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

[issue40086] test_etree is skipped in test_typing due to cElementTree removal

2020-03-27 Thread Karthikeyan Singaravelan
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

[issue40084] HTTPStatus has incomplete dir() listing

2020-03-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue40084> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40076] isoformat function drops microseconds part if its value is 000000

2020-03-26 Thread Karthikeyan Singaravelan
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

[issue40076] isoformat function drops microseconds part if its value is 000000

2020-03-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle ___ Python tracker <https://bugs.python.org/issue40076> ___ ___ Python-bugs-list mailin

[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-03-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue40065> ___ ___ Python-bugs-list mailin

[issue40059] Provide a toml module in the standard library

2020-03-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pradyunsg ___ Python tracker <https://bugs.python.org/issue40059> ___ ___ Python-bugs-list mailing list Unsub

[issue40058] Running test_datetime twice fails with: module 'datetime' has no attribute '_divide_and_round'

2020-03-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle ___ Python tracker <https://bugs.python.org/issue40058> ___ ___ Python-bugs-list mailin

[issue40062] islapha method returns True when the word is japanese

2020-03-25 Thread Karthikeyan Singaravelan
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 ___ Python tracker <https://bugs

[issue40059] Provide a toml module in the standard library

2020-03-25 Thread Karthikeyan Singaravelan
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

[issue40013] CSV DictReader restval parameter documentation

2020-03-25 Thread Karthikeyan Singaravelan
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

[issue40013] CSV DictReader parameter documentation

2020-03-25 Thread Karthikeyan Singaravelan
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/cpython/commit

[issue40013] CSV DictReader parameter documentation

2020-03-25 Thread Karthikeyan Singaravelan
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/cpython/commit

[issue40013] CSV DictReader parameter documentation

2020-03-24 Thread Karthikeyan Singaravelan
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/cpython/commit

[issue40054] Allow formatted strings as docstrings

2020-03-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue28739 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue40

[issue40053] Document the behavior that no interplotation is applied when no *args are passed in for logging statements

2020-03-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker <https://bugs.python.org/issue40053> ___ ___ Python-bugs-list mailing list Unsub

[issue40037] py_compile.py quiet undefined in main function

2020-03-22 Thread Karthikeyan Singaravelan
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 py_com

[issue40041] Typo in argparse ja-document wrong:'append', correct:'extend'

2020-03-22 Thread Karthikeyan Singaravelan
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

[issue40039] [CVE-2020-10796] Python multiprocessing Remote Code Execution vulnerability

2020-03-22 Thread Karthikeyan Singaravelan
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

[issue40039] [CVE-2020-10796] Python multiprocessing Remote Code Execution vulnerability

2020-03-22 Thread Karthikeyan Singaravelan
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

[issue40037] py_compile.py quiet undefined in main function

2020-03-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is a duplicate of https://bugs.python.org/issue38731 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue40

[issue40032] Remove explicit inheriting of object in class definitions

2020-03-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Previous discussion: https://bugs.python.org/issue17351 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue40

[issue40030] Error with math.fsum() regarding float-point error

2020-03-21 Thread Karthikeyan Singaravelan
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

[issue40013] CSV DictReader parameter documentation

2020-03-21 Thread Karthikeyan Singaravelan
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 field

[issue39966] mock 3.9 bug: Wrapped objects without __bool__ raise exception

2020-03-21 Thread Karthikeyan Singaravelan
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

[issue40029] test_importlib.test_zip requires zlib but not marked

2020-03-21 Thread Karthikeyan Singaravelan
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 zlib

[issue40012] Avoid Python 2 documentation to appear in Web search results

2020-03-20 Thread Karthikeyan Singaravelan
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

[issue40025] enum: _generate_next_value_ is not called if its definition occurs after calls to auto()

2020-03-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +barry, eli.bendersky, ethan.furman ___ Python tracker <https://bugs.python.org/issue40025> ___ ___ Python-bug

[issue40012] Avoid Python 2 documentation to appear in Web search results

2020-03-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mdk ___ Python tracker <https://bugs.python.org/issue40012> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40006] enum: Add documentation for _create_pseudo_member_ and composite members

2020-03-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +barry, eli.bendersky, ethan.furman ___ Python tracker <https://bugs.python.org/issue40006> ___ ___ Python-bug

[issue39985] str.format and string.Formatter subscript behaviors diverge

2020-03-16 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker <https://bugs.python.org/issue39985> ___ ___ Python-bugs-list mailing list Unsub

[issue39972] Math library Bug Return None for "degrees(0)"

2020-03-16 Thread Karthikeyan Singaravelan
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

[issue39970] Combined behavior of datetime.datetime.timestamp() and datetime.datetime.utcnow() on non-UTC timezoned machines

2020-03-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle ___ Python tracker <https://bugs.python.org/issue39970> ___ ___ Python-bugs-list mailin

[issue39966] mock 3.9 bug: Wrapped objects without __bool__ raise exception

2020-03-15 Thread Karthikeyan Singaravelan
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 fallback

[issue39915] await_args_list in AsyncMock always refers to the last awaited call object

2020-03-14 Thread Karthikeyan Singaravelan
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 _

[issue39937] Suggest the usage of Element.iter() instead of iter() in whatsnew

2020-03-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> fixed stage: -> resolved status: open -> closed type: -> enhancement ___ Python tracker <https://bugs.python

[issue39937] Suggest the usage of Element.iter() instead of iter() in whatsnew

2020-03-13 Thread Karthikeyan Singaravelan
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/cpython/commit

[issue39957] bpo39775 not fixed - inspect.Signature.parameters still dict/mappingproxy around dict

2020-03-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +inada.naoki ___ Python tracker <https://bugs.python.org/issue39957> ___ ___ Python-bugs-list mailing list Unsub

[issue39955] argparse print_help breaks when help is blank space

2020-03-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems to be a duplicate of issue2 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue39

[issue39955] argparse print_help breaks when help is blank space

2020-03-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker <https://bugs.python.org/issue39955> ___ ___ Python-bugs-list mailing list Unsub

[issue39945] Wrong example result in docs

2020-03-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be a duplicate of issue28297 and issue34677. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue39

[issue39944] UserString.join should return UserString

2020-03-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker <https://bugs.python.org/issue39944> ___ ___ Python-bugs-list mailing list Unsub

[issue39939] Add str methods to remove prefixes or suffixes

2020-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue39939> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39938] RotatingFileHandler does not support any mode other than 'a'.

2020-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker <https://bugs.python.org/issue39938> ___ ___ Python-bugs-list mailing list Unsub

[issue39935] argparse: help parameter not documented in add_subparsers().add_parser

2020-03-11 Thread Karthikeyan Singaravelan
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

[issue39652] sqlite3 bug handling column names that contain square braces

2020-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +berker.peksag, ghaering ___ Python tracker <https://bugs.python.org/issue39652> ___ ___ Python-bugs-list mailin

[issue39915] await_args_list in AsyncMock always refers to the last awaited call object

2020-03-11 Thread Karthikeyan Singaravelan
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

[issue39326] Python-3.8.1 "test_importlib" failed

2020-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- status: open -> pending ___ Python tracker <https://bugs.python.org/issue39326> ___ ___ Python-bugs-list mai

[issue39892] Enable DeprecationWarnings by default when not explicit in unittest.main()

2020-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue39892> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39929] dataclasses.asdict will mangle collection.Counter instances

2020-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker <https://bugs.python.org/issue39929> ___ ___ Python-bugs-list mailing list Unsub

[issue39925] `pathlib.Path.link_to()` has the wrong argument order

2020-03-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be a duplicate of issue39291. -- nosy: +pitrou, xtreak ___ Python tracker <https://bugs.python.org/issue39

[issue39857] subprocess.run: add an extra_env kwarg to complement existing env kwarg

2020-03-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gregory.p.smith ___ Python tracker <https://bugs.python.org/issue39857> ___ ___ Python-bugs-list mailing list Unsub

[issue39920] Pathlib path methods do not work with Window Dos devices

2020-03-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eryksun ___ Python tracker <https://bugs.python.org/issue39920> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39915] await_args_list in AsyncMock always refers to the last awaited call object

2020-03-10 Thread Karthikeyan Singaravelan
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

[issue39923] Command errored out with exit status 1: while jsonlib

2020-03-09 Thread Karthikeyan Singaravelan
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

[issue39921] json module install error i was use windows 10 pro 64 bit, pls give solutions to rectify this issue

2020-03-09 Thread Karthikeyan Singaravelan
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

[issue39915] AsyncMock doesn't work with asyncio.gather

2020-03-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lisroach, xtreak ___ Python tracker <https://bugs.python.org/issue39915> ___ ___ Python-bugs-list mailin

[issue39914] logging.config: '.' (dot) as a key is not documented

2020-03-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker <https://bugs.python.org/issue39914> ___ ___ Python-bugs-list mailing list Unsub

[issue39893] Add set_terminate() to logging

2020-03-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker <https://bugs.python.org/issue39893> ___ ___ Python-bugs-list mailing list Unsub

[issue39906] pathlib.Path: add `follow_symlinks` argument to `stat()` and `chmod()`

2020-03-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pitrou ___ Python tracker <https://bugs.python.org/issue39906> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39659] pathlib calls `os.getcwd()` without using accessor

2020-03-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pitrou ___ Python tracker <https://bugs.python.org/issue39659> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39907] `pathlib.Path.iterdir()` wastes memory by using `os.listdir()` rather than `os.scandir()`

2020-03-09 Thread Karthikeyan Singaravelan
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

[issue39866] get_type_hints raises inconsistent TypeError

2020-03-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, levkivskyi ___ Python tracker <https://bugs.python.org/issue39866> ___ ___ Python-bugs-list mailin

[issue39864] IndexError gives wrong axis info

2020-03-05 Thread Karthikeyan Singaravelan
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: +xtreak

[issue39856] glob : some 'unix style' glob items are not supported

2020-03-04 Thread Karthikeyan Singaravelan
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

[issue39854] f-strings with format specifiers have wrong col_offset

2020-03-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker <https://bugs.python.org/issue39854> ___ ___ Python-bugs-list mailing list Unsub

[issue39851] tarfile: Exception ignored in (... stdout ...) BrokenPipeError

2020-03-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ethan.furman ___ Python tracker <https://bugs.python.org/issue39851> ___ ___ Python-bugs-list mailing list Unsub

[issue39848] Warning: 'classifiers' should be a list, got type 'tuple'

2020-03-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also discussion at https://bugs.python.org/issue19610 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue39

[issue39830] zipfile.Path is not included in __all__

2020-03-02 Thread Karthikeyan Singaravelan
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

[issue39816] More descriptive error message than "too many values to unpack"

2020-03-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue39816> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15012] test issue

2020-03-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: test comment for email -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue15012> ___ ___ Python-bug

[issue39809] argparse: add max_text_width parameter to ArgumentParser

2020-03-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +paul.j3, rhettinger ___ Python tracker <https://bugs.python.org/issue39809> ___ ___ Python-bugs-list mailin

[issue39806] different behavior between __ior__ and __or__ in dict made by PEP 584

2020-03-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue39806> ___ ___ Python-bugs-list mailin

[issue39806] different behavior between __ior__ and __or__ in dict made by PEP 584

2020-03-01 Thread Karthikeyan Singaravelan
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__

[issue39806] different behavior between __ior__ and __or__ in dict made by PEP 584

2020-03-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +brandtbucher, gvanrossum, steven.daprano ___ Python tracker <https://bugs.python.org/issue39806> ___ ___ Python-bug

[issue39798] Update and Improve README.AIX

2020-02-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +Michael.Felt ___ Python tracker <https://bugs.python.org/issue39798> ___ ___ Python-bugs-list mailing list Unsub

[issue39379] sys.path[0] is already absolute path

2020-02-29 Thread Karthikeyan Singaravelan
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.org/issue39

[issue39379] sys.path[0] is already absolute path

2020-02-29 Thread Karthikeyan Singaravelan
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/cpython/commit

[issue39783] Optimize construction of Path from other Paths by just returning the same object?

2020-02-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +brett.cannon, pitrou ___ Python tracker <https://bugs.python.org/issue39783> ___ ___ Python-bugs-list mailin

[issue39773] Export symbols for vectorcall

2020-02-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +petr.viktorin ___ Python tracker <https://bugs.python.org/issue39773> ___ ___ Python-bugs-list mailing list Unsub

[issue39755] Change example of itertools.product

2020-02-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker <https://bugs.python.org/issue39755> ___ ___ Python-bugs-list mailing list Unsub

[issue39749] python 3.8.1 (3.14 * 10 = 31.400000002 bug)

2020-02-25 Thread Karthikeyan Singaravelan
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

[issue39712] Doc for `-X dev` option should mention PYTHONDEVMODE

2020-02-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue39712> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2771] Test issue

2020-02-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: -xtreak ___ Python tracker <https://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-02-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +barry, eli.bendersky, ethan.furman ___ Python tracker <https://bugs.python.org/issue39728> ___ ___ Python-bug

[issue39723] io.open_code should accept PathLike objects

2020-02-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be a duplicate of https://bugs.python.org/issue39691 -- ___ Python tracker <https://bugs.python.org/issue39

[issue39723] io.open_code should accept PathLike objects

2020-02-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue39723> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39722] decimal differs between pure Python and C implementations

2020-02-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +facundobatista, mark.dickinson, rhettinger, skrah ___ Python tracker <https://bugs.python.org/issue39722> ___ ___

[issue39679] functools: singledispatchmethod doesn't work with classmethod

2020-02-21 Thread Karthikeyan Singaravelan
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__

[issue39715] Implement __repr__ methods for AST classes

2020-02-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +BTaskaya, pablogsal ___ Python tracker <https://bugs.python.org/issue39715> ___ ___ Python-bugs-list mailin

[issue39716] argparse.ArgumentParser does not raise on duplicated subparsers, even though it does on duplicated flags

2020-02-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +paul.j3, rhettinger ___ Python tracker <https://bugs.python.org/issue39716> ___ ___ Python-bugs-list mailin

[issue39704] Disable code coverage

2020-02-21 Thread Karthikeyan Singaravelan
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 running

[issue39704] Disable code coverage

2020-02-20 Thread Karthikeyan Singaravelan
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

[issue39701] Azure Pipelines PR broken

2020-02-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +steve.dower ___ Python tracker <https://bugs.python.org/issue39701> ___ ___ Python-bugs-list mailing list Unsub

[issue39697] Failed to build with --with-cxx-main=g++-9.2.0

2020-02-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue23644 -- nosy: +vstinner, xtreak ___ Python tracker <https://bugs.python.org/issue39

[issue39693] tarfile's extractfile documentation is misleading

2020-02-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ethan.furman ___ Python tracker <https://bugs.python.org/issue39693> ___ ___ Python-bugs-list mailing list Unsub

[issue39589] Logging QueueListener should support context manager

2020-02-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker <https://bugs.python.org/issue39589> ___ ___ Python-bugs-list mailing list Unsub

<    2   3   4   5   6   7   8   9   10   11   >