[issue39885] IDLE right click should clear any selection

2020-03-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Restore not clearing the selection when click within it. See Exception in 1 above. Users need to continue to see what will be copied or cut (which also happens with paste). The breakpoint toggle and goto file/line options on the context menu need the line

[issue39885] IDLE right click outside of any selection should clear it

2020-03-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: IDLE right click should clear any selection -> IDLE right click outside of any selection should clear it ___ Python tracker <https://bugs.python.org/issu

[issue39885] IDLE right click outside of any selection should clear it

2020-03-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +18302 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18951 ___ Python tracker <https://bugs.python.org/issu

[issue28775] Option to set startup directory in IDLE

2020-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: The rule for whether to switch to the configured directory might be if sys.stdout is None: chdir... On windows, this is true when starting in the console with pyw(pythonw) -m idlelib But there is no need to include the (Windows-only) 'w'. It i

[issue22121] Start IDLE from icon in a better place.

2020-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: #39927 is about changing the Mac-specific chdir hidden away in Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py, line 8 A generic solution should supercede that. -- ___ Python tracker <https://bugs.python.

[issue22121] Start IDLE from icon in a better place.

2020-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Recap and proposal When editing a named file, Open and Save start in the directory of that file. Running a file sets the initial working directory of the execution process, which affects imports in the code. We are here discussing the working directory

[issue39927] IDLE.app fails on macOS 10.15 if denied access to Documents

2020-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Right. I rechecked and Terminal starts in /Users/ and a user can easily switch to Documents or anything else. Dialogs open in the same directory. IDLE should stay wherever when started from terminal. That was agreed on #22121 (Checking 'sys.stdo

[issue39330] Way to build without IDLE

2020-03-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> works for me ___ Python tracker <https://bugs.python.org/issue39330> ___ ___ Python-bugs-list mailing list Un

[issue39883] Use BSD0 license for code in docs

2020-03-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: What is the complication? The Python license is already rather permissive. Anyway, there is a n...@mail.python.org address for trademark issues, listed on the site, and it might be appropriate for license legal questions also. Or this might be a question

[issue39948] Python 3.8 unconditionally uses functions not available on OS X 10.4 and 10.5

2020-03-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: For current releases, which only provide 64-bit binaries, 10.9 is the lated supported version. See https://www.python.org/downloads/release/python-377/ for example. I believe this should be closed. -- nosy: +terry.reedy

[issue39927] IDLE.app fails on macOS 10.15 if denied access to Documents

2020-03-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: The solution given by Ned above also solved https://stackoverflow.com/questions/60648250/cannot-open-idle-on-mac. So dd's situation was not unique. -- ___ Python tracker <https://bugs.python.org/is

[issue39883] Use BSD0 license for code in docs

2020-03-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK. I looked at the PR. Normally, issue comes first, with justification and approval status. -- ___ Python tracker <https://bugs.python.org/issue39

[issue39989] Output closing parenthesis in ast.dump() on separate line

2020-03-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The current output looks like Python code. The proposed revision looks more like C, and I find the example above less readable with the prominence given to what is close to noise. The difference is part of the reason I left C for Python over 2 decades ago

[issue31895] How to implement api in python website

2020-03-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- type: performance -> enhancement ___ Python tracker <https://bugs.python.org/issue31895> ___ ___ Python-bugs-list mailing list Un

[issue31895] Native hijri calendar support

2020-03-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: How to implement api in python website -> Native hijri calendar support ___ Python tracker <https://bugs.python.org/issu

[issue39963] Subclassing slice objects

2020-03-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed type: -> enhancement versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue39963> ___ __

[issue39966] mock 3.9 bug: Wrapped objects without __bool__ raise exception

2020-03-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed ___ Python tracker <https://bugs.python.org/issue39966> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue39971] Error in functional how-to example

2020-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: In think examples should run and that '...' should be replaced by something like "' \n', ''". The blank string looks ahead to the next example, which adds ' if line != ""' to the comprehension.

[issue39971] Error in functional how-to example

2020-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Working on PR. The example 1 further on has a stray meaningless ellipsis. for expr3 in sequence3 ... if condition3 Perhaps this was meant to follow the next line, but I will remove it

