[issue37447] Nested For Loop in Python not working as Expected after cnt=2136

2019-06-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @pradnyan The break statement [0] only exits the for loop where it's present in this the one where y is involved so the outer loop involving x will continue to execute. So after every attempt where y = 0 the cnt value succeeds and breaks o

[issue37448] obmalloc: radix tree for tracking arena address ranges

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

[issue37450] Generalize Euclidean distance function in the math module to Minkowski distance

2019-06-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mark.dickinson, rhettinger, stutzbach ___ Python tracker <https://bugs.python.org/issue37450> ___ ___ Python-bug

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

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

[issue37456] FAQ says positional arguments aren't a thing

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

[issue37461] email.parser.Parser hang

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

[issue37464] multiple comparison

2019-07-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: a=1.0 b=0.0 c=0.0 if (a> d and b): print('hi') else: print("bye") d is not defined here and it throws a NameError for me. Can you please attach the full scripts that can be used to reproduce the behavior in the r

[issue37470] Make it explicit what happens when using a bounded queue with QueueHandler

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

[issue37469] Make it explicit that logging QueueHandler / QueueListener accepts a SimpleQueue.

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

[issue37475] What is urllib.request.urlcleanup() function?

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

[issue37475] What is urllib.request.urlcleanup() function?

2019-07-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I have added Senthil for thoughts. The temporary files is also stored in a module level variable. Looking into the git history there were some changes in e24f96a05973ddbb59d88c03570aef8545c5ef10 . The function is also marked as legacy in __all__

[issue37390] Generate table of audit events for docs

2019-07-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Strange, I bet that I have seen this rendered table while the issue was closed. The docs table renders fine locally on latest master. Given that Audit event, Arguments and References table header are rendered with the table being replaced I guess

[issue37461] email.parser.Parser hang

2019-07-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Since the parser could take user input this looks like a security issue to me along with high CPU usage. Feel free to remove the tag if it's not a security issue. Thanks. -- keywords: +security_issue nosy: +xtreak versions: +Pytho

[issue37485] dataclass __foo__ methods inheritance is not working

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

[issue37485] dataclass __foo__ methods inheritance is not working

2019-07-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://docs.python.org/3/library/dataclasses.html#inheritance > When the dataclass is being created by the dataclass() decorator, it looks > through all of the class’s base classes in reverse MRO (that is, starting at > object) and,

[issue37482] Email header fails with both encoded words and special chars

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

[issue37497] Add inspect.Signature.from_text().

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

[issue37495] socket.inet_aton parsing issue on some libc versions

2019-07-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +christian.heimes ___ Python tracker <https://bugs.python.org/issue37495> ___ ___ Python-bugs-list mailin

[issue30458] [security][CVE-2019-9740][CVE-2019-9947] HTTP Header Injection (follow-up of CVE-2016-5699)

2019-07-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Okay, the url variable against which the regex check is made is not the full url but the path. The HTTPConnection class sets self.host [0] in the constructor which is used to send the Host header. Perhaps the regex check could be done for the host

[issue37500] 3.8.0b2 no longer optimizes away "if 0:" ?

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

[issue37500] 3.8.0b2 no longer optimizes away "if 0:" ?

2019-07-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Not sure if related there were some changes done to __debug__ related checks with issue37269 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37502] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-07-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue37210 -- nosy: +pitrou, xtreak ___ Python tracker <https://bugs.python.org/issue37502> ___ ___ Pytho

[issue37510] argparse removing more "--" than it should

2019-07-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +paul.j3 ___ Python tracker <https://bugs.python.org/issue37510> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37516] buid error - test_asyncio fails during make

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

[issue37521] importlib.util.module_from_spec return value is not the same as in sys.modules

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

[issue37052] Add examples for mocking async for and async context manager in unittest.mock docs

2019-07-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +14467 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14660 ___ Python tracker <https://bugs.python.org/issu

[issue37525] test_ssl: test_pha_required_nocert() logs ResourceWarning

