[issue13668] mute ImportError in __del__ of _threading_local module

2019-03-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: As noted in msg221878 the import statement was removed and the original report is not reproducible in latest 2.7. Marking this as out of date. Thanks for the details. -- nosy: +xtreak resolution: -> out of date stage: -> resolved

[issue36363] Wrong type when missname dataclass attribute with existing variable name

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

[issue36364] errors in multiprocessing.shared_memory examples

2019-03-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +davin, pitrou ___ Python tracker <https://bugs.python.org/issue36364> ___ ___ Python-bugs-list mailing list Unsub

[issue36363] Wrong type when missname dataclass attribute with existing variable name

2019-03-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I am not sure this is a problem with dataclasses. dataclasses acts upon information from cls.__dict__.get('__annotations__', {}) at [0] and sets the type attribute for the field. Seems like using a valid identifier (class or functio

[issue36366] Patcher stop method should be idempotent

2019-03-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cjw296, mariocj89, michael.foord ___ Python tracker <https://bugs.python.org/issue36366> ___ ___ Python-bugs-list m

[issue36366] Patcher stop method should be idempotent

2019-03-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: When mock.patch is creates a patch object and patch.start calls __enter__ that sets is_local. On stop __exit__ is called where a check is done is to make sure is_local attribute is present and then cleanup is done along with deleting calling del

[issue36363] Wrong type when missname dataclass attribute with existing variable name

2019-03-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: class Spam: bar: typing.Optional[bar] = str class Spaz: bar: typing.Optional[bar] = None print(Spam.__annotations__) print(Spaz.__annotations__) {'bar': typing.Union[str, NoneType]} {'bar': } In Spam bar has str assi

[issue36370] "Fatal Python error: Cannot recover from stack overflow" from SymPy tests

2019-03-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: >From the stack trace it looks like some kind of recursion occurs on the tests >causing the crash. Sympy is not a part of stdlib. Can you please add a pure >Python reproducer or this is something that needs to be fixed by reporting to &g

[issue36366] Patcher stop method should be idempotent

2019-03-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the confirmation. I will raise a PR for this. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36377] Python 'datastructures.html' docs page needs improvement because of ambiguity

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

[issue36373] asyncio.gather: no docs for deprecated loop parameter

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

[issue36378] Add support to load from paths to json.load

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

[issue36378] Add support to load from paths to json.load

2019-03-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This expands the API where json.load now only accepts open file objects to support str and pathlike objects. This was discussed in https://mail.python.org/pipermail/python-ideas/2017-March/045303.html where there were alternatives proposed as

[issue36366] Patcher stop method should be idempotent

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

[issue36380] collections.Counter in-place operators are unexpectedly slow

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

[issue36380] collections.Counter in-place operators are unexpectedly slow

2019-03-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > It also unclear if there's even a need to check for non-positives with > _keep_positive in ops like __iadd__, __iand__ and __ior__ (except __isub__) > as it expects Counters which are always positive. Counter accepts dictionari

[issue36380] collections.Counter in-place operators are unexpectedly slow

2019-03-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I would defer to Raymond at this point and would prefer keeping current __iadd__ behavior and . See also issue23509 that discussed about C implementation of _keep_positive and some other optimizations. > Counter(a=-1) + Counter(a=-2) produ

[issue36338] urlparse of urllib returns wrong hostname

2019-03-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: -12435 ___ Python tracker <https://bugs.python.org/issue36338> ___ ___ Python-bugs-list mailing list Unsub

[issue36393] python user define function is replacing variable value

2019-03-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is expected behavior. Please read : https://docs.python.org/3/faq/programming.html#why-are-default-values-shared-between-objects . Default values are defined when function is created and not for every function call and you are having a

[issue36395] Add deferred single-threaded/fake executor to concurrent.futures

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

[issue36338] urlparse of urllib returns wrong hostname

2019-03-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue20271 that discusses the other format http://[::1]spam where ::1 is returned as hostname. urlparse tries to parse the hostname as IPV6 address when there is [ and parses till ] at [0] thus "benign.com\[attacker.com]" is tr

[issue36400] Add activate script to venv root folder

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

[issue36403] AsyncIterator on 3.7: __aiter__ no longer honors finally blocks

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

[issue36403] AsyncIterator on 3.7: __aiter__ no longer honors finally blocks

2019-03-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The attached script fails on master too. On bisecting could this be possibly caused due to 41e5ec377b (bpo-34769) ? Tagging Ned since it was introduced from 3.7.1rc2 and also backported to 3.6 . ➜ cpython git:(41e5ec377b) git checkout 41e5ec377b

[issue36406] doctest.testmod(empty_package) raises TypeError in 3.7 (and no errors in 3.6)

