[issue46110] `eval("-"*3000000 + "4")` in cmd causes hard crash

2021-12-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue32758 -- nosy: +serhiy.storchaka, xtreak ___ Python tracker <https://bugs.python.org/issue46

[issue46110] `eval("-"*3000000 + "4")` in cmd causes hard crash

2021-12-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://bugs.python.org/issue42609 too -- ___ Python tracker <https://bugs.python.org/issue46110> ___ ___ Python-bug

[issue46124] Deprecation warning in zoneinfo module

2021-12-18 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : zoneinfo module currently emits deprecation warnings due to API changes in importlib.resources ./python -Wonce -m test test_zoneinfo 0:00:00 load avg: 0.73 Run tests sequentially 0:00:00 load avg: 0.73 [1/1] test_zoneinfo /home/karthikeyan/stuff

[issue46118] Migrate importlib.resources into a package

2021-12-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue46118> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple

2021-12-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue46167> ___ ___ Python-bugs-list m

[issue46124] Deprecation warning in zoneinfo module

2021-12-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I just copied the implementation and normalize_path function was part of it. Looking into the implementation of normalize_path it validates the given argument to be a filename without any separator. I will leave it to Jason for a better

[issue46363] Two typos in versions 3.7 document translation of zh_CN

2022-01-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Translated documentation is maintained at https://github.com/python/python-docs-zh-cn/issues -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue46

[issue46448] TypedDict inspect.signature error

2022-01-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This could be due to issue40187 -- nosy: +serhiy.storchaka, xtreak ___ Python tracker <https://bugs.python.org/issue46

[issue46577] Hostname spoofing via backslashes in URL

2022-01-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be similar to https://bugs.python.org/issue35748 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue46

[issue46576] test_peg_generator is extremely slow

2022-01-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue46524 for a similar discussion. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue46

[issue46524] test_peg_generator takes 8 minutes on Windows

2022-01-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue46576 and https://github.com/python/cpython/pull/31015 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue46

[issue46688] Add sys.is_interned

2022-02-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue34392 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue46

[issue46692] match case does not support regex

2022-02-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > There were ideas for exotic matchers such as IsInstance(), InRange(), > RegexMatchingGroup() and so on. https://www.python.org/dev/peps/pep-0622/#custom-matching-protocol The PEP has some mention about a similar use case in custom match pr

[issue46690] create_autospec() doesn't respect configure_mock style kwargs

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

[issue46689] `list(FunctionType(a.gi_code, {})(0))` crashes Python

2022-02-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue36956 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue46

[issue46690] create_autospec() doesn't respect configure_mock style kwargs

2022-02-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess the problem is that during the initial mock creation kwargs is passed so calling test_method immediately after mock creation raises ValueError. But as we loop through the attributes and create new child mock for the attributes the original

[issue46709] test_urllib: testInterruptCaught() has a race condition and fails randomly

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

[issue46681] gzip.compress does not forward compresslevel to zlib.compress

2022-02-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lukasz.langa ___ Python tracker <https://bugs.python.org/issue46681> ___ ___ Python-bugs-list mailing list Unsub

[issue46730] Please consider mentioning property without setter when an attribute can't be set

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

[issue46752] Introduce task groups to asyncio and change task cancellation semantics

2022-02-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +njs ___ Python tracker <https://bugs.python.org/issue46752> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46757] dataclasses should define an empty __post_init__

2022-02-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker <https://bugs.python.org/issue46757> ___ ___ Python-bugs-list mailing list Unsub

[issue46766] Add a class for file operations so a syntax such as open("file.img", File.Write | File.Binary | File.Disk) is possible.

2022-02-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks similar to a previous proposal https://discuss.python.org/t/enum-for-open-modes/2445 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue46

[issue46066] Deprecate keyword args syntax for TypedDict definition

2022-02-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This change has introduced deprecation warning in tests PYTHONWARNINGS=always ./python -Wall -X dev -m test.test_typing