2019-07-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +christian.heimes ___ Python tracker <https://bugs.python.org/issue37525> ___ ___ Python-bugs-list mailin

[issue34722] Non-deterministic bytecode generation

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

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

2019-07-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Jack for the report. I am reopening this issue. I will use your example as a unit test. I will try to look into it. If you have more cases or examples related to the issue feel free to add them. -- resolution: fixed -> st

[issue37534] In minidom module ability to add Standalone Document Declaraion is missing while generating XML documents

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

[issue37527] Timestamp conversion on windows fails with timestamps close to EPOCH

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

[issue37532] email.header.make_header() doesn't work if any `ascii` code is out of range(128)

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

[issue37545] Argparse Tutorial - unreasonable operators

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

[issue37539] CheckCommitCursorReset regression sqlite3 test fails with old sqlite3

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

[issue37549] os.dup() fails for standard streams on Windows 7

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

[issue37549] os.dup() fails for standard streams on Windows 7

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

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

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

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

2019-07-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > I think a possible fix is to move the inner mock extraction out to the > attach_mock function as that function contains code to clear the mock's > parent and name attributes. Downside is that that would make it fail on > Dmi

[issue37555] _CallList.__contains__ doesn't always respect ANY.

2019-07-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Can you please add an example without Django or other dependencies so that I can try reproducing it? I am trying out the below program from the report where Foo has overridden __eq__ to return False if the other object being

[issue37556] Launcher help does not mention configuration options

2019-07-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware versions: -Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue37

[issue30550] Document order-preserving dictionary output in json

2019-07-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue30

[issue24338] In argparse adding wrong arguments makes malformed namespace

2019-07-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : Removed file: https://bugs.python.org/file48470/126.pdf ___ Python tracker <https://bugs.python.org/issue24338> ___ ___ Python-bug

[issue37563] Documentation - default for StreamHandler

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

[issue37564] ArgumentParser should support bool type according to truth values

2019-07-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +paul.j3 ___ Python tracker <https://bugs.python.org/issue37564> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37565] test_faulthandler failure

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

[issue37555] _CallList.__contains__ doesn't always respect ANY.

2019-07-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > Karthikeyan, I think there is a flaw in your example. The good __eq__ should > return NotImplemented instead of False for other types. This wil allow the > right operand's __eq__ to play. Serhiy, my example was to try reproducin

[issue37571] Incorrect use of c_char_p in example code

2019-07-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Looks like a valid issue to me. Would you like to create a PR? -- components: +ctypes nosy: +amaury.forgeotdarc, belopolsky, meador.inge, xtreak versions: +Python 3.7, Python 3.8

[issue37555] _CallList.__contains__ doesn't always respect ANY.

2019-07-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://docs.python.org/3/library/unittest.mock.html#any mock.ANY doesn't make any guarantees that this is a generic implementation that can be used to test equality against any object irrespective of the order to return True. It's docum

[issue37555] _CallList.__contains__ doesn't always respect ANY.

