[issue33823] A BUG in concurrent/asyncio

2018-06-11 Thread Python++
Python++ added the comment: First Kind of resutl sets: = Process-2:<4816> is ProcessExecuting [0] MainThread:<4816> is ThreadExecuting [0] exe_iter:0 sub_iter:0 Run for Wheel and result:0 callback number:1 MainThread:<4816> is ThreadExecutin

[issue33823] A BUG in concurrent/asyncio

2018-06-11 Thread Python++
Python++ added the comment: First Kind of resutl sets: = Process-2:<4816> is ProcessExecuting [0] MainThread:<4816> is ThreadExecuting [0] exe_iter:0 sub_iter:0 Run for Wheel and result:0 callback number:1 MainThread:<4816> is ThreadExecutin

[issue33827] Generators with lru_cache can be non-intuituve

2018-06-11 Thread Michel Albert
New submission from Michel Albert : Consider the following code: # filename: foo.py from functools import lru_cache @lru_cache(10) def bar(): yield 10 yield 20 yield 30 # This loop will work as expected for row in bar(): print(row)

[issue24356] venv documentation incorrect / misleading

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

[issue32469] Generator and coroutine repr could be more helpful

2018-06-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Isn't it too verbose? For comparison, the repr of function doesn't contain the file path and the line number. And the hexadecimal address in the middle looks distractive. -- components: +Interpreter Core type: -> enhancement versions: +Python 3.8

[issue23404] 'make touch' does not work with git clones of the source repository

2018-06-11 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +7239 stage: backport needed -> patch review ___ Python tracker ___ ___ Python-bugs-list mai

[issue33827] Generators with lru_cache can be non-intuituve

2018-06-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No, this will break cases when you need to cache generators. There are many ways of using lru_cache improperly, and we can't distinguish incorrect uses from intentional correct uses. -- assignee: -> rhettinger nosy: +rhettinger, serhiy.storchaka

[issue23404] 'make touch' does not work with git clones of the source repository

2018-06-11 Thread Ned Deily
Ned Deily added the comment: New changeset 9d6171ded5c56679bc295bacffc718472bcb706b by Ned Deily in branch 'master': bpo-23404: Update/sync What's New files for 3.6/3.5/2.7 (GH-7620) https://github.com/python/cpython/commit/9d6171ded5c56679bc295bacffc718472bcb706b -- __

[issue23404] 'make touch' does not work with git clones of the source repository

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

[issue23404] 'make touch' does not work with git clones of the source repository

2018-06-11 Thread Ned Deily
Ned Deily added the comment: New changeset 144493dd7f2640f7e9091862ece3e0a6aca07884 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-23404: Update/sync What's New files for 3.6/3.5/2.7 (GH-7620) (GH-7621) https://github.com/python/cpython/commit/144493dd7f2640f7e9091862ece3e0a6aca0788

[issue23404] 'make touch' does not work with git clones of the source repository

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

[issue33828] Add versionchanged notes for string.Formatter

2018-06-11 Thread Xiang Zhang
New submission from Xiang Zhang : I propose to add versionchanged note about auto-numbering feature of string.Formatter, introduced in #13598. It's quite confusing which version could I use the feature reading the doc. Also it's better to note in 2.7 the feature is not available. Currently t

[issue23404] 'make touch' does not work with git clones of the source repository

2018-06-11 Thread Ned Deily
Ned Deily added the comment: New changeset 1b5731e2761a9a1b7394b3a81ed267f94fde42ca by Ned Deily in branch '3.6': bpo-23404: Update/sync What's New files for 3.6/3.5/2.7 (GH-7622) https://github.com/python/cpython/commit/1b5731e2761a9a1b7394b3a81ed267f94fde42ca -- _

[issue23404] 'make touch' does not work with git clones of the source repository

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

[issue23404] 'make touch' does not work with git clones of the source repository

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

[issue23404] 'make touch' does not work with git clones of the source repository

2018-06-11 Thread Ned Deily
Ned Deily added the comment: New changeset 4fde701133643d09354ec4bda6bdf78d85aed797 by Ned Deily in branch '2.7': bpo-23404: Update/sync What's New files for 3.6/3.5/2.7 (GH-7624) https://github.com/python/cpython/commit/4fde701133643d09354ec4bda6bdf78d85aed797 -- _

[issue23404] 'make touch' does not work with git clones of the source repository

2018-06-11 Thread Ned Deily
Ned Deily added the comment: I've updated and synced the What's New files across master, 3.7, 3.6, 3.5 (PR pending RM merge), and 2.7. So I think we are finally done here. -- priority: deferred blocker -> normal resolution: -> fixed stage: patch review -> resolved status: open -> cl

[issue33829] C API: provide new object protocol helper

2018-06-11 Thread Bartosz Gołaszewski
New submission from Bartosz Gołaszewski : If we want to call an object's method from C code and pass it the args and kwargs tuples unchanged, we need to first retrieve the callable object using PyObject_GetAttrString(), then call it using PyObject_Call(). I would like to propose wrapping the t

[issue33829] C API: provide new object protocol helper

2018-06-11 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +7244 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue33829] C API: provide new object protocol helper

