[issue41293] fix confusing example in hashlib docs

2020-07-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +christian.heimes, gregory.p.smith ___ Python tracker <https://bugs.python.org/issue41293> ___ ___ Python-bug

[issue41296] unittest.mock: patched mocks do not propagate calls to parent when set via setattr

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

[issue41296] unittest.mock: patched mocks do not propagate calls to parent when set via setattr

2020-07-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue41296> ___ ___ Pyth

[issue41304] python 38 embed ignore python38._pth file on windows

2020-07-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue41

[issue41305] Add StreamReader.readinto()

2020-07-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +asyncio nosy: +asvetlov, yselivanov type: -> enhancement versions: +Python 3.10 ___ Python tracker <https://bugs.python.org/issu

[issue41311] Add a function to get a random sample from an iterable (reservoir sampling)

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

[issue41312] add !p to pprint.pformat() in str.format() an f-strings

2020-07-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This needs discussion on python-ideas/ideas category on discourse similar to f-string debug notation. -- nosy: +eric.smith, xtreak ___ Python tracker <https://bugs.python.org/issue41

[issue41316] tarfile: Do not write full path in FNAME field

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

[issue41321] Calculate timestamp is wrong in datetime.datetime

2020-07-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I cannot reproduce the report on 3.8 and master. Both of the instances return 26002 which is 7 hours, 13 minutes and 22 seconds. Can you please attach a script that I can run to reproduce the difference? python3 Python 3.8.0 (v3.8.0:fa919fdf25

[issue41322] unittest: Generator test methods will always be marked as passed

2020-07-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://github.com/python/cpython/blob/8e836bb21ce73f0794fd769db5883c29680dfe47/Lib/unittest/case.py#L548 . _callTestMethod just calls the test method and doesn't check for the method to be a generator function to be iterated through. In Pytho

[issue41322] unittest: Generator test methods will always be marked as passed

2020-07-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is a duplicate of issue15551 and as per discussion in the thread my approach is incoherent with design of unittest to execute generators. I propose closing this as duplicate with same resolution as not fixed unless there is a change required

[issue41321] Calculate timestamp is wrong in datetime.datetime

2020-07-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Serhiy, you are right. I wrote below script that could explain the difference. # ../backups/bpo41321.py import datetime import zoneinfo for tz in zoneinfo.available_timezones(): diff = datetime.datetime(1986, 5, 4, 7, 13, 22, tzinfo

[issue41325] Document addition of `mock.call_args.args` and `mock.call_args.kwargs` in 3.8

2020-07-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is a duplicate of https://bugs.python.org/issue40820 . But this PR has cla signed so I am inclined towards merging this instead. -- nosy: +xtreak ___ Python tracker <https://bugs.python.

[issue41325] Document addition of `mock.call_args.args` and `mock.call_args.kwargs` in 3.8

2020-07-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: New changeset 9b01c598ca2576a1056816e85dd84bf5f9c74688 by Jordan Speicher in branch 'master': bpo-41325: Add version note for args and kwargs property in call object (GH-21525) https://github.com/python/cpyt

[issue40820] Mock Call attributes args and kwargs have no changeversion

2020-07-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Closing this in favor of https://bugs.python.org/issue41325 -- resolution: -> fixed stage: patch review -> resolved status: open -> closed superseder: -> Document addition of `mock.call_ar

[issue41325] Document addition of `mock.call_args.args` and `mock.call_args.kwargs` in 3.8

2020-07-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Jordan for the report and patch. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41334] Convert str(), bytes() and bytearray() to Argument Clinic

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

[issue41336] Random segfaults during zoneinfo object creation stopped using Ctrl-C

2020-07-18 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : I get segfaults on random basis in the below program I wrote for issue41321 while trying to use Ctrl-C to stop the program. I used faulthandler but couldn't get to the exact case where it occurs. I tested it on Python 3.9 from deadsnakes pp

[issue36723] Unittest Discovery for namespace subpackages dot notation fails

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

[issue41324] Add a minimal decimal capsule API

2020-07-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- title: En az ondalık kapsül API ekleme -> Add a minimal decimal capsule API ___ Python tracker <https://bugs.python.org/issu

[issue41338] test_decimal emits DeprecationWarning due to PyUnicode_FromUnicode(NULL, size)

2020-07-19 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Probably related to issue36346 ./python -Wall -m test test_decimal 0:00:00 load avg: 3.07 Run tests sequentially 0:00:00 load avg: 3.07 [1/1] test_decimal /root/cpython/Lib/test/test_decimal.py:592: DeprecationWarning: PyUnicode_FromUnicode

[issue36777] unittest discover throws TypeError on namespace packages

