[issue38812] Comparing datetime.time objects incorrect for TZ aware and unaware

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

[issue38827] [security] requests (lib) connects to a wrong host

2019-11-16 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Please stop creating multiple issues with no description. The previous issue also had no description : https://bugs.python.org/issue38824 . requests module has it's own security process : https://requests.kennethreitz.org/en/master/community

[issue38825] shutil.disk_usage - Lacking documentation

2019-11-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I modified psutil to shutil since I feel it's a typo. Please revert back if it's incorrect. -- nosy: +giampaolo.rodola, tarek, xtreak title: psutil.disk_usage - Lacking documentation -> shutil.disk_usage - Lacking documentat

[issue38826] Regular Expression Denial of Service in urllib.request.AbstractBasicAuthHandler

2019-11-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Please report security issues to secur...@python.org so that the security team can analyze and triage it to be made public. More information at https://www.python.org/news/security/ -- nosy: +xtreak

[issue38775] Cloudpickle.py file is crashing due to data type incompatibility.

2019-11-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess this was fixed upstream with https://github.com/apache/spark/commit/811d563fbf60203377e8462e4fad271c1140b4fa . Please try the latest version as per the commit details. I am closing this as third party since it's not a CPython issue

[issue38804] Regular Expression Denial of Service in http.cookiejar

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

[issue38804] Regular Expression Denial of Service in http.cookiejar

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

[issue36130] Pdb(skip=[...]) + module without __name__ => TypeError

2019-11-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @blueyed, I guess the backport was not made by the bot though the label was applied for 3.7 branch. -- ___ Python tracker <https://bugs.python.org/issue36

[issue35192] pathlib mkdir throws FileExistsError when not supposed to

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing this as duplicate of issue29694. I hope this is backported to Ubuntu repos and there is not much pending work to this issue. Thanks. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder:

[issue35666] Update design FAQ about assignment expression

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is updated with 6357c95716d89ac1f80587fbc4133df8d2e8396c . Closing this as fixed. Feel free to reopen if needed. Thanks. -- resolution: -> fixed stage: -> resolved status: open -&g

[issue35856] bundled pip syntaxwarning

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this is fixed in pip's side with requests package upgraded with https://github.com/pypa/pip/commit/785ecf476a63e00819ef1b14bc8ee758dc9c12cb#diff-9235561c186d44f2bb0eef8b7f1d57ceR3 using raw string literls. I think we can close

[issue37855] Compiling Python 3.7.4 with Intel compilers 2019

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue37415 -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue37855> ___ ___ Python-bug

[issue38763] mock with side effect : assert_called_once returns None while call_count returns 1

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think we can close this as not a bug. I don't think we need to add boolean return value of True if the assert statements are True since it's never meant to be used. I would wait for others opinion on this. -- nosy: +cjw296, lisroach

[issue38777] plist handling of real data type

2019-11-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ned.deily ___ Python tracker <https://bugs.python.org/issue38777> ___ ___ Python-bugs-list mailing list Unsub

[issue36092] unittest.mock's patch.object and patch.dict are not supported on classmethod, propery and staticmethod

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Jackson for the information. I am fine with closing it as outdated and one can reopen if they need this along with reviving the removed tests in the PR. -- resolution: -> out of date stage: -> resolved status: open -&g

[issue38774] Statements in try block still executes after raised error

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add the script without any dependencies to reproduce this? -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue38775] Cloudpickle.py file is crashing due to data type incompatibility.

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this on Python 3.8.0 ? There was a similar report in the past with cloudpickle at https://bugs.python.org/issue36886#msg342182 due to PEP 570 with which CodeType.replace was introduced. cloudpickle also added support for this with https

[issue38764] Deterministic globbing.

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

[issue38762] Logging displays wrong "processName" if "sys.modules" is cleared in child process

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

[issue38763] mock with side effect : assert_called_once returns None while call_count returns 1

2019-11-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: assert_called_once is supposed to raise an AssertionError if the mock is not called and to return None like other assert_* helpers. The return value is not supposed to be used and it's more of an assertion action where if it's None then it's

[issue38760] Document for urllib.error.HTTPError.headers Should Specify What Version

2019-11-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. But this is a common convention across the docs to add versionadded and versionchanged directive that are rendered as new in version and changed in version with version being Python's version since docs is for CPython. I am

[issue38753] AsyncMock not cited as new in 3.8

2019-11-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: John, would you like to raise a PR for this? The fix would be to add versionadded sphinx directive to https://github.com/python/cpython/blob/master/Doc/library/unittest.mock.rst . I am marking it as easy. -- keywords: +easy, newcomer

[issue38757] mocking an exception, arguments do not seem to be passed to the mock

2019-11-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Currently, the exception is not instantiated. Maybe we can check if it's callable and pass args, kwargs to the exception constructor to be raised. diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py index a48132c5b1..f5bcb911f5 100644

