[issue37192] pip instal math3d - EROR

2019-06-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This tracker is only for issues related to CPython. math3d is not a part of CPython stdlib. I would suggest following up on the respective repo's issue tracker. -- nosy: +xtreak ___ Python tr

[issue37195] test_utime fails on MacOS Mojave (Kernel Version 18.6.0:)

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

[issue12144] cookielib.CookieJar.make_cookies fails for cookies with 'expires' set

2019-06-08 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +13794 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/13921 ___ Python tracker <https://bugs.python.org/issu

[issue37206] Incorrect application of Argument Clinic to dict.pop()

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

[issue37208] Weird exception behaviour in ProcessPoolExecutor

2019-06-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +bquinlan, pitrou ___ Python tracker <https://bugs.python.org/issue37208> ___ ___ Python-bugs-list mailin

[issue37212] ordered keyword arguments in unittest.mock.call repr and error messages

2019-06-10 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : With PEP 468 implemented in Python 3.6 the order of keyword arguments are preserved. In mock.call the arguments are sorted [0]. This makes the output different from the expectation that order should be same as the one passed. This was

[issue37151] Calling code cleanup after PEP 590

2019-06-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- Removed message: https://bugs.python.org/msg345119 ___ Python tracker <https://bugs.python.org/issue37151> ___ ___ Pytho

[issue37216] mac installation document wrong for python 3.7.3

2019-06-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Relevant email : https://mail.python.org/pipermail/docs/2019-June/041030.html -- components: +macOS nosy: +ned.deily, ronaldoussoren, xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue28071] Stop set.difference when set is empty

2019-06-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Behavior change in msg306973 is tracked with issue37219 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue28

[issue37217] SSL socket segfaults during a connect() using a punycode domain containg a umlaut

2019-06-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I couldn't get an ssl build with 3.5.4 to verify this but looking at changelog between 3.5.3 and 3.5.4 issue30594 might have fixed it since it reports a similar segfault. -- nosy: +xtreak ___ P

[issue37222] urllib missing voidresp breaks CacheFTPHandler

2019-06-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +giampaolo.rodola, orsenthil ___ Python tracker <https://bugs.python.org/issue37222> ___ ___ Python-bugs-list mailin

[issue37227] Wrong parse long argument

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

[issue37227] Wrong parse long argument

2019-06-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: argparse allows abbreviations by default so --li matches --list as a prefix match. This is documented at https://docs.python.org/2.7/library/argparse.html#argument-abbreviations-prefix-matching >From python 3.5 allow_abbrev=False can be passed

[issue37229] bisect: Allow a custom compare function

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

[issue37229] bisect: Allow a custom compare function

2019-06-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue1451588. issue4356 for more discussion that also proposes to add key parameter. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37230] spam

2019-06-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> not a bug stage: -> resolved status: open -> closed title: Why Highly Skilled Network Engineers prefer On-Demand work? -> spam ___ Python tracker <https://bugs.python

[issue37234] error in variable

2019-06-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This tracker is for issues related to CPython. The examples presented in the report look more like user error with variables where N is not defined in the first examples. Can you please illustrate over the examples over how this is an issue with

[issue37235] urljoin behavior unclear/not following RFC 3986

2019-06-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Library (Lib) nosy: +orsenthil, xtreak ___ Python tracker <https://bugs.python.org/issue37235> ___ ___ Pytho

[issue37246] http.cookiejar.DefaultCookiePolicy should use current timestamp instead of last updated timestamp value for checking expiry

2019-06-12 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : In http.cookiejar module's DefaultCookiePolicy checking for cookie expiry uses the last updated value for _now [0] which is in three actions below. So if the cookies are extracted using the policy and the policy is used for expiry check lat

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-06-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lisroach, xtreak ___ Python tracker <https://bugs.python.org/issue37251> ___ ___ Python-bugs-list mailin

[issue37248] support conversion of `func(**{} if a else b)`

2019-06-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: >From the title is this similar to the PR >https://github.com/python/cpython/pull/12703 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/i

[issue37255] Pathlib: Add an expandUserPath method or argument

2019-06-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There is expanduser : https://docs.python.org/3/library/pathlib.html#pathlib.Path.expanduser. os.path.expanduser also accepts a path like object. Is this report different from these two functions? -- nosy: +xtreak

[issue25599] asyncio.iscoroutinefunction returns unexpected results when presented with unittest.mock.Mock

2019-06-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess the inconsistency in original report is fixed with issue28703 where both inspect.iscoroutinefunction and asyncio.iscoroutinefunction return False for Mock(). The fix is available from 3.5.3 . There is also async support for mock added in

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-06-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I will wait for a couple of days for suggestions and will raise a PR to check for __code__ to be a CodeType. Thanks. -- ___ Python tracker <https://bugs.python.org/issue37

