[issue40724] Support buffer protocol with type specs

2020-06-06 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- nosy: +remi.lapeyre nosy_count: 8.0 -> 9.0 pull_requests: +19904 pull_request: https://github.com/python/cpython/pull/20685 ___ Python tracker ___ __

[issue40890] Dict views should be introspectable

2020-06-06 Thread Dennis Sweeney
Dennis Sweeney added the comment: I think this will also require typing.MappingProxyType to change a bit, since it would make a proxy's underlying dict accessible: >>> d = dict() >>> proxy = MappingProxyType(d) >>> type(proxy.items()) is type(d.items()) # should be False True

[issue40890] Dict views should be introspectable

2020-06-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: Just "mapping" would suffice. That is variable name used in the ABCs, the name defined in the glossary, and the variable name used in ChainMap (in plural form). -- ___ Python tracker

[issue40890] Dict views should be introspectable

2020-06-06 Thread Dennis Sweeney
Dennis Sweeney added the comment: I'd be happy to write a PR. Method names could be "mapping", "target", "target_mapping", "target_dict", "referent_dict", etc. I like the choice of "target_mapping": d = dict() assert d is d.keys().target_mapping assert d is d.values().target_ma

[issue39243] CDLL __init__ no longer supports name being passed as None when the handle is not None

2020-06-06 Thread Jonathan Hsu
Change by Jonathan Hsu : -- nosy: +Jonathan Hsu ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue40894] asyncio.gather() cancelled() always False

2020-06-06 Thread Kyle Stanley
Kyle Stanley added the comment: Upon further investigation, I've realized that the issue is just that the cancel() override for `_GatheringFuture` never sets its state to CANCELLED at any point (unlike its parent), and is instead going to always be set to FINISHED because of the `outer.set_e

[issue40897] Inheriting from Generic causes inspect.signature to always return (*args, **kwargs) for constructor (and all subclasses)

2020-06-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue40594] urljoin since 3.5 incorrectly filters out double slashes

2020-06-06 Thread Ned Deily
Change by Ned Deily : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue40893] tkinter integrate TkDND support

2020-06-06 Thread Ned Deily
Change by Ned Deily : -- nosy: +gpolo, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue40275] test.support has way too many imports

2020-06-06 Thread hai shi
Change by hai shi : -- pull_requests: +19903 pull_request: https://github.com/python/cpython/pull/20689 ___ Python tracker ___ ___ P

[issue40861] On Windows, liblzma is always built without optimization

2020-06-06 Thread Ma Lin
Ma Lin added the comment: Good catch. You can submit a PR to fix this. If you start from zero and do it slowly, it will take about a week or two. -- components: +Windows -Build nosy: +Ma Lin, paul.moore, steve.dower, tim.golden, zach.ware ___ Pyth

[issue17506] Improve IDLE news handling

2020-06-06 Thread Ned Deily
Ned Deily added the comment: A suggestion: rather than trying to maintain a separate IDLE news file ("don't repeat yourself), it might be much easier to link to the IDLE section in each releases's formatted CHANGELOG now included in Python 3 docsets. For example: https://docs.python.org/3/w

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-06 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue40743] [CMake] It's 2020, where is CMake?

2020-06-06 Thread Ned Deily
Ned Deily added the comment: Thanks for your suggestion but changing build systems is a *huge* undertaking for cPython thanks to the many different platforms that we have added support to over the years and the many, many customizations that have been made. cmake would certainly be one opti

[issue40897] Inheriting from Generic causes inspect.signature to always return (*args, **kwargs) for constructor (and all subclasses)

2020-06-06 Thread Edward Yang
New submission from Edward Yang : Consider the following program: ``` import inspect from typing import Generic, TypeVar T = TypeVar('T') class A(Generic[T]): def __init__(self) -> None: pass print(inspect.signature(A)) ``` I expect inspect.signature to return () as the signatur

[issue40879] Strange regex cycle

