[issue35769] IDLE: change new file name from ''Untitled" to "untitled"

2019-01-17 Thread miss-islington
miss-islington added the comment: New changeset 5f9a168a313485791d85250e5bf673b66bd51244 by Miss Islington (bot) in branch '3.7': bpo-35769: Change IDLE's name for new files from 'Untitled' to 'untitled' (GH-11602)

[issue35769] IDLE: change new file name from ''Untitled" to "untitled"

2019-01-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +11325 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35769] IDLE: change new file name from ''Untitled" to "untitled"

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a902239f22c322d8988c514dd1c724aade3e4ef3 by Terry Jan Reedy in branch 'master': bpo-35769: Change IDLE's name for new files from 'Untitled' to 'untitled' (GH-11602)

[issue35730] IDLE: Fix squeezer test_reload.

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I looked at the non-green results on the buildbot grid and found one IDLE failure, which passed on retest. I opened #35771 for this. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue35771] IDLE: Fix tooltip Hovertiptest failure

2019-01-17 Thread Terry J. Reedy
New submission from Terry J. Reedy : In the buildbot testing for #35730, this test failed on X86 Windows 3.7 and passed on retest. I did not check the green bots, so there could be other fail and pass results. == FAIL:

[issue35769] IDLE: change new file name from ''Untitled" to "untitled"

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -11324 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35769] IDLE: change new file name from ''Untitled" to "untitled"

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch, patch pull_requests: +11323, 11324 stage: commit review -> patch review ___ Python tracker ___

[issue35769] IDLE: change new file name from ''Untitled" to "untitled"

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +11323 stage: commit review -> patch review ___ Python tracker ___

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-17 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : I used to launch IDLE using from master using ./python.exe -m idlelib . It used to work but fails on master on Mac OS now. There seems to be some discussion about this on msg332672 after the commit c1b4b0f6160e1919394586f44b12538505fed300. Feel

[issue35730] IDLE: Fix squeezer test_reload.

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -11322 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35730] IDLE: Fix squeezer test_reload.

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -11321 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25522] IDLE: warn if save-as name matches stdlib name

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Also check if the name is not an identifier and therefore could not be imported. Example: >>> exec('import abc--bb') import abc--bb ^ SyntaxError: invalid syntax -- ___ Python tracker

[issue35769] IDLE: change new file name from ''Untitled" to "untitled"

2019-01-17 Thread Terry J. Reedy
New submission from Terry J. Reedy : Conform to PEP 8. -- assignee: terry.reedy components: IDLE messages: 333943 nosy: terry.reedy priority: normal severity: normal stage: commit review status: open title: IDLE: change new file name from ''Untitled" to "untitled" type: enhancement

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

2019-01-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

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

2019-01-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 3bcbedc9f1471d957a30a90f9d1251516b422416 by Serhiy Storchaka in branch 'master': bpo-34850: Emit a warning for "is" and "is not" with a literal. (GH-9642) https://github.com/python/cpython/commit/3bcbedc9f1471d957a30a90f9d1251516b422416

[issue35757] slow subprocess.Popen(..., close_fds=True)

2019-01-17 Thread Benjamin Peterson
Benjamin Peterson added the comment: Yeah, this is WONTFIX particularly since you can have the Python3 implementation in Python 2 easily with https://pypi.org/project/subprocess32/. -- nosy: +benjamin.peterson resolution: -> wont fix stage: -> resolved status: open -> closed

[issue35768] IDLE: Auto measure font fixed pitch characteristics

2019-01-17 Thread Terry J. Reedy
New submission from Terry J. Reedy : The greatly expanded configdialog Font tab multi-alphabet sample reveals to some degree how well tk fills in BMP Unicode characters on a particular machine. It also lets users extend the sample. The sample has 2 lines of 20 ascii characters each and

[issue35767] unittest loader doesn't work with partial test functions

2019-01-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems this was introduced with issue32071 -- nosy: +jonash, pitrou, xtreak ___ Python tracker ___