2020-07-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I didn't know packages without __init__.py are namespace packages back then and used empty packages. I guess it's related to the other issues with unittest and namespace packages issue36723, issue23882 and issue35617 -- nosy: +i

[issue41339] make queue.Queue objects iterable

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

[issue41347] collections.deque.count performance enhancement

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

[issue41350] Use of zipfile.Path causes attempt to write after ZipFile is closed

2020-07-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +jaraco ___ Python tracker <https://bugs.python.org/issue41350> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41359] argparse mutually exclusive group does not exclude in some cases

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

[issue41362] Regenerating parser table fails (windows)

2020-07-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue41

[issue41371] test_zoneinfo fails

2020-07-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +p-ganssle ___ Python tracker <https://bugs.python.org/issue41371> ___ ___ Python-bugs-list mailing list Unsub

[issue41377] memoryview of str (unicode)

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

[issue41381] Google chat handler in Logging module

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

[issue41371] test_zoneinfo fails

2020-07-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I got this error as well. Since lzma is needed to decode the test data the ImportError can be captured to skip the test in setUpModule [0] like other test module setup with similar approach for required cases. I am adding easy tag. Feel free to

[issue41371] test_zoneinfo fails when lzma module is unavailable

2020-07-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- title: test_zoneinfo fails -> test_zoneinfo fails when lzma module is unavailable ___ Python tracker <https://bugs.python.org/issu

[issue41385] test_executable_without_cwd fails on appx test run in Azure pipelines

2020-07-24 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : https://dev.azure.com/Python/cpython/_build/results?buildId=66688&view=logs&j=0fcf9c9b-89fc-526f-8708-363e467e119e&t=fa5ef4ee-3911-591e--19482ab189b7&l=740

[issue41384] tkinter raises TypeError when it's supposed to raise TclError

2020-07-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gpolo, serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue41384> ___ ___ Python-bugs-list mailin

[issue41390] Errors and warnings on generate bytecode files

2020-07-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The warnings are from lib2to3 test data files that explicitly contain Python 2 syntax to verify if running 2to3 over those files does correct transformation. The other errors are test files for syntax error. -- nosy: +xtreak

[issue41350] Use of zipfile.Path causes attempt to write after ZipFile is closed

2020-07-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Not sure if it's related to this issue there is an existing issue with ZipFile.__del__ : issue37773 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/is

[issue39830] zipfile.Path is not included in __all__

2020-07-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing it as resolved. Thanks Zackery and jaraco. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41336] Sporadic segfaults during zoneinfo object creation stopped using Ctrl-C

2020-07-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing it as resolved. Thanks Zackery. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41344] SharedMemory crash when size is 0

2020-07-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : Removed file: https://bugs.python.org/file49338/lose.html ___ Python tracker <https://bugs.python.org/issue41344> ___ ___ Python-bug

[issue41344] SharedMemory crash when size is 0

2020-07-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : Removed file: https://bugs.python.org/file49339/-.txt ___ Python tracker <https://bugs.python.org/issue41344> ___ ___ Python-bug

[issue41394] Make '_' behavior in shell more clear

2020-07-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There is also some docs for _ at https://docs.python.org/3/reference/lexical_analysis.html#reserved-classes-of-identifiers -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue41

[issue41395] pickle and pickletools cli interface doesn't close input and output file.

2020-07-25 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : pickle and pickletools use argparse with FileType which is not automatically closed. Other cli interfaces like json [0], ast [1] use context manager to close filetype objects. pickle : https://github.com/python/cpython/blob

[issue41401] Using non-ascii that require UTF-8 breaks AIX testing

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

[issue41403] Uncaught AttributeError in unittest.mock._get_target

2020-07-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cjw296, mariocj89, michael.foord, xtreak ___ Python tracker <https://bugs.python.org/issue41403> ___ ___ Python-bug

[issue41405] python 3.9.0b5 test

2020-07-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It seems they were two tests were reported individually : test_curses - https://bugs.python.org/issue36630 test_tk - https://bugs.python.org/issue41306 Please also include the output of /opt/python/3.9.0/bin/python3 -m test.pythoninfo

[issue40891] Use PEP 573 in functools

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

[issue41408] Add a `clamp` function to the `math` module

2020-07-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be a duplicate of https://bugs.python.org/issue36788 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue41

[issue41409] deque.pop(index) is not supported

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

[issue41408] Add a `clamp` function to the `math` module

2020-07-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I will leave it to math module experts to keep it open or close it. There wasn't strong consensus on adding it math module either without a discussion in python-ideas https://bugs.python.org/msg358789. -- nosy: +mark.dickinson, rhett

[issue19016] autospecced namedtuples should be truthy by default

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

[issue41417] SyntaxError: assignment expression within assert

2020-07-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum ___ Python tracker <https://bugs.python.org/issue41417> ___ ___ Python-bugs-list mailing list Unsub

