[issue38346] Wrong behavior when using `assert_called_with` with mutable object

2019-10-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: As explained copy would cause backwards incompatible change on objects that depend on identity comparison. I am not sure if this can be fixed in a backwards compatible manner. > One possibility would be for mock to copy the arguments you pass

[issue38346] Wrong behavior when using `assert_called_with` with mutable object

2019-10-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue28848 -- ___ Python tracker <https://bugs.python.org/issue38346> ___ ___ Pytho

[issue38354] Fix for bug 30378 regressed SysLogHandler by making it resolve addresses at initialization instead of in `.emit()`

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

[issue38352] In typing docs, note explicit import needed for IO and Pattern/Match

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

[issue38362] platform.system() comparison problem

2019-10-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Using "is" could be dependent on how the string is interned to refer to the same string during comparison for identity. Using == is more reliable and correct. -- nosy: +xtreak ___ Python track

[issue38364] inspect.iscoroutinefunction / isgeneratorfunction / isasyncgenfunction can't handle partialmethod objects

2019-10-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +asvetlov, yselivanov ___ Python tracker <https://bugs.python.org/issue38364> ___ ___ Python-bugs-list mailin

[issue38368] Crash when subclassing ctypes.Union

2019-10-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I am adding 3.8 regression since the report says 3.8.0b4 works and segfaults with 3.8.0RC1. -- keywords: +3.8regression nosy: +lukasz.langa, xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue38375] Enum lookup fails for callable values

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

[issue38375] Enum lookup fails for callable values

2019-10-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://docs.python.org/3/library/enum.html#allowed-members-and-attributes-of-enumerations > The rules for what is allowed are as follows: names that start and end with a > single underscore are reserved by enum and cannot be used; all

[issue38375] Enum lookup fails for callable values

2019-10-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Some relevant threads * https://stackoverflow.com/questions/40338652/how-to-define-enum-values-that-are-functions * https://mail.python.org/pipermail/python-ideas/2017-April/045428.html -- ___ Python

[issue37324] collections: remove deprecated aliases to ABC classes

2019-10-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this can be closed since https://bugs.python.org/issue25988 has the PR merged. -- nosy: +serhiy.storchaka, xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue36953] Remove collections ABCs?

2019-10-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The removal was done in https://bugs.python.org/issue25988 . Given that the version in warning message was updated I guess this can be closed. -- ___ Python tracker <https://bugs.python.org/issue36

[issue38396] ast.literal_eval doesn't give information about node except the type of it

2019-10-07 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +levkivskyi ___ Python tracker <https://bugs.python.org/issue38396> ___ ___ Python-bugs-list mailing list Unsub

[issue38399] Error message persists when reimporting library

2019-10-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this is due to str bytes concatenation error on line number 19. Editing and reimporting doesn't give you new code in repl. Try the changes in new repl after changing it in file. Python will just use unchanged code and will use line n

[issue38388] Pickle protocol v 5 needs to be documented

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

[issue38401] Make dataclass attribute docstrings accessible

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

[issue38410] Possible fatal errors due to _PyEval_SetAsyncGen{Finalizer, Firstiter}()

2019-10-08 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +steve.dower ___ Python tracker <https://bugs.python.org/issue38410> ___ ___ Python-bugs-list mailing list Unsub

[issue38409] Typo in doc string for str.strip

2019-10-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the patch and report. CPython now accepts GitHub pull requests https://devguide.python.org/pullrequest/ -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue38412] csv.reader failed to split string with spaces and quoted delimiter

2019-10-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add a description of the expected behavior? Does skipinitialspace help with the second input? https://docs.python.org/3/library/csv.html#csv.Dialect.skipinitialspace >>> import csv >>> list(csv.reader(['

[issue38412] csv.reader failed to split string with spaces and quoted delimiter

2019-10-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> not a bug ___ Python tracker <https://bugs.python.org/issue38412> ___ ___ Python-bugs-list mai

[issue38412] csv.reader failed to split string with spaces and quoted delimiter

2019-10-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: No problem, happy it helped :) -- ___ Python tracker <https://bugs.python.org/issue38412> ___ ___ Python-bugs-list m

[issue38421] email.utils.parsetime_tz does not return "None" as the tz offset

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

[issue38421] email.utils.parsetime_tz does not return "None" as the tz offset

2019-10-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It looks like a documentation issue to me given the change and tests made in https://github.com/python/cpython/commit/875048bd4c95ae90c3e541cad681b11436ce1f3f -- nosy: +xtreak ___ Python tracker <ht

