[issue36131] test.test_urllib2net.TimeoutTest ftp related tests fail due to ftp://www.pythontest.net/ being unavailable

2019-02-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: These tests were skipped in Travis with issue35411 -- ___ Python tracker <https://bugs.python.org/issue36

[issue36131] test.test_urllib2net.TimeoutTest ftp related tests fail due to ftp://www.pythontest.net/ being unavailable

2019-02-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > Right now, ftp://www.pythontest.net/ fails with "500 OOPS: vsf_sysutil_bind" > according to Firefox. It's not the first time that I see this error. Related issue in the past due to disk space issue35386 . When I first creat

[issue36134] test failure : test_re; recipe for target 'test' failed

2019-02-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Search gives me issue29571 that looks similar to this report. This seems to be locale specific and information on your locale, OS etc would be helpful. Can you please add the output of below? * python -m test.pythoninfo * locale * ./python -m test

[issue36134] test failure : test_re; recipe for target 'test' failed

2019-02-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the details. This seems to be the same as issue29571 where the issue was reported on Ubuntu for en_IN but not happening in Gentoo. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36135] altinstall error Makefile:1140: recipe for target 'altinstall' failed

2019-02-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This might help : https://devguide.python.org/setup/#install-dependencies -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue36

[issue36143] Auto-generate Lib/keyword.py

2019-02-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cheryl.sabella ___ Python tracker <https://bugs.python.org/issue36143> ___ ___ Python-bugs-list mailing list Unsub

[issue36144] Dictionary addition.

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

[issue36131] test.test_urllib2net.TimeoutTest ftp related tests fail due to ftp://www.pythontest.net/ being unavailable

2019-02-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Just curious if it was some regression or infrastructure related issue in pythontest.net ? -- ___ Python tracker <https://bugs.python.org/issue36

[issue36144] Dictionary addition.

2019-02-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Python ideas discussion in 2015 : https://mail.python.org/pipermail/python-ideas/2015-February/031748.html LWN summary : https://lwn.net/Articles/635397/ -- nosy: +xtreak ___ Python tracker <ht

[issue29571] test_re is failing when local is set for `en_IN`

2019-02-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Similar issue reported on debian9.8 stretch with python 3.7.2 and en_IN : issue36134 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue29

[issue36144] Dictionary addition.

2019-02-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Current python-ideas thread for the issue : https://mail.python.org/pipermail/python-ideas/2019-February/055509.html -- ___ Python tracker <https://bugs.python.org/issue36

[issue36148] smtplib.SMTP.sendmail: mta status codes only accessible by local variables

2019-02-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +email nosy: +barry, r.david.murray ___ Python tracker <https://bugs.python.org/issue36148> ___ ___ Python-bug

[issue36075] python 2to3 conversion tool is generating file with extra line for every input line

2019-02-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @sabakauser You can find python-list mailing list here : https://mail.python.org/mailman/listinfo/python-list -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue36

[issue36155] ./python -m test -m test_gc fails

2019-02-28 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : I am not sure of the exact cause about this failure but `./python.exe -m test -m test_gc` fails though `./python.exe -m test -v test_gc` passes. This test was recently added with 175421b58cc97a2555e474f479f30a6c5d2250b0 and issue36016

[issue36155] ./python -m test -m test_gc fails

2019-03-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: If I understand this correctly any combination that imports mock._ANY affects test_gc like below combination that uses mock._ANY causes test_gc to fail ? ./python.exe -m unittest unittest.test.testmock test.test_gc [snip output

[issue36155] ./python -m test -m test_gc fails

2019-03-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: No problem. Thanks for fix :) I stumbled upon it due to a typo where I used -m instead of -v in python -m test -m test_gc instead of python -m test -v test_gc . Any suggestion on how you debugged it was mock

[issue36155] ./python -m test -m test_gc fails

2019-03-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the explanation :) -- ___ Python tracker <https://bugs.python.org/issue36155> ___ ___ Python-bugs-list m

[issue26752] Mock(2.0.0).assert_has_calls() raise AssertionError in two same calls

2019-03-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @guboi72 is right that signature for class constructor is used also for methods. Another possible solution would be that mock stores it's children in _mock_children dictionary so when a method is called then name can be used to get the rel

