[issue40384] IDLE: Wrong highlighting when \n follows def/class

2020-04-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: For me, on Mac, only the 3rd 'def', on line 4, changes to blue, the default highlight for defined names (those immediately following 'def' or 'class'). This is because deleting the '#' causes recoloring from there

[issue2190] MozillaCookieJar ignore HttpOnly cookies

2020-04-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue was closed as useless for Firefox in 2010 by the original poster, msg109958. My participation here is only as tracker triager, as I only have a consumer knowledge of cookies. Unfortunately, there is no core developer expert for http, let alone

[issue38787] PEP 573: Module State Access from C Extension Methods

2020-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: The PEP is listed as accepted, with you as the BDFL-delegate, but it lacks a link to the public acceptance message (usually on pydev list). The PR was not rejected by a core dev but was closed without explanation by the author on the same day the last

[issue40435] Failed to launch IDLE in a UTF-8 code page terminal environment

2020-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: The uploaded .png has the traceback. (Pasting it into the post would have been fine and a bit easier for all of us.) The error occurred when IDLE's config tried to load the user config files, ~/.idlerc/config-xyz.cfg. (~ is usually C:/Users/you

[issue40435] IDLE should catch user config file UnicodeDecodeError

2020-04-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Failed to launch IDLE in a UTF-8 code page terminal environment -> IDLE should catch user config file UnicodeDecodeError ___ Python tracker <https://bugs.python.org/issu

[issue40435] IDLE should catch user config file UnicodeDecodeError

2020-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I want this left open to fix IDLE exiting instead of continuing. The original IDLE authors could not anticipate all the things that users around the world (and OS developers) might do, and we maintainers are still plugging holes as they are reported

[issue40254] pyspecific directives are not translatable

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

[issue40256] Python 3.8 Not Launching on Bootcamp Windows 10.

2020-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume you mean the Mac Bootcamp program that allows one to run Windows on Macs. I don't know if it runs *all* Windows programs or whether we specifically support running Windows python under Bootcamp. I imagine that there might be problems with

[issue40262] SSL recv_into requires the object to implement __len__ unlike socket one

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

[issue40269] Inconsistent complex behavior with (-1j)

2020-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: After reading through the comments, I don't think we should change repr(complex) unless there is computational issue, such as eval(repr(z) != z. Raymond, I agree with your overlooked doc tweek. If you submit a PR, you can ask me to r

[issue40283] Documentation of turtle.circle()

2020-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: It would be bizarre if the current doc were correct, but have you verified by experiment that the change is correct? The patch itself would be trivial, hence the keyword addition. PR author can request that I review. -- keywords: +easy, newcomer

[issue40443] Remove unused imports in the stdlib (April 2020 edition)

2020-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 6900f16d2207ca4fc252fa9d778ca0b13a3c95e0 by Victor Stinner in branch 'master': bpo-40443: Remove unused imports in idlelib (GH-19801) https://github.com/python/cpython/commit/6900f16d2207ca4fc252fa9d778ca0b13a3c95e0 -

[issue40316] Add zero function to time, datetime, which acts as the use case of replace to limit resolution

2020-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I recommend posting this to python-ideas for discussion. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue40

[issue40377] APPDATA location in Microsoft Store version

2020-04-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> third party ___ Python tracker <https://bugs.python.org/issue40377> ___ ___ Python-bugs-list mailing list Un

[issue40256] Python 3.8 Not Launching on Bootcamp Windows 10.

2020-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'their website' == Apple's website? Homebrew's? Microsoft's? What about the Windows installer from python.org? -- ___ Python tracker <https:

[issue23937] IDLE: revise window size, placement startup options

2020-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think we are at the point where the General tab needs to be split into 2 tabs, or else widened. On my Macbook, the bottom buttons are not visible. One of the constraints of any change is that .idlerc/config-main.cfg remain compatible with older releases

[issue40460] [easy] undefined name in Lib/idlelib/zzdummy.py

2020-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, simple typo. I need to look at test_Zzdummy.py to see if it should have been failing with the typo. If this is executed, the end index must be 1 so that the loop never executes. -- ___ Python tracker