[issue38427] Issue URL on translated Python docs site is always pointed to English version

2019-10-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There are occasional reports of typo in translations that are opened in bugs.python.org and it would make sense to redirect to respective GitHub repos for the translations. -- nosy: +mdk, xtreak

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

2019-10-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing as fixed since PRs were merged. Thanks Ben. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue38230] A Path Traversal vulnerability in test/ssl_servers.py

2019-10-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I would propose closing since it's meant for tests and not for end users. I am also not sure if one of the tests depend on this behavior. Adding Victor as friendly ping since it's tagged as security. -- nosy:

[issue38431] dataclasses.InitVar breaks with typing.Optional

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

[issue38431] dataclasses.InitVar breaks with typing.Optional

2019-10-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: git blame points to https://github.com/python/cpython/commit/01ee12ba35a333e8a6a25c4153c4a21838e9585c . I am tagging this as a 3.8 regression since the commit was not backported and 3.7 works fine. Feel free to remove it if it's a mi

[issue38438] argparse "usage" overly-complex with nargs="*"

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

[issue38451] Datetime definition does not work in function definition as list definition

2019-10-11 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Can you please add an example of the issue and the actual/expected behavior? -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue21478] mock calls don't propagate to parent (autospec)

2019-10-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Oh well :( My initial guess is that the report is for methods. The other reports were for functions. So I am wondering if the check for FunctionType is successful and if I need to handle something more. I haven't tried i

[issue38451] Datetime definition does not work in function definition as list definition

2019-10-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Default arguments are evaluated only once as the function is defined and not per call. This is a common gotcha : https://stackoverflow.com/questions/1132941/least-astonishment-and-the-mutable-default-argument

[issue38457] __package__ is None in __init__.py until an import is used

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

[issue38459] typing: Classes that inherit `Generic[...]` indirectly aren't considered generic.

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

[issue38467] Misspelled argument names for typing.get_origin and get_args

2019-10-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +levkivskyi ___ Python tracker <https://bugs.python.org/issue38467> ___ ___ Python-bugs-list mailing list Unsub

[issue38473] AttributeError on asserting autospecced mock object added using attach_mock

2019-10-14 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : The following program causes AttributeError while retrieving the spec signature of a call. It seems that not all mocks specced should have _spec_signature where if autospec is used and the mock is attached with attach_mock then the "

[issue38473] AttributeError on asserting autospecced mock object added using attach_mock

2019-10-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +16344 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16784 ___ Python tracker <https://bugs.python.org/issu

[issue21478] mock calls don't propagate to parent (autospec)

2019-10-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I tried your example as below using __name__. I received an AttributeError for which issue38473 in 3.7.5RC1 and 3.8.0RC1 and opened issue38473 and I am running my below code under that issue PR. For 3.7.4, I received manager.mock_calls to be an

[issue38478] inspect.signature.bind does not correctly handle keyword argument with same name as positional-only parameter

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

[issue38288] shutil.make_archive() should allow setting zipfile.ZipFile() 'strict_timestamps'

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

[issue34688] Segfault in pandas that works fine on 3.7

2019-10-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This has an issue in GitHub and pandas is also tested with 3.8 from https://github.com/pandas-dev/pandas/pull/28730. I am closing this as third party. -- resolution: -> third party stage: -> resolved status: open -&g

[issue38483] [venv] Add ~/.venvrc to change module defaults

2019-10-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: -16359 ___ Python tracker <https://bugs.python.org/issue38483> ___ ___ Python-bugs-list mailing list Unsub

[issue38483] [venv] Add ~/.venvrc to change module defaults

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

[issue21478] mock calls don't propagate to parent (autospec)

2019-10-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the confirmation. You can download the patch for the PR by appending .diff/.patch to the PR URL. The patch can be applied to your source locally with "git apply patch_file" to run my example. Reverting patch would cause Attr

[issue38486] Dead links in mailbox doc

2019-10-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +email nosy: +barry, maxking, r.david.murray ___ Python tracker <https://bugs.python.org/issue38486> ___ ___

[issue33342] urllib IPv6 parsing fails with special characters in passwords

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

[issue21478] mock calls don't propagate to parent (autospec)

2019-10-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It needs to approved and merged by a core dev so that it will be available by 3.7.6 and 3.8.1. To clarify the calls are recorded in 3.7.5 and 3.8.0 in mock_calls. It's a problem with assert_has_calls and autospec. As a workaround you can tur

[issue38494] Add assert_not_called_with

2019-10-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cjw296, lisroach, mariocj89, michael.foord, xtreak versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue38

[issue38495] print built-in function docs bug

2019-10-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: In the sphinx source it's ' ' so maybe it's a problem with the rendering part. https://raw.githubusercontent.com/python/cpython/master/Doc/library/functions.rst .. function:: print(*objects, sep=' ', end='

[issue38496] Python3 allows mixture of tabs and spaces for indentation

2019-10-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems related issue24260 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue38496> ___ ___ Python-bug

[issue38499] Add rmtree() to pathlib.Path

2019-10-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There is shutil.rmtree that accepts path objects and is more high level. From the previous discussions with respect to expanding API it's recommended to change the functions already present to accept path objects which shutil.rmtree already

[issue38194] Consistently add exist_ok / missing_ok parameters to directory creation/deletion functions

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

[issue38494] Add assert_not_called_with

2019-10-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: assert_called_with only checks against the last call. The docs were have been fixed with issue35946. So after multiple calls the you might get an assertion error in your proposed implementation leading to the conclusion that the call never

[issue38497] Wrong argument name in documentation for pipes.Template.open

2019-10-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Semantically mode makes sense to me though rw is correct and Template.open docstring has rw. There are docs like unittest where the keyword arguments are slightly different from the actual keyword arguments in the assert helpers. I guess it&#

[issue21478] mock calls don't propagate to parent (autospec)

2019-10-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Please open a new issue. It's getting little hard to track on this since it was closed and has 2 PRs merged. -- ___ Python tracker <https://bugs.python.org/is

[issue38504] Reduce the size of deb package

2019-10-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think python-dev or other forums would be of good help than the bug tracker given that it involves optimizing deb package. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue38505] Mock.call_args and Mock.call_args_list not propagated to parent Mock

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