2019-07-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Good catch, commenting out the c implementation of datetime in setup.py I can see the following difference. ➜ cpython git:(master) ✗ ./python.exe Python 3.9.0a0 (heads/master-dirty:c8e7146de2, Jul 12 2019, 15:51:00) [Clang 7.0.2 (clang-700.1.81

[issue37555] _CallList.__contains__ doesn't always respect ANY.

2019-07-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I can see difference in time.__eq__ and timedelta.__eq__ C and Python implementations. Serhiy, are you planning to fix them or shall I raise an issue with PR for these? -- ___ Python tracker <ht

[issue37573] asyncio: freeze when using MultiLoopChildWatcher on Solaris

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

[issue37579] Difference in equality check between C and Python implementation for datetime module's timedelta and time

2019-07-12 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : As reported by Serhiy on https://bugs.python.org/issue37555#msg347733 there is a difference in __eq__ definition in datetime module's C and Python implementation for timedelta and time. When the other in __eq__ is not of the same

[issue37579] Difference in equality check between C and Python implementation for datetime module's timedelta and time

2019-07-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +14522 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14726 ___ Python tracker <https://bugs.python.org/issu

[issue37580] Markup typo in http.cookiejar doc

2019-07-12 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : CookieJar.add_cookie_header in Doc/library/http.cookiejar.rst contains the below statement where .. is present that causes the markup to not link to the correct docs. The fix would be to remove extra dot in the docs and verify the rendered doc

[issue37578] Change Glob: Allow Recursion for Hidden Files

2019-07-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Library (Lib) nosy: +serhiy.storchaka versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue37

[issue37582] can you add this new feature about grammar?

2019-07-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Changes like this needs to be discussed in python-ideas first https://mail.python.org/mailman3/lists/python-ideas.python.org/ . The current behavior is as below : >>> a, b += 1, 2 File "", line 1 SyntaxError: illegal expre

[issue37574] Mention spec_from_loader() in Finder.find_spec() docs.

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

[issue37583] Got a 113 error when running the test_socket

2019-07-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Victor handled similar errors in issue36629 where this helper was introduced. -- nosy: +vstinner, xtreak type: -> enhancement versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issu

[issue37585] Comparing PyDictValues does not give expected results

2019-07-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue12445 which was a similar proposal rejected in the past. -- nosy: +inada.naoki, xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37579] Difference in equality check between C and Python implementation for datetime module's timedelta and time

2019-07-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +14541 pull_request: https://github.com/python/cpython/pull/14745 ___ Python tracker <https://bugs.python.org/issue37

[issue37587] JSON loads performance improvement for long strings

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

[issue37593] ast.arguments has confusing args/posonlyargs ordering

2019-07-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +levkivskyi, pablogsal, serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue37593> ___ ___ Python-bug

[issue37555] _CallList.__contains__ doesn't always respect ANY.

2019-07-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Elizabeth for the test. The regression test seems to be same as the case noted by Serhiy that Foo.__eq__ is not returning NotImplemented so that ANY.__eq__ can be executed. Below would be the correct implementation that passes. The actual

[issue37598] Don't use _ as a function name in logging documentation cookbook

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

[issue37601] shutil.make_archive does not follow symlinks for zip archives

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

[issue37601] shutil.make_archive does not follow symlinks for zip archives

2019-07-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- type: -> enhancement versions: +Python 3.9 -Python 3.7 ___ Python tracker <https://bugs.python.org/issue37601> ___ _

[issue37602] nonzero fixer problem

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

[issue37598] Don't use _ as a function name in logging documentation cookbook

2019-07-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Slightly unrelated to the issue but I noticed the below statement in the docs page couple of times. I think it's related to the order of kwargs when the statement was added in 3d9e972270270e1498712065a17ec3a589ae8986. Since order of kwar

[issue37601] shutil.make_archive does not follow symlinks for zip archives

2019-07-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks like a reasonable addition to me. Other APIs in shutil have follow_symlinks parameter. ➜ /tmp ls -al sym total 0 drwxr-xr-x 3 karthikeyansingaravelan staff 102 Jul 16 15:52 . drwxr-xr-x 58 karthikeyansingaravelan staff 1972 Jul

[issue28569] mock.attach_mock should work with any return value of patch()

2019-07-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this similar to issue21478? Michael, can you please confirm this behavior and the change proposed in issue21478? I tried out the below program as per initial report # foo.py from unittest.mock import patch, Mock p = patch('request

[issue37614] Pasteing 🌹into idle makes it crash

2019-07-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add your operating system and environment information? It seems similar to issue37286 and issue13153 in Windows. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37615] json - make load and dump work with filenames and path-like objects

2019-07-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks similar to issue36378 which was rejected and has a link to previous mailing list discussion. -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37555] _CallList.__contains__ doesn't always respect ANY.

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

[issue37624] random.choices has unexpected behavior with negative weights

2019-07-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mark.dickinson, rhettinger ___ Python tracker <https://bugs.python.org/issue37624> ___ ___ Python-bugs-list mailin

[issue37632] generator expression doesn't find subclass