[issue36158] Regex search behaves differently in list comprehension

2019-03-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add a short script with data for entities to try reproducing this? >>> from re import compile >>> name_regex = compile(r'\[\"([a-zA-Z\s]*)\"{1}') >>> [name_regex.match(a).group(1) f

[issue36159] Modify Formatter Class to handle arbitrary objects

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

[issue26752] Mock(2.0.0).assert_has_calls() raise AssertionError in two same calls

2019-03-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: eat_self is also a problem as mentioned and would help in solving issue27715 where self is not ignored. I tried a patch for issue27715 but that would require changing the output of some functions that take _eat_self as a parameter to return

[issue36170] posix_spawn doesn't exist in 3.7

2019-03-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This was merged into 3.7 and later reverted after 3.7 first beta as per https://bugs.python.org/issue20104#msg316588 . Adding Pablo for review. -- nosy: +pablogsal, xtreak ___ Python tracker <ht

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

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

[issue36179] _hashopenssl has reference leaks in OOM case

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

[issue36181] Add mode parameter to PurePath.write_text to allow for 'a' mode

2019-03-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: append_text helper was proposed as part of issue35095 and adding a parameter append was also discussed as part of the original API issue20218 . Adding @pitrou to decide upon the API. -- nosy: +pitrou, xtreak

[issue36182] Path.write_text() docs do not include the case that a file exists

2019-03-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I was searching along similar lines since this was present as part of the original commit : https://hg.python.org/cpython/rev/a4da150fbfd4 . I guess it makes sense to restore the text. -- nosy: +xtreak

[issue36193] Redirected stderr not reset properly when using logging

2019-03-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: A little simplified reproducer : import io, contextlib, logging message = 'dummy test' with io.StringIO() as sio: with contextlib.redirect_stdout(sio), contextlib.redirect_stderr(sio): logging.warning(message)

[issue36191] pubkeys.txt contains bogus keys

2019-03-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report but the tracker deals with bugs in CPython. python.org website has a Github repo and I think this can be reported at https://github.com/python/pythondotorg where it could get a better resolution. I would propose closing it as

[issue36195] initializer is not a valid param in ThreadPoolExecutor

2019-03-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. You are correct. The parameters were introduced in issue21423 in 3.7. It seems that this backported by mistake with PR 10958 where minor grammar was fixed with 40a61da40d252626f8b9ff524d76c1f0ccb3a4f7 but backporting caused

[issue36198] Misleading in library/sets document

2019-03-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: To add to this is actually present in sets module documentation which has been deprecated since 2.6 though the report is true that the methods don't return a set. Link : https://docs.python.org/2/library/sets.html#set-objects --

[issue36196] sys.executable does not return python3 executable when using uwsgi

2019-03-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: related uwsgi issue : https://github.com/unbit/uwsgi/issues/670 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue36

[issue36193] Redirected stderr not reset properly when using logging

2019-03-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I find issue6333 slightly relatable to this issue where it talks about external modules possibly closing sys.stdout/stderr. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36200] display index on IndexError

2019-03-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Possibly related issues in the past : issue18162, issue1534607 , issue21911, https://www.python.org/dev/peps/pep-0473/ -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue36

[issue36218] .sort() segfaults consistently on crafted input

2019-03-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Adding ned and Łukasz since this seems to happen on release builds. -- nosy: +lukasz.langa, ned.deily, xtreak ___ Python tracker <https://bugs.python.org/issue36

[issue36218] .sort() segfaults consistently on crafted input

2019-03-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +elliot.gorokhovsky, zach.ware ___ Python tracker <https://bugs.python.org/issue36218> ___ ___ Python-bugs-list m

[issue36218] .sort() segfaults consistently on crafted input

2019-03-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @remi.lapeyre please make sure you are not unsubscribing others by mistake while adding comment. -- nosy: +elliot.gorokhovsky, zach.ware ___ Python tracker <https://bugs.python.org/issue36

[issue36216] urlsplit does not handle NFKC normalization

2019-03-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +martin.panter, xtreak ___ Python tracker <https://bugs.python.org/issue36216> ___ ___ Python-bugs-list mailin

[issue36223] Execution sequence for print function