[issue35734] Remove unused _BaseV4._is_valid_netmask in ipaddress

2019-01-17 Thread ulin
ulin added the comment: OK, message copied, I'll mark it closed. :) -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31860] IDLE: Make font sample editable

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Closing #31777 as duplicate of this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31777] IDLE: Let users add to font selection

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy opened #31860 with a patch. So close this as duplicate. -- resolution: -> duplicate stage: test needed -> resolved status: open -> closed superseder: -> IDLE: Make font sample editable ___ Python tracker

[issue35730] IDLE: Fix squeezer test_reload.

2019-01-17 Thread miss-islington
miss-islington added the comment: New changeset 237f864c905531b2da211bebc5f6109b0b797bac by Miss Islington (bot) in branch '3.7': bpo-35730: IDLE - test squeezer reload() by checking load_font() (GH-11585) https://github.com/python/cpython/commit/237f864c905531b2da211bebc5f6109b0b797bac

[issue35730] IDLE: Fix squeezer test_reload.

2019-01-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +11320 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35730] IDLE: Fix squeezer test_reload.

2019-01-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +11320, 11321, 11322 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35730] IDLE: Fix squeezer test_reload.

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e55cf024cae203f63b4f78f1b21c1375fe424441 by Terry Jan Reedy (Tal Einat) in branch 'master': bpo-35730: IDLE - test squeezer reload() by checking load_font() (GH-11585)

[issue35730] IDLE: Fix squeezer test_reload.

2019-01-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +11320, 11321 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35757] slow subprocess.Popen(..., close_fds=True)

2019-01-17 Thread Josh Rosenberg
Josh Rosenberg added the comment: Others can correct me if I'm wrong, but I'm fairly sure 2.7 isn't making changes unless they fix critical or security-related bugs. The code here is suboptimal, but it's already been fixed in Python 3 (in #8052), as part of a C accelerator module (that

[issue35765] Document references object x but doesn't show it in the example

2019-01-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. I think x here is implied as [1, 'simple', 'list']. Do you want to make it explicit with x = [1, 'simple', 'list'] in the code block? Removing 3.5 since it's in security fixes only mode. -- nosy: +xtreak versions:

[issue35730] IDLE: Fix squeezer test_reload.

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -11273 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35730] IDLE: Fix squeezer test_reload.

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -11274 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-17 Thread Dong-hee Na
Dong-hee Na added the comment: Great! Should we notify this deprecation also on Doc/whatsnew/3.7.rst? -- ___ Python tracker ___

[issue35767] unittest loader doesn't work with partial test functions

2019-01-17 Thread Jason Fried
Change by Jason Fried : -- keywords: +patch, patch, patch pull_requests: +11316, 11317, 11318 stage: -> patch review ___ Python tracker ___

[issue35767] unittest loader doesn't work with partial test functions

2019-01-17 Thread Jason Fried
Change by Jason Fried : -- keywords: +patch pull_requests: +11316 stage: -> patch review ___ Python tracker ___ ___

[issue35767] unittest loader doesn't work with partial test functions

2019-01-17 Thread Jason Fried
Change by Jason Fried : -- keywords: +patch, patch pull_requests: +11316, 11317 stage: -> patch review ___ Python tracker ___ ___

[issue35701] [uuid] 3.8 breaks weak references for UUIDs

2019-01-17 Thread Josh Rosenberg
Josh Rosenberg added the comment: The UUID module documentation (and docstring) begin with: "This module provides immutable UUID objects" Immutable is a stronger guarantee than __slots__ enforces already, so the documentation already ruled out adding arbitrary attributes to UUID (and the

[issue35767] unittest loader doesn't work with partial test functions

2019-01-17 Thread Jason Fried
Jason Fried added the comment: working on a pull request -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35767] unittest loader doesn't work with partial test functions

2019-01-17 Thread Jason Fried
Jason Fried added the comment: Oh this is broken in 3.7 trunk -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35767] unittest loader doesn't work with partial test functions

