[issue25612] nested try..excepts don't work correctly for generators

2018-06-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This change was in top5 breaking changes for 3.7. It broke many projects that use Cython until they upgraded Cython to the version that supports 3.7. -- ___ Python tracker __

[issue33841] lock not released in threading.Condition

2018-06-11 Thread Lev Maximov
New submission from Lev Maximov : In `Condition.wait()` the `waiter` lock gets acquired twice, but is released only once (both in timeout and no timeout cases). Is it intentional? -- components: Library (Lib) messages: 319365 nosy: lev.maximov priority: normal severity: normal status:

[issue27397] email.message.Message.get_payload(decode=True) raises AssertionError that "should never happen"

2018-06-11 Thread Tal Einat
Tal Einat added the comment: I ended up fixing this independently of #33770. AFAIK this should just work with 3.6. -- ___ Python tracker ___ _

[issue33827] Generators with lru_cache can be non-intuituve

2018-06-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Serhiy is correct. In general, there is no way to detect when someone is caching something that should be cached (i.e. impure functions). -- resolution: -> not a bug stage: -> resolved status: open -> closed

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I can't test on multiple monitors, but I tested on a single HiDPI monitor. With 1 it looks much better than with 0. With 2 it looks the same as with 1 on HiDPI, but doesn't scale well after changing the resolution of the display. I suppose there are the sa

[issue25612] nested try..excepts don't work correctly for generators

2018-06-11 Thread Ned Deily
Ned Deily added the comment: P.S. I added a very minimal What's New in 3.7 entry for this change since it has affected some downline projects. I just copied the NEWS entry. Feel free to expand it and/or move it to a better location in the file. -- _

[issue25612] nested try..excepts don't work correctly for generators

2018-06-11 Thread Ned Deily
Ned Deily added the comment: New changeset ef5f4ba96e05f61ad3baca502012085f31e99342 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-25612: Add minimal What's New in 3.7 entry (GH-7656) (GH-7658) https://github.com/python/cpython/commit/ef5f4ba96e05f61ad3baca502012085f31e99342 -

[issue33582] formatargspec deprecated but does not emit DeprecationWarning.

2018-06-11 Thread Ned Deily
Ned Deily added the comment: New changeset 8379b70be2c0a9e3f11cdb694a8faaf5763f99ed by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-33582: Remove duplicate space in inspect.formatargspec() deprecation warning (GH-7655) (GH-7657) https://github.com/python/cpython/commit/8379b70be2c0a

[issue25612] nested try..excepts don't work correctly for generators

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7275 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue25612] nested try..excepts don't work correctly for generators

2018-06-11 Thread Ned Deily
Ned Deily added the comment: New changeset 04290cb9945eca1a97f6924495256c15f29fab41 by Ned Deily in branch 'master': bpo-25612: Add minimal What's New in 3.7 entry (GH-7656) https://github.com/python/cpython/commit/04290cb9945eca1a97f6924495256c15f29fab41 -- ___

[issue33582] formatargspec deprecated but does not emit DeprecationWarning.

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7274 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33582] formatargspec deprecated but does not emit DeprecationWarning.

2018-06-11 Thread Ned Deily
Ned Deily added the comment: New changeset 41254ebd5e4f40a2e095d8aaea60bf3973de4647 by Ned Deily (Zackery Spytz) in branch 'master': bpo-33582: Remove duplicate space in inspect.formatargspec() deprecation warning (GH-7655) https://github.com/python/cpython/commit/41254ebd5e4f40a2e095d8aaea6

[issue25612] nested try..excepts don't work correctly for generators

2018-06-11 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +7273 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue33582] formatargspec deprecated but does not emit DeprecationWarning.

2018-06-11 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +7272 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue33582] formatargspec deprecated but does not emit DeprecationWarning.

2018-06-11 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz title: formatargspec deprecated but does nto emit DeprecationWarning. -> formatargspec deprecated but does not emit DeprecationWarning. ___ Python tracker ___

[issue31432] Documention for CERT_OPTIONAL is misleading

