[issue37446] Undefined behavior in Python/hamt.c

2019-12-30 Thread miss-islington
miss-islington added the comment: New changeset a278ae19b4daa1deb11e2a8eed38838027e90ece by Miss Islington (bot) in branch '3.8': closes bpo-37446: resolve undefined behavior in Python/hamt.c (GH-17727) https://github.com/python/cpython/commit/a278ae19b4daa1deb11e2a8eed38838027e90ece

[issue37446] Undefined behavior in Python/hamt.c

2019-12-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +17203 pull_request: https://github.com/python/cpython/pull/17767 ___ Python tracker ___

[issue37446] Undefined behavior in Python/hamt.c

2019-12-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset d0c92e81aa2171228a23cb2bed36f7dab975257d by Benjamin Peterson (Batuhan Taşkaya) in branch 'master': closes bpo-37446: resolve undefined behavior in Python/hamt.c (GH-17727)

[issue37446] Undefined behavior in Python/hamt.c

2019-12-28 Thread Batuhan
Batuhan added the comment: > I don't get that output on 3.8.0a4+ I guess it is related with you didn't added -fsanitize=undefined option. -- nosy: +BTaskaya ___ Python tracker

[issue37446] Undefined behavior in Python/hamt.c

2019-12-28 Thread Batuhan
Change by Batuhan : -- keywords: +patch pull_requests: +17171 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17727 ___ Python tracker ___

[issue37446] Undefined behavior in Python/hamt.c

2019-06-29 Thread Michele Angrisano
Michele Angrisano added the comment: I don't get that output on 3.8.0a4+. I'm on OSX. Anyway, I think that 1 should be cast with unsigned. What do you think? -- nosy: +mangrisano ___ Python tracker

[issue37446] Undefined behavior in Python/hamt.c

2019-06-28 Thread Zackery Spytz
New submission from Zackery Spytz : ./python -m unittest test.test_context.HamtTest.test_hamt_stress Python/hamt.c:1867:29: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' . -- Ran 1 test in