2020-06-06 Thread Tim Peters
Tim Peters added the comment: Closing this as "Won't Fix", since the possibility of exponential-time behavior with naively written nested quantifiers is well known, and there are no plans to "do something" about that. -- resolution: -> wont fix stage: -> resolved status: open -> cl

[issue40894] asyncio.gather() cancelled() always False

2020-06-06 Thread Kyle Stanley
Kyle Stanley added the comment: > So, we can't rely on checking ``self.done() and self._cancel_requested`` for > future.cancelled() as this would mean that future.cancelled() would return > true for a future that fully completed if `future.cancel()` was called after > it finished (which is i

[issue40894] asyncio.gather() cancelled() always False

2020-06-06 Thread Kyle Stanley
Kyle Stanley added the comment: > Specifically a future can't be cancelled once it reaches the PENDING state, > this is indicated when future.cancel() returns false; see > https://github.com/python/cpython/blob/0e96c419d7287c3c7f155c9f2de3c61020386256/Lib/asyncio/futures.py#L152 > for the so

[issue40743] [CMake] It's 2020, where is CMake?

2020-06-06 Thread TheUltimatePineapple
TheUltimatePineapple added the comment: For me CPython has caused a lot of pain without having CMake. I have to manually compile CPython on each OS I want to support, having to fix the quirks on each build system and I have keep the built linkable blobs in my project which increases the repo

[issue40864] spec_set/autospec/spec seems to not be reading attributes defined in class body

2020-06-06 Thread Evan Fagerberg
Evan Fagerberg added the comment: Rereading the documentation, I see that a class attribute set to null will return a MagicMock for that attribute. That might be a reasonable workaround. Perhaps the more concrete solution would be that dir lists uninitialized class attributes and if a type h

[issue31213] __context__ reset to None in nested exception

2020-06-06 Thread Chris Jerdonek
Change by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue40894] asyncio.gather() cancelled() always False

2020-06-06 Thread Kyle Stanley
Kyle Stanley added the comment: Thank you for the bug report Timm. While I can certainly understand the source of the confusion here, I think you may be misunderstanding an important part of cancellation for futures. Specifically a future can't be cancelled once it reaches the PENDING state,

[issue40896] Missing links to Source Code in Documentation pages

2020-06-06 Thread Edison Abahurire
New submission from Edison Abahurire : Just below the Module heading, most library documenation pages like https://docs.python.org/3/library/datetime.html have a link to the source code in the form of `Source code: Lib/datetime.py` that links to the cpython github file of that module. Some m

[issue31254] WeakKeyDictionary/Mapping doesn't call __missing__

2020-06-06 Thread Nathaniel Smith
Change by Nathaniel Smith : -- pull_requests: -19900 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue7105] weak dict iterators are fragile because of unpredictable GC runs

2020-06-06 Thread Daniel Fortunov
Change by Daniel Fortunov : -- nosy: +dfortunov nosy_count: 15.0 -> 16.0 pull_requests: +19902 pull_request: https://github.com/python/cpython/pull/20687 ___ Python tracker ___

[issue40895] weakref documentation contains cautions about dictionary mutation problems that have been solved in the implementation

2020-06-06 Thread Daniel Fortunov
Change by Daniel Fortunov : -- keywords: +patch pull_requests: +19901 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20687 ___ Python tracker ___

[issue31254] WeakKeyDictionary/Mapping doesn't call __missing__

2020-06-06 Thread Daniel Fortunov
Change by Daniel Fortunov : -- keywords: +patch nosy: +dfortunov nosy_count: 4.0 -> 5.0 pull_requests: +19900 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20687 ___ Python tracker

[issue27603] Migrate IDLE context menu items to shell extension

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: terry.reedy -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue17506] Improve IDLE news handling

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Separate news items are now consolidated during the release process. But two issue with copying them. 1. They are not line wrapped, whereas news.txt is. 2. I don't always make (or keep) entries identical. -- versions: +Python 3.10 -Python 3.6, Pyt