2019-03-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Agreed with @remi.lapeyre. There is no delayed evaluation in Python and this is not only related to print but it's the general evaluation model in Python. Another example as below since foo(1) is used as an argument it's evaluated firs

[issue36230] Please sort assertSetEqual's output

2019-03-07 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ezio.melotti, michael.foord, rbcollins ___ Python tracker <https://bugs.python.org/issue36230> ___ ___ Python-bug

[issue36227] Add default_namespace argument to xml.etree.ElementTree.tostring()

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

[issue36233] xml ElementTree quotation marks of xml version string

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

[issue36241] MD5 checksum is not valid for v2.7.16 "Windows x86-64 MSI installer"

2019-03-08 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue36241> ___ ___ Python-bugs-list mailin

[issue36241] MD5 checksum is not valid for v2.7.16 "Windows x86-64 MSI installer"

2019-03-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The download page linked doesn't contain checksum 2fe86194bb4027be75b29852027f1a79. The checksum in the page is 2841e92ba89a6f036305a8a07fbe9d18 and I can confirm that the downloaded binary also has the correct checksum as below : karthi@u

[issue36241] MD5 checksum is not valid for v2.7.16 "Windows x86-64 MSI installer"

2019-03-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Strange, when I visit the link again in new tab then it gives me the checksum as described by OP. But I still have the old tab open with which I wrote my comment that has 2841e92ba89a6f036305a8a07fbe9d18 (20348928 bytes) and wget at the time also

[issue36249] f-string should be the default placeholder

2019-03-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: New code might use f-strings as needed but refactoring old code just for f-strings could result in large change that pollutes git history. Generally large refactorings like this are rejected like making all code PEP 8 compatible is another example

[issue36247] zipfile - extract truncates (existing) file when bad password provided (zip encryption weakness)

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

[issue36253] Use after free in ctypes test suite

2019-03-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +amaury.forgeotdarc, belopolsky, gregory.p.smith, meador.inge ___ Python tracker <https://bugs.python.org/issue36

[issue35121] Cookie domain check returns incorrect results

2019-03-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: >From my initial tests 3.4 and 3.5 were also affected. 3.4 is going EoL and RC1 >is out but there is one another security issue (issue36216) fixed last week >with a PR open. If the merge window is open and Larry is okay then I can raise

[issue35121] Cookie domain check returns incorrect results

2019-03-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There are many libraries that use DefaultCookiePolicy and requests library uses it for client where session state needs to be maintained across different requests. Currently, requests doesn't have a documented API to change to cookiejar polic

[issue36255] Provide a simple way to delete python's welcome message

2019-03-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Does python -q help in this case? $ python -q >>> -- nosy: +xtreak ___ Python tracker <https://bugs.python.or

[issue35647] Cookie path check returns incorrect results

2019-03-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The backport to 3.5 might require manual work since I used f-strings for tests that are not present in 3.5 and below. 2.7 is also affected and as I backported the tests and cookie set with path=/foo is sent on request to /foobad/foo . The module

[issue36259] exception text is being sourced from the wrong file

2019-03-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I noticed a similar report in the past where using chdir causes pdb to use the file path relative to the directory where it chdir to . I am not sure if both are same but the issue I am talking about is issue33139 -- nosy: +xtreak

[issue36260] Cpython/Lib vulnerability found and request a patch submission

2019-03-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: You can find the process to report security vulnerabilities at https://www.python.org/news/security/ . Please email the details to secur...@python.org and who will analyze the report before public disclosure. -- nosy: +xtreak

[issue36240] Definitions of time

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

[issue35647] Cookie path check returns incorrect results

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

[issue35647] Cookie path check returns incorrect results

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

[issue35647] Cookie path check returns incorrect results

2019-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- versions: +Python 3.4 ___ Python tracker <https://bugs.python.org/issue35647> ___ ___ Python-bugs-list mailing list Unsub

[issue35121] Cookie domain check returns incorrect results

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

[issue35121] Cookie domain check returns incorrect results

2019-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +12261 ___ Python tracker <https://bugs.python.org/issue35121> ___ ___ Python-bugs-list mailing list Unsub

[issue36265] Remove ABCs from collections

