[issue24828] Segfault when using store-context AST node in a load context

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Reproducible on latest 2.7 branch as well. Stack trace as below : Program received signal SIGSEGV, Segmentation fault. dict_set_item_by_hash_or_entry ( op={'code': , 'ast': , '__builtins__': , '__file__': '../backups/bpo24828.py', 'm': , id='fo

[issue34537] test_gdb fails with LC_ALL=C

2018-09-22 Thread STINNER Victor
STINNER Victor added the comment: Thank you Elvis for the fix! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue25952] code_context not available in exec()

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34751] Hash collisions for tuples

2018-09-22 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > I don't know that primes are important here, but neither do I know that > they're _not_ important here. Hashes are effectively computed modulo 2**N. "Primes" are meaningless in that setting (except for the prime 2 which does have a meaning). For example,

[issue24834] pydoc should display the expression for a builtin argument default, not its result

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue24174] Python crash on exit

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue24997] mock.call_args compares as equal and not equal

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems to have been implemented with ce913877e42b7fa03434c2e765ace891e0f5c4dc . https://bugs.python.org/issue25195 $ git checkout ce913877e42b7fa03434c2e765ace891e0f5c4dc~1 Lib/unittest/mock.py $ ./python.exe ../backups/bpo24997.py 1 True 2 True

[issue34751] Hash collisions for tuples

2018-09-22 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > Which was your original suggestion. Which you appear to be opposed to now? > I'm unclear about why, if so. I'm not strictly opposed to that. It's just that I have less confidence in the current ad-hoc hash compared to something following the DJBX33A sche

[issue24307] pip error on windows whose current user name contains non-ascii characters

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34561] Replace list sorting merge_collapse()?

2018-09-22 Thread Vincent Jugé
Vincent Jugé added the comment: I see... Indeed, my only goal when adapting Shivers Sort was to maintain some invariant that would make the analysis easy, while mimicking the arguments developed by Buss & Knop for their analysis of (plain) Shivers Sort. It is, however, sure that the n(H+4) up

[issue34750] locals().update doesn't work in Enum body, even though direct assignment to locals() does

2018-09-22 Thread Antony Lee
Antony Lee added the comment: > I agree though that adding an update method would be nice though and can be > done in just a few lines of code. Again, this can be done just be inheriting the methods from MutableMapping. In fact even now one can just write class E(Enum): MutableMapping.u

[issue34751] Hash collisions for tuples

2018-09-22 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > I'm not aware of any research papers about picking multipliers in this > context, but would love to see one. The only real condition that I can think of is that the order should be large: we do not want MULTIPLIER**n = 1 (mod 2**N) for a small number n. O

[issue34709] Suggestion: make getuser.getpass() also look at SUDO_USER environment variable

2018-09-22 Thread Amos S
Change by Amos S : -- keywords: +patch pull_requests: +8903 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mail

[issue32892] Remove specific constant AST types in favor of ast.Constant

2018-09-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: thautwarm, ast.Constant is not new. You can use it since 3.8. What is new in this issue -- ast.parse() will produce ast.Constant instead of ast.Num, ast.Str, etc. -- ___ Python tracker

[issue22490] Using realpath for __PYVENV_LAUNCHER__ makes Homebrew installs fragile

2018-09-22 Thread Vinay Sajip
Vinay Sajip added the comment: As I said in msg284106, it seems that the __PYVENV_LAUNCHER__ should be removed from the stub launcher and then tests should confirm that framework builds aren't adversely affected. Unfortunately, I can't do this testing as I don't have a Mac, and have been hop

[issue33346] Syntax error with async generator inside dictionary comprehension

2018-09-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What is the status of this issue? Similar change to the Grammar was just merged in issue32117. Both issue32117 and this issue extend already implemented PEPs (PEP 448 and PEP 525 correspondingly) to the corner case missed in the original PEP. Pablo, Yury,

[issue34769] _asyncgen_finalizer_hook running in wrong thread

2018-09-22 Thread twisteroid ambassador
New submission from twisteroid ambassador : When testing my happy eyeballs library, I occasionally run into issues with async generators seemingly not finalizing. After setting loop.set_debug(True), I have been seeing log entries like these: Exception ignored in: Traceback (most recent call

[issue31506] Improve the error message logic for object_new & object_init

2018-09-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think this change should be reverted. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue30576] http.server should support HTTP compression (gzip)

2018-09-22 Thread Pierre Quentel
Pierre Quentel added the comment: I have released the module as httpcompressionserver on PyPI : https://pypi.org/project/httpcompressionserver/ -- ___ Python tracker ___