2019-03-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This might be due to changes introduced in a23d30f64bd9c5655cfae7f359d4279c47f6cab3 where __file__ is set to None. Hence the below returns None but before the commit this used to return an AttributeError and print "missing" . This was n

[issue12790] doctest.testmod does not run tests in functools.partial functions

2019-03-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: functools.partial returns a partial object and detecting partials is not handled inside the finder when given a module. Perhaps partials could be handled as a special case to detect tests in them? diff --git a/Lib/doctest.py b/Lib/doctest.py index

[issue36406] doctest.testmod(empty_package) raises TypeError in 3.7 (and no errors in 3.6)

2019-03-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: So this was backported to 3.6 too with but caused similar issues reported in issue32872 to be reverted back. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36407] xml.dom.minidom wrong indentation writing for CDATA section

2019-03-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eli.bendersky, scoder, serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue36407> ___ ___ Python-bug

[issue36409] plistlib old API should be removed

2019-03-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +macOS nosy: +ned.deily, ronaldoussoren, serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue36

[issue10716] Modernize pydoc to use better HTML and separate CSS

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

[issue35449] documenting objects

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

[issue36410] Proposal to make strip/lstrip/rstrip more explicit

2019-03-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://docs.python.org/3.8/library/stdtypes.html?highlight=lstrip#str.lstrip > Return a copy of the string with leading characters removed. The chars > argument is a string specifying the set of characters to be removed. If > omitted or

[issue10716] Modernize pydoc to use better HTML and separate CSS

2019-03-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I stumbled upon this issue because I think this is a potential improvement. One of the reasons I don't use it is due to the outdated UI but since it also generates HTML doc for installed packages in a virtual environment I find this to be a u

[issue10716] Modernize pydoc to use better HTML and separate CSS

2019-03-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : Added file: https://bugs.python.org/file48231/Screen Shot 2019-03-24 at 10.58.33 am.png ___ Python tracker <https://bugs.python.org/issue10

[issue10716] Modernize pydoc to use better HTML and separate CSS

2019-03-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @aroberge for the patch and your efforts on improving it https://aroberge.blogspot.com/2015/01/scratching-itch-improving-pydoc.html -- ___ Python tracker <https://bugs.python.org/issue10

[issue36406] doctest.testmod(empty_package) raises TypeError in 3.7 (and no errors in 3.6)

2019-03-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch, patch pull_requests: +12471, 12472 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue36406] doctest.testmod(empty_package) raises TypeError in 3.7 (and no errors in 3.6)

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

[issue36414] Multiple test failures in GCC and Clang optional builds on Travis CI

2019-03-24 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : I am not able to reproduce the errors on GCC built CPython binary and running tests with virtualenv (no coverage). Seems the dangling thread error takes up the whole 50 minutes time limit. Since GCC build is not maintained or tracked is it worth

[issue36411] Python 3 f.tell() gets out of sync with file pointer in binary append+read mode

2019-03-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +martin.panter, serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue36411> ___ ___ Python-bugs-list m

[issue36415] [math] Implement pow2 function

2019-03-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue21420 in a previous attempt to optimize powers of 2 calculation in current code. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue36

[issue35906] Header Injection in urllib

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

[issue36416] bytes.rpartition bug in online documentation

2019-03-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Would you like to create a PR for this? The test for this behavior is at https://github.com/python/cpython/blob/3d07c1ee1d2d475b74816117981d6ec752c26c23/Lib/test/test_bytes.py#L655 Doc file to be changed : https://github.com

[issue36414] Multiple test failures in GCC and Clang optional builds on Travis CI

2019-03-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Possibly first occurrence of this error : https://travis-ci.org/python/cpython/jobs/506783665 after which it's more or less consistent. Almost all the builds I checked before this build did not have this failure. The commit for the build see

[issue31670] Associate .wasm with application/wasm

2019-03-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems this was fixed with https://github.com/python/cpython/commit/199a280af540e3194405eb250ca1a8d487f6a4f7 . Thanks @flagxor for details in https://github.com/python/cpython/pull/3861#issuecomment-475904041 . I would propose closing this as

[issue33130] functools.reduce signature uses `iterable`, documentation should use the same term

2019-03-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The original report for documentation seems to have been fixed with https://github.com/python/cpython/pull/9634 and the linked PR is closed with no changes to be merged. So I would propose closing if this was only with respect to changing

[issue35618] Allow users to set suffix list in cookiejar policy

2019-03-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: We could also try updating the list with more popular TLDs even if this couldn't be exposed as a user configurable attribute. curl had a CVE reported on similar note in the past and it also doesn't implement public suffix mat

[issue36416] bytes.rpartition bug in online documentation

2019-03-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: You can find more information about the process at https://devguide.python.org/ -- ___ Python tracker <https://bugs.python.org/issue36

