[issue33937] test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI with: [Errno 12] Cannot allocate memory

2018-09-25 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +8960 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue33937] test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI with: [Errno 12] Cannot allocate memory

2018-09-25 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 9557 to fix the issue. test_socket fails frequently on Travis CI, on the three Python 3.x branches. -- ___ Python tracker ___ ___

[issue31865] html.unescape does not work as per documentation

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. The relevant regex to is at https://github.com/python/cpython/blob/f6c8007a29b95b3ea3ca687a9b4924769a696328/Lib/html/__init__.py#L118 added with the commit 4a9ee26750aa8cb37b5072b2bb4dd328819febb4 . As far as I can see from t

[issue34748] Incorrect HTML link in functools.partial

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @xitop for the report. Seems reasonable to me to link to https://docs.python.org/3.8/library/functools.html#partial-objects . Along similar lines I would suggest the below too where "partial objects" could be linked #partial-objects instead

[issue34794] memory leak in TkApp:_createbytearray

2018-09-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +8961 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue34751] Hash collisions for tuples

2018-09-25 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > The low bits are already un-improvable in the most important cases. Maybe you misunderstood me. Suppose that there is a hash collision, say hash((3, 3)) == hash((-3, -3)) and you change the hashing algorithm to fix this collision. If that change does NOT a

[issue34751] Hash collisions for tuples

2018-09-25 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > When testing what, specifically? And the standard 32-bit FNV multiplier, or > the standard 64-bit FNV multiplier? FNV-1a with the t ^= 2 * t mangling running my new testsuite on either PR 9471 or PR 9534 using the 64-bit FNV multiplier to produce 64-bit h

[issue34751] Hash collisions for tuples

2018-09-25 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > j is even implies (j ^ -3) == -(j ^ 3) This follows from what I posted before: if j is even, then j ^ 3 is odd, so we can apply the rule x ^ -2 = -x to x = j ^ 3: (j ^ 3) ^ -2 = -(j ^ 3) which implies j ^ (3 ^ -2) = -(j ^ 3) or equivalently j ^ -3 = -(

[issue34751] Hash collisions for tuples

2018-09-25 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > And one more: x = (x * mult) ^ t; also appears to work equally well. The order of operations does not really matter: you can write the loop as x *= mult # Appears only in FNV-1 x ^= t[0] x *= mult x ^= t[1] x *= mult x ^= t[2] x *= mult x ^= t[3

[issue31628] test_emails failure on FreeBSD

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I just searched for the error and a very similar or in fact the same issue that fails with the same test was reported. It was closed as outdated since there were no errors on buildbots I hope. Adding it here the issue here that might be helpful in

[issue31636] test_locale failure on OpenBSD

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Related issue on OpenBSD that proposes a patch catching the exception and skipping the test : https://bugs.python.org/issue25191 . I propose closing either of these as duplicate. It seems the PR 9178 was added to the issue by mistake and is not rel

[issue34751] Hash collisions for tuples

2018-09-25 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > I want to leave low-order hash bits alone. That's deliberate. Since I didn't understand the rationale for this and since shifting << 1 also seems to work well, I edited PR 9471 to use DJBX33A with t ^= t << 1. Since you insisted on adding 97531 at the end

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report and patch Ville. CPython development now uses GitHub PR instead of patches. It seems usages of this function was removed in 8b94b41ab7b12f745dea744e8940631318816935 during removal of platform.linux_distribution. This essentiall

[issue34679] asyncio.add_signal_handler call fails if not on main thread

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

[issue33940] datetime.strptime have no directive to convert date values with Era and Time Zone name

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

[issue33940] datetime.strptime have no directive to convert date values with Era and Time Zone name

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report Raghunath. Regarding timezone detection there is a limitation with %Z supporting only UTC, GMT and `time.tzname` which is not documented and it's an open issue tracked at issue22377 . Regarding a directive to determine Era I t

[issue34763] Python lacks 0x4E17

2018-09-25 Thread Xiang Zhang
Change by Xiang Zhang : -- nosy: +xiang.zhang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue34320] Creating dict from OrderedDict doesn't preserve order

2018-09-25 Thread INADA Naoki
INADA Naoki added the comment: > Perhaps another good test of the same thing would be with a metaclass that > returns an OrderedDict from __prepare__(): It is not relating to this issue: there are no conversion happened. Should I add the test in this PR? --

[issue33797] json int encoding incorrect for dbus.Byte

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

[issue34334] QueueHandler logs exc_info twice