[issue41423] `multiprocessing.Array` and `multiprocessing.managers.SyncManager.Array` APIs are similar but not the same

2020-07-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +davin, pitrou ___ Python tracker <https://bugs.python.org/issue41423> ___ ___ Python-bugs-list mailing list Unsub

[issue41421] Random.paretovariate sometimes raises ZeroDivisionError for small alpha

2020-07-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mark.dickinson, rhettinger ___ Python tracker <https://bugs.python.org/issue41421> ___ ___ Python-bugs-list mailin

[issue41428] PEP 604 -- Allow writing union types as X | Y

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

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-07-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: After this patch test_lib2to3 generates a PendingDeprecationWarning. It can be silenced as it's intentional to avoid test failures while running tests with -Werror. ./python.exe -Wall -m test test_lib2to3 0:00:00 load avg: 2.31 Run

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-07-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I was referring to PR https://github.com/python/cpython/pull/19663 (commit-503de7149d03bdcc671dcbbb5b64f761bb192b4d) that was merged as part of this issue. It started emitting PendingDeprecationWarning but was not silenced in the test

[issue41436] BUG a simple "and" and "or"

2020-07-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Below is the formatted program for easier reading. In the while clause you ask for the user to enter n to exit but you check (ch != n or ch != N) so on entering "n" the first condition is false but second clause is true. For "N&qu

[issue41436] BUG a simple "and" and "or"

2020-07-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40045] Make "dunder" method documentation easier to locate

2020-07-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing as fixed. Thanks Hilit. -- nosy: +xtreak resolution: -> fixed status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue41444] CPython 3.8.5 fails to build on Windows with -E option

2020-07-30 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue41

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-07-30 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +20838 pull_request: https://github.com/python/cpython/pull/21694 ___ Python tracker <https://bugs.python.org/issue40

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-07-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: New changeset cadda52d974937069eeebea1cca4229e2bd400df by Karthikeyan Singaravelan in branch 'master': bpo-40360: Handle PendingDeprecationWarning in test_lib2to3. (GH-21694) https://github.com/python/cpyt

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-07-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +20841 pull_request: https://github.com/python/cpython/pull/21697 ___ Python tracker <https://bugs.python.org/issue40

[issue41450] OSError is not documented in ssl library, but still can be thrown

2020-07-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +SSL ___ Python tracker <https://bugs.python.org/issue41450> ___ ___ Python-bugs-list mailing list Unsub

[issue41450] OSError is not documented in ssl library, but still can be thrown

2020-07-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +christian.heimes ___ Python tracker <https://bugs.python.org/issue41450> ___ ___ Python-bugs-list mailin

[issue41457] Implement random.shuffled

2020-08-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mark.dickinson, rhettinger ___ Python tracker <https://bugs.python.org/issue41457> ___ ___ Python-bugs-list mailin

[issue41469] Problem with serial communication

2020-08-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This tracker is for issues related to CPython. Please report issues at the relevant repo https://github.com/pyserial/pyserial. Closing it as third party. -- nosy: +xtreak resolution: -> third party stage: -> resolved status

[issue41476] test_zoneinfo fails if the _lzma module is missing

2020-08-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Duplicate of https://bugs.python.org/issue41371 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue41

[issue41480] python won't save

2020-08-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- assignee: -> terry.reedy components: +IDLE nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issu

[issue41487] Builtin bigint modulo operation can be made faster when the base is divisible by a large power of 2 (i.e: has many trailing 0 digits in binary)

2020-08-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lemburg, mark.dickinson, rhettinger, stutzbach ___ Python tracker <https://bugs.python.org/issue41487> ___ ___

[issue41488] Unusable type hint should not be silently ignored

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

[issue41496] Create public API for typing._eval_type

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

[issue41511] Pathlib parents doesn't support slicing with negative indexes

2020-08-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing it as duplicate of issue21041. Thanks Remi. Yaroslav, feel free to discuss it in the other issue. -- nosy: +xtreak resolution: -> duplicate stage: patch review -> resolved status: open -> closed s

[issue41261] 3.9-dev SEGV in object_recursive_isinstance in ast.literal_eval

2020-08-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lukasz.langa ___ Python tracker <https://bugs.python.org/issue41261> ___ ___ Python-bugs-list mailing list Unsub

[issue40185] Refactor typing.NamedTuple

2020-08-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to have caused a test failure in astroid project. I am not sure if the fix needs to be done from their end probably relying on some implementation detail or from the patch itself. Feel free to ignore if it's a third-party only

[issue41515] typing.get_type_hints generates KeyError

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

[issue41517] Enum multiple inheritance loophole

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

[issue41429] Let fnmatch.filter accept a tuple of patterns

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