[issue36424] Pickle fails on frozen dataclass that has slots

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

[issue36428] Support AutoAwait?

2019-03-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this is same as issue34616 . The issue talks about the workarounds IPython has to use for the feature and links to the PR where it was implemented https://github.com/ipython/ipython/pull/11265 . I never knew about this feature and this

[issue36428] Support AutoAwait?

2019-03-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- superseder: -> implement "Async exec" ___ Python tracker <https://bugs.python.org/issue36428> ___ ___ Pytho

[issue34616] implement "Async exec"

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

[issue36434] Zipfile breaks if signalled during write()

2019-03-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +alanmcintyre, serhiy.storchaka, twouters ___ Python tracker <https://bugs.python.org/issue36434> ___ ___ Python-bug

[issue36436] Potential null pointer de-reference vulnerability

2019-03-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: _testcapimodule.c is mostly imported as _testcapi in tests. I am not sure this is a security issue. -- nosy: +serhiy.storchaka, xtreak ___ Python tracker <https://bugs.python.org/issue36

[issue36414] Multiple test failures in GCC and Clang optional builds on Travis CI

2019-03-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://bugs.python.org/issue36414#msg338876 > Travis CI config has been changed to use a more recent Ubuntu version, it can > explain the failure. I am confused since the commit changes the linux build to use xenial but the failure is on

[issue36447] test__xxsubinterpreters leaked regards and memory blocks

2019-03-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.snow, vstinner ___ Python tracker <https://bugs.python.org/issue36447> ___ ___ Python-bugs-list mailin

[issue36338] urlparse of urllib returns wrong hostname

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

[issue36449] __aexit__ is not called when a context manager is used in an async generator

2019-03-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Could this be possibly due to issue34769 ? There was another report related to this commit : issue36403 ➜ cpython git:(41e5ec377b) git checkout 41e5ec377b && make -s -j4 > /dev/null HEAD is now at 41e5ec377b bpo-34769: Thread

[issue36338] urlparse of urllib returns wrong hostname

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

[issue36338] urlparse of urllib returns wrong hostname

2019-03-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I found this page to be uesful : https://url.spec.whatwg.org/#host-parsing and following the steps it seems that this should raise an error since at the 7th step it denotes that asciiDomain shouldn't contain forbidden host code point incl

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

2019-03-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue36338 for a possible security issue for host of value "benign.com[attacker.com]" (spam[::1] format) where attacker.com is parsed as the host name assuming presence of [ and ] to be a IPV6 address without validation of

[issue31327] bug in dateutil\tz\tz.py

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

[issue36451] Docs zh-cn roots error in nav bar

2019-03-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess it will be fixed with https://bugs.python.org/issue36425 -- nosy: +mdk, xtreak, zhsj ___ Python tracker <https://bugs.python.org/issue36

[issue36452] Detect dict iteration "overflow" when changing keys

2019-03-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +inada.naoki, rhettinger ___ Python tracker <https://bugs.python.org/issue36452> ___ ___ Python-bugs-list mailin

[issue36448] Message "You will need to rebuild pythoncore to see the changes" should mention "make regen-all"

2019-03-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > For some reason, the Travis CI build on > https://github.com/python/cpython/pull/12582 isn't actually starting. It says > "Waiting for status to be reported" but I pushed 10 hours ago. Travis CI had some problem

[issue36459] A possible double PyMem_FREE() due to tokenizer.c's tok_nextc()

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

[issue36462] CVE-2019-9674 : zip bomb vulnerability in Lib/zipfile.py

2019-03-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Going by CVE number and report is this a duplicate of issue36260 ? -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue36

[issue36462] CVE-2019-9674 : zip bomb vulnerability in Lib/zipfile.py

2019-03-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I would request closing the other one as duplicate and opening this since this contains the actual report or perhaps the report could be copied to issue36260. Since Serhiy suggested closing this as not a bug I will leave it to him on resolution of

[issue28718] '*' matches entire path in fnmatch

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

[issue36064] docs: urllib.request.Request not accepting iterables data type

2019-03-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I would propose closing it since docs were made improved and if type checking needs to be enforced then it can be discussed in the linked open issues that have patches. -- ___ Python tracker <ht

[issue36470] dataclasses replace raises an exception with an empty

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

[issue36472] Some old PR with CLA not signed

2019-03-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There were cases in the past where CLA was signed but there was mismatch in the bpo details and GitHub usernames linked due to which bot didn't change it to CLA signed. I would request this to be discussed in other channels like

[issue36473] Detect all dictionary changes during iteration

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

[issue34915] LWPCookieJar.save() creates *.lwp file in 644 mode