[issue22010] Idle: better management of Shell window output

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: 1 is a another issue. 2. was partly taken care of by squeezer. 3 is needed. SyntaxError is often best handled by editing. 4 is still needed. Tab replacement will happen with a sidebar. -- versions: +Python 3.10 -Python 3.6, Python 3.7 _

[issue40895] weakref documentation contains cautions about dictionary mutation problems that have been solved in the implementation

2020-06-06 Thread Daniel Fortunov
New submission from Daniel Fortunov : The doccumentation at https://docs.python.org/3.10/library/weakref.html cautions that the WeakKeyDictionary and WeakValueDictionary are susceptible to the problem of dictionary mutation during iteration. These notes present the user with a problem that ha

[issue22209] Idle: add better access to extension information

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Open on macOS Mohave now has an All files * filter option, and opening *.def is easy. If not true on every Mac still getting new versions of Python, too bad. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed __

[issue18330] Fix idlelib.PyShell.build_subprocess_arglist use of __import__

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: In #36429, the 'else' branch that did not work was deleted. The reason __import__ is discouraged is the reason for the repetition of 'run', in the line kept, as explained above. However, since the line works, it is not a bug, and I now prefer to leave it al

[issue40894] asyncio.gather() cancelled() always False

2020-06-06 Thread Timm Wagener
Change by Timm Wagener : -- keywords: +patch pull_requests: +19898 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20686 ___ Python tracker ___ ___

[issue24996] IDLE: debugger local/global vars should not be editable

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue25031] IDLE - file list improvements

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -kbk, roger.serwy versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Pyt

[issue25036] IDLE - infrastructure changes so editors don't assume they're in a toplevel

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -kbk, roger.serwy versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Pyt

[issue18444] IDLE: Revise Mac OS X key bindings.

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy add IDLE Modern Unix a couple of years ago. Something similar is still needed for macOS. -- title: IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the prompt, which then makes the keyboard unresponsive. -> IDLE: Revise Mac

[issue18064] IDLE: add current directory to open_module

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue6171] IDLE - TreeWidget draw and double-click (Ubuntu)

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> works for me stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30666] IDLE: add tests for autocomplete window.

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue30667] IDLE: revise doc subsection 'Completions'

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue27922] Make IDLE tests less flashy

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: After doing away with most of the flashes, we started adding tests using key and mouse event_generate, which seemed to require a visible GUI. So the goal seems a lost cause. If I revisit, a new issue. -- status: open -> closed

[issue40894] asyncio.gather() cancelled() always False

2020-06-06 Thread Timm Wagener
New submission from Timm Wagener : It seems like the future subclass returned by asyncio.gather() (_GatheringFuture) can never return True for future.cancelled() even after it's cancel() has been invoked successfully (returning True) and an await on it actually raised a CancelledError. This i

[issue36267] User input to argparse raises Index_Error: "-a=" on a 'store_true' action

2020-06-06 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- versions: +Python 3.10, Python 3.9 -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue29382] IDLE search and replace should use 'hit' tag instead of 'hilite'

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue27603] Migrate IDLE context menu items to shell extension

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> terry.reedy components: +Installation ___ Python tracker ___ ___ Python-bugs-list mailin

[issue27892] Idlelib: document or move delayed imports

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue27603] Migrate IDLE context menu items to shell extension

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steve, is this out of date or still something that could be done in the code we control? Would you review and possibly merge a patch is submitted? (I don't know what 'shell extension' means.) -- versions: +Python 3.10 -Python 3.6 __

[issue40882] memory leak in multiprocessing.shared_memory.SharedMemory in Windows

2020-06-06 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 5.0 -> 6.0 pull_requests: +19897 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20684 ___ Python tracker

[issue35019] Allow ipaddres.IPv4/v6Address in asyncio.create_server

2020-06-06 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Issue 38952 is a duplicate of this. -- message_count: 4.0 -> 5.0 nosy: +remi.lapeyre nosy_count: 4.0 -> 5.0 pull_requests: +19896 versions: +Python 3.10, Python 3.9 pull_request: https://github.com/python/cpython/pull/17434 __

[issue40830] Certain uses of dictionary unpacking raise TypeError

2020-06-06 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue40893] tkinter integrate TkDND support