2018-06-11 Thread Ned Deily
Ned Deily added the comment: New changeset e25757408dc22561af9f9589c2c7e2a2fbb66ee4 by Ned Deily in branch '3.6': bpo-31432: Clarify ssl CERT_NONE/OPTIONAL/REQUIRED docs. (GH-3530) (GH-7652) https://github.com/python/cpython/commit/e25757408dc22561af9f9589c2c7e2a2fbb66ee4 -- __

[issue31432] Documention for CERT_OPTIONAL is misleading

2018-06-11 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +7271 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue31432] Documention for CERT_OPTIONAL is misleading

2018-06-11 Thread Ned Deily
Ned Deily added the comment: New changeset 42198571c586e0dc56836b79329f94952b1975bb by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-31432: Revert unrelated code changes to _ssl.c and test_ssl (GH-7650) (GH-7651) https://github.com/python/cpython/commit/42198571c586e0dc56836b79329f94

[issue33831] Make htmlview work in make.bat

2018-06-11 Thread Andrés Delfino
Andrés Delfino added the comment: Thanks, Steve! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31432] Documention for CERT_OPTIONAL is misleading

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7270 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue1529353] Squeezer - squeeze large output in the interpreter

2018-06-11 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks for the PR, Tal. I've started looking at it and I have just a few initial observations: 1. Serhiy's msg211068 still happens. I tried his example of print('a'*100). There was a noticeable delay before the button was created, then a button with

[issue31432] Documention for CERT_OPTIONAL is misleading

2018-06-11 Thread Ned Deily
Ned Deily added the comment: New changeset 4531ec74c4a9c8e15ee2bdec11b12796ce000f6f by Ned Deily in branch 'master': bpo-31432: Revert unrelated code changes to _ssl.c and test_ssl (GH-7650) https://github.com/python/cpython/commit/4531ec74c4a9c8e15ee2bdec11b12796ce000f6f -- __

[issue31432] Documention for CERT_OPTIONAL is misleading

2018-06-11 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +7269 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue31432] Documention for CERT_OPTIONAL is misleading

2018-06-11 Thread Ned Deily
Ned Deily added the comment: New changeset a5db479ac4cdcc0d94ec1d7a594720a651d90433 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-31432: Clarify ssl CERT_NONE/OPTIONAL/REQUIRED docs. (GH-3530) (GH-7649) https://github.com/python/cpython/commit/a5db479ac4cdcc0d94ec1d7a594720a651d904

[issue31432] Documention for CERT_OPTIONAL is misleading

2018-06-11 Thread Ned Deily
Ned Deily added the comment: New changeset ef24b6c54d40e7820456873a6eab6ef57d2bd0db by Ned Deily (Christian Heimes) in branch 'master': bpo-31432: Clarify ssl CERT_NONE/OPTIONAL/REQUIRED docs. (GH-3530) https://github.com/python/cpython/commit/ef24b6c54d40e7820456873a6eab6ef57d2bd0db --

[issue31432] Documention for CERT_OPTIONAL is misleading

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7268 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33840] connection limit on listening socket in asyncio

2018-06-11 Thread Yury Selivanov
Yury Selivanov added the comment: Do other frameworks (Tornado, Twisted, libuv/nodejs) have this functionality? -- ___ Python tracker ___ _

[issue33482] codecs.StreamRecoder.writelines is broken

2018-06-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- stage: patch review -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mai

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread miss-islington
miss-islington added the comment: New changeset 2023eafd9a0554823cab5adf5a1b116d7984db98 by Miss Islington (bot) in branch '3.6': bpo-33656: Mention color in idlelib/NEWS.txt entry. (GH-7646) https://github.com/python/cpython/commit/2023eafd9a0554823cab5adf5a1b116d7984db98 -- _

[issue33840] connection limit on listening socket in asyncio