[issue46730] Please consider mentioning property without setter when an attribute can't be set

2022-02-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The test introduces a deprecation warning. It might be fixed by using raw string like the msg_format used in other test. ./python -Wall -m py_compile Lib/test/test_property.py Lib/test/test_property.py:345: DeprecationWarning: invalid escape

[issue46807] Wrong class __annotations__ when field name and type are equal

2022-02-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks similar to https://bugs.python.org/issue36363 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue46

[issue42760] inspect.iscoroutine returns False for asynchronous generator methods

2022-02-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be a duplicate of https://bugs.python.org/issue37190 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue42

[issue46877] unittest.doModuleCleanups() does not exist

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

[issue46907] Update Windows and MacOS installer to SQLite 3.38.0.

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

[issue46918] The vulnerability is included in /lib/python3.9/ensurepip after python 3.9.2 is installed.

2022-03-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://nvd.nist.gov/vuln/detail/CVE-2020-14422 Lib/ipaddress.py in Python through 3.8.3 improperly computes hash values in the IPv4Interface and IPv6Interface classes, which might allow a remote attacker to cause a denial of service if an

[issue46903] Crash when setting attribute with string subclass as the name (--with-pydebug)

2022-03-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The PR introduced some deprecation warnings in tests. ./python -Wall -m test test_unicode 0:00:00 load avg: 1.54 Run tests sequentially 0:00:00 load avg: 1.54 [1/1] test_unicode /home/karthikeyan/stuff/python/cpython/Lib/test

[issue47002] argparse - "expected one argument" when used -: in argument

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

[issue47002] argparse - "expected one argument" when used -: in argument

2022-03-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems related to https://bugs.python.org/issue9334 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue47

[issue47061] Deprecate modules listed in PEP 594

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

[issue47117] repl segfaults on non utf-8 input

2022-03-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks similar to https://bugs.python.org/issue46206 -- nosy: +pablogsal, xtreak ___ Python tracker <https://bugs.python.org/issue47

[issue47126] Update to canonical PEP URLs

2022-03-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sphinx also changed the URL in https://github.com/sphinx-doc/sphinx/pull/10267 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue47

[issue45171] stacklevel handling in logging module is inconsistent

2022-03-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The commit seems to emit a deprecation warning in test_logging. Probably the warning needs to be handled while setting trigger = self.logger.warn PYTHONWARNINGS=always ./python -Wall -m test test_logging 0:00:00 load avg

[issue47160] round function is not working as expected

2022-03-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is documented https://docs.python.org/3/library/functions.html#round > The behavior of round() for floats can be surprising: for example, > round(2.675, 2) gives 2.67 instead of the expected 2.68. This is not a bug: > it’s a resu

[issue47191] inspect - getasyncgeneratorstate, getasyncgeneratorlocals

2022-04-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems to be duplicate of https://bugs.python.org/issue35759 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue47

[issue47192] sys._getframe audit event has frame as argument in 3.8-3.10

2022-04-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +steve.dower ___ Python tracker <https://bugs.python.org/issue47192> ___ ___ Python-bugs-list mailing list Unsub

[issue37838] typing.get_type_hints not working with forward-declaration and decorated functions

2019-08-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, levkivskyi ___ Python tracker <https://bugs.python.org/issue37838> ___ ___ Python-bugs-list mailin

[issue20861] datetime argument handling inconsistent; should accept logical integers, not coercible values

2019-08-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +p-ganssle ___ Python tracker <https://bugs.python.org/issue20861> ___ ___ Python-bugs-list mailing list Unsub

[issue37852] Pickling doesn't work for name-mangled private methods

2019-08-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pitrou ___ Python tracker <https://bugs.python.org/issue37852> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37855] Compiling Python 3.7.4 with Intel compilers 2019

2019-08-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems related : https://bugs.python.org/issue35473 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37861] Install fails on MacOS X 10.6 with python >= 3.7.1