2018-06-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is this case common enough for adding special API? The name PyObject_CallMethodArgs looks too similar to the existing name PyObject_CallMethodObjArgs, this will make confusion. If add an API that accepts the method name as C string, you need to add also an

[issue1529353] Squeezer - squeeze large output in the interpreter

2018-06-11 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +7245 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list maili

[issue33830] example output error

2018-06-11 Thread Aifu LIU
New submission from Aifu LIU : The output of this line: print r2.status, r2.reason should same as: print r1.status, r1.reason from https://docs.python.org/2.7/library/httplib.html >>> import httplib >>> conn = httplib.HTTPSConnection("www.python.org") >>> conn.request("GET", "/") >>> r

[issue1529353] Squeezer - squeeze large output in the interpreter

2018-06-11 Thread Tal Einat
Tal Einat added the comment: New PR ready for review. I've updated the code for recent master and cleaned up the deprecation warnings from the tests. -- versions: +Python 3.5, Python 3.6, Python 3.7, Python 3.8 -Python 3.4 ___ Python tracker

[issue2053] IDLE - standardize dialogs

2018-06-11 Thread Tal Einat
Tal Einat added the comment: I suggest that we close this issue. IMO the potential benefit is too small relative to the work required, and the interest is too low. -- ___ Python tracker _

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +7246 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue33830] example output error

2018-06-11 Thread Martin Panter
Martin Panter added the comment: Looks like poor application of a Python 3 patch in Issue 24118. The second request was meant to be for /parrot.spam. -- nosy: +benjamin.peterson, martin.panter ___ Python tracker

[issue32493] UUID Module - FreeBSD build failure

2018-06-11 Thread STINNER Victor
STINNER Victor added the comment: > Would it be easier to split it into 3 issues? One for unixdll, one for > netstat, and one for test_uuid? One issue for AIX should be enough. -- ___ Python tracker __

[issue33825] Change mentions of "magic" attributes to "special"

2018-06-11 Thread Andrés Delfino
Andrés Delfino added the comment: ok :) -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-11 Thread STINNER Victor
STINNER Victor added the comment: AMD64 Windows8.1 Non-Debug 3.x buildbot is back to green. -- ___ Python tracker ___ ___ Python-bu

[issue33829] C API: provide new object protocol helper

2018-06-11 Thread STINNER Victor
STINNER Victor added the comment: > PyObject_CallMethodArgs(PyObject *obj, const char *name, PyObject *args, > PyObject *kwargs) This API is not efficient. It requires to create a temporary tuple and dictionary to pass position and keyword arguments. Look at FASTCALL which has a very differ

[issue33831] Make htmlview work in make.bat

2018-06-11 Thread Andrés Delfino
New submission from Andrés Delfino : The start command understands the first quoted string as the window title, so nothing is being executed right now. PR fixes this. -- components: Windows messages: 319298 nosy: adelfino, paul.moore, steve.dower, tim.golden, zach.ware priority: normal

[issue33831] Make htmlview work in make.bat

2018-06-11 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7247 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue1927] Change input() to always prompt to stderr

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

[issue32356] asyncio: Make transport.pause_reading()/resume_reading() idempotent; add transport.is_reading()

2018-06-11 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7248 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-06-11 Thread STINNER Victor
STINNER Victor added the comment: "Since it a minor change we can reconsider it as s bug fix. Feel free to make a pr." Ok, I created https://github.com/python/cpython/pull/7629/ for bpo-32356 -- ___ Python tracker

[issue33832] Make "magic methods" a little more discoverable in the docs

2018-06-11 Thread Andrés Delfino
New submission from Andrés Delfino : PR adds "magic method" to the glossary, and adds a mention in Data Model 3.3. Special method names. -- assignee: docs@python components: Documentation messages: 319300 nosy: adelfino, docs@python priority: normal severity: normal status: open title:

[issue33832] Make "magic methods" a little more discoverable in the docs

2018-06-11 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7249 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5cbefa99198729a1d4e93d93f890c066039ee1d2 by Serhiy Storchaka in branch 'master': Clean up after bpo-33738. (GH-7627) https://github.com/python/cpython/commit/5cbefa99198729a1d4e93d93f890c066039ee1d2 -- __

[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

[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

[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

[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

[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
Change by twisteroid ambassador : -- keywords: +patch pull_requests: +7251 stage: -> patch review ___ Python tracker ___ ___ 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

[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

[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 ___

[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

[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 ___ __

[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

[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 miss-islington
Change by miss-islington : -- pull_requests: +7252 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[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

[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

[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

[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 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

[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

[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

[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: 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: 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

[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 -- ___

[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 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 Steve Dower
Change by Steve Dower : -- pull_requests: +7256 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[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 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

[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 -- __

[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

[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 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 ___ ___

[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 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
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 -

[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 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 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: +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
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
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 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 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
Change by Terry J. Reedy : -- pull_requests: +7261 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list maili

[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
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 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 miss-islington
Change by miss-islington : -- pull_requests: +7262 ___ 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: +7263 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[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
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 miss-islington
Change by miss-islington : -- pull_requests: +7264 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[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

[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 -- __

[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

[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

[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.

[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

[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

[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

  1   2   >