[issue38517] functools.cached_property should support partial functions and partialmethod's

2019-10-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +carljm ___ Python tracker <https://bugs.python.org/issue38517> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38518] Pickle protocol 5 is not documented in the data-stream-format section for the pickle docs

2019-10-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess it will be fixed with https://github.com/python/cpython/pull/16639 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue38526] zipfile.Path has the wrong method name

2019-10-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks like a valid issue to me. The docs were added with issue36832. -- nosy: +jaraco, xtreak type: -> behavior versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issu

[issue38525] Strange reversed dict behavior

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

[issue38514] pathlib's mkdir documentation improvement

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

[issue38530] Offer suggestions on AttributeError

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

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Ruby has it integrated into the core : https://bugs.ruby-lang.org/issues/11252 . It was initially a gem that got merged into core. > methosd undefined local variable or method `methosd' for main:Object Did you mean? methods

[issue38531] argparse action "extend" not documented as new

2019-10-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +paul.j3, rhettinger ___ Python tracker <https://bugs.python.org/issue38531> ___ ___ Python-bugs-list mailin

[issue38537] Python 2.7.17 reports itself as 2.7.16

2019-10-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +benjamin.peterson, steve.dower ___ Python tracker <https://bugs.python.org/issue38537> ___ ___ Python-bugs-list m

[issue38538] dictobject dictviews don't return NotImplemented for unrecognized types.

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

[issue38551] lib2to3 Grammar.txt doesn't have Python 3.8 grammar changes

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

[issue38551] lib2to3 Grammar.txt doesn't have Python 3.8 grammar changes

2019-10-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue36541 which has an open PR to support the walrus operator. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue38556] Walrus operator in list comprehensions [Python 3.8.0]

2019-10-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please post a short snippet of what you are trying to do and the issue you are facing like traceback if any? -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue38562] pip install --upgrade git submodule update --recursive does not exist

2019-10-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. As noted in the linked issue this tracker is for issues related to CPython. pip has it's own issue tracker in GitHub : https://github.com/pypa/pip . I am closing it as third party. Possibly related : https://github.com

[issue38558] Data Structures documentation out of sync with new Walrus operator

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

[issue38565] Expose the value passed of typed passed to functools.lru_cache

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

[issue38572] Misleading AttributeError accessing fileno attribute in tarfile

2019-10-23 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : This came up during https://github.com/psf/requests/issues/5229 . While fileno returns True as an attribute the actual implementation uses self.raw.fileno where the AttributeError is raised at https://github.com/python/cpython/blob