2019-08-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker <https://bugs.python.org/issue37861> ___ ___ Pytho

[issue37865] tempfile.NamedTemporaryFile() raises exception on close() when file is absent

2019-08-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this is same as https://bugs.python.org/issue29573 . -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37867] docs says subprocess.run accepts a string but this does not work on linux

2019-08-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gregory.p.smith ___ Python tracker <https://bugs.python.org/issue37867> ___ ___ Python-bugs-list mailing list Unsub

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2019-08-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- Removed message: https://bugs.python.org/msg349997 ___ Python tracker <https://bugs.python.org/issue32545> ___ ___ Pytho

[issue37894] [win] shutil.which can not find the path if 'cmd' include directory path and not include extension name

2019-08-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue37

[issue37901] 21 tests fail when run on an IPv6-only host

2019-08-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue37901> ___ ___ Python-bugs-list mailing list Unsub

[issue37873] unittest: execute tests in parallel

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

[issue37873] unittest: execute tests in parallel

2019-08-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://mail.python.org/pipermail/python-ideas/2017-September/047100.html . One of the ideas in the thread was to move test.regrtest parallel execution functionality into unittest. I think this would be good to have it in unittest like

[issue37905] Remove NormalDist.overlap() or improve documentation?

2019-08-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +steven.daprano ___ Python tracker <https://bugs.python.org/issue37905> ___ ___ Python-bugs-list mailing list Unsub

[issue37911] Minor error in PEP567 code example

2019-08-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: PEPs have their own GitHub issue tracker though I am not sure of edits to this PEP. GitHub : https://github.com/python/peps/issues . This can be closed as third party. -- nosy: +xtreak ___ Python

[issue37910] argparse wrapping fails with metavar="" (no metavar)

2019-08-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +paul.j3 ___ Python tracker <https://bugs.python.org/issue37910> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37914] class timedelta, support the method hours and minutes in field accessors

2019-08-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle ___ Python tracker <https://bugs.python.org/issue37914> ___ ___ Python-bugs-list mailin

[issue37915] Segfault in comparison between datetime.timezone.utc and putz.utc

2019-08-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I am adding 3.8 regression since the code works with 3.7 though it involves pytz. -- keywords: +3.8regression nosy: +belopolsky, p-ganssle, xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37915] Segfault in comparison between datetime.timezone.utc and pytz.utc

2019-08-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- title: Segfault in comparison between datetime.timezone.utc and putz.utc -> Segfault in comparison between datetime.timezone.utc and pytz.utc ___ Python tracker <https://bugs.python.org/issu

[issue37915] Segfault in comparison between datetime.timezone.utc and pytz.utc

2019-08-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems this is due to issue37685 (dde944f9df) on bisecting datetime related changes. Adding Serhiy. I guess this could be marked as release blocker. Here is a simplified reproducer on extracting pytz.utc source [0] which is an object of simple

[issue37917] Warning regarding collections ABCs still present in 3.9

2019-08-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Please see discussion at issue36953 and issue37324. It's currently blocked by Jinja that doesn't have a release with the fix to be used in CI. -- nosy: +xtreak ___ Python track

[issue37922] inspect.getsource returns wrong class definition when multiple class definitions share the same name (but are defined in different scopes)

2019-08-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks like a duplicate of https://bugs.python.org/issue35113 . I have created a PR for the issue but didn't have time to debug the Windows issue. -- nosy: +xtreak ___ Python tracker &

[issue33830] Error in the output of one example in the httplib docs

2019-08-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing this since PRs have been merged. Thanks Aifu LIU for the report. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bug

[issue37927] No Instantiation Restrictions for AbstractBaseClasses derived from builtin types

2019-08-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker <https://bugs.python.org/issue37927> ___ ___ Python-bugs-list mailing list Unsub

[issue37927] No Instantiation Restrictions for AbstractBaseClasses derived from builtin types

