[issue34826] io.BufferedReader crashes in 2.7 on memoryview attribute access

2018-09-27 Thread Zackery Spytz
Zackery Spytz added the comment: See #27195 and PR 8415. -- nosy: +ZackerySpytz ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34521] test_socket.Recvmsg[Into]SCMRightsStreamTest tests fail on AMD64 FreeBSD CURRENT

2018-09-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +9012, 9013 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue34521] test_socket.Recvmsg[Into]SCMRightsStreamTest tests fail on AMD64 FreeBSD CURRENT

2018-09-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +9012 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue34818] test.test_ssl.ThreadedTests.test_tls1_3 fails in 2.7 with AttributeError: __exit__

2018-09-27 Thread Dimitri John Ledkov
Dimitri John Ledkov added the comment: Similar client sockets are used in that file, but they are wrapped in extra `with closing(...) as s:` Is closing() wrapper missing in this test case? -- ___ Python tracker

[issue18578] Rename and document test.bytecode_helper as test.support.bytecode_helper

2018-09-27 Thread Cheryl Sabella
Cheryl Sabella added the comment: @seydou, would you be interested in making a GitHub pull request for your patch? -- assignee: -> docs@python components: +Documentation, Tests nosy: +cheryl.sabella, docs@python stage: -> needs patch type: -> enhancement versions: +Python 3.8 -Pytho

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2018-09-27 Thread Kubilay Kocak
Kubilay Kocak added the comment: To clarify affected tests/versions: Python 3.x - test_socket test_multiprocessing_spawn Python 2.7 - test_multiprocessing_spawn All of the issues are related to incorrect recvmsg(2) buffer length use, so I've amended the issue summary to describe the complete

[issue34751] Hash collisions for tuples

2018-09-27 Thread Tim Peters
Tim Peters added the comment: Perhaps worth noting that FNV-1a works great if used as _intended_: on a stream of unsigned bytes. All tests except the new tuple hash test suffer no collisions; the new test suffers 14. Nothing is needed to try to worm around nested tuple catastrophes, or to

[issue34751] Hash collisions for tuples

2018-09-27 Thread Tim Peters
Tim Peters added the comment: Also worth noting: other projects need to combine hashes too. Here's a 64-bit version of the highly regarded C++ Boost[1] library's hash_combine() function (I replaced its 32-bit int literal with "a random" 64-bit one): x ^= (Py_uhash_t)y + 0x94ae1875aa564

[issue34777] urllib.request accepts anything as a header parameter for some URLs

2018-09-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the details. Each server behaves differently for these headers which depends on the server configuration and using other client like curl will also return the same result as Python does. So I would propose closing it as not a bug since t

[issue27195] Crash when RawIOBase.write(b) evaluates b.format

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

[issue34826] io.BufferedReader crashes in 2.7 on memoryview attribute access

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

[issue34827] Make argparse.NameSpace iterable

2018-09-27 Thread Micheal Taylor
New submission from Micheal Taylor : There was an issue to make argparse.Namespace iterable with a specific intent on being able to convert it to a dictionary (https://bugs.python.org/issue8982). Additionally there was another improvement request to make it accessible like a dictionary. (h

[issue34736] Confusing base64.b64decode output

2018-09-27 Thread miss-islington
miss-islington added the comment: New changeset 1fba2ffc37da52c08db51fe4360459990b0311c9 by Miss Islington (bot) (Tal Einat) in branch 'master': bpo-34736: improve error message for invalid length b64decode inputs (GH-9563) https://github.com/python/cpython/commit/1fba2ffc37da52c08db51fe43604

[issue34736] Confusing base64.b64decode output

2018-09-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +9014 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34827] Make argparse.NameSpace iterable

2018-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: issue8982 is not about making argparse.Namespace iterable, it is about better documenting it. issue8979 was rejected for several reasons which are still valid. For making **args working, args shouldn't be iterable, it should have the keys() method. And th

[issue34736] Confusing base64.b64decode output

2018-09-27 Thread miss-islington
miss-islington added the comment: New changeset 7e35081bc828291da5793db49ab45dee4fda5043 by Miss Islington (bot) in branch '3.7': bpo-34736: improve error message for invalid length b64decode inputs (GH-9563) https://github.com/python/cpython/commit/7e35081bc828291da5793db49ab45dee4fda5043

[issue34736] Confusing base64.b64decode output

2018-09-27 Thread Tal Einat
Tal Einat added the comment: Thanks, Mark! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue34776] Postponed annotations break inspection of dataclasses

2018-09-27 Thread Stefan Behnel
Change by Stefan Behnel : -- nosy: +scoder ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue34828] sqlite.iterdump does not work for (most) databases with autoincrement

2018-09-27 Thread Joel Klimont
New submission from Joel Klimont : There is a bug in sqlite3/dump.py when wanting to dump databases that use autoincrement in one or more tables. The problem is that the iterdump command assumes that the table "sqlite_sequence" is present in the new database in which the old one is dumped in

[issue34828] sqlite.iterdump does not work for (most) databases with autoincrement

2018-09-27 Thread Berker Peksag
Berker Peksag added the comment: > I have already forked the repository, written tests etc. and if you > want I will create a pull request. Please do! Note that 3.4 and 3.5 are in security-fix-only mode and let's decide whether fixing 2.7 is worth the trouble when you submit your PR. Thank y

[issue34818] test.test_ssl.ThreadedTests.test_tls1_3 fails in 2.7 with AttributeError: __exit__

2018-09-27 Thread Christian Heimes
Christian Heimes added the comment: Yes, that's it. In Python 2.7, socket classes don't implement the context manager protocol. -- ___ Python tracker ___

<    1   2