[issue42371] datetime.fromisoformat(): Omitted colon in timezone suffix raises ValueError

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

[issue42385] Should enum.auto's behavior be adjusted for StrEnum to return the enum name?

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

[issue15860] Use TestCase assertion methods in unittest.mock.assert* to make them easier to read

2020-11-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue28054 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue15

[issue42414] unable to document fields of dataclass

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

[issue42450] Docstrings in itertools recipes should have triple-quotes

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

[issue42299] Remove formatter module

2020-11-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This was proposed earlier : https://bugs.python.org/issue39352 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue42

[issue42462] Unacceptable Output

2020-11-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Please don't attach images since text will have better accessibility for readers. The expression is as below and is a result of operator precedence : https://docs.python.org/3/reference/expressions.html#operator-precedence >>> 7+3==1

[issue42470] DeprecationWarning triggers for sequences which happen to be sets as well

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

[issue36918] ValueError warning in test_urllib due to io.IOBase destructor

2019-05-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: My analysis was that close was called on fakesocket which is internally closed when it's counter resets to zero and the destructor was trying to flush on a closed object during destructor call. Comment from https://bugs.python.org/issue

[issue36948] NameError in urllib.request.URLopener.retrieve

2019-05-17 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : In issue27485 the deprecated functions were replaced with underscore prefixed ones due to which imports where modified. Some of the places where not changed causing NameError in using urllib.request.URLopener.retrieve for local files and non

[issue36948] NameError in urllib.request.URLopener.retrieve

2019-05-17 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +13297 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue36953] Remove collections ABCs?

2019-05-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Relevant PR and discussion : https://github.com/python/cpython/pull/10596 . pip is incompatible due to the vendored copy of html5lib that needs a new release . -- nosy: +xtreak ___ Python tracker <ht

[issue36954] test_recursive_repr breaks tracing in test_xml_etree

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

[issue35989] ipaddress.IPv4Network allows prefix > 32

2019-05-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue36845 that seems to have fixed this. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue35

[issue36959] ISO date errors in _strptime are jumbled

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

[issue36966] Export __VENV_PROMPT__ as environment variable

2019-05-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this same as issue35328? -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue36966> ___ ___ Pytho

[issue36966] Export __VENV_PROMPT__ as environment variable

2019-05-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- superseder: -> Set a environment variable for venv prompt ___ Python tracker <https://bugs.python.org/issu

[issue35121] Cookie domain check returns incorrect results

2019-05-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +13336 stage: commit review -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35647] Cookie path check returns incorrect results

2019-05-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +13337 ___ Python tracker <https://bugs.python.org/issue35647> ___ ___ Python-bugs-list mailing list Unsub

[issue36973] test_json.test_recursion.TestPyRecursion.test_endless_recursion stack overflow in AMD64 Windows8.1 Non-Debug 3.x

2019-05-20 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : test_json results in stack overflow after the commit to implement __repr__ for weakset. This is very much similar to the one consistently occurring on my inspect module PR in Windows tests only for the past two weeks. My change was in changing

[issue36976] email: AttributeError

2019-05-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue36910 which seems to be similar report on non-ascii Content-Transfer-Encoding which is present in the reported file0 file too. -- components: +email nosy: +barry, maxking, msapiro, r.david.murray, xtreak

[issue36977] SharedMemoryManager should relase its resources when its parent process dies

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

[issue36983] typing.__all__ has drifted from actual contents

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

[issue36973] test_json.test_recursion.TestPyRecursion.test_endless_recursion stack overflow in AMD64 Windows8.1 Non-Debug 3.x

2019-05-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I have seen it occurring consistently in my PR 10307 in Travis and AppVeyor. It seems to be reproducible by importing ast at the top in inspect module which seems to have an effect as libregrtest is used to run the test_json. Using unittest module

[issue36996] unittest.mock.patch decorator doesn't work with async functions

2019-05-21 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : I came across this while using AsyncMock but it seems to apply to Mock/MagicMock too. When patch decorator is used to wrap an async function to mock sync or async functions it doesn't seem to work. Manually adding patcher or using pat