2018-09-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hi Vinay, Thanks for the explanation! I'm good with changing the PR. I do have one question though. You wrote - > but I forgot that record.exc_text should also be zapped, as it should always > reflect the contents of record.exc_info. Based on the 'always

[issue33643] Mock functions with autospec STILL don't support assert_called_once, assert_called, assert_not_called

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Can you please add a sample script that reproduces the error and the version of Python you are using? The fix was not merged to Python 3.5 as per msg278214 and I am little confused that this issue has Python 3.6 as affected v

[issue33442] Python 3 doc sidebar dosnt follow page scrolling like 2.7 doc sidebar.

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

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

2018-09-25 Thread Tal Einat
Tal Einat added the comment: Working on getting this in now. Just in time, it seems. -- ___ Python tracker ___ ___ Python-bugs-li

[issue33797] json int encoding incorrect for dbus.Byte

2018-09-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34797] Convert heapq to the argument clinic

2018-09-25 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Convert the accelerator module `_heapqmodule.c` to the argument clinic. -- components: Argument Clinic messages: 326344 nosy: larry, pablogsal priority: normal severity: normal status: open title: Convert heapq to the argument clinic type: enh

[issue33442] Python 3 doc sidebar dosnt follow page scrolling like 2.7 doc sidebar.

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report Pete. The Python documentation theme is maintained at https://github.com/python/python-docs-theme/ and this particular issue is tracked at https://github.com/python/python-docs-theme/issues/20 . Related issues : issue34378, is

[issue34797] Convert heapq to the argument clinic

2018-09-25 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +8962 stage: -> patch review ___ Python tracker ___ ___ Python

[issue33563] fileinput input's and Fileinput's bufsize=0 do not remit deprecationWarnings

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

[issue27934] json float encoding incorrect for dbus.Double

2018-09-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This change broke a trick used for serializing Decimal to JSON without loss (see msg176158). It was good to break it in a new release, but I have doubts about breaking it in a bugfix release of 2.7. -- nosy: +serhiy.storchaka _

[issue34797] Convert heapq to the argument clinic

2018-09-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

2018-09-25 Thread Tal Einat
Tal Einat added the comment: This seems like it would need a "What's New" entry. How does this work with IDLE re. new features being backported? -- ___ Python tracker ___ _

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

2018-09-25 Thread Tal Einat
Tal Einat added the comment: New changeset 604e7b9931f9e7881a2941816e538f5f15930db8 by Tal Einat in branch 'master': bpo-1529353: IDLE: squeeze large output in the shell (GH-7626) https://github.com/python/cpython/commit/604e7b9931f9e7881a2941816e538f5f15930db8 -- _

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

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

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

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

[issue32750] lib2to3 log_error method behavior is inconsitent with documentation

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

[issue31962] test_importlib double free or corruption

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

[issue31541] Mock called_with does not ensure self/cls argument is used

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

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

2018-09-25 Thread miss-islington
miss-islington added the comment: New changeset 321f28c5f4b7361fa1b6330697b28481b4565ec8 by Miss Islington (bot) in branch '3.7': bpo-1529353: IDLE: squeeze large output in the shell (GH-7626) https://github.com/python/cpython/commit/321f28c5f4b7361fa1b6330697b28481b4565ec8 -- nosy:

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

2018-09-25 Thread miss-islington
miss-islington added the comment: New changeset 0b3e1208033aa1eb5452afe9387f86f299ef24e5 by Miss Islington (bot) in branch '3.6': bpo-1529353: IDLE: squeeze large output in the shell (GH-7626) https://github.com/python/cpython/commit/0b3e1208033aa1eb5452afe9387f86f299ef24e5 --

[issue34683] Caret positioned wrong for SyntaxError reported by ast.c

2018-09-25 Thread Ammar Askar
Ammar Askar added the comment: There's some context on the github PR but essentially it boiled down to: - It would make it inconsistent with line offsets which are 1-indexed. - Breaking change to a public C API (PyErr_SyntaxLocationObject) - IDLE and other tools that catch syntax errors rely o

[issue34751] Hash collisions for tuples