[issue34709] Suggestion: make getuser.getpass() also look at SUDO_USER environment variable

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33346] Syntax error with async generator inside dictionary comprehension

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue23584] test_doctest lineendings fails in verbose mode

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the patch. It seems this was fixed with 09a08de363cbe18a87392e1c2ebf0ac1f414592c (3.x) and c747e5564f0315357a3e7d2f580c6d1c8a3b4ab8 (2.7) by applying the code suggested in the patch. Can this be closed? Thanks -- nosy: +xtreak

[issue23097] unittest can unnecessarily modify sys.path (and with the wrong case)

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue24063] Support Mageia and Arch Linux in the platform module

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Just to add some more context the function platform.linux_distribution() was removed in Python 3 with 8b94b41ab7b12f745dea744e8940631318816935. Refer https://bugs.python.org/issue28167 for more discussion. https://pypi.org/project/distro/ is the re

[issue1180267] expanding platform module and making it work as it should

2018-09-22 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue1180267] expanding platform module and making it work as it should

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can this be closed as since platform.linx_distribution() was removed with https://bugs.python.org/issue28167 and distro is the recommended package which can be frequently updated. Thanks -- nosy: +xtreak __

[issue23706] pathlib.Path.write_text should include a newline argument

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It seems a similar API was suggested in the initial stages at https://bugs.python.org/issue20218#msg209017 . But looking at the reference library in the comment https://github.com/jaraco/path.py I think it's more about converting newlines in the gi

[issue24341] Test suite emits many DeprecationWarnings about sys.exc_clear() when -3 is enabled

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue21465] sqlite3 Row can return duplicate keys when using adapters

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue13822] is(upper/lower/title) are not exactly correct

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue21465] sqlite3 Row can return duplicate keys when using adapters

2018-09-22 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue34476] asyncio.sleep(0) not documented

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue16360] argparse: comma in metavar causes assertion failure when formatting long usage message

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @paul.j3 for the PR. The PR in the linked issue was merged and I cannot reproduce the original assertion error in the latest 2.7 branch with the script. $ ./python.exe Python 2.7.15+ (remotes/upstream/2.7:10be1d3f80, Sep 22 2018, 22:10:28) [G

[issue30773] async generator receives wrong value when shared between coroutines

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue32181] runaway Tasks with Task.cancel() ignored.

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue31973] Incomplete DeprecationWarning for async/await keywords

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33039] int() and math.trunc don't accept objects that only define __index__

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34770] pyshellext.cpp: Possible null pointer dereference

2018-09-22 Thread Zackery Spytz
New submission from Zackery Spytz : The GlobalLock() call in UpdateDropDescription() is not checked for failure. -- messages: 326098 nosy: ZackerySpytz priority: normal severity: normal status: open title: pyshellext.cpp: Possible null pointer dereference type: behavior versions: Python

[issue34770] pyshellext.cpp: Possible null pointer dereference

2018-09-22 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +8904 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue22490] Using realpath for __PYVENV_LAUNCHER__ makes Homebrew installs fragile

2018-09-22 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +8905 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22490] Using realpath for __PYVENV_LAUNCHER__ makes Homebrew installs fragile

2018-09-22 Thread Jason R. Coombs
Jason R. Coombs added the comment: I went naively through the codebase and removed every reference to PYVENV_LAUNCHER and submitted as PR 9498. Does the CI runner at https://python.visualstudio.com/cpython/_build/results?buildId=31019&view=logs use a framework build such that it's an adequat

[issue32897] test_gdb failed on Fedora 27

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34736] Confusing base64.b64decode output

2018-09-22 Thread Tal Einat
Change by Tal Einat : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue32644] unittest.mock.call len() error

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34609] Idle Unitest

2018-09-22 Thread Tal Einat
Change by Tal Einat : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue33083] math.factorial accepts non-integral Decimal instances

2018-09-22 Thread Tal Einat
Change by Tal Einat : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue1529353] Squeezer - squeeze large output in IDLE's shell

2018-09-22 Thread Tal Einat
Tal Einat added the comment: The PR is ready for another review. ISTM it should be good to go, after have addressing all of the significant issues brought up in the discussion here. -- ___ Python tracker ___

[issue31521] segfault in PyBytes_AsString

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue31218] del expects __delitem__ if __setitem__ is defined

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34472] zipfile: does not include optional descriptor signature

2018-09-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 6ec298114855b648a1f5fc4188ea3686a9d77fb3 by Serhiy Storchaka in branch '2.7': [2.7] bpo-34472: Add data descriptor signature to zipfile (GH-8871) (ПР-9407) https://github.com/python/cpython/commit/6ec298114855b648a1f5fc4188ea3686a9d77fb3

[issue34369] kqueue.control() documentation and implementation mismatch

2018-09-22 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +8906 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list m

[issue29164] make test always fail at 218/405 ( AssertionError: ', ' not found in '1234.5' )

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue29081] time.strptime() return wrong result

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34609] Importing the certain modules while debugging raises an exception