2019-01-17 Thread Jason Fried
New submission from Jason Fried : https://github.com/python/cpython/blob/3.7/Lib/unittest/loader.py#L232 fullName = '%s.%s' % (testCaseClass.__module__, testFunc.__qualname__) Instead we should probably replace testFunc.__qualname__ with attrname I ran into this while running a test suite

[issue35486] subprocess module import hooks breaks back compatibility

2019-01-17 Thread Ned Deily
Ned Deily added the comment: I've merged the doc changes for 3.6, thanks. Can we close this now? -- ___ Python tracker ___ ___

[issue35486] subprocess module import hooks breaks back compatibility

2019-01-17 Thread Ned Deily
Ned Deily added the comment: New changeset 1edb3dc6ff70db88a7e89586578e58a86ee0e75e by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-35486: Note Py3.6 import system API requirement change (GH-11540) (GH-11588)

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

2019-01-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: Lets move forward with this as a SyntaxWarning in 3.8 and see if anyone complains during the betas. -- ___ Python tracker ___

[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2019-01-17 Thread Ned Deily
Ned Deily added the comment: New changeset 7887c02d3372ebe3b39379588364134521a36c4e by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310) (GH-11417)

[issue35601] Race condition in test_signal_handling_args x86-64 High Sierra 3.75

2019-01-17 Thread Ned Deily
Ned Deily added the comment: New changeset 7eef540ab89e426b622373f43713521876447f2f by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-35601: Alleviate race condition when waiting for SIGALRM in test_asyncio (GH-11337) (GH-11348)

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

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 59d7bdb3386ab78ccf6edbbeba9669124515c707 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.7': bpo-34162: Update idlelib/NEWS.txt to 2019 Jan 17 (GH-11597) (GH-11598)

[issue23156] Remove tix install information in tkinter tix chapter of doc

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: Update tix install information in tkinter tix chapter of doc -> Remove tix install information in tkinter tix chapter of doc versions: +Python 3.7

[issue35766] Merge typed_ast back into CPython

2019-01-17 Thread Guido van Rossum
New submission from Guido van Rossum : (This started at https://discuss.python.org/t/merge-typed-ast-back-into-cpython/377. It's somewhat related to https://bugs.python.org/issue7.) I now have a thorough understanding of what typed_ast does, and I think it would be straightforward to

[issue35756] Using `return value` in a generator function skips the returned value on for-loop iteration

2019-01-17 Thread bryan.koch
bryan.koch added the comment: Thank you both for the clarifications. I agree these's no bug in `yield from` however is there a way to reference the return value when a generator with a return is invoked using `for val in gen` i.e. when the generator is invoked without delegation? I could

[issue35765] Document references object x but doesn't show it in the example

2019-01-17 Thread Patrick Rice
New submission from Patrick Rice : https://docs.python.org/3.5/tutorial/inputoutput.html If you have an object x, you can view its JSON string representation with a simple line of code: >>> >>> import json >>> json.dumps([1, 'simple', 'list']) '[1, "simple", "list"]' -- assignee:

[issue23156] Update tix install information in tkinter tix chapter of doc

2019-01-17 Thread miss-islington
miss-islington added the comment: New changeset ebb08beb08461eb5f147aaca6f86cafa4ea15bff by Miss Islington (bot) in branch '3.7': bpo-23156: Remove obsolete tix install directions (GH-11595) https://github.com/python/cpython/commit/ebb08beb08461eb5f147aaca6f86cafa4ea15bff -- nosy:

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +11315 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23156] Update tix install information in tkinter tix chapter of doc

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset cf27c06229eb4b8280bb5f2b93a57e33163411f4 by Terry Jan Reedy in branch 'master': bpo-23156: Remove obsolete tix install directions (GH-11595) https://github.com/python/cpython/commit/cf27c06229eb4b8280bb5f2b93a57e33163411f4 --

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sorry for the noise. It seems like a bug to me that GitHub keeps a secret link to the original title and uses it in the merge box. -- ___ Python tracker

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg333912 ___ Python tracker ___ ___ Python-bugs-list

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

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 56c16057c639acc2fb89c6b783425320f23a5f6c by Terry Jan Reedy in branch 'master': bpo-34161: Update idlelib/NEWS.txt to 2019 Jan 17 (GH-11597) https://github.com/python/cpython/commit/56c16057c639acc2fb89c6b783425320f23a5f6c --

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -11308 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -11309 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -11310 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-01-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +11311 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +11308, 11309, 11310 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +11308, 11309 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +11308 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 56c16057c639acc2fb89c6b783425320f23a5f6c by Terry Jan Reedy in branch 'master': bpo-34161: Update idlelib/NEWS.txt to 2019 Jan 17 (GH-11597) https://github.com/python/cpython/commit/56c16057c639acc2fb89c6b783425320f23a5f6c -- nosy:

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-17 Thread Andrew Svetlov
Andrew Svetlov added the comment: I think yes. People will be notified about depreciation earlier, even after 3.8 release not everybody switches to a new version fast. For example, I still use 3.6 for my job now (but we are planning to switch to 3.7 in a month or two). Adding