[issue40468] IDLE split "general" into two tabs

2020-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'Windows', not 'Window'. The indentation width should be moved to the Window page after being converted and reduced to a single line with a spinbox or maybe just an entry box. Indent spaces (standard 4) [ 4] # or Convert tab indents to

[issue18765] unittest needs a way to launch pdb.post_mortem or other debug hooks

2020-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would be more interested in being able to launch IDLE's visual debugger (likely after some revision) so I would want the hook to be general (as suggested by the current title) and not limited to only pdb. -- nosy: +terry.

[issue18765] unittest needs a way to launch pdb.post_mortem or other debug hooks

2020-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: See #36825 about making TextCase argument aware. -- ___ Python tracker <https://bugs.python.org/issue18765> ___ ___ Python-bug

[issue36825] Make TestCase aware of the command line arguments given to TestProgram

2020-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since test modules can already be run in parallel, #37873 does not seem relevant here. (And I agree with the intent of that.) I would be reluctant to add a mechanism with no current use, so I would not apply absent a decision to add one. -- nosy

[issue40382] Make 'rt' the default for open in docs

2020-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: The inconsistency might be a residue of the transition from 2.x. But the 'r' versus 'rt' confusion originates in the code and signature. The text 't' default is built into the code, while the read 'r' default is in

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

2020-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for noticing. As of this moment, http://www.python.org/about/help/ has 3 links to the https://github.com/python/pydotorg/issue repository and issue tracker, which contains the website. Website issues (as opposed to docs.python.org) should be

[issue40398] typing.get_args(Callable) fails

2020-05-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: get_args(Callable) fails -> typing.get_args(Callable) fails ___ Python tracker <https://bugs.python.org/issue40398> ___ _

[issue40414] Incorrect mouse and keyboard mapping

2020-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sequences 'a' and '1' are unambiguously interpreted as abbreviating '' and '', and similarly for any other printable ascii char. '' is interpreted also as '', but there is no reason to add the

[issue40416] Calling TextIOWrapper.tell() in the middle of reading a gb2312-encoded file causes UnicodeDecodeError

2020-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: OS? in case it matters -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue40416> ___ ___ Python-bugs-list m

[issue40416] Calling TextIOWrapper.tell() in the middle of reading a gb2312-encoded file causes UnicodeDecodeError

2020-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Change the line to 'print(f.tell())'. Are any lines printed before the error? -- ___ Python tracker <https://bugs.python.o

[issue40426] Unable to use lowercase hexadecimal digits for percent encoding

2020-05-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +orsenthil ___ Python tracker <https://bugs.python.org/issue40426> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40433] Equality operations between lists and arrays

2020-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not clearly a good idea. Lists and tuples with same contents do not compare equal, although set and frozenset do. I suggest that you post this idea to python-ideas list. -- nosy: +rhettinger, terry.reedy versions: -Python 3.5, Python 3.6

[issue40449] multi-line f-string, syntaxerror points to wrong line

2020-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: There have been issues about SyntaxError line pointing. Someone should test with 3.9.0xx to see if fixed but not backported (I cannot today), or search for existing error. -- nosy: +terry.reedy ___ Python

[issue40472] PEG parser disables IDLE Shell input > 2 lines

2020-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you Dennis. I was just about to post that after installing 3.8.3rc1 and 3.9.0a6 in a Macbook Air, with identical idlelib code, I confirmed the problem as specific to 3.9 and that $ python3.9 -X oldparser -m idlelib works around the issue. My python

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

2020-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Module 'autoexpand' has a class 'AutoExpand' imported by editor.py near the top. After rechecking the editor and config code, I am sure that the only way editor line 1115 could try to import *module* AutoExpand is if either idlelib/conf

[issue40468] IDLE split "general" into two tabs

2020-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since the help sources extend the Help menu, putting them under Extensions makes some sense. But I don't know how many people would think to look at the tab. But something to keep in mind. We can also ask for user opinions on idle-dev list. Note

[issue40416] Calling TextIOWrapper.tell() in the middle of reading a gb2312-encoded file causes UnicodeDecodeError