2018-09-22 Thread Tal Einat
Change by Tal Einat : -- title: Idle Unitest -> Importing the certain modules while debugging raises an exception ___ Python tracker ___ __

[issue34609] Importing certain modules while debugging raises an exception

2018-09-22 Thread Tal Einat
Change by Tal Einat : -- title: Importing the certain modules while debugging raises an exception -> Importing certain modules while debugging raises an exception ___ Python tracker _

[issue34771] test_ctypes failing on Linux SPARC64

2018-09-22 Thread Frank Schaefer
New submission from Frank Schaefer : Python 3.6.6 on Linux 4.16.18 SPARC64 fails test_ctypes. Specifically, it appears to be due to the _testfunc_large_struct_update_value() or _testfunc_reg_struct_update_value(): 0:00:44 load avg: 46.24 [137/407/1] test_ctypes failed -- running: test_socket

[issue29143] Logger should ignore propagate property for disabled handlers.

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please attach a script that has a relevant sample logging configuration along with the output you are expecting? Thanks -- nosy: +xtreak ___ Python tracker _

[issue12294] multiprocessing.Pool: Need a way to find out if work are finished.

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue27709] difflib.HtmlDiff produces different output from difflib.ndiff

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34472] zipfile: does not include optional descriptor signature

2018-09-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 44989bc2696320cf55ae6f329aaf58edd49d792a by Serhiy Storchaka (Miss Islington (bot)) in branch '3.7': bpo-34472: Add data descriptor signature to zipfile (GH-8871) (GH-9399) https://github.com/python/cpython/commit/44989bc2696320cf55ae6f329aaf5

[issue34472] zipfile: does not include optional descriptor signature

2018-09-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset ed21919d69ac22232cbc0dad0323477818112b6f by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': bpo-34472: Add data descriptor signature to zipfile (GH-8871) (GH-9398) https://github.com/python/cpython/commit/ed21919d69ac22232cbc0dad03234

[issue34472] zipfile: does not include optional descriptor signature

2018-09-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: rejected -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34472] zipfile: does not include optional descriptor signature

2018-09-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue24638] asyncio "loop argument must agree with future" error message could be improved

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34605] Avoid master/slave terminology

2018-09-22 Thread Socob
Change by Socob <206a8...@opayq.com>: -- nosy: +Socob ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue23082] pathlib relative_to() can give confusing error message

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34610] Incorrect iteration of Manager.dict() method of the multiprocessing module.

2018-09-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +8907 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue27513] email.utils.getaddresses does not handle Header objects

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34736] Confusing base64.b64decode output

2018-09-22 Thread Mark Dickinson
Mark Dickinson added the comment: Yes, I'm having trouble thinking of an alternative message that's both accurate and helpful. I think what I _really_ want as a user is for b64decode to reject strings containing "_" and/or "-" as invalid (assuming altchars has been provided), but that would

[issue33232] Segmentation fault in operator.attrgetter

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33194] Path-file objects does not have method to delete itself if its a file

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33871] Possible integer overflow in iov_setup()

2018-09-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34610] Incorrect iteration of Manager.dict() method of the multiprocessing module.

2018-09-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 69d0bc1430d2e9cddf0b39054ddcb86dbbe7927e by Serhiy Storchaka in branch '2.7': [2.7] bpo-34610: Fixed iterator of multiprocessing.managers.DictProxy. (GH-9113). (GH-9500) https://github.com/python/cpython/commit/69d0bc1430d2e9cddf0b39054ddcb86

[issue34610] Incorrect iteration of Manager.dict() method of the multiprocessing module.

2018-09-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33194] Path-file objects does not have method to delete itself if its a file

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Maybe this can be added to list at the end (https://docs.python.org/3/library/pathlib.html#correspondence-to-tools-in-the-os-module) for more visibility. There was a similar thread in python-ideas to add more functions : https://groups.google.com/

[issue33043] Add a 'Contributing to Docs' link at the bottom of docs.python.org

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue31737] Documentation renders incorrectly

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Just as an update current docs site uses Sphinx 1.7.6 and the rendering is correct. Thanks -- nosy: +xtreak ___ Python tracker __

[issue30701] Exception parsing certain invalid email address headers

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue25597] unittest.mock does not wrap dunder methods (__getitem__ etc)

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue31949] Bugs in PyTraceBack_Print()

2018-09-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -4257 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34751] Hash collisions for tuples

2018-09-22 Thread Tim Peters
Tim Peters added the comment: So you don't know of any directly relevant research either. "Offhand I can't see anything wrong" is better than nothing, but very far from "and we know it will be OK because [see references 1 and 2]". That Bernstein's DJBX33A has been widely used inspires no co

[issue34660] Replace ableist terms and pejoratives in source code.