[issue35761] Allow dataclasses to be updated in place

2019-01-17 Thread Eric V. Smith
Eric V. Smith added the comment: I agree that I don't see the point, unless there's something I'm missing with other_instance. Or maybe the proposal is for it to also work with frozen dataclasses? I'm definitely -1 on that. So unless there's something I'm missing where normal attribute

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -11304 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-17 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +11301, 11302, 11303 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +11304, 11305, 11306 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -11305 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -11306 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +11304, 11305 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +11307 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-17 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +11301, 11302 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +11304 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-17 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +11301 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35761] Allow dataclasses to be updated in place

2019-01-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm don't see the point of this proposal. The fields of dataclasses are already mutable, so they can be updated just like any other object (no need for a special mechanism): a = InventoryItem(name='Widget', unit_price=37.25, quantity_on_hand=10)

[issue26414] os.defpath too permissive

2019-01-17 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Remove current directory from posixpath.defpath to enhance security ___ Python tracker

[issue23156] Update tix install information in tkinter tix chapter of doc

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: /go/so -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23156] Update tix install information in tkinter tix chapter of doc

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: If the obsolete text is not to revised, it should be removed, as Ned suggested. I don't now think a replacement list is needed. Serhiy, if you have any opinion either way, please say go. -- stage: patch review -> needs patch versions: +Python 3.8

[issue23156] Update tix install information in tkinter tix chapter of doc

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch, patch, patch pull_requests: +11298, 11299, 11300 stage: needs patch -> patch review ___ Python tracker ___

[issue23156] Update tix install information in tkinter tix chapter of doc

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch, patch pull_requests: +11298, 11299 stage: needs patch -> patch review ___ Python tracker ___

[issue23156] Update tix install information in tkinter tix chapter of doc

2019-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +11298 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue35761] Allow dataclasses to be updated in place

2019-01-17 Thread Eric V. Smith
Eric V. Smith added the comment: What would the interaction be between other_instance and changes? Why is this API different from .replace()? -- assignee: -> eric.smith nosy: +eric.smith ___ Python tracker

[issue35755] Remove current directory from posixpath.defpath to enhance security

2019-01-17 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: Thanks for the info on CS_PATH, Victor. IMHO it'd make sense to use the libc-provided default PATH at least in shutil.which() since its intent is to emulate "which" from the default shell. -- ___ Python tracker

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe it was Louie Lu's idea, #30290, to check more than one line. I am glad it helped. -- ___ Python tracker ___

[issue30290] IDLE: add tests for help_about.py

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Postscript: this test that the retrieved text has at least two lines caught a bug in the new Windows Store python distribution. self.assertEqual(printer._Printer__lines[1], dialog._current_textview.textView.get('2.0', '2.end')) The