[issue39971] Error in functional how-to example

2020-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looking around further, examples meant to be executable as is are given interactive prompts and needed doctest directives >>> gen #doctest: +ELLIPSIS I think that this example should get the same treatment. Non-executable examples ar

[issue39975] Commands running in 3.7.6 Shell, but failing as script

2020-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: This tracker is for improving future versions of python. Questions about using current python belong on python-list or other help forums, such as stackoverflow. Reading the following will help you ask good questions. https://stackoverflow.com/help/minimal

[issue40005] Getting different result in python 2.7 and 3.7.

2020-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Bharat, when responding by email, *please* delete from your response the the post you are responding to. Your response is added below that message, and including it is duplicate noise. Tim, you seem to be saying that this should be closed as 'not

[issue40011] Tkinter widget events become tuples

2020-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE uses tkinter extensively and runs fine on 3.0 to the upcoming 3.9. Events remain Events and event.type, event.widget, event.x, and so on continue to work as appropriate for the event type. As far as I know, the only directly tkinter-related changes

[issue40012] Avoid Python 2 documentation to appear in Web search results

2020-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I completely agree with the goal. But I think that this is duplicate of at one previous issue either here or on the website tracker. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue40

[issue40022] 关于列表的基础算法问题

2020-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Test01.py runs as expected with no exceptions. This issue appears to be based on a misunderstanding of one or both of two things: a) multiplying an empty list does nothing other than returning a new empty list. b) list.insert(index, value) treats the index

[issue40016] Clarify flag case in `re` module

2020-03-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: The root confusion is that re compilation has several variations with two sets of indicators, each with an unhelpful exception, and each combined and used in different ways. 1. Module constants with uppercase English words or word pairs, also abbreviated

[issue40016] Clarify flag case in `re` module docstring

2020-03-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Clarify flag case in `re` module -> Clarify flag case in `re` module docstring ___ Python tracker <https://bugs.python.org/issu

[issue40031] Python Configure IDLE 'Ok' and 'Apply' buttons do not seem to work.

2020-03-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have no problem with 3.8.2 on Windows 10. Tal and Cheryl, what about your systems? Saaheer, what OS, and if macOS, what version are you using? (macOS Catalina has had some problems.) How did you install or upgrade to 3.8.2? -- nosy

[issue40016] Clarify flag case in `re` module docstring