2020-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: The commit referenced above is for #33578. The symptoms for that issue were very similar, including involving a cjk codec. The change was not backported because it was seen an enhancement. Rob, if you try 3.8.2 or 3.8.3 (the release candidate was out

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

2020-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Everything from AutoComplete onwards has been added somehow and must be removed. The preliminary version of 3.8.3 was released last Wednesday. When the final version is released in a week or two, I recommend upgrading and getting the untouched .def files

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

2020-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Not until decision made. And not be me until I have my development machine running. -- ___ Python tracker <https://bugs.python.org/issue40

[issue40511] IDLE yellow hint frame blinks when entering () in strings in functions/classes

2020-05-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: 1. What OS and for Windows/Mac, version? 2. What Python release and from where and how installed? If not latest release of x.y, where x.y >= 3.7, consider upgrading. 3. Tcl/tk version (see Help => About IDLE? 4. How start IDLE? 5. What is a the m

[issue40517] Syntax highlighting for ASDL

2020-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I don't like the red Python in asdl2. Just black, perhaps bold, would be better. Also I like the darker blue in asdl.py, bold or not. Better contrast to me from the greens. But I agree that grape is too clashy. -- nosy: +terry.

[issue5879] multiprocessing example "pool of http servers " fails on windows

2020-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I said above, the example was removed from 3.x. At some point, they were all vetted for Windows execution or failure. Zach, thanks for reviewing 2.7 issues. -- resolution: -> out of date stage: needs patch -> resolved status: open -&g

[issue40517] Syntax highlighting for ASDL

2020-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I tried both a laptop and desktop and slightly prefer unbolded. How about a darker blue? -- ___ Python tracker <https://bugs.python.org/issue40

[issue2716] Document license under which audioop is used

2020-05-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.7, Python 3.8, Python 3.9 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue2

[issue40553] Python 3.8.2 Mac freezing/not responding when saving new programs

2020-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Zain, what I understand is: > python3.8 -m idlelib # To open idle from Terminal In IDLE, File=>New, then File=>SaveAs In dialog opened to Documents, enter name in Save As box, then click Save. For me 2012? Macbook Air with 10.14.6? Mohave and 3.8.3rc

[issue40565] is comparison returns False while ids are the same.

2020-05-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: python-list mailing list, mail.python.org, is one good place to ask "Is this a bug?" -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.o

[issue40474] Code coverage report not entirely accurate

2020-05-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Use git to find out who previously edited the file and request reviews from at least a couple. The 2 recommendations on the PR may be based on that, but good to check. -- nosy: +terry.reedy ___ Python tracker

[issue40481] Add include and exclude filters to zipapp cli

2020-05-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +paul.moore ___ Python tracker <https://bugs.python.org/issue40481> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40543] Tamil locale is using outdated encoding

2020-05-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +benjamin.peterson, ezio.melotti, lemburg, vstinner stage: -> needs patch type: -> enhancement versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/i

[issue40546] Inconsistencies between PEG parser and traceback SyntaxErrors

2020-05-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified that 3.8 puts the caret under '|', and agree that this is bug that should be fixed at least in a new version. Other such bugs have been fixed in the past. tk Text widgets have 1-based line numbers and 0-based column numbers. The

[issue40544] Formatter exception when using logging.config.fileConfig

2020-05-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +vinay.sajip ___ Python tracker <https://bugs.python.org/issue40544> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40547] 2to3 raise can silently remove code from old 2.4 string exceptions

2020-05-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue40547> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40557] Move captured_stdin(), captured_stdout(), and captured_stderr() to the public API.

2020-05-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am rather sure that test.support is going to remain private. So the concrete proposal should be to move them into the unittest package somewhere, perhaps in a new unittest.utils/support/helpers module, for battle-tested helper functions. I strongly

[issue40557] Move captured_stdin(), captured_stdout(), and captured_stderr() to the public API.

2020-05-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: The proposal should include the idea that the functions in test.support be replaced with from unittest.helpers import * # or from unittest.helpers import captured_stdin, ... so that a) no other changes need be made to existing tests and b) the possibility

