[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:

[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

[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

[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

[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:

[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, rhettinger

[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: This seems to be a duplicate of https://bugs.python.org/issue36788 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue41

[issue40891] Use PEP 573 in functools

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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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/issue41

[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

[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

[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=logs=0fcf9c9b-89fc-526f-8708-363e467e119e=fa5ef4ee-3911-591e--19482ab189b7=740 == ERROR

[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

[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

[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

[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:

[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

[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

[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

[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:

[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

[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

[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: +inada.naoki

[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

[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

[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

[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 ppa

[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:

[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

[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.ca

[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/cpython/commit

[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.

[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

[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

[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 Python 3.8

[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

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

2020-07-17 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ethan.furman ___ Python tracker <https://bugs.python.org/issue41316> ___ ___ 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

[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

[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

[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

[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

[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:

[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

[issue41282] Deprecate and remove distutils

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

[issue33840] connection limit on listening socket in asyncio

2020-07-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: -Janae147 ___ Python tracker <https://bugs.python.org/issue33840> ___ ___ Python-bugs-list mailing list Unsub

[issue33840] connection limit on listening socket in asyncio

2020-07-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- Removed message: https://bugs.python.org/msg373589 ___ Python tracker <https://bugs.python.org/issue33840> ___ ___ Pytho

[issue41289] '%' character in help= for argparse causes ValueError: incomplete format

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

[issue41288] Pickle crashes using a crafted datetime object

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

[issue41287] __doc__ attribute is not set in property-derived classes

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

[issue41285] memoryview does not support subclassing

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

[issue41284] High Level API for json file parsing

2020-07-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There was a previous issue to support filepath for json.load https://bugs.python.org/issue36378 . This just expands the json API that could already be done using one more operation. -- nosy: +ezio.melotti, rhettinger, xtreak

[issue41280] lru_cache on 0-arity functions should default to maxsize=None

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

[issue41279] Convert StreamReaderProtocol to a BufferedProtocol

2020-07-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +asyncio nosy: +asvetlov, yselivanov ___ Python tracker <https://bugs.python.org/issue41279> ___ ___ Pytho

[issue41227] minor typo in asyncio transport protocol

2020-07-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Faris for the report and @ys19991 for the patch. Closing this as fixed. -- nosy: +xtreak resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracke

[issue41268] 3.9-dev regression? TypeError: exec_module() missing 1 required positional argument: 'module'

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

[issue41260] datetime: strftime method takes different keyword argument: fmt (pure) or format (C)

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

[issue41256] activate script created by venv is not smart enough

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

[issue41255] Argparse.parse_args exits on unrecognized option with exit_on_error=False

2020-07-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess the docs by manually mean that ArgumentError will be raised when exit_on_error is False that can be handled. By default with exit_on_error being True self.error() which raises SystemExit and catching SystemExit can mask other errors

[issue41254] Add to/from string methods to datetime.timedelta

2020-07-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle versions: +Python 3.10 ___ Python tracker <https://bugs.python.org/issue41254> ___ ___ Pytho

[issue41253] unittest -h shows a flag -s but it doesn't work

2020-07-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The -s option shown in `python3 -m unittest -h` is grouped under help for discover. Options for a discover command don't necessarily apply to the unittest command itself. $ python3 -m unittest -h usage: python3 -m unittest [-h] [-v] [-q] [--locals

[issue41250] Number separators in different places

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

[issue33840] connection limit on listening socket in asyncio

2020-07-08 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- Removed message: https://bugs.python.org/msg373314 ___ Python tracker <https://bugs.python.org/issue33840> ___ ___ Pytho

[issue33840] connection limit on listening socket in asyncio

2020-07-08 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- Removed message: https://bugs.python.org/msg373313 ___ Python tracker <https://bugs.python.org/issue33840> ___ ___ Pytho

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

2020-07-08 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak status: pending -> open ___ Python tracker <https://bugs.python.org/issue40820> ___ ___ Python-bugs-lis

[issue41220] add optional make_key argument to lru_cache

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

[issue41206] behaviour change with EmailMessage.set_content

2020-07-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Łukasz, There is already a PR open for this from May linking to original issue at https://github.com/python/cpython/pull/20542 . I missed it during triaging this issue. I guess someone needs to approve that PR and merge it to master to backport

[issue41206] behaviour change with EmailMessage.set_content

2020-07-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +20495 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21349 ___ Python tracker <https://bugs.python.org/issu

[issue41206] behaviour change with EmailMessage.set_content

2020-07-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There is a behavior change with my fix. 7bit is returned for Content-Transfer-Encoding before commit and skipping the heuristic if line is empty to avoid ValueError will return quoted-printable for Content-Transfer-Encoding. This is a behavior

[issue41206] behaviour change with EmailMessage.set_content

2020-07-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sure, I guess the fix would be to check for lines to be non-empty before doing a call to max and also convert the report as a test case? -- ___ Python tracker <https://bugs.python.org/issue41

[issue41216] eval don't load local variable in dict and list comprehensions.

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

[issue41165] [Python 3.10] Remove APIs deprecated long enough

2020-07-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Adding Miro since Fedora will be testing Python 3.10 and deprecated API removals here might potentially affect libraries like Python 3.9 testing. -- nosy: +hroncok ___ Python tracker <ht

[issue41206] behaviour change with EmailMessage.set_content

2020-07-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is caused due to c1f1ddf30a595c2bfa3c06e54fb03fa212cd28b5 introduced as part of bpo-40597 which is reported back in the issue with https://bugs.python.org/msg370395 -- nosy: +xtreak ___ Python

[issue41205] Documentation Decimal power 0 to the 0 is Nan (versus 0 to the 0 which is 1)

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

[issue41203] Replace references to OS X in documentation with macOS

2020-07-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker <https://bugs.python.org/issue41203> ___ ___ Pytho

[issue41066] Update documentation for Pathlib

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

[issue41197] Async magic methods in contextlib.closing

2020-07-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be a duplicate of issue40213 with a link to implementation in trio. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue41

[issue41199] Docstring convention not followed for dataclasses documentation page

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

[issue41197] Async magic methods in contextlib.closing

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

[issue41192] Some audit events are undocumented

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

[issue41165] [Python 3.10] Remove APIs deprecated long enough

2020-07-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > For the record, I noticed DeprecationWarning is not shown by unittest.runner > by default. There is an open issue for this but I think it's enabled by default https://bugs.python.org/issue39892 $ cat /tmp/test_bar.py import unittest

[issue41165] [Python 3.10] Remove APIs deprecated long enough

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

[issue41156] Remove Task.all_tasks and Task.current_task

2020-06-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue40967 -- nosy: +aeros, xtreak ___ Python tracker <https://bugs.python.org/issue41

[issue41118] datetime object does not preserve POSIX timestamp

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

[issue41120] Possible performance improvement for itertools.product example on Python Docs

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

[issue41109] subclasses of pathlib.PurePosixPath never call __init__ or __new__

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

[issue41087] Argparse int / float default

2020-06-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There is a documentation note on type casting along with an example similar to the report https://docs.python.org/3.8/library/argparse.html#default > If the default value is a string, the parser parses the value as if it were a > comman

[issue41083] plistlib can't decode date from year 0

2020-06-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker <https://bugs.python.org/issue41083> ___ ___ Pytho

[issue41065] Use zip-strict in zoneinfo

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

[issue41041] Multiprocesing Pool borken on macOS REPL

2020-06-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: -Digital India title: Digital India -> Multiprocesing Pool borken on macOS REPL type: security -> behavior ___ Python tracker <https://bugs.python.org/i

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