2019-03-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess this is a good choice and distutils stores .pypirc [0] in this manner that has username and password. [0] https://github.com/python/cpython/blob/2f54908afc5665937d763510b4430f10cf764641/Lib/distutils/config.py#L45 -- nosy

[issue36478] backport of pickle fixes to Python 3.5.7 uses C99 for loops

2019-03-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +larry, vstinner ___ Python tracker <https://bugs.python.org/issue36478> ___ ___ Python-bugs-list mailing list Unsub

[issue36486] Bugs and inconsistencies in unicodedata

2019-03-30 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lemburg ___ Python tracker <https://bugs.python.org/issue36486> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36384] ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2019-03-30 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ned.deily status: pending -> open ___ Python tracker <https://bugs.python.org/issue36384> ___ ___ Python-

[issue36384] ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2019-03-30 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- status: open -> pending ___ Python tracker <https://bugs.python.org/issue36384> ___ ___ Python-bugs-list mai

[issue36491] sum function's start optional parameter documented in help but not implemented

2019-03-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this about sum not accepting start as keyword argument? It's fixed with issue34637. The help function in the report is that start could only be a positional argument with start appearing before '/' in "sum(iterable, start=0,

[issue36490] Modernize function signature format in Archiving section of shutil doc

2019-03-30 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +giampaolo.rodola, tarek ___ Python tracker <https://bugs.python.org/issue36490> ___ ___ Python-bugs-list mailin

[issue36491] sum function's start optional parameter documented in help but not implemented

2019-03-30 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- superseder: -> Make *start* usable as a keyword argument for sum(). ___ Python tracker <https://bugs.python.org/issu

[issue36492] Deprecate passing some conflicting arguments by keyword

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

[issue30587] Mock with spec object does not ensure method call signatures

2019-03-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cjw296, mariocj89, michael.foord versions: +Python 3.8 -Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue30

[issue30587] Mock with spec object does not ensure method call signatures

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

[issue36442] Different ValueError for the same operation in List and Tuple

2019-03-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > And seems that this issue is a duplicate of an old issue with a long > discussion and an unfinished patch, but currently I cannot find that issue. possibly duplicate of issue13349 which was rejected ? -- nosy: +

[issue36496] Local variables can be used uninitialized in _PyPreConfig_Read()

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

[issue30587] Mock with spec object does not ensure method call signatures

2019-03-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I am slightly concerned if spec should gain more responsibility than just validating attribute access which is mentioned in the docs. With the linked PR spec below would also validate the signature which is not done in Python 3.7 so this might

[issue30587] Mock with spec object does not ensure method call signatures

2019-03-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: -4411 ___ Python tracker <https://bugs.python.org/issue30587> ___ ___ Python-bugs-list mailing list Unsub

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

2019-04-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. To be little more clear it returns the "basename of sys.argv[0]" at [0] than the attached patch that says "uses part of ``sys.argv[0]``" . [0] https://github.com/python/cpython/blob/62f9588663ebfea1735e

[issue36499] unpickling of a datetime object in 3.5 fails when pickled with 2.7

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

[issue36502] The behavior of str.isspace() for U+00A0 and U+202F is different from what is documented

2019-04-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lemburg ___ Python tracker <https://bugs.python.org/issue36502> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36499] unpickling of a datetime object in 3.5 fails when pickled with 2.7

2019-04-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to have been fixed with 8452ca15f41061c8a6297d7956df22ab476d4df4. I checked out your example locally and renamed pickle.py to another name to avoid module collision. Ran the below commands to pickle using Python 2 and to unpickle from

[issue34677] Event scheduler page example

2019-04-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: enter takes a relative time and priority is taken into consideration only when time is equal. So in the example enter(0.001, 2) is executed first and there is some delay in executing enter(0.001, 2). You can also view the queue with s.queue which

[issue21269] Provide args and kwargs attributes on mock call objects

2019-04-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @kakshay for the patch. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36507] frozenset type breaks ZFC

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

[issue36506] An arbitrary execution vulnerability exists in the built-in function getattr

2019-04-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The security vulnerability disclosure process can be found at https://www.python.org/news/security/ . Please contact secur...@python.org. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36512] future_factory argument for Thread/ProcessPoolExecutor

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

[issue36501] Remove POSIX.1e ACLs in tests that rely on default permissions behavior

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

[issue9883] minidom: AttributeError: DocumentFragment instance has no attribute 'writexml'

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

[issue36489] add filename_extension_map and/or content-types_map dict(s) to mimetypes

2019-04-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > However this seems to compete with the functionality of the types map so > another consideration is content-types_map where the content-type is the key > and the pair values are lists of valid filename extensions: There is mimetypes.

[issue36517] typing.NamedTuple does not support mixins

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

<    17   18   19   20   21   22   23   24   25   26   >