[issue40561] Provide docstrings for public-facing webbrowser functions

2020-05-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Missing docstrings are almost a bug, but I am not sure if we backport additions. This needs the attention of a coredev to review, approve, and merge, but there is no particular 'webbrowser' maintainer. If no one shows up, you might use git to

[issue40553] Python 3.8.2 Mac freezing/not responding when saving new programs

2020-05-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: When I click Full Disk Access in Mohave, I see an empty box with a Header something like "All app to access Mail, ..., and all user data". None of it has anything obviously to do with the user Documents folder. Nor does it seem appropriate for

[issue40553] Python 3.8.2 Mac freezing/not responding when saving new programs

2020-05-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: What is acting up here is the Catalina system SaveAs dialog on some systems with some settings when closing after being asked to display the current contents of the target location, allow the content to be variously filtered or not, and add a default

[issue40561] Provide docstrings for public-facing webbrowser functions

2020-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Except is isn't, as he has been inactive for years. Git log may or may not show more recent commits. My dev machine is being repaired but should be back soon. -- ___ Python tracker <https://bugs.py

[issue40561] Provide docstrings for public-facing webbrowser functions

2020-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just got my development machine back, so I will handle this. I first determined that code and doc are same in all 3 versions (except for audit event bit, which I am willing to leave out). -- versions: +Python 3.7

[issue40561] Provide docstrings for public-facing webbrowser functions

2020-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Current open doc: https://docs.python.org/3.9/library/webbrowser.html#webbrowser.open -- ___ Python tracker <https://bugs.python.org/issue40

[issue40553] Python 3.8.2 Mac freezing/not responding when saving new programs

2020-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I asked about other people's experiences on python-list and got 2 responses so far. --- On macOS The default Save/Save as dialogs are short, only displaying a few major folders along with Favorites and Recents. That dialog doesn’t display folder con

[issue40561] Add docstrings for webbrowser open functions

2020-05-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Provide docstrings for public-facing webbrowser functions -> Add docstrings for webbrowser open functions ___ Python tracker <https://bugs.python.org/issu

[issue40591] \r broken in IDLE