2020-06-06 Thread E. Paine
New submission from E. Paine : For years, the Python docs for the tkinter.dnd module (and prior Tkdnd module) have said that it will become deprecated once it has been replaced by TkDND bindings (I can find it back in the Python 2.2 docs – https://docs.python.org/2.2/lib/node508.html). Despite

[issue40741] Upgrade to SQLite v3.32.1 in Windows and macOS builds

2020-06-06 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: SQLite 3.32.2 is out: https://www.sqlite.org/releaselog/3_32_2.html >From the changelog: Fix a long-standing bug in the byte-code engine that can cause a COMMIT command report as success when in fact it failed to commit. Ticket 810dc8038872e212 I've

[issue21140] Idle: saving Shell or an OutputWindow should default to .txt

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: There was a recent stackoverflow question in which newbie pulled shell log into editor and ran as is. Got SyntaxError as 'Python 3' start of startup message. -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ P

[issue27769] IDLE: Replace All up, no wrap replaces one up, all down

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue40724] Support buffer protocol with type specs

2020-06-06 Thread Stefan Behnel
Stefan Behnel added the comment: New changeset f7c4e236429606e1c982cacf24e10fc86ef4462f by scoder in branch 'master': bpo-40724: Support setting buffer slots from type specs (GH-20648) https://github.com/python/cpython/commit/f7c4e236429606e1c982cacf24e10fc86ef4462f --

[issue40724] Support buffer protocol with type specs

2020-06-06 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +19895 pull_request: https://github.com/python/cpython/pull/20683 ___ Python tracker _

[issue27732] IDLE tests should be quiet

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue17238] IDLE: Add import statement completion

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I opened #40892 for using rlcomplete suffixes. I should look as #25419 for patch and messages for import ideas. -- ___ Python tracker ___ ___

[issue40314] python code order of magnitude faster than equivalent CPython code for simple import statement

2020-06-06 Thread Zachary Ware
Zachary Ware added the comment: I've finally had a chance to try to reproduce this myself, and did. However, a subsequent run of `test.exe` showed exactly the same timing as the Python test, and even another attempt after removing and re-installing tensorflow showed comparable timing to the

[issue27609] IDLE completions: format, factor, and fix

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: 40892 Use prefixes from rlcompleter. Compute constant once. -- dependencies: +IDLE: use rlcompleter suffixed for completions versions: +Python 3.10 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue40892] IDLE: use rlcompleter suffixed for completions

2020-06-06 Thread Terry J. Reedy
New submission from Terry J. Reedy : Tab completions may be suffixed with ' ' (keywords), ':' (keywords)*, or '(' (callables) if one of those is required. Ex. 'import ', 'finally:', 'len('. Attributes may get '('. The possible downside is needing to remove the suffix if one does not want t

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

2020-06-06 Thread Bob Ippolito
Bob Ippolito added the comment: I would certainly reconsider it at this point, I think a bona fide ABC *specific to JSON encoding* would be a good way to do it. simplejson has two ways to do this, the `for_json` parameter which will use a `for_json()` method on any object as the JSON represe

[issue40891] Use pep573 in functools

2020-06-06 Thread hai shi
New submission from hai shi : petr have write a PR(adding a method: _PyType_GetModuleByDef) to supply pep573 in https://github.com/encukou/cpython/pull/4/commits/98dd889575cf7d1688495983ba791e14894a0bb8 So I try to use pep573 in functools again in: https://github.com/shihai1991/cpython/pull/

[issue27733] Test that self.bell is called in IDLE classes when intended.

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue7949] IDLE: avoid no-contrast popups and dialogs.

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: The IDLE Dark theme has been added and I use it routinely. Ttk widgets, including frames, are AFAIK used everywhere possible. We are not yet using ttk styles to configurable colors, but I would expect that the default style should always be viewable. My s