2019-03-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Please see https://github.com/python/cpython/pull/10596 . pip is incompatible with this change. -- nosy: +serhiy.storchaka, xtreak ___ Python tracker <https://bugs.python.org/issue36

[issue36268] Change default tar format to modern POSIX 2001 (pax) for better portability/interop, support and standards conformance

2019-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lars.gustaebel ___ Python tracker <https://bugs.python.org/issue36268> ___ ___ Python-bugs-list mailing list Unsub

[issue36267] User input to argparse raises Index_Error: "-a=" on a 'store_true' action

2019-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak versions: +Python 2.7, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue36

[issue36216] urlsplit does not handle NFKC normalization

2019-03-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sample buildbot log of print statement in testcase causing rerun of test : https://buildbot.python.org/all/#/builders/101/builds/364/steps/4/logs/stdio -- ___ Python tracker <https://bugs.python.

[issue36206] re.match() not matching escaped hyphens

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

[issue36266] Which module could not be found?

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

[issue36272] Recursive logging crashes Interpreter in Python 3

2019-03-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I am not sure this is related to logging and looks similar to issue35542 except stack (depends on OS) is exhausted without setrecursionlimit(). What does below return? def rec(): rec() rec() -- nosy: +xtreak

[issue36272] Recursive logging crashes Interpreter in Python 3

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

[issue36273] test_thread leaks a core dump on PPC64 AIX 3.x

2019-03-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue35828#msg337076 where test_multiprocessing_fork seemed to leave a core dump. Maybe one test core dumps and leaves the report to the other causing env changed? -- nosy: +xtreak

[issue35760] test_asyncio: test_async_gen_asyncio_gc_aclose_09() race condition

2019-03-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I have modified the test with help of Victor to have lower sleep delay to reproduce the bug. Since sleep calls call_later with the delay where the Timer object is created time.monotonic() + delay. I have added a print statement to see when the

[issue35760] test_asyncio: test_async_gen_asyncio_gc_aclose_09() race condition

2019-03-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I changed sleep(0.01) to sleep(1) and even after 350 runs I couldn't see any failure in test. I guess it fails only for less difference in time like 0.01 and 0.001. $ ./python.exe -X dev -m test -j4 -F test_asyncg

[issue36276] Python urllib CRLF injection vulnerability

2019-03-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue30458#msg295067 -- nosy: +martin.panter, orsenthil, xtreak ___ Python tracker <https://bugs.python.org/issue36

[issue36278] Truncate method

2019-03-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks like a similar report to issue26158 where truncate refers to the position of the underlying buffer and could be documented better. -- nosy: +serhiy.storchaka, xtreak ___ Python tracker <ht

[issue36276] Python urllib CRLF injection vulnerability

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

[issue36272] Recursive logging crashes Interpreter in Python 3

2019-03-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > Stack exhaustion doesn't seem to be due to be the root cause. A simple > recursive function doesn't crash the interpreter in Python 3.6. Yes, sorry I got misleaded. I have added logging module author, @vinay.saj

[issue36285] Integer overflow in array.array.remove()

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

[issue36284] importlib.import_module() not thread safe if Exception is raised (3.4, 3.5)

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

[issue36276] Python urllib CRLF injection vulnerability

2019-03-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: For reference an exact report on golang repo : https://github.com/golang/go/issues/30794 . This seemed to have been fixed in latest golang release 1.12 and commit https://github.com/golang/go/commit/829c5df58694b3345cb5ea41206783c8ccf5c3ca . The

[issue30458] CRLF Injection in httplib

2019-03-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue36276 for a similar report. I think it's better to raise an error instead of encoding CRLF characters in URL similar to headers. I feel either of the issue and more preferably issue36276 closed as a dupl

[issue36307] Upgrade Travis CI config to Xenial from near-EoL Trusty and remove obsolete sudo: false key

2019-03-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This changes the Ubuntu version in Travis so I would like this decision to be reviewed by core devs who work more closely with buildbot and configs. -- nosy: +pablogsal, vstinner, xtreak, zach.ware

[issue36307] Upgrade Travis CI config to Xenial from near-EoL Trusty and remove obsolete sudo: false key