2018-06-11 Thread Lisa Guo
New submission from Lisa Guo : I'd like to re-open the discussion on pause_server/resume_server that's been discussed here: https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!topic/python-tulip/btGHbh5kUUM with PR: https://github.com/python/asyncio/pull/448 We would like t

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 6530577e29a9679c7e4c7ba7adf1c02393d2ad13 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.7': bpo-33656: Mention color in idlelib/NEWS.txt entry. (GH-7646) (GH-7647) https://github.com/python/cpython/commit/6530577e29a9679c7e4c7ba7adf1c023

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7267 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7266 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list maili

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4b704f29f5a0b6f6d7bd67468ed004bd3a96855d by Terry Jan Reedy in branch 'master': bpo-33656: Mention color in idlelib/NEWS.txt entry. (#7646) https://github.com/python/cpython/commit/4b704f29f5a0b6f6d7bd67468ed004bd3a96855d -- _

[issue1529353] Squeezer - squeeze large output in the interpreter

2018-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Cheryl, if you have time to try out PR 7626, I am curious what you think, as a user. A short doc draft is 2 posts above. -- nosy: +cheryl.sabella ___ Python tracker

[issue33482] codecs.StreamRecoder.writelines is broken

2018-06-11 Thread Guido van Rossum
Guido van Rossum added the comment: LGTM. Though sad there's no test that caught this. Could you add one. -- nosy: +gvanrossum ___ Python tracker ___ _

[issue33582] formatargspec deprecated but does nto emit DeprecationWarning.

2018-06-11 Thread Ned Deily
Ned Deily added the comment: Thanks for the PR, Matthias, and thanks for shepherding this, Tal. Merged for 3.7.0rc1 (I don't think it is appropriate to backport to earlier releases.) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue33582] formatargspec deprecated but does nto emit DeprecationWarning.

2018-06-11 Thread miss-islington
miss-islington added the comment: New changeset 60b8274fec3ff029591d8718650223c5ce78a05c by Miss Islington (bot) in branch '3.7': bpo-33582: Emit deprecation warning for `formatargspec` (GH-6994) https://github.com/python/cpython/commit/60b8274fec3ff029591d8718650223c5ce78a05c -- no

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since there should be time before .rcs are cut, I changed the idlelib NEWS.txt entry to mention color changes, based on editing with the change in place. -- stage: patch review -> resolved ___ Python tracker

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +7265 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue27397] email.message.Message.get_payload(decode=True) raises AssertionError that "should never happen"

2018-06-11 Thread Ned Deily
Ned Deily added the comment: > See #33770, which will make recognizing and handling this case > straightforward. The fix for #33770 is only in 3.7.0 and later, so does this mean this change should not be backported to 3.6? Updating the the versions accordingly. If it is appropriate for 3.

[issue33839] IDLE tooltips.py: refactor and add docstrings and tests

2018-06-11 Thread Terry J. Reedy
New submission from Terry J. Reedy : calltip_w.py code is partly based on tooltip.py. The latter is currently unused. But it is needed, with changes, for squeezer (#1529353). So I would like to see if we can make an improved Tooltip class that can be used or subclassed by both. The curren

[issue1529353] Squeezer - squeeze large output in the interpreter

2018-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since this is the sort of addition that I want to test and evaluate in extended use before release, this is a good time to revive this. 3.6.6rc1 and 3.7.0rc1 are due tonight. 3.6.7 and 3.7.1 will be open for patches by tomorrow. I opened #33839 to redoing

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread miss-islington
miss-islington added the comment: New changeset afa1ea5bfd18947aa732a1ea09220aefbed81e1c by Miss Islington (bot) in branch '3.6': bpo-33656: Add enum name for argument of Windows call. (GH-7642) https://github.com/python/cpython/commit/afa1ea5bfd18947aa732a1ea09220aefbed81e1c -- __

[issue33582] formatargspec deprecated but does nto emit DeprecationWarning.

2018-06-11 Thread Ned Deily
Ned Deily added the comment: New changeset 46c5cd0f6e22bdfbdd3f0b18f1d01eda754e7e11 by Ned Deily (Matthias Bussonnier) in branch 'master': bpo-33582: Emit deprecation warning for `formatargspec` (GH-6994) https://github.com/python/cpython/commit/46c5cd0f6e22bdfbdd3f0b18f1d01eda754e7e11

[issue33582] formatargspec deprecated but does nto emit DeprecationWarning.

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7264 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread miss-islington
miss-islington added the comment: New changeset d26277a73b61277ad9568cff6503d55deef07223 by Miss Islington (bot) in branch '3.7': bpo-33656: Add enum name for argument of Windows call. (GH-7642) https://github.com/python/cpython/commit/d26277a73b61277ad9568cff6503d55deef07223 -- __

[issue33582] formatargspec deprecated but does nto emit DeprecationWarning.

2018-06-11 Thread Ned Deily
Change by Ned Deily : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7263 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7262 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33835] Too strong side effect?

2018-06-11 Thread X. Yan
X. Yan added the comment: I see. Thanks for the detailed explanations. Best, Xiaogang On 6/11/2018 2:00 PM, Steven D'Aprano wrote: > Steven D'Aprano added the comment: > > Both names "v1" and "v2" refer to the same object. Python does not make > copies of objects on assignment, so if you

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset fd88f319a4f40682b989b63f0b6378d69465fda4 by Terry Jan Reedy in branch 'master': bpo-33656: Add enum name for argument of Windows call. (GH-7642) https://github.com/python/cpython/commit/fd88f319a4f40682b989b63f0b6378d69465fda4 --

[issue33835] Too strong side effect?

2018-06-11 Thread R. David Murray
Change by R. David Murray : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +7261 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list maili

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Reopening, temporarily, to add change requested by Eryk Sun after the merge. -- status: closed -> open ___ Python tracker ___ ___

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks everyone for the help. I think this is the right patch, but as with many IDLE patches, it is hard to be sure until it is in use. At least there is no question here of tk Windows-Linux-MacOS differences. I checked that the Win 7 buildbots are OK wit

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread miss-islington
miss-islington added the comment: New changeset 0404d35f9dc89748949935a9178d28bedde9d8c8 by Miss Islington (bot) in branch '3.6': bpo-33656: On Windows, add API call saying that tk scales for DPI (GH-7137) https://github.com/python/cpython/commit/0404d35f9dc89748949935a9178d28bedde9d8c8 ---

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread miss-islington
miss-islington added the comment: New changeset 144a8670f24a157642c5f7fbaf518e87c7c1b969 by Miss Islington (bot) in branch '3.7': bpo-33656: On Windows, add API call saying that tk scales for DPI (GH-7137) https://github.com/python/cpython/commit/144a8670f24a157642c5f7fbaf518e87c7c1b969 ---

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7260 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7259 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7258 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8a05f559ce5064df68c8d4ebd7d4ed28381d9971 by Terry Jan Reedy in branch 'master': bpo-33656: Add entry to What's New 3.7. (GH-7638) https://github.com/python/cpython/commit/8a05f559ce5064df68c8d4ebd7d4ed28381d9971 -- ___

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 800415e3df69f494afe9f95a8563ce17609fe1da by Terry Jan Reedy in branch 'master': bpo-33656: On Windows, add API call saying that tk scales for DPI (GH-7137) https://github.com/python/cpython/commit/800415e3df69f494afe9f95a8563ce17609fe1da -

[issue33835] Too strong side effect?

2018-06-11 Thread Steven D'Aprano
Steven D'Aprano added the comment: Both names "v1" and "v2" refer to the same object. Python does not make copies of objects on assignment, so if you write: a = [] b = a then a and b both refer to the same list object, and the names "a" and "b" are effectively aliases. This is standard obje

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +7257 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33835] Too strong side effect?