2020-03-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: The docstring line in question is (?aiLmsux) Set the A, I, L, M, S, U, or X flag for the RE (see below). This is exceptional in that other syntaxes in the special characters list use lower case only for syntax variables (m, n, name, id/name, yes, no

[issue40016] Clarify flag case in `re` module docstring

2020-03-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: The docstring is currently 103 lines. I intentionally replaced 1 line with 1 line that I believe to be more informative and kept the expansion of the other line to 3 lines. -- ___ Python tracker <ht

[issue40031] Python Configure IDLE 'Ok' and 'Apply' buttons do not seem to work.

2020-03-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Once you touch the idlelib/*.def files or manually edit the .idlerc/*.cfg files, you are on your own. You could rename any *.def files and try to 'repair' the installation, or delete the *.cfg files and rebuild then through the dialog. You

[issue40016] Clarify flag case in `re` module docstring

2020-03-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 89a2209ae6fc5f39868621799730e16f931eb497 by Ram Rachum in branch 'master': bpo-40016: re docstring: Clarify relationship of inline and argument flags (#19078) https://github.com/python/cpython/commit/89a2209ae6fc5f39868621799730e1

[issue40016] Clarify flag case in `re` module docstring

2020-03-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: docs@python -> terry.reedy resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python

[issue40012] Avoid Python 2 documentation to appear in Web search results

2020-03-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sorry, the 'previous issue' is a vague memory which I cannot find. For some reason, searching this tracker for 'Google' return 1500+ hits. -- ___ Python tracker <https://bug

[issue40081] List sorting

2020-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: terry.reedy -> ___ Python tracker <https://bugs.python.org/issue40081> ___ ___ Python-bugs-list mailing list Un

[issue40081] List sorting

2020-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: -IDLE ___ Python tracker <https://bugs.python.org/issue40081> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38966] List similarity relationship

2020-03-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Interpreter Core -IDLE ___ Python tracker <https://bugs.python.org/issue38966> ___ ___ Python-bugs-list mailin

[issue40031] Python Configure IDLE 'Ok' and 'Apply' buttons do not seem to work.

2020-03-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Upgrading to bugfix releases is usually a good idea. Aside from everything else, there is usually some change to IDLE. Again, how are you installing python? From the python.org installer (which one)? From the Window store? From a 3rd party installer

[issue40031] Python Configure IDLE 'Ok' and 'Apply' buttons do not seem to work.

2020-03-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: What does Help => About IDLE say about the tk version? -- ___ Python tracker <https://bugs.python.org/issue40031> ___ ___ Py

[issue40083] No run option available in python idle in version 3.8.2

2020-03-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Run only appears on the main menu of editor windows, not Shell or Output windows. If it does not appear, that would be a major bug. But I have no problem with 3.8.2 on Win10 Pro. If you do not have Run in an editor, or do but do not have Run Module or Run

[issue39325] Original window focus when opening IDLE by double clicking Python file Mac

2020-03-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, I believe that this issue results from peculiarities of how macOS runs apps. Insight from you would be appreciated. macOS Sierra 10.2.8?, Python 3.7.3 (Did you use python.org installer?) On my Win10, multiple IDLE windows are cascaded to the right and

[issue39133] threading lib. working improperly on idle window

2020-03-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Insufficient information to determine even if there is a bug. -- resolution: -> later stage: -> resolved status: open -> closed type: crash -> behavior ___ Python tracker <https://bugs.python

[issue39325] Original window focus when opening IDLE by double clicking Python file Mac

2020-03-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Double clicking in finder with current Mohave (10.14.6?) does same as described here. See Ned's comment (msg357667) for #38946. -- ___ Python tracker <https://bugs.python.org/is

[issue39325] Original window focus when opening IDLE by double clicking Python file Mac

2020-03-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: In mac Terminal, 'python3 -m idlelib tem.py' opens tem.py without shell, just as on Windows. -- ___ Python tracker <https://bugs.python.o

[issue38636] IDLE regression: toggle tabs and change indent width functions

2020-03-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue38819] Redirecting stdout

2020-03-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Interpreter Core -IDLE title: The redirect -> Redirecting stdout ___ Python tracker <https://bugs.python.org/issu

[issue38002] 'ModifiedInterpreter' object has no attribute 'interp'

2020-03-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: You tried to run editor code and ran into a uncaught idle-process bug, which causes an exit. pyshell.ModifiedInterpreter.runcode: 760-1 if self.tkconsole.executing: self.interp.restart_subprocess() The immediate bug is that 'self

[issue38002] 'ModifiedInterpreter' object has no attribute 'interp'

2020-03-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +18566 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19203 ___ Python tracker <https://bugs.python.org/issu

[issue38002] 'ModifiedInterpreter' object has no attribute 'interp'

2020-03-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 34a49aa3e4d023b5f9e9029f4f1ec68f1a8a8120 by Terry Jan Reedy in branch 'master': bpo-38002: Use False/True for IDLE pyshell bools (GH-19203) https://github.com/python/cpython/commit/34a49aa3e4d023b5f9e9029f4f1ec6

[issue40051] Dead link in help(lib2to3/idlelib/turtledemo/tkinter.sub/test_*/?)

2020-03-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Lib/lib2to3 is a directory with __init__.py containing ### empty Unlike most python-coded modules, there is no Doc/library/lib2to3.rst and hence no generated lib2to3.html. Instead, there is a 2to3.rst and 2to3.html. In the module index, module xyz is

[issue40056] more user-friendly turtledemo

2020-03-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Enhancements are not usually backported. 1. The underscores are in entries such as 'minimal_hanoi' in the Examples drop-down submenu. Changing to spaces should not hurt anything. 2. Already possible (maybe): Help => Turtledemo help has (

[issue40075] _tkinter PythonCmd fails to acquire GIL

2020-03-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue40075> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40087] How to Uninstall Python3.7.3 using cmd?