[issue24653] Mock.assert_has_calls([]) is surprising for users

2019-05-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > Are the correct methods advertised in the right place? (I don’t use mock so > I forgot if there is a method to assert not called or if it’s > assertEqual(mock calls count, 0) or some False property) There is assert_not_call

[issue26460] datetime.strptime without a year fails on Feb 29

2019-05-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue19376. This behavior is now documented with https://github.com/python/cpython/commit/56027ccd6b9dab4a090e4fef8574933fb9a36ff2 -- nosy: +xtreak ___ Python tracker <https://bugs.python.

[issue36996] unittest.mock.patch decorator doesn't work with async functions

2019-05-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @asvetlov for the explanation. I tried the patch and it works fine for my example with no test failures for mock. I will try to make a PR. Only func(*args, **keywargs) needs to be changed and await requires an async function which I seem to

[issue37004] SequenceMatcher.ratio() noncommutativity not well-documented

2019-05-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +tim.peters ___ Python tracker <https://bugs.python.org/issue37004> ___ ___ Python-bugs-list mailing list Unsub

[issue36948] NameError in urllib.request.URLopener.retrieve

2019-05-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thank you David and Berker. -- ___ Python tracker <https://bugs.python.org/issue36948> ___ ___ Python-bugs-list m

[issue37006] Add top level await statement support for doctest

2019-05-22 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Since issue34616 is merged that allows using compile flags to support top level await statements I think it would be good to add support for top level await in doctest. This would help in concise examples in docs where await statements need to

[issue37006] Add top level await statement support for doctest

2019-05-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I tried using AsyncioDocTestRunner that inherits from DocTestRunner and most of the current DocTestRunner is synchronous and the execution happens in __run that seems to cause problem due to name mangling inheriting and changing it. Also python -m

[issue37008] make unittest.mock.mock_open honor next()

2019-05-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cjw296, lisroach, mariocj89, michael.foord versions: -Python 3.7 ___ Python tracker <https://bugs.python.org/issue37

[issue35760] test_asyncio: test_async_gen_asyncio_gc_aclose_09() race condition

2019-05-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to occur rather commonly now such that it fails and then passes on verbose run. Example : https://dev.azure.com/Python/cpython/_build/results?buildId=43325&view=logs&j=c83831cd-3752-5cc7-2f01-8276919eb334&t=5a421c4a-09

[issue37015] Fix asyncio mock warnings

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

[issue37015] Fix asyncio mock warnings

2019-05-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Not sure if it helps. Set backlog in the below test as 1. Add a print statement print(type(_mock_call)) at [0] . I could see some of _mock_call to be AsyncMock . So instead of calling return _mock_self._mock_call(*args, **kwargs) directly if I

[issue37015] Fix asyncio mock warnings