2018-06-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See https://docs.python.org/3/faq/programming.html#why-did-changing-list-y-also-change-list-x . -- ___ Python tracker ___ ___

[issue33838] Very slow upload with http.client on Windows when setting timeout

2018-06-11 Thread Ivan Konovalov
New submission from Ivan Konovalov : Normally, when I upload files using the PUT request I get upload speed of about 100 Mb/s. But as soon as I set the timeout, the speed drops to about 4 Mb/s (can vary depending on the server): # Running on Windows 10, using Python 3.6.5 from io import Byte

[issue33835] Too strong side effect?

2018-06-11 Thread X. Yan
X. Yan added the comment: Hi Serhiy, Thanks for your reply. However, the issue I reported was not about sharing the default value. I understand that the parameter L would keep its value [1] from function f's first run, and used it in the second run to get [1, 2]. My point is that the variab

[issue33831] Make htmlview work in make.bat

2018-06-11 Thread miss-islington
miss-islington added the comment: New changeset 860d8c4a5e0d7cd96dd23f3f7996c97693ae3d55 by Miss Islington (bot) in branch '3.6': bpo-33831: Make htmlview run again (GH-7628) https://github.com/python/cpython/commit/860d8c4a5e0d7cd96dd23f3f7996c97693ae3d55 -- __