2020-03-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: This tracker is for improving future releases of CPython. Questions about using current python should be directed elsewhere, such as python-list. You already did that and got Windows-specific answers. -- nosy: +terry.reedy resolution: -> no

[issue40088] list.reverse(): slow sublist reverse

2020-03-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: The previous issue was also about .sort and Raymond's rejection was mostly about .sort. I will let him comment about whether the speedup moves him at all. Yury, please say something about your use case. -- nosy: +terry.

[issue40090] The referenced RFC for the json module should be corrected to rfc8259

2020-03-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: The header for 8259 says "Obsoletes: 7159" (December 2017) and the header for 7159 agrees: "Obsoleted by: 8259". But... to the extent that there is any difference, which document better describes the behavior of our json module? Does i

[issue40100] IDLE: Undesired behavior of emoji in editor.

2020-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Terminal codepages are irrelevant in the IDLE tk based gui. The problem is that windows codes astral chars as two surrogates. While tkinter can display them, after recent changes to _tkinter, the text widget cannot handle then properly when editing. This

[issue39089] Update IDLE's credits

2020-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have thought about everything from deleting the file to a detailed update. If we keep it, anything would be an improvement. Perhap something in the middle, starting in 2013. I just decided I don't need be be responsible for anything earlier, even t

[issue37614] Pasteing 🌹into idle makes it exit

2020-03-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Pasteing 🌹into idle makes it crash -> Pasteing 🌹into idle makes it exit ___ Python tracker <https://bugs.python.org/issu

[issue38002] 'ModifiedInterpreter' object has no attribute 'interp'

2020-03-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Reproducer: In Shell, run "input('prompt'), Without giving a response, so that input is left 'executing', switch to editor with valid code, select "Run... Customized", unselect "Restart shell", and select OK.

[issue40128] IDLE Show completions pop-up not working on macOS

2020-03-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: My first though was that the 'guy' had executed 'import math' and you had not. (See the IDLE doc at https://docs.python.org/3/library/idle.html or, within IDLE, Help => IDLE Help, "Editing and navigations" section, "

[issue40083] No run option available in python idle in version 3.8.2

2020-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I cannot do anything until you answer all 6 question. Perhaps you should post on python-list to get help doing so. -- ___ Python tracker <https://bugs.python.org/issue40

[issue38689] IDLE crashes when KeyError is raised during calltip generation

2020-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 52013e5b6d5ca32eef5a3d65ecdf7db89cefc2fd by Tal Einat in branch 'master': bpo-38689: avoid IDLE hanging when calltip fails getting a signature (GH-17152) https://github.com/python/cpython/commit/52013e5b6d5ca32eef5a3d65ecdf7d

[issue40127] Documentation of SSL library

2020-04-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue40127> ___ ___ Python-bugs-list m

[issue40132] Mechanism to control who owns package names on PyPI?

2020-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: PyPI is a separate project from CPython and has its own repository, tracker, and developers. -- nosy: +terry.reedy resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracke

[issue40139] mimetypes module racy

2020-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.5.3 is not the most recent 3.5. Anyway, 3.5 and 3.6 and soon 3.7 only get security patches. So it needs to be determined if there are failure with 3.8 and 3.9. -- nosy: +terry.reedy versions: -Python 3.5

[issue40180] isinstance(cls_with_metaclass, non_type) raises KeyError

2020-04-04 Thread Terry J. Reedy
New submission from Terry J. Reedy : Consider class Object defined as follows: import types class Type(type): __class__ = property({}.__getitem__, {}.__setitem__) class Object(metaclass=Type): __slots__ = '__class__' isinstance(Object, ob) is true for type and Type and

[issue40181] IDLE: remove positional-only note from calltips

2020-04-04 Thread Terry J. Reedy
New submission from Terry J. Reedy : IDLE calltips currently contain " # '/' marks preceding args as positional-only." when the signature contains '/' because, before 3.8, '/' was only used by argument clinic and only displayed by inspect.signature. N

[issue40181] IDLE: remove positional-only note from calltips

2020-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: #35763 reduced the footprint of the note. #35764 is about revising the calltip doc. Part of the intention was to add something about '/'. Maybe no need now, but if I did, I might remove the calltip n

[issue38689] IDLE crashes when KeyError is raised during calltip generation

2020-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: get_argspec accesses the user object 3 times. The first, ob.__call__ was already wrapped in try-except. The second, signature(ob or ob.__call) is wrapped by this issue. It also adds a new test based on Dan's example. The third is (ob or ob.__c

[issue40180] isinstance(cls_with_metaclass, non_type) raises KeyError

2020-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: (Serhiy posted while I wrote this.) Sorry, I should have quoted the doc. " If object is not an object of the given type, the function always returns False." Raising instead is a bug -- even of the object itself is somewhat buggy. My knowledg

[issue40180] isinstance(cls_with_metaclass, non_type) raises KeyError

2020-04-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue40180> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40178] Convert the remaining os funtions to Argument Clinic

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: #37206 changed the signature "pop(self, key, default=None, /)" back to "D.pop(k[,d]) -> v", taken from dict.pop.__doc__. However, the incorrect version that got reverted correctly added the positional-only indicator '/'.

