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

2018-10-01 Thread Ezio Melotti
Ezio Melotti added the comment: New changeset 56c102596f01ecbbe5cca6339d2ae16695b083ff by Ezio Melotti (Miss Islington (bot)) in branch '3.6': bpo-31865: Fix a couple of typos in the html.unescape() docs. (GH-9664) https://github.com/python/cpython/commit/56c102596f01ecbbe5cca6339d2ae16695b08

[issue34850] Emit a syntax warning for "is" with a literal

2018-10-01 Thread Steven D'Aprano
Steven D'Aprano added the comment: Please move the "chaos" discussion to #34867 -- ___ Python tracker ___ ___ Python-bugs-list mail

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

2018-10-01 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- keywords: -patch resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 ___ Python tracker

[issue34867] Add mode to disable small integer and interned string caches

2018-10-01 Thread Ammar Askar
Ammar Askar added the comment: Maybe something more akin to UndefinedBehaviorSanitizer? Since its supposed to be catching implementation specific quirks. It wouldn't really be sanitizing though, more just making the bugs more likely to appear. -- nosy: +ammar2 __

[issue34864] In Idle, Mac tabs make bottom editor line with cursor location disappear

2018-10-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I do not see this 64-bit 3.7.1rc1 (see #34863) on 10.13.6 with, I believe, default settings. Are you reporting multiple tabs as a bug, or a feature resulting from intentional settings? If the latter, this may be something the tcl/tk does not support proper

[issue34858] MappingProxy objects should JSON serialize just like a dictionary

2018-10-01 Thread Michael Smith
Michael Smith added the comment: OK, I appreciate the response. The MappingProxy objects I am working with are in a nested data structure, so accessing them to coerce them directly isn't feasible. I created class MappingProxyEncoder(JSONEncoder): def default(self, obj): if isinstance(

[issue34864] In Idle, Mac tabs make bottom editor line with cursor location disappear

2018-10-01 Thread Andy Harrington
Andy Harrington added the comment: This appears to be a system settings option in Mac OS Sierra set under the Dock, "prefer tabs when opening documents". With that choice, when there is the tab bar in an Idle edit window (more than one window superimposed, with tabs) the the whole bottom line

[issue25300] Enable Intel MPX (Memory protection Extensions) feature

2018-10-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: I'm going to formally reject this, since GCC removed -fmpx support. -- nosy: +benjamin.peterson resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue34868] bad error message when combining _ grouping specifier with invalid type

2018-10-01 Thread Benjamin Peterson
New submission from Benjamin Peterson : >>> format(34, '_n') Traceback (most recent call last): File "", line 1, in ValueError: Cannot specify ',' with 'n'. Why is it talking about ","? -- components: Interpreter Core messages: 326848 nosy: benjamin.peterson priority: normal severit

[issue34858] MappingProxy objects should JSON serialize just like a dictionary

2018-10-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Using the default method or argument is a proper way of serializing custom types to JSON. There are a number of issues fr adding support for serializing different types by default. I work on a patch that will allow to make different types serializable in a

[issue34867] Add mode to disable small integer and interned string caches

2018-10-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Adding a runtime option will hit a performance of normal execution. And it is impossible to disable interning strings completely. Some core code depends on this. I have also concerns about disabling caching an empty string. There are also other caches on d

[issue34868] bad error message when combining _ grouping specifier with invalid type

2018-10-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See issue31780. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34867] Add mode to disable small integer and interned string caches

2018-10-01 Thread Ammar Askar
Ammar Askar added the comment: Serhiy, take a look at the linked ticket. The idea is that something like pytest or libregrtest will use this to bring underlying bugs to the surface. It isn't intended to be used in normal execution. -- ___ Python t

[issue34868] bad error message when combining _ grouping specifier with invalid type

2018-10-01 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +9058 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue34867] Add mode to disable small integer and interned string caches

2018-10-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't worry about the performance when caches are disabled. An additional check will hit the performance in normal execution. -- ___ Python tracker

[issue34867] Add mode to disable small integer and interned string caches

2018-10-01 Thread Ammar Askar
Ammar Askar added the comment: Aah sorry, I misinterpreted what you meant. The original ticket proposes it as a compile time flag as well. -- ___ Python tracker ___ _

[issue34869] remove LDLAST

2018-10-01 Thread Benjamin Peterson
New submission from Benjamin Peterson : The last thing setting LDLAST in configure seems to have been OSF/1. Support for OSF/1 was removed in 736e7fc0f6d1242b58ee91708873d14ed7856b77. So, I think we can kill LDLAST, too. -- components: Build messages: 326855 nosy: benjamin.peterson pr

[issue34869] remove LDLAST

2018-10-01 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +9059 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue34868] bad error message when combining _ grouping specifier with invalid type

2018-10-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +9061 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34868] bad error message when combining _ grouping specifier with invalid type

2018-10-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset cbda8fc5d76b10bcbb92d927537576c229143836 by Benjamin Peterson in branch 'master': closes bpo-34868: Improve error message with '_' is combined with an invalid type specifier. (GH-9666) https://github.com/python/cpython/commit/cbda8fc5d76b10b

[issue34868] bad error message when combining _ grouping specifier with invalid type

2018-10-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +9060 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34868] bad error message when combining _ grouping specifier with invalid type

2018-10-01 Thread miss-islington
miss-islington added the comment: New changeset cd4dd9374d0fc65b070a61871801d306090f8375 by Miss Islington (bot) in branch '3.7': closes bpo-34868: Improve error message with '_' is combined with an invalid type specifier. (GH-9666) https://github.com/python/cpython/commit/cd4dd9374d0fc65b07

[issue34868] bad error message when combining _ grouping specifier with invalid type

2018-10-01 Thread miss-islington
miss-islington added the comment: New changeset 7455bf46a222780805fd0375328f5732e5bbb684 by Miss Islington (bot) in branch '3.6': closes bpo-34868: Improve error message with '_' is combined with an invalid type specifier. (GH-9666) https://github.com/python/cpython/commit/7455bf46a222780805

[issue34862] No longer builds on OpenBSD due to missing definition of convert_sched_param

2018-10-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 81574b80e92554adf75c13fa42415beb8be383cb by Benjamin Peterson (William Orr) in branch 'master': closes bpo-34862: Guard definition of convert_sched_param with POSIX_SPAWN_SETSCHEDULER. (GH-9658) https://github.com/python/cpython/commit/81574

[issue34867] Add mode to disable small integer and interned string caches

2018-10-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think this option will be of any value. For it to work, the code would need to have this particular bug, have test cases that triggered those bugs, and a user sophisticated enough to run the tests but unsophisticated enough to make beginner mista

[issue34850] Emit a syntax warning for "is" with a literal

2018-10-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I like this solution of a syntax warning for `is ` > and I agree that `== None` should not be a warning. +1 for me as well. Besides catching potential bugs, it will be of instant benefit for teaching Python. -- nosy: +rhettinger _

<    1   2