[issue33831] Make htmlview work in make.bat

2018-06-11 Thread miss-islington
miss-islington added the comment: New changeset 904cdbaa9b660d111f5d5f639b38205192715106 by Miss Islington (bot) in branch '3.7': bpo-33831: Make htmlview run again (GH-7628) https://github.com/python/cpython/commit/904cdbaa9b660d111f5d5f639b38205192715106 -- nosy: +miss-islington

[issue1529353] Squeezer - squeeze large output in the interpreter

2018-06-11 Thread Tal Einat
Tal Einat added the comment: Thanks for the warm welcome, Terry :) > 3.5 only gets security fixes. Yup, my mistake. > 'Large text' has two meanings: long lines and lots of lines. [...] Squeezer handles both long lines and/or large numbers of lines. > As the comment at the top of tooltips.p

[issue33831] Make htmlview work in make.bat

2018-06-11 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +7256 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue33831] Make htmlview work in make.bat

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7255 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33831] Make htmlview work in make.bat

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7254 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33831] Make htmlview work in make.bat

2018-06-11 Thread Steve Dower
Steve Dower added the comment: New changeset 0e5f901508dea6437dc9ee89b434feca721d45be by Steve Dower (Andrés Delfino) in branch 'master': bpo-33831: Make htmlview run again (GH-7628) https://github.com/python/cpython/commit/0e5f901508dea6437dc9ee89b434feca721d45be -- ___

[issue1529353] Squeezer - squeeze large output in the interpreter

2018-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Last fall, we converted built-in 'extensions' to regular features. I am reluctant to add new 'extensions'. But I can review the patch as an extension before we worry about this. -- ___ Python tracker

[issue30820] email.contentmanager.raw_data_manager fails to create multipart messages

2018-06-11 Thread R. David Murray
R. David Murray added the comment: Thanks, Zachery. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue1529353] Squeezer - squeeze large output in the interpreter

2018-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tal, welcome back to Python and IDLE development. 3.5 only gets security fixes. Please post here a draft doc paragraph. Before reading the code in detail, I will pull it into my repository and try to test it as a 'naive user' who has only read that parag

[issue30820] email.contentmanager.raw_data_manager fails to create multipart messages

2018-06-11 Thread R. David Murray
R. David Murray added the comment: New changeset bbbc3d99dca41bc95a9402d702f6ab833d3003c7 by R. David Murray (Miss Islington (bot)) in branch '3.6': bpo-30820: Remove incorrect docs for email.contentmanager.raw_data_manager (GH-7631) (#7634) https://github.com/python/cpython/commit/bbbc3d99d

[issue30820] email.contentmanager.raw_data_manager fails to create multipart messages

2018-06-11 Thread R. David Murray
R. David Murray added the comment: New changeset b06fc2d244f95f8a497cbcdc6e2fbeb9b8133ca3 by R. David Murray (Miss Islington (bot)) in branch '3.7': bpo-30820: Remove incorrect docs for email.contentmanager.raw_data_manager (GH-7631) (#7633) https://github.com/python/cpython/commit/b06fc2d24

[issue33837] Closing asyncio.Server on asyncio.ProactorEventLoop causes all active servers to stop listening

2018-06-11 Thread Martin Liska
New submission from Martin Liska : When calling asyncio.Server.close, the method calls asyncio.AbstractEventLoop._stop_serving for each of its sockets in turn. The implementation of this method in asyncio.ProactorEventLoop calls the _stop_accept_futures method which seems to cancel "accept" f

[issue33836] [Good first-time issue] Recommend keyword-only param for memoization in FAQ

2018-06-11 Thread Zachary Ware
New submission from Zachary Ware : In https://docs.python.org/3/faq/programming.html#why-are-default-values-shared-between-objects there is an example showing memoization using `def expensive(arg1, arg2, _cache={}):`. We should change the signature in that example to make `_cache` a keyword

[issue33837] Closing asyncio.Server on asyncio.ProactorEventLoop causes all active servers to stop listening

2018-06-11 Thread Yury Selivanov
Yury Selivanov added the comment: Andrew, do you have time to take a look into this? -- ___ Python tracker ___ ___ Python-bugs-list

[issue33835] Too strong side effect?

2018-06-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See https://docs.python.org/3/faq/programming.html#why-are-default-values-shared-between-objects . -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python track

[issue33835] Too strong side effect?

2018-06-11 Thread X. Yan
New submission from X. Yan : I am familiar with quite a few languages such as C++, C, PASCAL, Matlab, etc., but starting to practice Python. When I tested the code: def f(a, L=[]): L.append(a) return L followed by calls as follows, v1 = f(1) v2 = f(2) , to my surprise, I saw

[issue30820] email.contentmanager.raw_data_manager fails to create multipart messages

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7252 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30820] email.contentmanager.raw_data_manager fails to create multipart messages

2018-06-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +7253 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30820] email.contentmanager.raw_data_manager fails to create multipart messages

