[issue39126] Non-bmp (astral) unicode characters confuse the editor

2019-12-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am aware of this. Before the recent (Oct 4) fix for #13153, pasting an astral character into an edit line or window crashed IDLE. After the fix, the character appears (and printing such chars also works reliably). But astral chars confuse the tk text

[issue39133] threading lib. working improperly on idle window

2019-12-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Give OS. Provide specific code and describe specific problem. Run the code directly with python from a command line to determine if IDLE is really involved in the problem. -- ___ Python tracker <ht

[issue39111] Misleading documentation for NotImplemented

2019-12-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue39111> ___ ___ Python-bugs-list mailin

[issue39112] Misleading documentation for tuple

2019-12-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe that this is a duplicate issue. As noted before, filter, map, reversed, and zip are classes, but they return iterators and are documented differently. -- nosy: +terry.reedy versions: -Python 3.5, Python 3.6

[issue39112] Misleading documentation for tuple

2019-12-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Fix some class entries in 'Built-in Functions' ___ Python tracker <https://b

[issue34118] Fix some class entries in 'Built-in Functions'

2019-12-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #39112, about tuple only, as a duplicate of this. -- keywords: +patch versions: +Python 3.9 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue34

[issue39136] Typos in whatsnew file and docs

2019-12-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 6c7bb38ff2799ac218e6df598b2b262f89e2bc1e by Terry Jan Reedy (Gurupad Hegde) in branch 'master': bpo-39136: Fixed typos (GH-17720) https://github.com/python/cpython/commit/6c7bb38ff2799ac218e6df598b2b262f89e2bc1e -- nosy: +t

[issue39136] Typos in whatsnew file and docs

2019-12-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +17176 pull_request: https://github.com/python/cpython/pull/17731 ___ Python tracker <https://bugs.python.org/issue39

[issue39136] Typos in whatsnew file and docs

2019-12-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset df647f3340d7a40628ba731f80425cb469e72653 by Terry Jan Reedy in branch '3.8': [3.8] bpo-39136: Fixed typos (GH-17720) https://github.com/python/cpython/commit/df647f3340d7a40628ba731f80425c

[issue39136] Typos in whatsnew file and docs

2019-12-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +17177 pull_request: https://github.com/python/cpython/pull/17732 ___ Python tracker <https://bugs.python.org/issue39

[issue39136] Typos in whatsnew file and docs

2019-12-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the report and patch. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Python tracker <https://bugs.python.or

[issue39136] Typos in whatsnew file and docs

2019-12-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d7947280a4ba9dc652c3fac22946466338ec6999 by Terry Jan Reedy in branch '3.7': [3.7] bpo-39136: Fixed typos (GH-17720) https://github.com/python/cpython/commit/d7947280a4ba9dc652c3fac2294646

[issue34118] Fix some class entries in 'Built-in Functions'

2019-12-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +17197 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17761 ___ Python tracker <https://bugs.python.org/issu

[issue34118] Fix some class entries in 'Built-in Functions'

2019-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ee9ff05ec22ecd47dbffdd361967ccd55963dad2 by Terry Jan Reedy in branch 'master': bpo-34118: memoryview, range, and tuple are classes (GH-17761) https://github.com/python/cpython/commit/ee9ff05ec22ecd47dbffdd361967cc

[issue34118] Fix some class entries in 'Built-in Functions'

2019-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I started with the agreed-on 'function' => 'class' changes and intend to follow with a PR for text changes. -- stage: patch review -> needs patch ___ Python tracker <https

[issue32615] Inconsistent behavior if globals is a dict subclass

2019-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Victor, Pablo, I added you two since you commented on the duplicate. I believe this should be closed as 'not a bug'. The doc for globals() says is returns a 'dictionary', meaning an instance of dict. The doc for exec says globals &

[issue32615] Inconsistent behavior if globals is a dict subclass