[issue40870] Custom AST can crash Python (debug build)

2020-06-06 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40890] Dict views should be introspectable

2020-06-06 Thread Raymond Hettinger
New submission from Raymond Hettinger : Dict views wrap an underlying mapping but don't expose that mapping as an attribute. Traditionally, we do expose wrapped objects: property() exposes fget, partial() exposes func, bound methods expose __func__, ChainMap() exposes maps, etc. Exposing

[issue39791] New `files()` api from importlib_resources.

2020-06-06 Thread Jason R. Coombs
Jason R. Coombs added the comment: See GH-20681 for a proposed fix. I've scheduled the build bots to run the patch. Will build bots prove the fix? If not, can you test the patch in the same environment where it was discovered? -- ___ Python tracke

[issue40889] Symmetric difference on dict_views is inefficient

2020-06-06 Thread Raymond Hettinger
New submission from Raymond Hettinger : Running "d1.items() ^ d2.items()" will rehash every key and value in both dictionaries regardless of how much they overlap. By taking advantage of the known hashes, the analysis step could avoid making any calls to __hash__(). Only the result tuples wo

[issue39791] New `files()` api from importlib_resources.

2020-06-06 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +19894 pull_request: https://github.com/python/cpython/pull/20681 ___ Python tracker ___ _

[issue16123] IDLE - deprecate running without a subprocess

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Deprecation has been done and a message is printed under the splash screen. With 5 more years of maintenance experience under deprecation, I have not experienced -n mode as a maintenance burden. So I have no inclination at present to remove it (or even imp

[issue40870] Custom AST can crash Python (debug build)

2020-06-06 Thread miss-islington
miss-islington added the comment: New changeset 83a9ba442662c2a030b45955f3dd24ff4b24bb61 by Miss Islington (bot) in branch '3.8': bpo-40870: Invalidate usage of some constants with ast.Name (GH-20649) https://github.com/python/cpython/commit/83a9ba442662c2a030b45955f3dd24ff4b24bb61

[issue40870] Custom AST can crash Python (debug build)

2020-06-06 Thread miss-islington
miss-islington added the comment: New changeset 90ee51f1cd9e63cfe0f402392612f50fc1bea747 by Miss Islington (bot) in branch '3.9': bpo-40870: Invalidate usage of some constants with ast.Name (GH-20649) https://github.com/python/cpython/commit/90ee51f1cd9e63cfe0f402392612f50fc1bea747

[issue39791] New `files()` api from importlib_resources.

2020-06-06 Thread Jason R. Coombs
Jason R. Coombs added the comment: Thanks for the report Michael. I'm trying to figure out the best way to address the issue. That test is shared with importlib_metadata, so needs to run without CPython's test suite fixtures, such as the ones that generate non-ascii filenames. I'm tempted to

[issue40888] Add close method to queue

2020-06-06 Thread Eric V. Smith
Eric V. Smith added the comment: You should probably bring this up on the python-ideas mailing list. -- nosy: +eric.smith type: -> enhancement versions: +Python 3.10 ___ Python tracker _

[issue18823] Idle: use pipes instead of sockets to talk with user subprocess

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Problems with multiprocessing and tkinter on Mac might have been due to using the default start method, which used to be fork and is now spawn. This should be retested sometime. -- nosy: -kbk, roger.serwy versions: +Python 3.10 -Python 3.8 ___

[issue24781] Improve UX of IDLE Highlighting configuration tab

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue25146] IDLE debugger could better visualize program execution

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue25352] Add 'make this my default python' to windows installs for Python3.5 and later

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: The py launcher now prefered since at least a year ago. I believe the installer has the requested box. Hovering over taskbar icons pops up the version, and I think they now survive upgrades. (And none of these are idlelib issues.) -- resolution:

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

2020-06-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 for reconsidering whether the json module should support mappings that don't inherit for dict. The decision not to support general mappings is ancient and predates a lot of modern tooling. The only worry is that the objects won't round-trip — you could

