[issue35110] Fix more spaces around hyphens and dashes

2018-10-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9567 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35111] Make Custom Object Classes JSON Serializable

2018-10-31 Thread Bob Ippolito
Bob Ippolito added the comment: The trouble with having such a hook is that it would take precedence over any customization you might want or need to do to satisfy the protocol you're implementing. Other than the limited set of types that are part of the JSON specification, there's

[issue35117] set.discard should return True or False based on if element existed.

2018-10-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: We already have ways to do it (use the in-operator to test membership or put a remove() call in a try/except). Since already we have ways to do it and since those patterns are rare in practice, an API extension doesn't seem warranted. Also, I don't

[issue35121] Cookie domain check returns incorrect results

2018-10-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The current set of tests are at https://github.com/python/cpython/blob/0353b4eaaf451ad463ce7eb3074f6b62d332f401/Lib/test/test_http_cookiejar.py#L406 . A simple set of tuple that can be added based on the report as below : ("http://barfoo.com;,

[issue35115] UUID objects can't be casted by `hex()`

2018-10-31 Thread Mark Dickinson
Mark Dickinson added the comment: > I don't see large usability difference between 'uuid={:x}'.format(u) and > 'uuid={.hex}'.format(u). Agreed. @fcurella: marking as enhancement is fine, but you need to be specific about what exact enhancement you're proposing. Adding __hex__ back isn't a

[issue35110] Fix more spaces around hyphens and dashes

2018-10-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9566 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35110] Fix more spaces around hyphens and dashes

2018-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 1e8c18509eb15efb8e80971b9935d17e7bbeabf4 by Serhiy Storchaka in branch '3.6': [3.6] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10254)

[issue35110] Fix more spaces around hyphens and dashes

2018-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b183750f53bac7738b1fff114e0a2615d970 by Serhiy Storchaka in branch '3.7': [3.7] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10253)

[issue35110] Fix more spaces around hyphens and dashes

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

[issue33138] Improve standard error for uncopyable types

2018-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Changed to "cannot pickle 'XXX' object" after discussing on Python-Dev: https://mail.python.org/pipermail/python-dev/2018-October/155599.html -- ___ Python tracker

[issue35121] Cookie domain check returns incorrect results

2018-10-31 Thread 西田雄治
西田雄治 added the comment: I think that is desired result. thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35121] Cookie domain check returns incorrect results

2018-10-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +9569 stage: -> patch review ___ Python tracker ___ ___

[issue15809] 2.7 IDLE console uses incorrect encoding.

2018-10-31 Thread Pradyun Gedam
Change by Pradyun Gedam : -- nosy: -pradyunsg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35110] Fix more spaces around hyphens and dashes

2018-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 511747bec3aca4ad7930005e3adece9196c1cd39 by Serhiy Storchaka in branch 'master': bpo-35110: Fix yet few spaces before dashes. (GH-10255) https://github.com/python/cpython/commit/511747bec3aca4ad7930005e3adece9196c1cd39 --

[issue33023] Unable to copy ssl.SSLContext

2018-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: After discussing on Python-Dev all error messages were changed to "cannot pickle 'XXX' object". https://mail.python.org/pipermail/python-dev/2018-October/155599.html I suggest to not add __getstate__() methods with different error messages. But the dup()

[issue35110] Fix more spaces around hyphens and dashes

2018-10-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9568 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

<    1   2