2019-03-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There is an open issue with PR for openssl upgrade . Please see https://bugs.python.org/issue34631 -- ___ Python tracker <https://bugs.python.org/issue36

[issue36313] error: [Errno 13] Permission denied: '/usr/local/lib/python3.7/lib2to3/Grammar3.7.2.final.0.pickle'

2019-03-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: configure and make run as root might cause this. See also issue15317 that is a similar report for source install. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue36

[issue10514] configure does not create accurate Makefile on AIX

2019-03-16 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +Michael.Felt ___ Python tracker <https://bugs.python.org/issue10514> ___ ___ Python-bugs-list mailing list Unsub

[issue36314] Pivot_Table Docstring Error

2019-03-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: By np I hope you mean numpy which is not a part of CPython and also pivot_table is part of pandas and could get a better resolution reporting on their repo. -- nosy: +xtreak ___ Python tracker <ht

[issue12616] zip fixer fails on zip()[:-1]

2019-03-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to have been fixed with issue28837 and 93b4b47e3a720171d67f3b608de406aef462835c. Marking this as resolved. Thanks for the report. ➜ cpython git:(master) ✗ cat /tmp/foo.py zip(B, D)[:-1] ➜ cpython git:(master) ✗ 2to3-3.7 /tmp/foo.py

[issue36276] Python urllib CRLF injection vulnerability

2019-03-17 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- superseder: -> CRLF Injection in httplib ___ Python tracker <https://bugs.python.org/issue36276> ___ ___ Python-

[issue36326] Build-out help() to read __slots__ with an optional data dictionary

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

[issue12622] failfast argument to TextTestRunner not documented

2019-03-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: failfast was added to the TextTestRunner signature in docs with issue17871 for 3.x and issue26097 for 2.7 . I guess the original issue was about signature missing in the docs and if so would propose closing this issue since it's fixed

[issue36327] Remove EOLed Py34 from "Status of Python branches"

2019-03-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The tracker is for CPython and the devguide has it's own issue tracker where this could be raised : https://github.com/python/devguide . I am just adding Larry who is release manager for 3.4 and closing this as third party. Feel free to reop

[issue36332] compile() error on AST object with assignment expression

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

[issue35121] Cookie domain check returns incorrect results

2019-03-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Larry, I am reopening this since this seems to affects 2.7 and would wait for Benjamin's call on backporting this. -- resolution: fixed -> stage: resolved -> commit review status: clo

[issue36337] Use socket.sendall()/send() send data larger than 2GB will be truncated and return None, without exception raised.

2019-03-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Related issue : issue18100 . Seems this was fixed in 3.x . -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue36

[issue36336] test_httplib, test_multiprocessing_forkserver leaks on x86 Gentoo

2019-03-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pablogsal, vstinner ___ Python tracker <https://bugs.python.org/issue36336> ___ ___ Python-bugs-list mailin

[issue36338] urlparse of urllib returns wrong hostname

2019-03-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +martin.panter ___ Python tracker <https://bugs.python.org/issue36338> ___ ___ Python-bugs-list mailing list Unsub

[issue36337] Use socket.sendall()/send() send data larger than 2GB will be truncated and return None, without exception raised.

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

[issue36337] Use socket.sendall()/send() send data larger than 2GB will be truncated and return None, without exception raised.

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

[issue36348] test_imaplib.RemoteIMAP_STARTTLSTest.test_logout() fails randomly

2019-03-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems it used to fail randomly in past too : issue30648 -- components: +email nosy: +barry, r.david.murray, xtreak ___ Python tracker <https://bugs.python.org/issue36

[issue36350] inspect.Signature.parameters and inspect.BoundArguments.arguments should be dicts instead of OrderedDicts

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

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

2019-03-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This issue is still reproducible on master and below is a unittest. The patch looks reasonable to me and fixes the issue. @demian.brecht, would you like to convert the patch to a PR ? diff --git a/Lib/test/test_http_cookiejar.py b/Lib/test

[issue36356] Failure to build with address sanitizer

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

[issue12771] 2to3 -d adds extra whitespace

2019-03-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: PS2 = "... " is defined with a trailing space which is not stripped for empty lines with only PS2 in the doctest. A patch would be to strip the trailing space in PS2 for empty lines and a unittest would be as below. There are no test

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