2019-07-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think it's about a class being defined inside another class and not about subclass. This seems to be similar to https://bugs.python.org/issue3692 that discusses about class attribute scope for comprehension. -- nosy: +x

[issue37642] timezone allows no offset from range (23:59, 24:00)

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

[issue37643] Except clause

2019-07-21 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess you are popping 2 from the list and using except for the same. New syntax and semantics needs to be discussed in python-ideas mailing list. Though this reads like English except is used for exception based semantics. I would propose

[issue37642] timezone allows no offset from range (23:59, 24:00)

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

[issue37648] Fix minor inconsistency in the order of == operands

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

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

2019-07-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Jack for the report. Thanks Mario and Chris for reviews. I am closing this as resolved. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracke

[issue37652] Multiprocessing shared_memory ValueError on race with ShareableList

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

[issue37655] Set subset operator docs

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

[issue37657] ERROR: grip 4.5.2 requires docopt>=0.4.0, which is not installed.

2019-07-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: grip and docopt are not a part of standard library. I assume this issue is related to Mac OS installer and tagging it as Mac OS issue for confirmation to close it as third party issue. -- components: +macOS nosy: +ned.deily, ronaldoussoren

[issue37666] urllib.requests.urlopen doesn't support cadata=

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

[issue37668] Allow individual test to be specified by "#" or "."

2019-07-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: If I understand the patch correctly this is is the behavior of the patch ./python.exe -m unittest test#test_keyword ... -- Ran 7 tests in 0.001s OK Do you have a good use case

[issue37664] Update bundled pip and setuptools

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

[issue37669] Make mock_open return per-file content

2019-07-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cjw296, mariocj89, michael.foord, xtreak versions: -Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue37

[issue37670] Description of UserDict is misleading

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

[issue37671] itertools.combinations could be lazier

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

[issue37671] itertools.combinations could be lazier

2019-07-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also related discussion https://bugs.python.org/msg276855 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue37

[issue37674] Is imp module deprecated or pending deprecation?

2019-07-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +brett.cannon, eric.snow, ncoghlan ___ Python tracker <https://bugs.python.org/issue37674> ___ ___ Python-bug

[issue37676] cmath.phase array support

2019-07-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mark.dickinson versions: +Python 3.9 -Python 3.7 ___ Python tracker <https://bugs.python.org/issue37676> ___ ___

[issue37677] Seg Fault on OSX when multiprocessing

2019-07-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. It would be helpful to have a standalone reproducer for this issue to try reproducing it in 3.6 and other versions. -- nosy: +davin, pitrou, xtreak ___ Python tracker <ht

[issue37679] test_with_pip fails on FreeBSD 10 bot

2019-07-25 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : I guess the upgrade in issue37664 caused an issue with FreeBSD bot. The bot seems to fail after this change on master and 3.8. https://buildbot.python.org/all/#/builders/167/builds/1380 test_with_pip (test.test_venv.EnsurePipTest) ... FAIL

[issue37664] Update bundled pip and setuptools

2019-07-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This change seems to have buildbot failure on FreeBSD 10 for master and 3.8 branch. I have opened issue37679 . I couldn't find any issues similar to this during previous upgrades. https://buildbot.python.org/all/#/builders/167/builds

[issue37679] test_with_pip fails on FreeBSD 10 bot

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

[issue37688] The results from os.path.isdir(...) an Path(...).is_dir() are not equivalent for empty path strings.

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

[issue37694] Crash when calling zipimport.zipimporter.__new__().()

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

[issue1760357] ZipFile.write fails with bad modification time

2019-07-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Linsey Alvarez, I am not sure how it's related to email. So I am removing the email tag and changing the subject back. -- components: -email nosy: +xtreak title: loveubyl...@gmail.com -> ZipFile.write fails with bad modificat

[issue37708] Harmonize random.choice(s) behavior with random.sample on iterators

2019-07-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems similar to https://bugs.python.org/issue37682 -- nosy: +rhettinger, xtreak ___ Python tracker <https://bugs.python.org/issue37

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