[issue26140] inspect.iscoroutinefunction raises TypeError when checks Mock of function or coroutinefunction

2019-06-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lisroach, xtreak versions: +Python 3.8, Python 3.9 -Python 3.5 ___ Python tracker <https://bugs.python.org/issue26

[issue37258] Logging cache not cleared properly when setting level

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

[issue37248] support conversion of `func(**{} if a else b)`

2019-06-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://bugs.python.org/issue36541 already tracks it. So can this be closed as a duplicate? -- ___ Python tracker <https://bugs.python.org/issue37

[issue37264] Python 3.7.3 win 64bit - unresolved external symbol PyOS_AfterFork_Child

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

[issue37262] Make unittest assertions staticmethods/classmethods

2019-06-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue19645 which seems to be a slightly related discussion -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37262] Make unittest assertions staticmethods/classmethods

2019-06-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Library (Lib) -Tests nosy: +ezio.melotti, michael.foord, rbcollins versions: -Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue37

[issue37258] Logging cache not cleared properly when setting level

2019-06-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: A unittest patch for this issue. This occurs in master and 3.8 too. diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 50148dc2f2..30fd9ee37a 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -4172,6

[issue37266] Daemon threads must be forbidden in subinterpreters

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

[issue37273] from pickle import rick

2019-06-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add a description over why you want to include the text in PR as part of pickle and the improvement it provides to the user? -- nosy: +xtreak ___ Python tracker <https://bugs.python.

[issue37274] Scripts folder is empty in python 3.7.3 for windows.

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

[issue37275] GetConsole(Output)CP is used even when stdin/stdout is redirected

2019-06-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eryksun ___ Python tracker <https://bugs.python.org/issue37275> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37272] pygit2 won't build

2019-06-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @lazka for the details. I am closing this as third party issue. -- nosy: +xtreak resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <https://bug

[issue37277] http.cookies.SimpleCookie does not parse attribute without value (rfc2109)

2019-06-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This could be due to issue22796. See also https://bugs.python.org/issue27828#msg273355. ➜ cpython git:(master) ✗ git checkout b1e36073cdde71468efa27e88016aa6dd46f3ec7~1 Lib/http/cookies.py ➜ cpython git:(master) ✗ ./python.exe -c '

[issue37281] asyncio Task._fut_waiter done callback

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

[issue37286] Pasting emoji crashes IDLE

2019-06-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add a traceback if any? See also https://bugs.python.org/issue13153 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37290] Mistranslation (Japanese)

2019-06-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Japanese translation is tracked in GitHub at https://github.com/python/python-docs-ja . I think this can be closed as third party issue and this can be raised as a GitHub issue there. -- nosy: +xtreak

[issue37248] support conversion of `func(**{} if a else b)`

2019-06-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> duplicate ___ Python tracker <https://bugs.python.org/issue37248> ___ ___ Python-bugs-list mai

[issue37248] support conversion of `func(**{} if a else b)`

2019-06-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Closing. -- stage: -> resolved status: open -> closed superseder: -> Make lib2to3 grammar more closely match Python ___ Python tracker <https://bugs.python.or

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-06-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +13967 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14117 ___ Python tracker <https://bugs.python.org/issu

[issue35121] Cookie domain check returns incorrect results

2019-06-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing this as resolved since the fix was merged to all branches. Thank you all. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracke

[issue35647] Cookie path check returns incorrect results

2019-06-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing this as resolved since the fix was merged to all branches. Thank you all. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracke

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-06-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I created PR to ensure the __code__ object is checked to be a CodeType and converted the report to a unittest. I also found a similar function _is_async_func [0] which also seems to perform similar check but is used only in create_autospec

[issue37303] Rename parameter name of imghdr what