2020-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is known, has been discussed on previous issues (can't find numbers now), and is not a bug. Your code outputs a stream of 21 characters to 'file' sys.stdout, which for code executed by IDLE is, by default, directed to Shell. The effec

[issue40561] Add docstrings for webbrowser open functions

2020-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ef7973a981ff8f4687ef3fdb85a69fa15aa11fe5 by Brad Solomon in branch 'master': bpo-40561: Add docstrings for webbrowser open functions (GH-1) https://github.com/python/cpython/commit/ef7973a981ff8f4687ef3fdb85a69f

[issue40561] Add docstrings for webbrowser open functions

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

[issue19956] inspect.getsource(obj.foo) fails when foo is an injected method constructed from another method

2020-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am working on an explanation of why I paused the PR. -- versions: +Python 3.9 -Python 3.5 ___ Python tracker <https://bugs.python.org/issue19

[issue40553] Python 3.8.2 Mac freezing/not responding when saving new programs

2020-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mat Wichmann responded "we had three of these in the last few weeks sent to webmas...@python.org. I just went back and pinged those folks with a request to look in on the issue, and contribute to it if they had anything new/useful t

[issue40553] Python 3.8.2 Mac freezing/not responding when saving new programs

2020-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond, can you run the tests I suggested above? -- ___ Python tracker <https://bugs.python.org/issue40553> ___ ___ Python-bug

[issue40553] Python 3.8.2 Mac freezing/not responding when saving new programs

2020-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: By 'preview', I meant the listing of existing file in the directory, such as Documents. IDLE displays this but, as I inferred and you and Bev confirmed, this is not standard on macOS, as there is a button (which I did not noticed before) to sh

[issue25920] PyOS_AfterFork should reset socketmodule's lock

2020-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does the example code (which should be posted here) still hang? If so, automated tests that hang indefinitely on failure are a nuisance. A revised example that failed after, say, a second would be better. -- nosy: +terry.reedy versions: +Python 3.9

[issue22652] Add suggestion about keyword arguments to this error message: "builtins.TypeError: my_func() takes 1 positional argument but 2 were given"

2020-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, I am nosying you because you have worked on argument issues in the last year. Minimal example: def f(a, *, b): pass. In 3.9.0a6, >>> f(1,2) # ... Same as 5 years ago. TypeError: f() takes 1 positional argument but 2 were given

[issue22652] Add suggestion about keyword arguments to this error message: "builtins.TypeError: my_func() takes 1 positional argument but 2 were given"

2020-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Also, python-ideas list is a good place to get more opinions (too many sometimes) on an enhancement proposal. -- ___ Python tracker <https://bugs.python.org/issue22

[issue40257] Improve the use of __doc__ in pydoc

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Whether or not an object has a docstring is implementation defined, and I do not consider it to be part of its API. I just backported some new docstrings (with Brett Cannon's concurrence), and I would consider it OK for Serhiy to do the same wit

[issue40586] Pydoc should support https for hyperlinks.

2020-05-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue40586> ___ ___ Python-bugs-list mailin

[issue40586] Pydoc should support https for hyperlinks.

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed. pydoc is a library module. 3.5 and 3.6 only get security patches. -- components: +Library (Lib) -Demos and Tools nosy: +serhiy.storchaka, terry.reedy ___ Python tracker <https://bugs.python.org/issue40

[issue40587] [regression] inspect.getdoc not returning docstring.

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: This change was part of #40257 and is being discussed there (where I suggested reverting it). -- nosy: +terry.reedy resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracke

[issue40600] Add option to disallow > 1 instance of an extension module

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Title clarified. Leaving subinterpreters aside, only one instance, AFAIK, is true for stdlib and python modules unless imported with different names, as can happen with main module (which is a nuisance if not a bug). So only once per interpreter seems

[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Titles should be in English (translated if quoting output). I am closing because there is no indication that there is a bug in Python, as opposed to a misunderstanding of how to use it. Extended help discussion is better conducted on python-list. For one

[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- type: crash -> behavior ___ Python tracker <https://bugs.python.org/issue40605> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue40620] Range tutorial shorthand could be made clearer

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: This block is the same in 3.9 and 3.8. My first though is this block is a holdover from 2.7, where range returned list. But looking at what is written previously, I think your interpretation is correct -- and agree that something other that code and

[issue40622] Tests fail with python3.6 built with VS2019

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Runtest itself ran to completion but the 4 tests listed failed. I suspect that this should be closed as "won't fix" because A. 3.6 only gets security fixes since Dec 2018. B. Locally built Windows binaries often fail a few tests, either o

[issue40590] test_subprocess stuck on Windows, x64

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: python -m test.testsubprocessing on my Win 10-64 with repository 3.9.0a6+, without your patch, produces minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN) minkernel\crts\ucrt\src\appcrt\lowio\close.cp

[issue40452] IDLE: preserve clipboard on closure on Windows

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please write out a manual test example (steps 1, 2, ..., N) that fails now and passes with the patch. -- title: IDLE preserve clipboard on closure (Windows) -> IDLE: preserve clipboard on closure on Windows versions: +Python 3.7, Python

[issue40590] test_subprocess stuck on Windows, x64

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: CI now passes. -- resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker <https://bugs.python

[issue40060] socket.TCP_NOTSENT_LOWAT is missing in official macOS builds

2020-05-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +macOS ___ Python tracker <https://bugs.python.org/issue40060> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40246] Different error messages for same error - invalid string prefixes

2020-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: > The >else"#fca"< code was added 6 years ago (commit > 8b95d5e0bf00d9d0098579d29fd6bb9322071879) That was my typo in turtledemo.__main__ (similar lines before had the space) and I wish that it had been caught then. Why did compil

[issue40431] turtledemo/__main__.py: SyntaxError: invalid string prefix else"#fca"

2020-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe the file was synchronized across versions as new features have not recently been added. Backporting the fix to my typo should keep it that way. This is an example of why code review even of patches that 'work' is a good thing. -

[issue40452] IDLE: preserve clipboard on closure on Windows

2020-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Now that I think about it, I have run into enough problems with ^V not pasting something copied with ^C that I always leave source windows open until successful. I had not noticed that there is only a problem between windows (but this may be true) or after

[issue40452] IDLE: preserve clipboard on closure on Windows

2020-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: eryksun, Piping to clip.exe is not working well. On the patch, I asked if you know what Windows system call it uses, but I cannot request your review there. -- nosy: +eryksun ___ Python tracker <ht

[issue19956] inspect.getsource(obj.foo) fails when foo is an injected method constructed from another method

2020-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Here is minimal reproducing code. import types import inspect class A: def say(self): print("A.say") a = A() class B: pass b = B() b.say = types.MethodType(a.say, b) Let us examine MethodType first. Calling 'b.say()' asks the p

[issue40452] IDLE: preserve clipboard on closure

2020-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks Tal. I should have inquired about behavior on *nix before putting so much effort into a Windows-only workaround, and not try to rush something into the beta coming out today or tomorrow. I will return to trying to do an invisible paste into a bare

[issue42433] mailbox.mbox fails on non ASCII characters

2020-11-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.7 ___ Python tracker <https://bugs.python.org/issue42433> ___ ___ Python-bugs-list mailin

[issue42433] mailbox.mbox fails on non ASCII characters

2020-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: (The non-ascii chars are “ and ”, versus ascii ".) Florian, although you did not select a 'Type', selecting multiple versions implicitly claims that the current behavior is a bug. I believe R.David has explained that it is not, even if sub-o

[issue42447] robotsparser deny all with some rules

2020-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue tracker is for proposing changes to the github CPython repository, used to make python.org python releases. Your post does not propose a change and does not demonstrate that there is a bug in current Python, which is 3.9. So my current opinion

[issue42436] Google use wrong "hightlight" argument

2020-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: With the same query, the first 4 responses for me are to the same page but for different Python versions. None of the URLs include the query string. `highlight=s` causes all the 's'es in the document to be highlighted, though with a different

[issue42392] remove the 'loop' parameter from __init__ in all classes in asyncio.locks

2020-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would attach simple PRs based on the discussion here to this issue. If a particular change needs additional and particular discussion, I would open a separate PR, announce it here, and list it in the Dependencies box. Then this generic issue, 'R

[issue42452] FIX Optimize 'rgb_to_hls'

2020-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset f9195318a863e237f41ed7665c767028cde1c9a3 by Julien Jerphanion in branch 'master': bpo-42452: Improve colorsys.rgb_to_hls code (GH-23306) https://github.com/python/cpython/commit/f9195318a863e237f41ed7665c767028cde1c9a3 -

[issue42452] Improve colorsys.rgb_to_hls code

2020-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The change was a suggested TODO in the code itself. -- resolution: -> fixed stage: -> resolved status: open -> closed title: FIX Optimize 'rgb_to_hls' -> Improve colorsys.rgb_to_hls code

[issue42469] Space in re's {min, max} should raise an error, rather than fail silently

2020-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pending further information, I believe that expecting '{1, 4}' to be interpreted as an re quantifier involves two mental errors: a) thinking that the domain specific re language allows optional whitespace and b) thinking that '{' is a sp

[issue11107] Cache constant "slice" instances

2020-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Batuhan Taskaya opened a duplicate issue #42454. Since it includes PR-23496, with some review, and at least as much discussion, I am closing this issue, contrary to normal policy. Worthwhile? Batuhan found about 10 constant slices in 3200 PyPI packages

[issue42454] Move slice creation to the compiler for constants

2020-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #11107 in favor of this issue. Some of the discussion and concerns (like slice hashing) was similar. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue42

[issue42478] ipaddress.IPv4network.interfaces()

2020-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Wyko, when responding by email, please delete the message you are responding to, as it is redundant when posted to the web page. -- nosy: +ncoghlan, terry.reedy stage: -> test needed versions: +Python 3.10 -Python

[issue42478] ipaddress.IPv4network.interfaces()

2020-11-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Library (Lib) ___ Python tracker <https://bugs.python.org/issue42478> ___ ___ Python-bugs-list mailing list Unsub

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