2018-09-22 Thread Socob
Change by Socob <206a8...@opayq.com>: -- nosy: +Socob ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-22 Thread Socob
Change by Socob <206a8...@opayq.com>: -- nosy: +Socob ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34736] Confusing base64.b64decode output

2018-09-22 Thread Tal Einat
Tal Einat added the comment: > I think what I _really_ want as a user is for b64decode to reject strings > containing... Do you mean you'd like to have this behavior by default? One can already use validate=True to have invalid characters cause an exception. I too find it surprising the F

[issue34772] Python will suddenly not plot

2018-09-22 Thread heiahh
New submission from heiahh : Hi! I am experience a very strange behavior. As a student I've been using Spyder for my Python coding assignments. But some days ago I wanted to try out the Python environment in Visual Studio. So, I installed python environment in VS. But after that, none of even

[issue34772] Python will suddenly not plot

2018-09-22 Thread Ammar Askar
Ammar Askar added the comment: Hey heiahh, This bug tracker is for issues pertaining to the python interpreter itself. You'd be better off asking your question on the matplotlib bug tracker or stack overflow: https://github.com/matplotlib/matplotlib/issues https://stackoverflow.com/ -

[issue24997] mock.call_args compares as equal and not equal

2018-09-22 Thread Berker Peksag
Berker Peksag added the comment: Correct, this has been fixed in issue 25195. Closing as 'out of date'. Thanks for triaging! -- nosy: +berker.peksag resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracke

[issue34751] Hash collisions for tuples

2018-09-22 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Thanks for the reference, I never heard of the FNV hash. Unfortunately, I haven't seen a reference for the rationale of how they pick their multiplier. It's not clear what you are suggesting though. Keep using the FNV-ish hash somehow? Or using a DJBX33A has

[issue31737] Documentation renders incorrectly

2018-09-22 Thread Julien Palard
Julien Palard added the comment: Thanks for the follow up! -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ _

[issue34751] Hash collisions for tuples

2018-09-22 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > the made-up hacks Python used to worm around a class of gross flaws its prior > DJBX33X approach suffered, taking DJBX33X out of its original context and > applying it in an area it wasn't designed for. But we know why the DJBX33A hash didn't work (nested

[issue34751] Hash collisions for tuples

2018-09-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think any change should be made unless we agree that there is a real problem to be solved rather than because the OP is brazenly insistent on forcing through some change. We shouldn't feel shoved into altering something that we don't agree is bro

[issue34751] Hash collisions for tuples

2018-09-22 Thread Tim Peters
Tim Peters added the comment: I strive not to believe anything in the absence of evidence ;-) FNV-1a supplanted Bernstein's scheme in many projects because it works better. Indeed, Python itself used FNV for string hashing before the security wonks got exercised over collision attacks. It

[issue34751] Hash collisions for tuples

2018-09-22 Thread Tim Peters
Tim Peters added the comment: Raymond, I share your concerns. There's no reason at all to make gratuitous changes (like dropping the "post-addition of a constant and incorporating length signature"), apart from that there's no apparent reason for them existing to begin with ;-) Unintended

[issue34548] IDLE: Make TextView use the configured theme colors

2018-09-22 Thread Terry J. Reedy
New submission from Terry J. Reedy : I am about to review and test, including live testing on Windows, with an eye to merging before the Monday midnight deadline for the coming releases. At the moment I have no personal preference, nor insight into likely user perferences. Tal, what is your

[issue32117] Tuple unpacking in return and yield statements

2018-09-22 Thread miss-islington
miss-islington added the comment: New changeset 8fabae3b00b2ccffd9f7bf4736734ae584ac5829 by Miss Islington (bot) (jChapman) in branch 'master': bpo-32117: Iterable unpacking in return and yield documentation (GH-9487) https://github.com/python/cpython/commit/8fabae3b00b2ccffd9f7bf4736734ae584

[issue16360] argparse: comma in metavar causes assertion failure when formatting long usage message

2018-09-22 Thread paul j3
paul j3 added the comment: I'm closing this since the https://bugs.python.org/issue11874 fix also handles this issue. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker _

[issue34479] ArgumentParser subparser error display at the wrong level

2018-09-22 Thread paul j3
Change by paul j3 : -- resolution: -> not a bug ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue34458] No way to alternate options

2018-09-22 Thread paul j3
Change by paul j3 : -- resolution: -> not a bug ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue34548] IDLE: Make TextView use the configured theme colors

2018-09-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: I did a review on the PR which probably answers your question, but I'll summarize here. I think consistency in the windows would be good. Consistency would include (but not limited to) foreground and background color, font style, font size, and behavior su

[issue34744] New %(flag)s format specifier for argparse.add_argument help string

2018-09-22 Thread paul j3
Change by paul j3 : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Py

  1   2   >