2019-05-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: patching _accept_connection2 attribute on loop object seems to return an AsyncMock. ➜ cpython git:(master) ✗ cat ../backups/bpo37015.py import asyncio from unittest.mock import patch with patch.object(asyncio.get_event_loop(), '_accept_connec

[issue37015] Fix asyncio mock warnings

2019-05-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess cause is at [0] . When there is no new value specified and with spec being None if mock.patch is used on an async object (original = _accept_connection2). Here original is an async object then AsyncMock is returned. Changing this causes

[issue36829] Add sys.unraisablehook() to custom how "unraisable exceptions" are logged

2019-05-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Could test.support.catch_unraisable_exception also be documented at https://docs.python.org/3/library/test.html#module-test.support ? -- nosy: +xtreak ___ Python tracker <https://bugs.python.

[issue37020] Invalid floating point multiplication result

2019-05-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Relevant doc : https://docs.python.org/3/tutorial/floatingpoint.html -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37024] SQLite flag in configure due to homebrew not linking sqlite

2019-05-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +berker.peksag ___ Python tracker <https://bugs.python.org/issue37024> ___ ___ Python-bugs-list mailing list Unsub

[issue37028] Implement asyncio repl

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

[issue35753] Importing call from unittest.mock directly causes ValueError

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

[issue37015] Fix asyncio mock warnings

2019-05-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This logic is present in create_autospec too at [0]. The behavior for patch seems to be documented at [1] which also needs to be updated to reflect that an AsyncMock by default is created instead of MagicMock if the target is an async function

[issue37030] Lib/cmd.py: Hide undocumented commands in help and completenames

2019-05-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I believe this PR at least addresses the concern raised at [0] to provide a way where internal and undocumented commands can be hidden from the user. [0] https://bugs.python.org/issue13214#msg309788 -- nosy: +xtreak

[issue37015] Fix asyncio mock warnings

2019-05-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @asvetlov No problem then if it can be fixed after beta. -- ___ Python tracker <https://bugs.python.org/issue37

[issue36996] unittest.mock.patch decorator doesn't work with async functions

2019-05-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +13473 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13562 ___ Python tracker <https://bugs.python.org/issu

[issue37047] Refactor AsyncMock setup logic in create_autospec

2019-05-25 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : * In create_autospec there is some logic to detect if the function is an async function this could be refactored out as a private function. * create_autospec has initialization code for async mock. For synchronous functions this is done with

[issue37047] Refactor AsyncMock setup logic in create_autospec

2019-05-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +13482 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13574 ___ Python tracker <https://bugs.python.org/issu

[issue37052] Add examples for mocking async for and async context manager in unittest.mock docs

2019-05-26 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Since issue26467 implemented AsyncMock along with async dunder methods for MagicMock it enables users to mock async for and async with statements. Currently examples of how to use this is present only in tests and would be good to add it to docs

[issue37056] test_tools is failing on several buildbots

2019-05-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue37053 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue35753] Importing call from unittest.mock directly causes ValueError

2019-05-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > The actual bug appears to be "doctest can't run on a module that contains > un-unwrappable objects" Is it the below example scenario being discussed in the issue? Since call is imported it's also present in obj.__

[issue36853] inconsistencies in docs builds (Sphinx 2)

2019-05-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://github.com/python/cpython/pull/13579 that replaces self.warn with self.logger.warn in Doc/tools/extensions/suspicious.py -- nosy: +xtreak ___ Python tracker <https://bugs.python.

[issue37062] `AutoNumber` class in enum documentation: support *args in constructor

2019-05-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ethan.furman ___ Python tracker <https://bugs.python.org/issue37062> ___ ___ Python-bugs-list mailing list Unsub

[issue37065] File and lineno is not reported for syntax error in f-string

2019-05-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker <https://bugs.python.org/issue37065> ___ ___ Python-bugs-list mailing list Unsub

[issue37065] File and lineno is not reported for syntax error in f-string

2019-05-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Related open issue : issue34364. Also issue29051 which was closed as duplicate of issue34364. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37066] os.execl opening a new bash shell doesn't work if initfile/rcfile provided

2019-05-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue37066> ___ ___ Pyth

[issue37075] Error message improvement for AsyncMock

2019-05-28 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : * assert_has_awaits has a comma in between the error message string used in AssertionError and hence error is raised as a tuple instead of a string. import asyncio from unittest.mock import AsyncMock, call async def main(): a = AsyncMock

[issue37075] Error message improvement for AsyncMock

2019-05-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +13518 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13616 ___ Python tracker <https://bugs.python.org/issu

[issue37078] spam

2019-05-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- stage: -> resolved status: open -> closed title: norton login -> spam ___ Python tracker <https://bugs.python.or

[issue37082] Assignment expression operator (walrus) not in built-in help()

2019-05-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +emilyemorehouse ___ Python tracker <https://bugs.python.org/issue37082> ___ ___ Python-bugs-list mailing list Unsub

[issue37082] Assignment expression operator (walrus) not in built-in help()

2019-05-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems this was added in db7b6b95828c25df6f428bc21a5d6d1cb68287a0 (2009) and wasn't updated from then. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/is