2018-09-25 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Regarding t ^= t << 7: I tested PR 9471 with all shift values from 1 to 20. The new testsuite passed for all shifts from 1 to 13, except for 6. It failed for 6 and for 14 to 20. This indicates that smaller shift values are better (even when looking at 32-bit

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2018-09-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +Convert heapq to the argument clinic ___ Python tracker ___ ___ Python-bugs-list mail

[issue34334] QueueHandler logs exc_info twice

2018-09-25 Thread Vinay Sajip
Vinay Sajip added the comment: > I'm wondering if there should be a change to `format()` to add an else There's no need; the field is initialised to None in the LogRecord constructor and then only set later if there is a traceback to be cached. > I think the cutoff for 3.7.1 was yesterday, b

[issue34334] QueueHandler logs exc_info twice

2018-09-25 Thread Vinay Sajip
Change by Vinay Sajip : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue34736] Confusing base64.b64decode output

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

[issue2771] Test issue

2018-09-25 Thread Ernest W. Durbin III
Change by Ernest W. Durbin III : -- nosy: +EWDurbin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue2771] Test issue

2018-09-25 Thread Ernest W. Durbin III
Ernest W. Durbin III added the comment: test comment -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue25095] test_httpservers hangs since Python 3.5

2018-09-25 Thread William Pickard
Change by William Pickard : -- pull_requests: +8966 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue34794] memory leak in TkApp:_createbytearray

2018-09-25 Thread David Talkin
David Talkin added the comment: Attached please find a Python script that demonstrates the bug. David On Tue, Sep 25, 2018 at 2:55 AM Karthikeyan Singaravelan < rep...@bugs.python.org> wrote: > > Karthikeyan Singaravelan added the comment: > > Thanks for the report David. Feel free to attach

[issue34320] Creating dict from OrderedDict doesn't preserve order

2018-09-25 Thread Eric Snow
Eric Snow added the comment: There is a conversion. See builtin___build_class__ in Python/bltinmodule.c (and the LOAD_BUILD_CLASS target in Python/ceval.c). Specifically, the metaclass (e.g. the builtin type) is instantiated using the namespace from the class definition. The metaclass cop

[issue34320] Creating dict from OrderedDict doesn't preserve order

2018-09-25 Thread INADA Naoki
INADA Naoki added the comment: Conversion is happens when type() (or metaclass()) is called. And I added test for it already. https://github.com/python/cpython/pull/8624/files#diff-7ba610fbe5686a1d67c5504312be4817R1977 Why regression test for this bugfix need to use __prepare__? -- _

[issue34798] pprint ignores the compact parameter for dicts

2018-09-25 Thread Nicolas Hug
New submission from Nicolas Hug : Dict representations that exceed the line width are printed with one line per key-value pair, ignoring the compact=True parameter: >>> pprint.pprint({i: 0 for i in range(15)}, compact=True) {0: 0, 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 0, 9: 0,

[issue27526] test_venv.TestEnsurePip fails mysteriously when /tmp is too small

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

[issue32557] allow shutil.disk_usage to take a file path on Windows also

2018-09-25 Thread miss-islington
miss-islington added the comment: New changeset c8c0249c9e8f61ab7670119a5a5278354df27bbb by Miss Islington (bot) (Joe Pamer) in branch 'master': bpo-32557: allow shutil.disk_usage to take a file path on Windows also (GH-9372) https://github.com/python/cpython/commit/c8c0249c9e8f61ab7670119a5a

[issue34799] When function in tracing returns None, tracing continues.

2018-09-25 Thread Fabio Zadrozny
New submission from Fabio Zadrozny : https://docs.python.org/3/library/sys.html#sys.settrace explicitly states: The local trace function should return a reference to itself (or to another function for further tracing in that scope), or None to turn off tracing in that scope. Yet, it seems th

[issue32557] allow shutil.disk_usage to take a file path on Windows also

2018-09-25 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue34687] asyncio: is it time to make ProactorEventLoop as the default event loop?

2018-09-25 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 6ea29c5e90dde6c240bd8e0815614b52ac307ea1 by Yury Selivanov (Victor Stinner) in branch 'master': bpo-34687: Make asynico use ProactorEventLoop by default (GH-9538) https://github.com/python/cpython/commit/6ea29c5e90dde6c240bd8e0815614b52ac307ea1

[issue33937] test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI with: [Errno 12] Cannot allocate memory

2018-09-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 46f40be8b907854deb81c6132b7cb038e9e5202a by Victor Stinner in branch 'master': bpo-33937: Catch ENOMEM error in test_socket (#9557) https://github.com/python/cpython/commit/46f40be8b907854deb81c6132b7cb038e9e5202a -- _

[issue34800] email.contentmanager raises error when policy.max_line_length==None or 0

2018-09-25 Thread silane
New submission from silane : The document of the email.policy.Policy says max_line_length=0 or None indicates that no line wrapping should be done at all. But email.contentmanager doesn't handle this properly and raises error when calling set_content() with bytes or non-ascii str. ---Code to

[issue33937] test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI with: [Errno 12] Cannot allocate memory

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

[issue33937] test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI with: [Errno 12] Cannot allocate memory

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

[issue34800] email.contentmanager raises error when policy.max_line_length==None or 0

2018-09-25 Thread silane
Change by silane : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue34687] asyncio: is it time to make ProactorEventLoop as the default event loop?