2019-08-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks like a duplicate of issue35362. I would prefer closing one of them to keep the discussion in one place. This looks like a variant of this issue : issue35063 -- nosy: +xtreak ___ Python

[issue37664] Update bundled pip and setuptools

2019-08-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Added lukasz since last beta is by Monday. -- nosy: +lukasz.langa ___ Python tracker <https://bugs.python.org/issue37

[issue37940] Add xml.tool to pretty print XML like json.tool

2019-08-24 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Now that XML has pretty print option with issue14465 would it be handy to add a command line tool pretty printer similar to json.tool? This can be written as one-liner similar to json pretty printing but I think it's a good option and hav

[issue37939] os.path.normpath change some characters of a path into kinda 'hex number'

2019-08-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess '\f' translates to \x0c and using raw string helps with this. >>> ord('\f') 12 >>> '\f' '\x0c' >>> var = "d:\stuff\morestuff\furtherdown\THEFILE.txt" >>>

[issue23423] XPath Support in ElementTree doc omission

2019-08-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +scoder ___ Python tracker <https://bugs.python.org/issue23423> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37940] Add xml.tool to pretty print XML like json.tool

2019-08-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Stefan for the link. XPath support sounds cool to me given that there is already support in stdlib. It could help with filtering using xml.tool itself instead of passing the output to another command to filter. My initial approach was to

[issue37940] Add xml.tool to pretty print XML like json.tool

2019-08-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There are several modules that expose some of their uses through command line like json.tool, zipfile, tarfile, gzip, webbrowser etc. The initial proposal was to expose the newly added indent function over the command line to provide the same

[issue37944] About json.load(s

2019-08-25 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Can you please add a description to explain the report? -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37945] test_locale failing

2019-08-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +eryksun, paul.moore, steve.dower, xtreak, zach.ware ___ Python tracker <https://bugs.python.org/issue37

[issue37961] Tracemalloc traces do not include original stack trace length

2019-08-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue37961> ___ ___ Python-bugs-list mailing list Unsub

[issue37962] Improve ISO 8601 timezone support in the datetime.fromisoformat() method

2019-08-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle ___ Python tracker <https://bugs.python.org/issue37962> ___ ___ Python-bugs-list mailin

[issue37967] release candidate is not gpg signed (and missing release workflow)?

2019-08-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lukasz.langa, ned.deily ___ Python tracker <https://bugs.python.org/issue37967> ___ ___ Python-bugs-list mailin

[issue37972] unittest.mock.call does not chain __getitem__ to another _Call object

2019-08-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37972> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36871] Misleading error from unittest.mock's assert_has_calls

2019-08-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing this as fixed since all PRs are merged. Thank you all :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37974] zip() docstring should say 'iterator' instead of 'object with __next__()'

2019-08-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger type: -> behavior ___ Python tracker <https://bugs.python.org/issue37974> ___ ___ Python-bugs-lis

[issue37975] Typo in the documentation by C-API DateTime Objects¶

2019-08-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. This was fixed in 82cd3cede804ca694fb0657fd985d5eff84a414f (https://bugs.python.org/issue31678). It was not merged to 3.5 at that time. Now 3.5 only accepts security fixes so I would propose closing this as duplicate of

[issue37975] Typo in the documentation by C-API DateTime Objects¶

2019-08-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Incorrect C Function name for timedelta ___ Python tracker <https://bugs.python

[issue37944] Adjacent escape character in json.load()

2019-08-30 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue37944> ___ ___ Python-bugs-list mailin

[issue37988] Issue found during language name processing in a list

2019-08-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please attach the code snippet as text instead of screenshot so that it would be helpful to copy paste and run. In the issue please add a description of what's the output you are expecting and what's the actual outpu

[issue37995] Multiline ast.dump()

2019-08-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37995> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37992] Change datetime.MINYEAR to allow for negative years

2019-08-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle ___ Python tracker <https://bugs.python.org/issue37992> ___ ___ Python-bugs-list mailin