2019-06-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: file can be a positional or keyword argument. Someone might be using it as a keyword argument and this would require a deprecation period before renaming could be done. ./python.exe Python 3.9.0a0 (heads/master:7a68f8c28b, Jun 15 2019, 21:00:05

[issue37307] isinstance/issubclass doc isn't clear on whether it's an AND or an OR.

2019-06-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: docstring for issubclass is a bit clear on the behavior issubclass(cls, class_or_tuple, /) Return whether 'cls' is a derived from another class or is the same class. A tuple, as in ``issubclass(x, (A, B, ...))``, may be given as

[issue37317] asyncio gather doesn't handle custom exceptions that inherit from BaseException

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

[issue33529] [security] Infinite loop on folding email (_fold_as_ew()) if an header has no spaces

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

[issue35360] Update SQLite to 3.26 in Windows and macOS installer builds

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

[issue37323] test_asyncio: test_debug_mode_interop() fails using -Werror

2019-06-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It affects 3.8 as well since https://github.com/python/cpython/pull/13346 was merged and I guess the fix would be to wrap it with assertWarns(DeprecationWarning) context manager like other tests. Interesting, does PYTHONWARNINGS=error affects the

[issue37317] asyncio gather doesn't handle custom exceptions that inherit from BaseException

2019-06-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: On master this returns the below output. Maybe this change in master was due to 431b540bf79f0982559b1b0e420b1b085f667bb7 (issue32528) that is available with 3.8+ ? ./python.exe ../backups/bpo37317.py BEGIN THIS DONE: 1 THIS DONE: 2 THIS DONE: 3

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

2019-06-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +14041 pull_request: https://github.com/python/cpython/pull/14203 ___ Python tracker <https://bugs.python.org/issue36

[issue37323] test_asyncio: test_debug_mode_interop() fails using -Werror

2019-06-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sorry, I was wrong PYTHONWARNINGS environment variable is still passed to subprocess created by assert_python_ok so using assertWarns doesn't suppress it. Perhaps the DeprecationWarning could be ignored in assert_python_ok like below wi

[issue37333] Fail build on windows 10(visual studio 2019)

2019-06-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Probably related issue where the flag was added to python.vcxproj : issue37288 -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, xtreak, zach.ware ___ Python tracker <ht

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

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

[issue37343] pip: Warn on vulnerable packages

2019-06-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. pip development happens at https://github.com/pypa/pip/ where this could get better attention since CPython just vendors latest pip. pipenv does similar check with "pipenv check" command [0]. Similar issue on GitH

[issue37342] A type error in typeobj.rst

2019-06-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This was added with 9e7c92193cc98fd3c2d4751c87851460a33b9118 so adding Eric. -- nosy: +eric.snow, xtreak type: -> behavior versions: +Python 3.8, Python 3.9 ___ Python tracker <https://bugs.pyth

[issue37349] venv.EnvBuilder environmental variable hooks

2019-06-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Library (Lib) -Interpreter Core nosy: +vinay.sajip versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue37

[issue37347] Reference-counting problem in sqlite

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

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-06-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > BUT I think removing the `if getattr(obj, '__code__', None)` from > `_is_async_obj` actually makes this work correctly. It is possible for a > coroutine object to not have a __code__, but I don't think it is possible for

[issue24214] UTF-8 incremental decoder doesn't support surrogatepass correctly

2019-06-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This change seems to have caused test failure reported in https://github.com/python-hyper/wsproto/issues/126 from codecs import getincrementaldecoder decoder = getincrementaldecoder("utf-8")() print(decoder.decode(b'f\xf1\xf6rd&#x

[issue37323] test_asyncio: test_debug_mode_interop() fails using -Werror

2019-06-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +14118 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14293 ___ Python tracker <https://bugs.python.org/issu

[issue36073] sqlite crashes with converters mutating cursor

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

[issue32934] logging.handlers.BufferingHandler capacity is unclearly specified

2019-06-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip type: -> behavior versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.6 ___ Python tracker <https://bugs.python.org/issu

[issue37212] ordered keyword arguments in unittest.mock.call repr and error messages

2019-06-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I created a python-dev thread for discussion : https://mail.python.org/archives/list/python-...@python.org/thread/6F2NGCERZLZ2CDGYIAR5QOHMGAAE5VHE/ -- ___ Python tracker <https://bugs.python.

[issue37212] ordered keyword arguments in unittest.mock.call repr and error messages

2019-06-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I will create a PR for this as per mailing list discussion : https://mail.python.org/archives/list/python-...@python.org/message/JWPDLKNM5X27FRWJG7UOAFXHNRUGH44S/ -- ___ Python tracker <ht

[issue37372] datetime.time unpickling fails in case of python2 pickle with seconds>=24

2019-06-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle versions: -Python 3.6 ___ Python tracker <https://bugs.python.org/issue37372> ___ ___ Pytho

[issue37372] datetime.time unpickling fails in case of python2 pickle with seconds>=24

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

[issue37212] ordered keyword arguments in unittest.mock.call repr and error messages

2019-06-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +14132 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14310 ___ Python tracker <https://bugs.python.org/issu

[issue37374] Minidom does not have to escape quote inside text segments

2019-06-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +scoder, serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue37374> ___ ___ Python-bugs-list mailin

[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

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

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

2019-06-24 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : I noticed this while working on https://github.com/aio-libs/aiosmtpd/issues/167 where an async function was mocked that now returns an AsyncMock instead of MagicMock. The tests seem to look for call_args, mock_calls etc in the synchronous API

[issue37390] Generate table of audit events for docs

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

[issue37390] Generate table of audit events for docs

2019-06-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I just tried an initial attempt at this and a screenshot as attached. I followed the approach similar to the one at https://www.sphinx-doc.org/en/master/development/tutorials/todo.html to gather all todos. The approach was to append all the audit

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

2019-06-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sure, I think I missed it somehow though you mentioned it's around combining StreamReader and StreamWriter and to have appropriate signatures for the methods. I will try to raise a PR this week. I also realize there are no docstrings for th

[issue37390] Generate table of audit events for docs

2019-06-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think my approach suffers from the drawback where duplicate items cannot be separated correctly as you have mentioned. Example as below where socket.connect and socket.connect_ex emit same event and I am not able to retrieve the function at

[issue37397] Trap in Python 3.5 under Apache 2.2 when Django database returns 'None'.

2019-06-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This tracker deals with CPython development and this doesn't seem like am issue in CPython but rather an error in your program. I assume you might be passing None somewhere in the django ORM query that is expecting a number. Also please don&#

[issue37392] Remove sys.setcheckinterval()

2019-06-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +14182 pull_request: https://github.com/python/cpython/pull/14365 ___ Python tracker <https://bugs.python.org/issue37

[issue37398] contextlib.ContextDecorator decorating async functions

2019-06-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +asvetlov, xtreak, yselivanov versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue37398> ___ ___

[issue37399] XML text behaviour change if there are comments

2019-06-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Bisecting gives me commit 43851a202c (issue36673) before which "foobar" was returned and after the commit "bar" is returned. -- nosy: +eli.bendersky, scoder, serhiy.storchaka, xtreak v

[issue37399] XML text behaviour change if there are comments

2019-06-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Just to add the Python implementation seems to return "foobar" on commenting the C accelerators imports. So I guess it's a problem with the C implementation in the commit being different from Python

[issue37401] pygrib install error

2019-06-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This tracker deals with issues in CPython. pygrib is not a part of the standard library. This could have better discussion at https://github.com/jswhit/pygrib. I am closing this as third party. -- nosy: +xtreak resolution: -> third pa

[issue37408] [DOC] Precise that Tarfile "format" argument only concerns writing.

2019-06-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lars.gustaebel, serhiy.storchaka type: -> behavior versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issu

[issue37411] testEnviron (test.test_wsgiref.HandlerTests) fails when environment variable X is set

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

[issue37423] 2to3 wraps a already bracketed print statement with another brackets

2019-06-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is a duplicate of https://bugs.python.org/issue10375 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37424] subprocess.run timeout does not function if shell=True and capture_output=True

2019-06-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: On mac this exits immediately with 0.1 seconds as timeout but reproducible on Ubuntu with master. -- nosy: +gregory.p.smith, xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue32926] Add public TestCase method/property to get result of current test

2019-06-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: -14234 ___ Python tracker <https://bugs.python.org/issue32926> ___ ___ Python-bugs-list mailing list Unsub

[issue32926] Add public TestCase method/property to get result of current test

2019-06-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ezio.melotti, michael.foord, rbcollins stage: patch review -> versions: +Python 3.9 -Python 3.8 ___ Python tracker <https://bugs.python.org/issu

[issue37427] sorted() and list.sort() don't accept non-boolean objects with __bool__() as `reverse` parameter

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

[issue37426] getpass.getpass not working with on windows when ctrl+v is used to enter the string

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

[issue37429] Python hangs on fork when a logger is in use in a background thread

2019-06-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue36533 -- nosy: +vinay.sajip, xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue35121] Cookie domain check returns incorrect results