2018-09-25 Thread STINNER Victor
STINNER Victor added the comment: Thank you for the review Yury ;-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34320] Creating dict from OrderedDict doesn't preserve order

2018-09-25 Thread Eric Snow
Eric Snow added the comment: > Conversion is happens when type() (or metaclass()) is called. Right. So an extra test to cover the __prepare__ case is somewhat redundant. I only suggested it because type() is called implicitly and the test would make the conversion case clear. However, it

[issue33937] test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI with: [Errno 12] Cannot allocate memory

2018-09-25 Thread miss-islington
miss-islington added the comment: New changeset ef1173ab141ba5387598f8859ba96f98d20d743e by Miss Islington (bot) in branch '3.7': bpo-33937: Catch ENOMEM error in test_socket (GH-9557) https://github.com/python/cpython/commit/ef1173ab141ba5387598f8859ba96f98d20d743e -- nosy: +miss-i

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

2018-09-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +8969 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

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

2018-09-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +8970 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue33937] test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI with: [Errno 12] Cannot allocate memory

2018-09-25 Thread miss-islington
miss-islington added the comment: New changeset 857b0028c0832c3159927489bc55f802bc5146cb by Miss Islington (bot) in branch '3.6': bpo-33937: Catch ENOMEM error in test_socket (GH-9557) https://github.com/python/cpython/commit/857b0028c0832c3159927489bc55f802bc5146cb --

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

2018-09-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset dac712d51667227ce3862fc61be6a8094b1066fa by Terry Jan Reedy in branch 'master': bpo-1529353: IDLE: Squeezer What's New for 3.6.7 (#9567) https://github.com/python/cpython/commit/dac712d51667227ce3862fc61be6a8094b1066fa --

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

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

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

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

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

2018-09-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ea718d377db3941ecfc86288a3465fce653cc682 by Terry Jan Reedy in branch 'master': bpo-1529353: IDLE - Squeezer What's New for 3.7.1 (#9568) https://github.com/python/cpython/commit/ea718d377db3941ecfc86288a3465fce653cc682 -- ___

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

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

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

2018-09-25 Thread miss-islington
miss-islington added the comment: New changeset 98c8236cc75529407e305f26de95d9e72a72a0eb by Miss Islington (bot) in branch '3.6': bpo-1529353: IDLE: Squeezer What's New for 3.6.7 (GH-9567) https://github.com/python/cpython/commit/98c8236cc75529407e305f26de95d9e72a72a0eb --

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

2018-09-25 Thread miss-islington
miss-islington added the comment: New changeset 92ad2612bef198f2e3f8f09bf552189e27afcc4e by Miss Islington (bot) in branch '3.7': bpo-1529353: IDLE: Squeezer What's New for 3.6.7 (GH-9567) https://github.com/python/cpython/commit/92ad2612bef198f2e3f8f09bf552189e27afcc4e --

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

2018-09-25 Thread miss-islington
miss-islington added the comment: New changeset 3637e68d7c92eda0b80e6ab3f58610e1cfb4f1d8 by Miss Islington (bot) in branch '3.7': bpo-1529353: IDLE - Squeezer What's New for 3.7.1 (GH-9568) https://github.com/python/cpython/commit/3637e68d7c92eda0b80e6ab3f58610e1cfb4f1d8 -- ___

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

2018-09-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +8974 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-09-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +8975 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list ma

[issue34798] pprint ignores the compact parameter for dicts

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

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

2018-09-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: See my 3.6/3.7 patches for how I now handle new-in-maintenance-release user-visible features in What's New. Note that there are similar entries for Python at the bottom of the file. If I were not rushing, I would have mentioned user colors in text view. Bu

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

2018-09-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset fdcb5ae25c0b5c82a32955617d253810ef110cac by Terry Jan Reedy in branch 'master': bpo-1529353: IDLE - Squeezer What's New for 3.8 (#9572) https://github.com/python/cpython/commit/fdcb5ae25c0b5c82a32955617d253810ef110cac -- _

[issue34751] Hash collisions for tuples