2018-06-11 Thread R. David Murray
R. David Murray added the comment: New changeset 2c071cebe67f517f191f4074757a79b0f597d886 by R. David Murray (Zackery Spytz) in branch 'master': bpo-30820: Remove incorrect docs for email.contentmanager.raw_data_manager (#7631) https://github.com/python/cpython/commit/2c071cebe67f517f191f407

[issue33833] ProactorEventLoop raises AssertionError

2018-06-11 Thread Yury Selivanov
Yury Selivanov added the comment: Adding Victor as he's been helping with asyncio/proactor lately. -- nosy: +vstinner ___ Python tracker ___ __

[issue24384] difflib.SequenceMatcher faster quick_ratio with lower bound specification

2018-06-11 Thread floyd
floyd added the comment: Yes, I agree this should be closed. Especially because my proposed code is so incredibly bad (e.g. regarding performance) that it should be rejected. Back then I was horribly wrong and didn't understand the problem well enough yet. If somebody would like to have such

[issue24384] difflib.SequenceMatcher faster quick_ratio with lower bound specification

2018-06-11 Thread Tal Einat
Tal Einat added the comment: Since this is a small enhancement proposal that is not sure to be approved, and there has been no followup for years, I vote to close this. -- ___ Python tracker ___

[issue24403] Missing fixer for changed round() behavior

2018-06-11 Thread Tal Einat
Change by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue33834] Test for ProactorEventLoop logs InvalidStateError

2018-06-11 Thread twisteroid ambassador
New submission from twisteroid ambassador : When running the built-in regression tests, although test_sendfile_close_peer_in_the_middle_of_receiving on ProactorEventLoop completes successfully, an InvalidStateError is logged. Console output below: test_sendfile_close_peer_in_the_middle_of_re

[issue33833] ProactorEventLoop raises AssertionError

2018-06-11 Thread twisteroid ambassador
Change by twisteroid ambassador : -- keywords: +patch pull_requests: +7251 stage: -> patch review ___ Python tracker ___ ___ Python

[issue33833] ProactorEventLoop raises AssertionError

2018-06-11 Thread twisteroid ambassador
Change by twisteroid ambassador : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue33833] ProactorEventLoop raises AssertionError

2018-06-11 Thread twisteroid ambassador
New submission from twisteroid ambassador : Sometimes when a socket transport under ProactorEventLoop is writing while the peer closes the connection, asyncio logs an AssertionError. Attached is a script that fairly reliably reproduces the behavior on my computer. This is caused by _Proacto

[issue17286] Make subprocess handling text output with universal_newlines more obious

2018-06-11 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> subprocess.run should alias universal_newlines to text ___ Python tracker

[issue30820] email.contentmanager.raw_data_manager fails to create multipart messages

2018-06-11 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker ___ ___ Python-bug

[issue30820] email.contentmanager.raw_data_manager fails to create multipart messages

2018-06-11 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +7250 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

  1   2   >