[issue37943] mimetypes.guess_extension() doesn’t get JPG right

2019-08-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this is fixed with 2a99fd911ebeecedbb250a05667cd46eca4735b9 which would be included in 3.7.5 since this missed 3.7.4RC1 . There is also a test for this at https://github.com/python/cpython/blob/daa82d019c52e95c3c57275307918078c1c0ac81/Lib

[issue37997] Segfault when using pickle with exceptions and dynamic class inheritance

2019-08-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pitrou ___ Python tracker <https://bugs.python.org/issue37997> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38000] importlib can not handle module file names with periods

2019-09-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue38000> ___ ___ Python-bugs-list mailing list Unsub

[issue38001] Unexpected behaviour of 'is' operator

2019-09-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This will emit a SyntaxWarning in Python 3.8 to use == instead of using is for literals. This is not a bug but an implementation detail over caching a range of integers at https://github.com/python/cpython/blob

[issue38003] Incorrect "fixing" of isinstance tests for basestring

2019-09-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://docs.python.org/3.0/whatsnew/3.0.html > The builtin basestring abstract type was removed. Use str instead. The str > and bytes types don’t have functionality enough in common to warrant a shared > base class. The 2to3 tool (

[issue38004] Duplicated sections in changelog

2019-09-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ned.deily ___ Python tracker <https://bugs.python.org/issue38004> ___ ___ Python-bugs-list mailing list Unsub

[issue38006] _PyFunction_Vectorcall() can segfault on process exit

2019-09-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +jdemeyer ___ Python tracker <https://bugs.python.org/issue38006> ___ ___ Python-bugs-list mailing list Unsub

[issue38011] xml.dom.pulldom splits text data at buffer size when parsing from file

2019-09-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +scoder ___ Python tracker <https://bugs.python.org/issue38011> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38012] Python Fuction min is case sentive ?

2019-09-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Here min uses the ASCII value of the letters for comparison. So for 'Infinity' 'I' (73) has the lowest value and for 'inFinity' 'F' (70) has the lowest value as seen below. >>> list(map(lambda c

[issue38018] Increase Code Coverage for multiprocessing.shared_memory

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

[issue38024] adding or subtracting decimals

2019-09-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Please include the text of the repl session in issue so that it would be easy to copy past and also more accessible. The issue is as below in the attached image. I guess this is due to floating point representation and has some possible solutions

[issue37669] Make mock_open return per-file content

2019-09-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Using a side_effect is one way to achieve this currently if I understand the use case correctly. For every open side_effect will be called and hence it will return a new mock_open with read_data for the given filename used inside the context. This

[issue38034] Typo on logging.handlers.QueueListener documentation

2019-09-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Would you be able to make a PR for this? I think this is a good newcomer friendly issue. -- nosy: +vinay.sajip, xtreak versions: -Python 3.5, Python 3.6 ___ Python tracker <ht

[issue18049] Re-enable threading test on macOS

2019-09-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @aeros167 The build log failures due to timeout in the linked Azure pipeline failure seem to be similar to report at issue37245 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue18

[issue37383] call count in not registered in AsyncMock till the coroutine is awaited

2019-09-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I just checked the behavior with asynctest. The _mock_call implementation where the call is recorded is similar except that in asynctest it's a synchronous function [0] and in AsyncMock it's an async function [1] thus needs to be

[issue38064] Agen Poker Online Terpercaya

2019-09-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks like spam to me. Feel free to reopen the issue if incorrect with a better description and example of the problem. -- nosy: +xtreak resolution: -> not a bug stage: -> resolved status: open -&g

[issue37383] call count in not registered in AsyncMock till the coroutine is awaited

2019-09-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > I wonder if `await_count` is really necessary, since it is essentially the > same as `call_count`. Would it be too late or confusing to remove it now? IMO if we are to document that mock_calls is recorded over await then we can hav

  1   2   3   4   5   6   7   8   9   10   >