2018-09-25 Thread Tim Peters
Tim Peters added the comment: > Suppose that there is a hash collision, say hash((3, 3)) == > hash((-3, -3)) and you change the hashing algorithm to fix > this collision. There are _two_ hash functions at play in that collision: the tuple hash function, and the integer hash function. Regard

[issue12806] argparse: Hybrid help text formatter

2018-09-25 Thread Perette Barella
Perette Barella added the comment: I would find this a useful feature. -- nosy: +perette ___ Python tracker ___ ___ Python-bugs-lis

[issue33937] test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI with: [Errno 12] Cannot allocate memory

2018-09-25 Thread STINNER Victor
STINNER Victor added the comment: The issue should now be fixed. Reopen it if it is not the case. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue33937] test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI with: [Errno 12] Cannot allocate memory

2018-09-25 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the review Pablo. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue34798] pprint ignores the compact parameter for dicts

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report Nicolas. I looked into the code and it seems that pprint for a dictionary now doesn't really take compact into account. List, sets, tuple and dequeue use _format_items [0] that honors value of compact but dictionary formatting

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-09-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 22ef31d0b4b497eda5e356528c3e1d29584d6757 by Terry Jan Reedy in branch 'master': bpo-34162: idlelib/NEWS.txt entry for squeezer (GH-9573) https://github.com/python/cpython/commit/22ef31d0b4b497eda5e356528c3e1d29584d6757 --

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

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

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

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

[issue34800] email.contentmanager raises error when policy.max_line_length==None or 0

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

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-09-25 Thread miss-islington
miss-islington added the comment: New changeset b2ae5502981ae7e8fc080f5155060235696afe22 by Miss Islington (bot) in branch '3.7': bpo-34162: idlelib/NEWS.txt entry for squeezer (GH-9573) https://github.com/python/cpython/commit/b2ae5502981ae7e8fc080f5155060235696afe22 -- __

[issue34801] codecs.getreader() splits lines containing control characters

2018-09-25 Thread Neil Schemenauer
New submission from Neil Schemenauer : This seems to be a bug in codecs.getreader(). io.TextIOWrapper(fp, encoding) works correctly. -- files: codecs_bug.py messages: 326382 nosy: nascheme priority: low severity: normal status: open title: codecs.getreader() splits lines containing co

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-09-25 Thread miss-islington
miss-islington added the comment: New changeset dc335ae77dfc1fb6a500eb1cd0baf23fcda45434 by Miss Islington (bot) in branch '3.6': bpo-34162: idlelib/NEWS.txt entry for squeezer (GH-9573) https://github.com/python/cpython/commit/dc335ae77dfc1fb6a500eb1cd0baf23fcda45434 -- __

[issue34800] email.contentmanager raises error when policy.max_line_length==None or 0

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks silane for the report and script. The case where max_line_length=0 causing ValueError was introduced with b938c8c25316b69f1d5df2c7880a9f6b87e7c2fa and the code at [0] has some comments regarding the minimum value to be 4 characters. There wa

[issue34798] pprint ignores the compact parameter for dicts

2018-09-25 Thread Nicolas Hug
Change by Nicolas Hug : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34798] pprint ignores the compact parameter for dicts

2018-09-25 Thread Nicolas Hug
Nicolas Hug added the comment: Thank you for the feedback! I'll try the python-ideas mail list. I posted a message on Python-list [1] a few weeks ago but it didn't get much traction. I'm not sure about what the final solution could be (if any), but I had to hack pprint myself [2] for the sc

[issue34798] pprint ignores the compact parameter for dicts

2018-09-25 Thread Nicolas Hug
Nicolas Hug added the comment: Sorry: [2] https://github.com/scikit-learn/scikit-learn/pull/11705/files#diff-f83e8d9362766b385472f1be7fed9482R96 -- ___ Python tracker ___ __

[issue34798] pprint ignores the compact parameter for dicts

2018-09-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is on purpose. See issue19132. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-

[issue34789] doc xml.sax.make_parser expects a list not just any sequence

2018-09-25 Thread Andrés Delfino
Change by Andrés Delfino : -- pull_requests: +8978 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue34766] BaseProxy cache should be cleaned when Manager client is reconnected

2018-09-25 Thread Yongnan Wu
New submission from Yongnan Wu : BaseProxy class in multiprocessing has an internal cache _address_to_local that is only cleaned when Manager server gets shutdown. If a Manager is used as client, the cache should to be cleaned when a new connection is created by Manager. --

  1   2   >