[issue41520] 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

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

[issue41525] Python '--help' has corrupted text.

2020-08-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: serhiy , I can similar quotes present in Lib/pydoc_data/topics.py too which is autogenerated. Could this cause issues with pydoc too while reading topics? -- nosy: +xtreak ___ Python tracker <ht

[issue41527] smart quotes in Lib/pydoc_data/topics.py file

2020-08-11 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Similar to issue41525 the generated file seems to contain smart quotes. This is used in help utility of the repl to explore different topics. git log -G'“' Lib/pydoc_data/topics.py | cat commit bc1c8af8ef2563802767404c78c8ec6d6a967

[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

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

[issue41534] argparse : allow_abbrev behavior between 3.7 and 3.8

2020-08-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Bisection tells me this was introduced with commit b1e4d1b6032d4c82b549233fa08a2c7cfe7e818b in issue26967 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue41

[issue41536] pathlib's Path("NUL:").resolve() throws an error on windows

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

[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-08-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @hroncok said on Twitter it was reported at https://github.com/Storyyeller/enjarify/issues/17 -- ___ Python tracker <https://bugs.python.org/issue41

[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The commit 369a1cbdee14d9f27356fb3a8bb21e4fde289d25 introduces a change in environment. I haven't checked the other PR though to see if this is fixed. ./python.exe -m test --fail-env-changed test_codeop -m test_warning 0:00:00 load avg: 2.3

[issue41538] Allow customizing python interpreter in venv.EnvBuilder

2020-08-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip versions: -Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue41

[issue41489] HTMLParser : HTMLParser.error creating multiple errors.

2020-08-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +berker.peksag ___ Python tracker <https://bugs.python.org/issue41489> ___ ___ Python-bugs-list mailing list Unsub

[issue41600] Expected behavior of argparse given quoted strings

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

[issue41572] Documentation wording fix on Lib/asyncio/transports.py

2020-08-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: New changeset 1afb42cfa82dad0ddd726f59c6c5fcb3962314db by Cleber Rosa in branch 'master': bpo-41572: Fix grammar in BaseTransport.close docstring (GH-21914) https://github.com/python/cpython/commit/1afb42cfa82dad0ddd726f59c6c5fc

[issue41585] policy.max_line_length is incorrectly assumed to never be None

2020-08-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +maxking ___ Python tracker <https://bugs.python.org/issue41585> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41598] rnd() + rndup() in math

2020-08-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mark.dickinson, rhettinger, stutzbach ___ Python tracker <https://bugs.python.org/issue41598> ___ ___ Python-bug

[issue41572] Documentation wording fix on Lib/asyncio/transports.py

2020-08-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: New changeset a2d00f04733491a56abec45e7a20fb42282bb4d1 by Miss Islington (bot) in branch '3.9': bpo-41572: Fix grammar in BaseTransport.close docstring (GH-21914) (#21929) https://github.com/python/cpyt

[issue41572] Documentation wording fix on Lib/asyncio/transports.py

2020-08-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: New changeset 1370d9dd9fbd71e9d3c250c8e6644e0ee6534fca by Miss Islington (bot) in branch '3.8': bpo-41572: Fix grammar in BaseTransport.close docstring (GH-21914) (GH-21930) https://github.com/python/cpyt

[issue41572] Documentation wording fix on Lib/asyncio/transports.py

2020-08-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Cleber. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41624] typing.Coroutine documentation

2020-08-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. This seems to be a reasonable suggestion. Would you like to open a PR for this? -- keywords: +easy, newcomer friendly nosy: +xtreak ___ Python tracker <https://bugs.python.

[issue41628] All unittest.mock autospec-generated methods are coroutine functions

2020-08-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lisroach, xtreak versions: +Python 3.10, Python 3.9 -Python 3.7 ___ Python tracker <https://bugs.python.org/issue41

[issue41629] __class__ not set defining 'X' as . Was __classcell__ propagated to type.__new__?

2020-08-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The example used to raise deprecation warning in python 3.7 python3.7 -Wall ../backups/bpo41629.py ../backups/bpo41629.py:4: DeprecationWarning: __class__ not set defining 'X' as . Was __classcell__ propagated to type.__new__? class X(

[issue41629] __class__ not set defining 'X' as . Was __classcell__ propagated to type.__new__?

2020-08-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Related SO questions : * https://stackoverflow.com/questions/61543768/super-in-a-typing-namedtuple-subclass-fails-in-python-3-8 * https://stackoverflow.com/questions/41343263/provide-classcell-example-for-python-3-6-metaclass

[issue41630] Visual Studio does not build the curses and curses.panel module

2020-08-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows -Library (Lib) nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue41

<    7   8   9   10   11   12   13   14   15   16   >