2019-06-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I also reported it to secur...@python.org . Please check with them too to see if there is a CVE request already made. Thanks. -- ___ Python tracker <https://bugs.python.org/issue35

[issue37422] Documentation on the change of __path__ in Python 3

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

[issue20443] __code__. co_filename should always be an absolute path

2019-06-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This change seems to produce a new warning on my Mac. ./Modules/getpath.c:764:23: warning: incompatible pointer types passing 'char [1025]' to parameter of type 'const wchar_t *' (aka 'const int *')

[issue37390] Generate table of audit events for docs

2019-06-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Steve, the page will serve as a good reference to all audit events. -- ___ Python tracker <https://bugs.python.org/issue37

[issue37411] testEnviron (test.test_wsgiref.HandlerTests) fails when environment variable X is set

2019-06-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: -14269 ___ Python tracker <https://bugs.python.org/issue37411> ___ ___ Python-bugs-list mailing list Unsub

[issue24214] UTF-8 incremental decoder doesn't support surrogatepass correctly

2019-06-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Ned, is there a general policy on regressions to be marked as release blocker, like if a regression that was made in 3.7.3 then it acts as a release blocker for 3.7.4 or is it based on severity

[issue24214] UTF-8 incremental decoder doesn't support surrogatepass correctly

2019-06-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Ned for the details, in future reports I will also try to add the respective release manager to the issue in case of regressions. -- ___ Python tracker <https://bugs.python.org/issue24

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