[issue36889] Merge StreamWriter and StreamReader into just asyncio.Stream

2019-05-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: test_stream_shutdown_hung_task_prevents_cancellation was added as part of this issue. Seems to be a random error : https://ci.appveyor.com/project/python/cpython/builds/24901585

[issue37015] Fix asyncio mock warnings

2019-05-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +13552 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13661 ___ Python tracker <https://bugs.python.org/issu

[issue37095] [Feature Request]: Add zstd support in tarfile

2019-05-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lars.gustaebel, serhiy.storchaka versions: +Python 3.8, Python 3.9 -Python 3.7 ___ Python tracker <https://bugs.python.org/issue37

[issue37091] subprocess - uncaught PermissionError in send_signal can cause hang

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

[issue22385] Define a binary output formatting mini-language for *.hex()

2019-05-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This change seems to have created some compile time warnings : https://buildbot.python.org/all/#/builders/103/builds/2544/steps/3/logs/warnings__6_ Python/pystrhex.c:18:45: warning: passing argument 1 of ‘PyObject_Size’ discards ‘const’ qualifier

[issue37099] test_inspect generates DeprecationWarning

2019-05-30 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : In PR 13245 getfullargspec was undeprecated. But functions like getargspec and formatargspec still have deprecation warnings in code. As part of the PR code to ignore these warnings in test were also removed though the actual warning remains in

[issue37099] test_inspect generates DeprecationWarning

2019-05-30 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +13567 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13679 ___ Python tracker <https://bugs.python.org/issu

[issue37100] test_coroutine.test_unawaited_warning_when_module_broken fails on -Werror

2019-05-30 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Running test_coroutines under -Werror raises error. It seems ZeroDivisionError is expected and RuntimeWarning is raised and happens only under -Werror. This test was added with e4d300e07c3 . ./python.exe -Werror -m test test_coroutines Run tests

[issue37099] test_inspect generates DeprecationWarning

2019-05-30 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37100] test_coroutine.test_unawaited_warning_when_module_broken fails on -Werror

2019-05-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The coroutine is not awaited in the test and generates a RuntimeWarning. Since I used -Werror I guess the warning was converted to an error and thus replacing ZeroDivisionError in the support.catch_unraisable_exception context manager

[issue37106] python re.escape doesn't escape some special characters.