[issue40199] Invalid escape sequence DeprecationWarnings don't trigger by default

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Win 10, with recently compiled 3.7.7+ and 3.9.0a5+, I get 4 warnings also. >>> import warnings >>> compile("'\d'", "", "eval") :1: DeprecationWarning: invalid escape sequence \d :1: Deprecati

[issue40197] Add nanoseconds to timing table in What's new python 3.8

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond, I finished the backporting and assume that your patch was meant to be a complete fix. -- nosy: +terry.reedy versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue40

[issue40203] Warn about invalid PYTHONUSERBASE

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I marked this for 'interpreter Core' because it affects imports and nothing else seemed better. I marked this for 3.9 because it is too late to change 2.7. But I don't know whether PYTHONUSERBASE is still treated (or not treated) the s

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: A few days ago, 3.8 backports failed while 3.7 backports merged. Thank you for the fix, even if temporary. I just noticed that the doc main page ends with "Created using Sphinx 2.3.1." I plan to switch my local sphinx to that version. -

[issue40205] Profile 'builtins' parameter documentation missing

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified the statements and notice that profile.Profile has many methods not in cProfile.Profile. Neither is a complete replacement for the other. -- nosy: +terry.reedy ___ Python tracker <ht

[issue40207] Expose NCURSES_EXT_FUNCS under curses

2020-04-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +twouters ___ Python tracker <https://bugs.python.org/issue40207> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40208] Remove deprecated symtable.SymbolTable.has_exec

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://docs.python.org/3/library/symtable.html#symtable.SymbolTable.has_exec merely says "Return True if the block uses exec." This never happens since https://github.com/python/cpython/blob/3.8/Lib/symtable.py#L87 is "return False". I p

[issue40208] Remove deprecated symtable.SymbolTable.has_exec

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Answer: no. The 2006 patch already removed OPT_EXEC and OPT_BARE_EXEC. -- ___ Python tracker <https://bugs.python.org/issue40

[issue40210] ttk.Combobox focus-out event inheritage

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: What OS and what tcl/tk patch version? (IDLE Help => About IDLE will show this). 3.5 only gets security patches. On Windows, it came with a slightly older version of tk. That might possibly be a problem. One cannot place widgets 'in a treeview&

[issue40218] sys.executable is a false path if python is executed from gdb

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I shortened the title so that 'gdb' shows. I have never used gdb, but I am curious what *is* the path to the python running the python code after 'python'? Is it part of or included with gdb? If so, this seems a gdb bug, as it is t

[issue40219] ttk LabeledScale: label covered by hidden element

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.6 only get security fixes, but your nice minimal, complete verifiable example let me verify easily on 3.9a5 with tk 8.6.9 and 3.6 with 8.6.6 and 2.7.17 with 8.5.19. The hidden element appears to be something like'||' with only part visible, de

[issue40235] confusing documentation for IOBase.__exit__

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please post or attach *minimal* and complete (runnable as is) code that does not do what you expect. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue40