2019-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Guido, some people would like manipulation and use of globals to work with dict subclasses as well as dicts themselves. I believe that the current restriction/optimization is at least partly your work. Do you have any quick opinion, or do you think

[issue32615] Inconsistent behavior if globals is a dict subclass

2019-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are more examples on duplicate #36220. -- ___ Python tracker <https://bugs.python.org/issue32615> ___ ___ Python-bug

[issue6143] IDLE - clear and restart the shell window

2020-01-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: #17632 was instead closed as a duplicate of this issue. The (editor) Run menu now has a custom run item. 'Clear shell before restart' could be added as an alternative to 'no restart'. But this would be a separate issue. ---

[issue39141] IDLE: system clear function returns 256 on Mac OS Catalina

2020-01-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Among other problems, the patch for #11820 uses a unix-only tcl function. In non-shell editor and output windows, Select all (Control-A at least on windows) Delete (or Backspace, or Cut to clipboard, ^X on Windows) clears the window. Delete does not work

[issue39152] Faulty override of tkinter.Misc.configure in tkinter.ttk.Scale.configure

2020-01-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Your code is buggy because 'cursor' is not a dict or anything like one. On the other hand, adding retval to capture and return the return from Widget.configure looks correct. (And it will not prevent kw.update('cursor') from raising.

[issue39152] Faulty override of tkinter.Misc.configure in tkinter.ttk.Scale.configure

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

[issue39152] Faulty override of tkinter.Misc.configure in tkinter.ttk.Scale.configure

2020-01-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Giovanni, a Python exception is a intended exit. A crash is when the program either hangs or stops unintentionally without a python exception but with an OS error message. I checked and Scale is the only ttk widget that overrides configure

[issue39154] "utf8" not always a synonym for "utf-8" in lib2to3

2020-01-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +benjamin.peterson stage: -> test needed versions: +Python 3.9 -Python 3.6 ___ Python tracker <https://bugs.python.org/issu

[issue39165] Completeness and symmetry in RE, avoid `findall(...)[0]`

2020-01-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I currently agree with Serhiy and am not persuaded that either new function is needed. 1. findalliter: For 3.0, I might have been more aggressive than we were in turning list-returning functions into iterators, as done with map, etc. But the collective

[issue39169] TypeError: 'int' object is not callable if the signal handler is SIG_IGN

2020-01-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed versions: +Python 3.9 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue39169> ___ ___ Python-

[issue39174] unicodedata.normalize failing with NFD and NFKD for some characters in Python3

2020-01-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker <https://bugs.python.org/issue39174> ___ ___ Python-bug

[issue39179] pandas tz_convert() seems to report incorrect date conversion

2020-01-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> third party stage: -> resolved ___ Python tracker <https://bugs.python.org/issue39179> ___ ___ Python-bugs-

[issue39182] sys.addaudithook(hook) loops indefinitely on mismatch for hook

2020-01-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: > I think this is specific to the interactive prompt. In IDLE, which simulates interactive mode with repeated 'exec(user_code, namespace)', no error is printed, let alone a loop. >>> import sys >>> sys.addaudithook(0) >

[issue39182] sys.addaudithook(hook) loops indefinitely on mismatch for hook

2020-01-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I wrote too soon. Entering anything at the next line prints TypeError: 'int' object is not callable twice and a lot of IDLE specific stuff, and not another prompt. I have to restart the remote executi

[issue39197] argparse: title and description for mutually exclusive arg groups

2020-01-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +rhettinger title: Support the title and description arguments for mutually exclusive argument groups -> argparse: title and description for mutually exclusive arg groups ___ Python tracker <

[issue39165] Completeness and symmetry in RE, avoid `findall(...)[0]`

2020-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: After reading Serhiy's clarification of the old and wonky findall return api, I agree that reusing it in an unneeded new function would be a retrograde move. We should instead upgrade the documentation of the more flexible current functions. For s

[issue39152] Faulty override of tkinter.Misc.configure in tkinter.ttk.Scale.configure

2020-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Giovanni, I saw that you gave a correct fix even if your example was wrong. Currently, scale.configure returns None instead of the configuration. Your patch fixes this. Once I created a git branch to verify and test the fix, it was trivial to make a PR

[issue39152] Faulty override of tkinter.Misc.configure in tkinter.ttk.Scale.configure

2020-01-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5ea7bb25e3b192d6c49a49c9e3b316f8559602aa by Terry Jan Reedy in branch 'master': bpo-39152: add missing ttk.Scale.configure return value (GH-17815) https://github.com/python/cpython/commit/5ea7bb25e3b192d6c49a49c9e3b316

[issue39152] Faulty override of tkinter.Misc.configure in tkinter.ttk.Scale.configure

2020-01-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.or

[issue39221] Cross compiled python installed wrong version of lib2to3/Grammar pickle

2020-01-06 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/issue39221> ___ ___ Python-bugs-list m

[issue5233] IDLE: exec IDLESTARTUP/PYTHONSTARTUP on restart

2020-01-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue5

[issue24815] On maxOS, IDLE app menu can become nearly blank

2020-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: The nearly blank menu has the Apple icon and the IDLE dropdown. I verified that this can be generated with either Debugger or IDLE Help, which are non-modal non-menu windows. Currently, IDLE has a separate menu for each editor and output and the shell. On

[issue24817] IDLE: disable format menu items when not applicable

2020-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: The default selection is, now at least, the current line, so that every entry is always applicable. -- assignee: -> terry.reedy nosy: -kbk, roger.serwy resolution: -> works for me stage: -> resolved status: open -> closed title: di

[issue24799] IDLE should detect changes to open files by other processes

2020-01-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issu

[issue24818] IDLE: run program in debugger from edit window

2020-01-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> terry.reedy nosy: -kbk, roger.serwy title: no way to run program in debugger from edit window -> IDLE: run program in debugger from edit window versions: +Python 3.9 -Python 2.7, Python 3.5, Pyth

[issue24816] IDLE: disable selecting debugger when user code is running

2020-01-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> terry.reedy stage: -> needs patch title: don't allow selecting IDLE debugger menu item when running -> IDLE: disable selecting debugger when user code is running versions: +Python 3.9 -Python 2.7, Python 3

[issue25178] IDLE: search regex errors should be in/attached to search dialog

2020-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I like the way that Open Module puts error messages in red under the entry box and allows users to correct without first clicking a modal message away. I would like to do the same here. -- assignee: -> terry.reedy nosy: -kbk, roger.serwy st

[issue21995] Idle: review 'missing' attributes of pseudofiles

2020-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I changed title to 'review' (TextIOBase doc and StringIO as a pure text implementation). -- title: Idle: pseudofiles have no buffer attribute. -> Idle: review 'missing' attributes of pseudofiles versions: +Python 3.9 -Python

[issue38882] IDLE should not make About be a transient of withdrawn root window

2020-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.7 is EOL. -- nosy: -ronaldoussoren title: IDLE should not make the about dialog be a transient of the withdrawn root window -> IDLE should not make About be a transient of withdrawn root window versions: -Python

[issue27196] Eliminate 'ThemeChanged' warning when running IDLE tests

2020-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.7 EOL. Ned, do you still see Themed Changed? I don't on 3.8 on Macbook. with 10.14 mohave(?) -- versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/is

[issue39207] concurrent.futures.ProcessPoolExecutor does not properly reap jobs and spawns too many workers

2020-01-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +bquinlan, pitrou ___ Python tracker <https://bugs.python.org/issue39207> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39217] GC of a ctypes object causes application crash

2020-01-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: "Is this a bug" questions are often better asked on python-list. (I don't know.) If so, the bug needed to be tested on the current development version (3.9 now). Likely, someone on python-list will try given reproducible code. 2.

[issue39219] Fix attributes of syntax errors raized in the tokenizer

2020-01-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: On entry of '0xz', IDLE from 3.6 to date highlights the '0x' part of the original entry. I presume it can do this because it ignores the text attribute, and because bytes == chars for at least '0x'. The 'proposed PR&

[issue39228] traceback.FrameSummary does not handle exceptions from `repr()`

2020-01-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: As is true for most special methods, it is a bug for __repr__ methods to raise. They should return a string, as documented. Special method wrappers generally assume that the wrapped methods work. In particular, repr assumes this, and so do the __repr__

[issue39231] Mistaken notion in tutorial

2020-01-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://docs.python.org/3/tutorial/controlflow.html#function-annotations is the direct link. As Mark said, 'ham' is a required positional-or-keyword argument. 'eggs' is an optional 'positional-or-keyword. The sentence as is is wrong

[issue39249] difflib SequenceMatcher 200 char length limitation for ratio calculation

2020-01-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> difflib SequenceMatcher ratio() still have unpredictable behavior ___ Python tracker <https://bugs.python

[issue39274] Conversion from fractions.Fraction to bool

2020-01-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg359674 ___ Python tracker <https://bugs.python.org/issue39274> ___ ___ Python-bug

[issue39275] Traceback off by one line when

2020-01-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6 ___ Python tracker <https://bugs.python.org/issue39275> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26317] Build Problem with GCC + Macintosh OS X 10.11 El Capitain

2020-01-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The progress was the PR. I just fixed the merge conflicts, I believe correctly. Please test and review. -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue26

[issue31485] Tkinter widget.unbind(sequence, funcid) unbind all bindings

2020-01-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, if I understand your last message (msg302299), the docstring should read: Unbind for this widget the event SEQUENCE. If FUNCID is given, only unbind the function identified with FUNCID and also delete that command. The main doc

[issue31485] Tkinter widget.unbind(sequence, funcid) unbind all bindings

2020-01-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, given that the code did not match the docstring and that we are changing the code to match the clarified docstring, should we consider this a bugfix, and, should we backport it? -- ___ Python tracker

[issue39293] Windows 10 64-bit needs reboot after install

2020-01-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Windows 10 64-bit needs reboot -> Windows 10 64-bit needs reboot after install ___ Python tracker <https://bugs.python.org/issu

[issue39309] Please delete my account

2020-01-18 Thread Terry J. Reedy
New submission from Terry J. Reedy : David, do you know about bpo account deletion? -- nosy: +r.david.murray, terry.reedy ___ Python tracker <https://bugs.python.org/issue39

[issue39316] settrace skips lines when chaining methods without arguments

2020-01-18 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/issue39316> ___ ___ Python-bugs-list m

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: After updating the patch, I noticed that deletion of self.context_use_ps1 from the editor call to y.find_good_parse_start was no longer part of the diff. This is because 3.8 changeset 6bdc4dee01788599808c7858e2fe9fdd72cf6792 for #35610 (backported only to

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ec64640a2c5236d7a5d5470d759172a3d93eab0b by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-32989: IDLE - fix bad editor call of pyparse method (GH-5968) https://github.com/python/cpython/commit/ec64640a2c5236d7a5d5470d759172

[issue39411] pyclbr rewrite using AST

2020-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Nice. A few notes. Docs: The initial doc paragraph now has 'module browser' rather than 'class browser'. The change is needed 2 other places. Could be part of this PR or another one. * Chapter title: "Python class browser suppor

[issue39411] pyclbr rewrite using AST

2020-01-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: A separate doc change issue and PR would be fine. Should we add a note explaining the module name as a contraction of an originally restricted scope? Make me nosy and invite review. Actually, a doc issue for the module as is should *fully* explain

[issue39050] The "Help" button in IDLE's config dialog does not work

2020-01-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 2e43b64c94e49f7133b9c26e84c9519935c49063 by Terry Jan Reedy (Zackery Spytz) in branch 'master': bpo-39050: The Help button in IDLE's config menu works again (GH-17611) https://github.com/python

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Cheryl, sorry to take so long. I will look at and probably remove the _synchre parameter, on this issue. Feel free to pursue any of the other possible followups. -- versions: +Python 3.9 -Python 3.6 ___ Python

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tim, idlelib.pyparse has this definition: # Find what looks like the start of a popular statement. _synchre = re.compile(r""" ^ [ \t]* (?: while | else | def | return | assert | break | class

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +17524 pull_request: https://github.com/python/cpython/pull/18138 ___ Python tracker <https://bugs.python.org/issue32

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset f9e07e116c32b6dc4561d0bdeb452ccde13b0e7c by Terry Jan Reedy in branch 'master': bpo-32989: IDLE - remove unneeded parameter (GH-18138) https://github.com/python/cpython/commit/f9e07e116c32b6dc4561d0bdeb452c

[issue32989] IDLE: Fix pyparse.find_good_parse_start

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

[issue39431] Mention nonlocal too in assignment quirk

2020-01-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7142df5ea23b4ce0efb72746b4b3b65414e8dcb1 by Terry Jan Reedy (Shanavas M) in branch 'master': bpo-39431: Also mention nonlocal in assignment quirk (GH-17375) https://github.com/python/cpython/commit/7142df5ea23b4ce0efb72746b4b3b6

[issue39431] Mention nonlocal too in assignment quirk

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

[issue39431] Mention nonlocal too in assignment quirk

2020-01-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> patch review type: -> behavior versions: +Python 3.7 ___ Python tracker <https://bugs.python.org/issue39431> ___ __

[issue39374] Key in sort -> Callable Object instead of function

2020-01-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that we should keep 'function', as it is often used at least somewhat generically (as in Library Manual 'Built-in Functions' chapter). I marked this as an easy first PR. -- keywords: +easy, newcomer friendl

[issue39392] Python Turtle is not filling alternate overlapping areas of a shape with same color

2020-01-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Your SO question is essentially a duplicate. As I answered there, the graphics systems of Unix and Windows, used by tk and hence tkinter, handle filling of self-intersecting polygons differently. On Windows, if one draws a line from the outside to a

[issue39441] mimetypes.guess_extension unable to get non-lowercase mimetype

2020-01-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6 ___ Python tracker <https://bugs.python.org/issue39441> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39444] Incorrect description of sorting for PrettyPrinter

2020-01-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: How about 'in their default insertion order'? -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.o

[issue39388] IDLE: Changes to keybindings aren't reverted on cancel

2020-01-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the reminder. There must be other changes not being cancelled, but I will finish this fix instead of measuring the bug ;-). -- ___ Python tracker <https://bugs.python.org/issue39

[issue39444] Incorrect description of sorting for PrettyPrinter

2020-01-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Closing is fine with me. -- ___ Python tracker <https://bugs.python.org/issue39444> ___ ___ Python-bugs-list mailing list Unsub

[issue39388] IDLE: Changes to keybindings aren't reverted on cancel

2020-01-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d0d9fa8c5e30aff71b6d5e8b2673396622f33270 by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-39388: IDLE: Fix bug when cancelling out of configdialog (GH-18068) https://github.com/python/cpyt

[issue39388] IDLE: Changes to keybindings aren't reverted on cancel

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

[issue39456] Make IDLE calltip tests work when there are no docstrings

2020-01-26 Thread Terry J. Reedy
New submission from Terry J. Reedy : IDLE should run and calltips and tests should work even callables lack docstrings, either because none is defined or because there are suppressed (CPython compile switch for builtins, CPython runtime switch for user objects). I believe calltips work with

[issue39456] Make IDLE calltip tests work when there are no docstrings

2020-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: In a comment on PR-14592, I noted that other tests fail with -OO; these should be fixed (or skipped?) also. test_calltips was the only failure with the compile switch. -- ___ Python tracker <ht

[issue39456] Make IDLE calltip tests work when there are no docstrings

2020-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: If test_calltips is fixed before PR-14592 is merged, it should be removed from the latter. -- ___ Python tracker <https://bugs.python.org/issue39

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2020-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset dd023ad1619b6f1ab313986e8953eea32c18f50c by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-30780: Add IDLE configdialog tests (#3592) https://github.com/python/cpython/commit/dd023ad1619b6f1ab313986e8953ee

[issue39392] Python Turtle is not filling alternate overlapping areas of a shape with same color

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

[issue39472] IDLE: improve handling of int entry in settings dialog

2020-01-27 Thread Terry J. Reedy
New submission from Terry J. Reedy : Spinoff from #31414, about int entry fields. It claims: Note: a deeper problem is attaching a tracer that get called with each keystroke. Using a StringVar avoids the error when the entry is blanked, but currently allows non-ints to be saved. A better

[issue31414] IDLE: Entry tests should delete before insert.

2020-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Opened #39472 for changes dialog itself. -- ___ Python tracker <https://bugs.python.org/issue31414> ___ ___ Python-bugs-list m

[issue31414] IDLE: Entry tests should delete before insert.

2020-01-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

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2020-01-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 -Python 3.6 ___ Python tracker <https://bugs.python.or

[issue39392] Python Turtle is not filling alternate overlapping areas of a shape with same color

2020-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 2824c45a0a020f12f27da7e7162e8636c21bf869 by Terry Jan Reedy in branch 'master': bpo-39392: Turtle overlap fill depends on OS (#18223) https://github.com/python/cpython/commit/2824c45a0a020f12f27da7e7162e86

[issue39392] Python Turtle is not filling alternate overlapping areas of a shape with same color

2020-01-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

[issue21696] Idle: test configuration files

2020-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The issue is obsolete with respect to the minimal test implied by the opening message. At least two tests (added since this was written) read the .def files. Some of the proposed tests are, now at least, redundant For boolean tests like self.assertIn

[issue39476] Not convinced with the dynamic data type assignment

2020-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sushma, asking about the exception message on python-list was the right thing to do. You should have waited for the answers you got there. At this point, bugs in basic python operations are extremely rare. -- nosy: +terry.reedy

[issue38792] IDLE calltips may not properly close on KeyboardInterrupt

2020-01-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified problem for KeyboardInterrupt and RestartShell but not for a newline that actually runs the statement. In my experiments, if a newline in inserted instead of running, the cursor remains within a call and the calltip should not disappear

[issue38792] IDLE calltips may not properly close on KeyboardInterrupt

2020-01-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset bfdeaa37b3df7466624c17f9450d2bd1c3d95edf by Zackery Spytz in branch 'master': bpo-38792: Remove IDLE shell calltip before new prompt. (#17150) https://github.com/python/cpython/commit/bfdeaa37b3df7466624c17f9450d2b

[issue38792] IDLE calltips may not properly close on KeyboardInterrupt

2020-01-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: On the issue, Tal pointed out that SyntaxError leaves a calltip after a new >>> prompt. Also fixed. -- ___ Python tracker <https://bugs.python.or

[issue12731] python lib re uses obsolete sense of \w in full violation of UTS#18 RL1.2a

2020-01-31 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: docs@python -> components: +Unicode -Documentation nosy: +benjamin.peterson, lemburg, serhiy.storchaka ___ Python tracker <https://bugs.python.org/issu

[issue39391] Run-dependent Pydoc output for functions default parameters

2020-01-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: repr(f2) is not 'non-deterministic'. If one runs it again for the same function object, one gets the same answer. It only changes when one starts over and creates a new function object with the same name but (usually) different id. I think it a

[issue39480] referendum reference is needlessly annoying

2020-01-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: I concur with Steven and Raymond. The 2016 Brexit votes were Leave 17.4 million and Remain 16.1 million. No resemblence to the hypothetical example. I think that this should be closed as 'not a bug'. -- nosy: +t

<    25   26   27   28   29   30   31   32   33   34   >