[issue38757] mocking an exception, arguments do not seem to be passed to the mock

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

[issue38756] Add generic versions of weakref types to typing module

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

[issue38753] AsyncMock not cited as new in 3.8

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

[issue38739] pyperformance html5lib cannot import Mapping (and fails)

2019-11-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sorry, I misread the traceback itself as if it's from pip. It's from html5lib being incompatible with 3.9 as per the latest release on 1.0.1 (Dec 7, 2017) . There is an issue to request new release with the fix at https://github.com/html5lib

[issue38729] mock.create_autospec generates incorrect signature for some decorated methods

2019-11-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: If I understand this correctly, when an autospec of a class is created the attributes themselves of the given class are autospecced. During autospec of attributes it's modelled upon __call__'s signature for the given attributes [0]. Here you

[issue38739] pyperformance html5lib cannot import Mapping (and fails)

2019-11-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: collections removed ABC access in 3.9. It seems you are using an older version of pip. Please update to the latest version which has the vendored html5lib package fixed. -- nosy: +xtreak ___ Python

[issue38731] bad input crashes py_compile library

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

[issue38729] mock.create_autospec generates incorrect signature for some decorated methods

2019-11-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Library (Lib) -Tests nosy: +cjw296, lisroach, mariocj89, michael.foord, xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue38719] Surprising and possibly incorrect passing of InitVar to __post_init__ method of data classes

2019-11-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Should we also be checking for __post_init__ to have positional only arguments / syntax in the signature. I tried a simple fix of f.name + "=" + f.name to pass them as keyword always where current tests and reported exam

[issue38719] Surprising and possibly incorrect passing of InitVar to __post_init__ method of data classes

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

[issue38708] parse_message_id in email module is very buggy / crashy

2019-11-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +email nosy: +barry, maxking, r.david.murray type: -> behavior ___ Python tracker <https://bugs.python.org/issu

[issue38717] csv DictWriter's internal _dict_to_list raise error unsupported operand

2019-11-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please attach a sample script to reproduce the behavior difference? With below script a dictionary is passed then dict.keys() supports subtraction over a list to return the difference. I am not sure how you have received a list

[issue38708] parse_message_id in email module is very buggy / crashy

2019-11-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be the same as issue38698. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue38698] While parsing email message id: UnboundLocalError

2019-11-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This was also reported in issue38708 with the original code added in issue35805. Commenting out the except clause also doesn't raise any error in test suite so I assume the code path was not tested. Maybe the script could be added as part

[issue38656] mimetypes for python 3.7.5 fails to detect matroska video

2019-11-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It seems that there is a list of files from which the mime types are also added at https://github.com/python/cpython/blob/5c0c325453a175350e3c18ebb10cc10c37f9595c/Lib/mimetypes.py#L42. "video/x-matroska" is not present in CPython r

[issue38701] datetime.timedelta string representation is ambiguous

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

[issue38700] typo in unittest mock docs

2019-11-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add the specific piece of text? There is an illustration to say that it's common mistake to type assret instead of assert with which mock gives a new child mock. This can be made stricter with unsafe mode to detect this typo

[issue38693] Use f-strings instead of str.format within importlib

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

[issue38698] While parsing email message id: UnboundLocalError

2019-11-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Can you please attach a sample script to reproduce this error? -- nosy: +maxking, xtreak ___ Python tracker <https://bugs.python.org/issue38

[issue38679] Scipy and Scikit learn library installation issues

2019-11-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This bug tracker is for CPython related issues. Please file this issue in the respective project issue tracker. I propose closing it as third party. -- nosy: +xtreak type: security -> behavior ___ Pyt

[issue38669] patch.object should raise another error when first argument is a str

2019-11-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cjw296, lisroach, mariocj89, michael.foord, xtreak ___ Python tracker <https://bugs.python.org/issue38669> ___ ___

[issue38667] PYTHONCOERCECLOCALE=0 ignored

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

[issue38656] mimetypes for python 3.7.5 fails to detect matroska video

2019-10-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I couldn't find mkv in mimetypes with search. Can you please post the output of the mimetypes query in 3.7.4 and 3.7.5 for the regression? In the attached GitHub issue the user reports mkv returns None and mp4 is detected

[issue38656] mimetypes for python 3.7.5 fails to detect matroska video

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

[issue38659] enum classes cause slow startup time

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

[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

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

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

[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

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

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

[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

[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

[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

[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

[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

[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

[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://bugs.python.org/is

[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

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

[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

[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

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

[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

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

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

[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

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

[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

[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

[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

[issue38572] Misleading AttributeError accessing fileno attribute in tarfile

2019-10-24 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

[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

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

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

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

2019-10-23 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/pypa

[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

[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

[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

[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

[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

[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

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

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

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

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

[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

[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

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

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

[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

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

[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's

[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

[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

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

[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

[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='\\n', file=sys.stdout, flush=False

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