[issue40199] Invalid escape sequence DeprecationWarnings don't trigger by default

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK, verified issue with installed 3.9.0a5, which must have different warning settings. >From a file, 1 warning. :1: DeprecationWarning: invalid escape sequence \d Interactively, no warning. >>> compile("'\d'", "&q

[issue40218] sys.executable is a false path if python is executed from gdb

2020-04-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue1490384] PC new-logo-based icon set

2020-04-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: accepted -> fixed stage: -> resolved type: -> enhancement ___ Python tracker <https://bugs.python.org/

[issue40324] python 3.8.2 idle not opening

2020-04-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please answer the questions in msg365164 of #40083. -- ___ Python tracker <https://bugs.python.org/issue40324> ___ ___ Pytho

[issue40083] No run option available in python idle in version 3.8.2

2020-04-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3. You did not answer about the tcl/tk version. 4. When you start from the start menu, there is no Editor window, just the Shell window, which does not have the Run menu. Again, how did you get an editor window? 5. Search the Web for an illustrated

[issue40324] python 3.8.2 idle not opening

2020-04-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: The relevant one. Skip 3 and 4. -- ___ Python tracker <https://bugs.python.org/issue40324> ___ ___ Python-bugs-list mailin

[issue33065] IDLE debugger: failure stepping through module loading

2020-04-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Timothy, this is already more helpful than a simple 'me too'. Can you reduce pgdata.dump to a truly minimal file that exhibits the bug? and then upload it? Installing any package into my local copy of the master CPython repository is prob

[issue33065] IDLE debugger: failure stepping through module loading

2020-04-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe I found the bug. For IDLE's original single process mode, still available with the -n startup option, debugger.py contains the entire debugger. The values displayed for global and local names are obtained with reprlib.Repr.repr. That in

[issue38946] IDLE on macOS 10.15 Catalina does not open double-clicked files if app already launched

2020-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: By design, IDLE should only allow one editor instance per file for a given python-IDLE process. "$ python3 fails.py" opens a new python-IDLE process, independent of existing processes. It is possible that double-clicking good.py multiple times o

[issue1490384] PC new-logo-based icon set

2020-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 3a69f3caeeaea57048ed3bc3051e16854b9a4cd6 by Miro Hrončok in branch 'master': bpo-38439: Add 256px IDLE icon (GH-17473) https://github.com/python/cpython/commit/3a69f3caeeaea57048ed3bc3051e16854b9a4cd6 -- nosy: +t

[issue38439] Python needs higher resolution app/menu icons

2020-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 3a69f3caeeaea57048ed3bc3051e16854b9a4cd6 by Miro Hrončok in branch 'master': bpo-38439: Add 256px IDLE icon (GH-17473) https://github.com/python/cpython/commit/3a69f3caeeaea57048ed3bc3051e16

[issue36299] array: Deprecate 'u' type in array module

2020-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should this issue be closed, possibly as superseded by #36346, the issue for the new PR-19653? -- ___ Python tracker <https://bugs.python.org/issue36

[issue33065] IDLE debugger: failure stepping through module loading

2020-04-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Timothy, can you try editing idlelib.debugger_r, line 173, as suggested above and see if it solves the problem? -- ___ Python tracker <https://bugs.python.org/issue33

[issue40031] IDLE fails trying to inport old idlelib file names for config

2020-04-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Saaheer, using the 'File: Browse...' button under the comment box, please upload (if you still have it) the .../.idlerc/config-extensions.cfg that results in this failure. Most idlelib files were renamed in 3.6. 'AutoExpand' and &#x

[issue9417] Declaring a class creates circular references

2020-04-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Kay, please ask your question on python-list or a similar forum. -- ___ Python tracker <https://bugs.python.org/issue9

[issue40393] Auto-response from Python Help points to Python 2 reference

2020-04-26 Thread J Arun Mani
New submission from J Arun Mani : In the auto-response sent by python-help-boun...@python.org, at some intermediate paragraphs: ... The most comprehensive overview of python.org help resources is at http://www.python.org/about/help/ The Python FAQ is available at http

<    27   28   29   30   31   32   33   34   35   36   >