[issue35537] use os.posix_spawn in subprocess

2019-01-17 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: > It should be compared to the current code. Currently, _posixsubprocess uses a > loop calling execv(). I don't think that calling posix_spawn() in a loop > until one doesn't fail is more inefficient. > The worst case would be when applying process

[issue23156] Update tix install information in tkinter tix chapter of doc

2019-01-17 Thread Cheryl Sabella
Cheryl Sabella added the comment: Since tix has been deprecated since 3.6 (according to the docs with commit bd63353b7433ea8aa831ffb158ac29fb646a6fc9), should this ticket be closed as out of date? -- nosy: +cheryl.sabella ___ Python tracker

[issue16638] support multi-line docstring signatures in IDLE calltips

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The standard calltip box is two lines: signature and docstring header. In most cases, such as int, iter, and min, the effect of this patch is to get both lines of a docstring signature, so the result is not abnormally big. And I agree with Serhiy that

[issue35763] IDLE calltips: make positional note less obtrusive

2019-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: #35764 is about revising the calltip doc, including adding something about '/' in signatures. -- ___ Python tracker ___

[issue35764] IDLE: revise calltip doc

2019-01-17 Thread Terry J. Reedy
New submission from Terry J. Reedy : Add cross-reference from Menu section entry. Document '/' for builtins. Check other details. (Also remove 'extension' from end of previous entry.) -- assignee: terry.reedy components: IDLE messages: 333898 nosy: terry.reedy priority: normal

[issue35763] IDLE calltips: make positional note less obtrusive

2019-01-17 Thread Terry J. Reedy
New submission from Terry J. Reedy : #19903 made calltip.getargspec use inspect.signature. The latter may include '/' following positional-only arguments. Slashes are possible for the growing number of C-coded functions processed with Argument Clinic. They appear in both help output and

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

2019-01-17 Thread Yongnan Wu
Yongnan Wu added the comment: ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22393] multiprocessing.Pool shouldn't hang forever if a worker process dies unexpectedly

2019-01-17 Thread Chris Markiewicz
Chris Markiewicz added the comment: Just a bump to note that the PR (10441) is ready for another round of review. -- nosy: +cjmarkie ___ Python tracker ___

[issue32866] zipimport loader.get_data() requires absolute zip file path

2019-01-17 Thread Nina Zakharenko
Change by Nina Zakharenko : -- nosy: +nnja ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32866] zipimport loader.get_data() requires absolute zip file path

2019-01-17 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I believe this bug does not affect Python 3.8: (Using a Python 3.8 virtualenv): % python demo.pyz Reading: resource.txt Length: 19 % python `pwd`/demo.pyz Reading: resource.txt Length: 19 I think it's too risky (and too much work, given it would have to

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2019-01-17 Thread Felipe
Felipe added the comment: Please go ahead with the PR. I can't push this one through, but would be great to have this finally land! On Thu, 17 Jan 2019 at 03:42, Karthikeyan Singaravelan < rep...@bugs.python.org> wrote: > > Karthikeyan Singaravelan added the comment: > > @berker.peksag I

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-17 Thread Steve Dower
Steve Dower added the comment: I have made the changes I suggested (though correctly...), but ultimately we need to create our own Docker image suitable for running these tests. So for now, I'm proposing in my PR to make most of the change, as well as a few other Pipelines/test-related

[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-17 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: -10872 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-17 Thread Berker Peksag
Berker Peksag added the comment: While I agree having more tests are a good thing, I'm not sure if the test in PR 11437 should be merged as it's not specifically testing a feature of the mock module. patch.dict() basically does the following operation (ignoring possible AttributeErrors):

[issue35537] use os.posix_spawn in subprocess

2019-01-17 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: Thank you for the answers, Kyle! > I'll be preparing a patch for our posix_spawn's signal handling. Great! > My mistake in my setuid assessment was pointed out to me- it doesn't seem > like a highly likely attack vector, but it is indeed possible. The

  1   2   >