2019-05-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Please consider posting text content instead of images for better accessibility. This could be due to issue29995. ➜ cpython git:(master) python3.6 Python 3.6.4 (default, Mar 12 2018, 13:42:53) [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81

[issue37103] Undo deprecation of optparse

2019-05-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue25521 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37103> ___ ___ Python-bug

[issue37106] python re.escape doesn't escape some special characters.

2019-05-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It's a behavior change from 3.6 and it's present from 3.7.0a1 -- ___ Python tracker <https://bugs.python.o

[issue37109] Inacurrate documentation regarding return type of math.factorial

2019-05-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this same as issue25735 ? -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37109> ___ ___ Pytho

[issue37109] Inacurrate documentation regarding return type of math.factorial

2019-05-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> duplicate superseder: -> math.factorial doc should mention integer return type ___ Python tracker <https://bugs.python.org/i

[issue37116] Use PEP 570 syntax for positional-only parameters

2019-05-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue37116> ___ ___ Python-bugs-list mailing list Unsub

[issue37119] Equality on dict.values() are inconsistent between 2 and 3

2019-05-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://docs.python.org/3/library/stdtypes.html#dictionary-view-objects > Keys views are set-like since their entries are unique and hashable. If all > values are hashable, so that (key, value) pairs are unique and hashable, then > the i

[issue37123] test_multiprocessing fails randomly on Windows

2019-06-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I couldn't find the traceback for test_venv in the buildbot logs. They were skipped and fixed as part of issue35978. -- components: +Tests nosy: +xtreak type: -> behavior versions: +Py

[issue35621] asyncio.create_subprocess_exec() only works with main event loop

2019-06-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Also seems to occur on Ubuntu : https://buildbot.python.org/all/#/builders/141/builds/1912/steps/5/logs/stdio karthi@ubuntu-s-1vcpu-1gb-blr1-01:~/cpython$ ./python -m unittest test.test_asyncio.test_unix_events ...Exception in

[issue35621] asyncio.create_subprocess_exec() only works with main event loop

2019-06-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It seems the assertion has to use ThreadedChildWatcher instead of SafeChildWatcher as the default seems to be changed at [0] . If changing assertion fixes the test I am curious why it didn't fail in the primary CI. [0] https://github.com/p

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2019-06-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +13643 pull_request: https://github.com/python/cpython/pull/13745 ___ Python tracker <https://bugs.python.org/issue33

[issue37142] test_asyncio timed out on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +asyncio nosy: +asvetlov, yselivanov ___ Python tracker <https://bugs.python.org/issue37142> ___ ___ Pytho

[issue37145] collections.abc.MappingView mixins rely on undocumented _mapping

2019-06-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger versions: -Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue37145> ___ ___ Pytho

[issue37147] f-string debugging f"{x=[}" adds [filename:lineno] as prefix

2019-06-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I created a post about it for discussion [0]. There is no consensus on the format and to modify the existing debugging notation. There were also suggestions to include a builtin function (dbg) like breakpoint() that does this. I guess

[issue37149] link to official documentation tkinter failed !!!

2019-06-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: A copy of the URL is present in archive.org [0] . Perhaps the docs could be updated with it. [0] https://web.archive.org/web/20190524140835/https://infohost.nmt.edu/tcc/help/pubs/tkinter/web/index.html -- nosy: +xtreak versions: -Python

[issue35121] Cookie domain check returns incorrect results

2019-06-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > Can someone try to backport the fix to Python 2.7? The backport to 2.7 PR 13426 is open. It would be helpful if someone can review it. I am not sure of the commit review process and who needs to review and approve it since this is assigned

[issue35647] Cookie path check returns incorrect results

2019-06-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > Python 2.7 is still affected, right? Is there someone interested to backport > the fix? PR 13427 fixes the issue in 2.7 :) -- ___ Python tracker <https://bugs.python.org/i

[issue37142] test_asyncio timed out on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This still seems to hang and timeout after 25 minutes : https://buildbot.python.org/all/#/builders/168/builds/1151/steps/5/logs/stdio -- nosy: +xtreak ___ Python tracker <https://bugs.python.

[issue37150] Do not allow to pass FileType class object instead of instance in add_argument

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

[issue37144] tarfile.open: improper handling of path-like object

2019-06-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This was documented in c45cd167d403d7d98078d5fc4a37b16195dc7a35 but it seems a test for opening gzip file with 'w|gz' mode as in the original report was missing. -- nosy: +lars.gustaebel, serhiy.storchaka, xtreak versions: +

[issue37162] new importlib dependencies csv, email and zipfile

2019-06-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +barry, jaraco ___ Python tracker <https://bugs.python.org/issue37162> ___ ___ Python-bugs-list mailing list Unsub

[issue37075] Error message improvement for AsyncMock

2019-06-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36848] autospec fails with AttributeError when mocked class has __signature__ non-writeable

2019-06-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The jira issue in pyside2 is closed as fixed. I am closing this as third party. -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <https://bug

[issue35022] MagicMock should support `__fspath__`

2019-06-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing this as resolved since this is merged for 3.8. Thank you all. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bug

[issue32644] unittest.mock.call len() error

2019-06-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: call objects inherit from tuple and here the reported argument is a dict with 3 items returning len of 3. I am closing this as part of triaging since there is no additional information from @snakevil on reproducing this. Feel free to reopen this

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

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

[issue37171] Documentation mismatch contextvars module vs PEP-567

2019-06-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this different from the docs at https://docs.python.org/3/library/contextvars.html#contextvars.Context.run? -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37184] suggesting option to raise exception if process exits nonzero in `with subprocess.Popen(...):`

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

<    9   10   11   12   13   14   15   16   17   18   >