[issue35745] Add import statement in dataclass code snippet

2019-10-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue36661 -- nosy: +eric.smith, xtreak ___ Python tracker <https://bugs.python.org/issue35

[issue38573] Not Implemented Error in stdLib HTMLParser

2019-10-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue32876 and https://bugs.python.org/issue31844 -- nosy: +berker.peksag, ezio.melotti, xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue38576] CVE-2019-18348 CRLF injection via the host part of the url passed to urlopen()

2019-10-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vstinner, xtreak ___ Python tracker <https://bugs.python.org/issue38576> ___ ___ Python-bugs-list mailin

[issue38566] Description of '\w' behavior is vague in `re` documentation

2019-10-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka type: -> behavior ___ Python tracker <https://bugs.python.org/issue38566> ___ ___ Python-

[issue38172] Python 3.8 Segfult with Bandersnatch pytest Suite

2019-10-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It seems now bandersnatch is tested with python 3.8.0 stable release and passes : https://travis-ci.org/pypa/bandersnatch/builds/599806554 . @cooperlees, can you please confirm and close the issue

[issue35293] make doctest (Sphinx) emits a lot of warnings

2019-10-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Relevant docutils upstream issue : https://sourceforge.net/p/docutils/bugs/373/ . Also the SyntaxWarning was changed to DeprecationWarning with msg349335. -- ___ Python tracker <https://bugs.python.

[issue25430] speed up ipaddress __contain__ method

2019-10-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing it as resolved since the optimization was merged in 3.8.0 . Thanks @gescheit for the report and patch. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed _

[issue27992] Clarify %(prog)s in argparse help formatter returns basename of sys.argv[0] by default

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

[issue31670] Associate .wasm with application/wasm

2019-10-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed superseder: -> http.server module sets incorrect mimetype for WebAssembly files versions: -Python 2.7, Python 3.7 __

[issue34792] Tutorial doesn''t discuss / and * function arguments

2019-10-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: With PEP 570 implementation docs were expanded : https://github.com/python/cpython/commit/b76302ddd0896cb39ce69909349b53db6e7776e2#diff-d764089fca21fdc70d55804714b1cba5 -- nosy: +pablogsal ___ Python

[issue32080] Re locale test fails after installing Python 3.6.3 on ubuntu 16.04

2019-10-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Looking at the traceback in the screenshot this seems to be same as issue29571 happening on en_IN locale. -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue32

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

2019-10-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing it as duplicate of issue35113. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> inspect.getsource returns incorrect source for classes when class definitio

[issue37911] Minor error in PEP567 code example

2019-10-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue20271] urllib.parse.urlparse() accepts wrong URLs

2019-10-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: With Victor's PR 16780, "http://[::1]spam:80"; would raise a ValueError. ValueError: Invalid network location: '[::1]spam:80' -- ___ Python tracker <https:

[issue38340] ERROR WHILE BUILDING pyworld for x86_64-linux-gnu-gcc

2019-10-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue38584] argparse: Specifying a whitespace-only help message to a positional arg triggers an IndexError when displaying --help

2019-10-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +paul.j3, rhettinger ___ Python tracker <https://bugs.python.org/issue38584> ___ ___ Python-bugs-list mailin

[issue38586] logging: handlers names are not set when using fileConfig

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

[issue38596] simple example give a Linux core dumped with atk-bridge

2019-10-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please attach a simple reproducer script without any third party modules like qtwidgets to ensure crash is due to CPython and not due to the code in third party module itself. -- nosy: +xtreak

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default before Python 4.0

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

[issue38615] imaplib has no timeout setting

2019-10-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +barry, maxking, r.david.murray ___ Python tracker <https://bugs.python.org/issue38615> ___ ___ Python-bugs-list m

[issue38621] Bad decoding of encoded-words in unstructured email headers

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

[issue38624] pathlib .suffix, .suffixes, .stem unexpected behavior for pathname with trailing dot

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

[issue38629] float is missing __ceil__() and __floor__(), required by numbers.Real

2019-10-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mark.dickinson ___ Python tracker <https://bugs.python.org/issue38629> ___ ___ Python-bugs-list mailing list Unsub

[issue30548] typo in documentation for create_autospec

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

[issue38611] ElementTree.ParseError does not implement SyntaxError interface as expected

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

[issue38645] datetime.datetime.fromtimestamp(0, tzlocal()) throws error

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

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