[issue1528593] Printing: No print dialog or page setup

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue21152] Idle: timed autosave for shell (and maybe editor) window

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue27965] Automatic .py extension when saving with IDLE on OSX

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> IDLE does not supply a default ext of .py on Windows or OS X for new file saves ___ Python tracker

[issue24826] ability to integrate editor, shell, debugger in one window

2020-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am not sure what to do with this. The addition of squeezer to Shell and ability to expand into textview makes this a bit less needed. It would have to be rewritten. It seems big, but a large part is revision of tests, which have since been moved to unit

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

2020-06-06 Thread Nathaniel Manista
Nathaniel Manista added the comment: Err, "... it's something that complicates writing code according to...", sorry. -- ___ Python tracker ___

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

2020-06-06 Thread Nathaniel Manista
Nathaniel Manista added the comment: There's a great deal more additional discussion about this over at https://discuss.python.org/t/json-does-not-support-mapping-and-mutablemapping/2829, but I would like to heartily "hear hear" this issue for the way it is weird that json.dumps(frozendict.

[issue5150] IDLE: add rstrip to Format menu

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Adding rstrip as it was then was done over a decade ago, and this issue was closed then. Improvements, as discussed immediately above have been added with other issues, or will be. I am rejecting the add-on idea of incorporating reindent.py as unneeded. (

[issue39791] New `files()` api from importlib_resources.

2020-06-06 Thread Michael Felt
Michael Felt added the comment: The 'fancy' file name breaks on latin-1 character set. aixtools@gcc119:[/home/aixtools/python/py39-3.9] a4fa9a95153a3800dea60b3029b2dcaf8a4f6acb Lib/test/test_importlib/test_main.py < diff --git a/Lib/test/test_importlib/test_main.py b/Lib/te

[issue33689] Blank lines in .pth file cause a duplicate sys.path entry

2020-06-06 Thread Ido Michael
Ido Michael added the comment: Created a PR: GH-20679 I did see some of the changes are already in the code for example, test_underpth_nosite_file.test_sity.py already had pth_lines filter out: ''. I think it's because this issue relevant only for 3.6? Or maybe this issue was solved already

[issue40830] Certain uses of dictionary unpacking raise TypeError

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows: works in installed 3.8.3, fails in 3.9.0b1. Works in freshly compiled 3.9 and master. The patch seems to have worked. Mark, is there any reason to not close this as fixed? -- nosy: +terry.reedy stage: patch review -> _

[issue33689] Blank lines in .pth file cause a duplicate sys.path entry

2020-06-06 Thread Ido Michael
Change by Ido Michael : -- keywords: +patch pull_requests: +19893 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20679 ___ Python tracker ___

[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-06-06 Thread Ido Michael
Ido Michael added the comment: Tal, is there a decision to this debate or can I just move the dep. warning? -- nosy: +Ido Michael, taleinat ___ Python tracker ___

[issue40594] urljoin since 3.5 incorrectly filters out double slashes

2020-06-06 Thread Ido Michael
Ido Michael added the comment: I can take this -- nosy: +Ido Michael, taleinat ___ Python tracker ___ ___ Python-bugs-list mailing

[issue33689] Blank lines in .pth file cause a duplicate sys.path entry

2020-06-06 Thread Ido Michael
Change by Ido Michael : -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue40643] Improve doc-strings for datetime.strftime & strptime

2020-06-06 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 3.0 -> 4.0 pull_requests: +19892 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20677 ___ Python tracker

[issue40870] Custom AST can crash Python (debug build)

2020-06-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +19890 pull_request: https://github.com/python/cpython/pull/20675 ___ Python tracker ___ __

[issue40885] Cannot pipe GzipFile into subprocess

2020-06-06 Thread Nehal Patel
Nehal Patel added the comment: In my use case, I was actually trying to stream a large gzip file from the cloud directly into subprocess without spilling onto disk or RAM i.e. the code actually looked something more like: r, w = os.pipe() # ... launch a thread to feed r with gzip.open(os.fd

  1   2   >