[issue40247] Logged out of user when running Tkinter

2020-04-10 Thread J
New submission from J : Whenever I run a python script with any Tkinter command, I get instantly logged out of my user. I have been using Tkinter for weeks now and it was running just fine until yesterday when I clicked the demo button in the default taskbar that shows up when launching a

[issue40247] Logged out of user when running Tkinter

2020-04-18 Thread J
J added the comment: Thanks for reaching out. I solved the issue following @tcarroll2's solution from: https://github.com/pyenv/pyenv/issues/1375 The issue doesn't occur when using pyenv. It seems that the issue may have been caused by python sticking to the mac provided tkinter (v

[issue15211] Test

2012-06-27 Thread j
New submission from j : asdf fsa sads f -- assignee: collinwinter components: Benchmarks messages: 164190 nosy: collinwinter, jgbw priority: normal severity: normal status: open title: Test type: crash versions: Python 3.1 ___ Python tracker <h

[issue1410] BaseHTTPServer cannot accept Unicode data

2007-11-08 Thread J. Peterson
Changes by J. Peterson: -- components: Library (Lib) nosy: isonno severity: normal status: open title: BaseHTTPServer cannot accept Unicode data type: behavior versions: Python 2.5 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1410] BaseHTTPServer cannot accept Unicode data

2007-11-08 Thread J. Peterson
New submission from J. Peterson: Within a do_GET hander for a BaseHTTPServer.BaseHTTPRequestHandler, trying to write unicode data causes a UnicodeEncodeError exception. It should be possible to send Unicode data to the browser. The enclosed Python file demonstrates the issue. Added file: http

[issue1410] BaseHTTPServer cannot accept Unicode data

2007-11-08 Thread J. Peterson
J. Peterson added the comment: The diagnostic printed is: File "C:\Apps\Python25\lib\socket.py", line 255, in write data = str(data) # XXX Should really reject non-string non-buffers The comment indicates the developer was aware of the bug. See also similar bug in writelines(),

[issue1410] BaseHTTPServer cannot accept Unicode data

2007-11-09 Thread J. Peterson
J. Peterson added the comment: As implemented it's not even possible to send UTF-8, because the "data = str(data)" line only accepts seven bit ASCII with the default encoding. Since there's no easy way to change the encoding "str()" uses, some other mechanism

[issue10149] Data truncation in expat parser

2010-10-19 Thread Maciek J
New submission from Maciek J : Not sure if this is a Python problem or an expat problem, but I get truncated data while parsing XML documents. This particular project is for parsing an XML file of Wikipedia dump. The attached files are: * xml-parse-revisions.py - parser script * revision

[issue10149] Data truncation in expat parser

2010-10-20 Thread Maciek J
Maciek J added the comment: Hm... It turns out that there is a "buffer_text" attribute: http://docs.python.org/library/pyexpat.html#xml.parsers.expat.xmlparser.buffer_text And setting this attribute to "True" seems to solve the problem. It solves my problem, but docs are

[issue10149] Data truncation in expat parser

2010-10-21 Thread Maciek J
Maciek J added the comment: I'm not familiar with the rst format, but I hope this works. -- keywords: +patch Added file: http://bugs.python.org/file19329/pyexpat.rst.patch ___ Python tracker <http://bugs.python.org/is

[issue10149] Data truncation in expat parser

2010-11-13 Thread Maciek J
Maciek J added the comment: Couldn't compile to html at the moment, but it should be fine anyway. Note that I didn't wanted to start a new paragraph (I'm guessing you meant the sentence at line 13 of the patch) as there was no new paragraph in a previous version. -- A

[issue5833] readline update

2011-02-10 Thread J. Evans
J. Evans added the comment: I have no problem splitting the patch into multiple files. When I do so, do I place them here or open separate tickets for each component? Or if you guys want to just close out the ticket since the actual bug was fixed, I am okay with that too. We will probably

[issue47093] Documentation Fix: Remove .bat when activating venv on windows

2022-03-22 Thread J Y
New submission from J Y : https://docs.python.org/3/tutorial/venv.html For windows, tutorial-env\Scripts\activate.bat doesn't appear to set up venv successfully. Instead, tutorial-env\Scripts\activate (without .bat) works. This may confuse new users if this is not rect

[issue47093] Documentation Fix: Remove .bat when activating venv on windows

2022-03-25 Thread J Y
J Y added the comment: Do you think it's worth changing it to just activate and adding a footnote mentioning the variations as I've been a dev for a few years now and it stumped me for a minute as I work in a few different envs. Mainly thinking of making setting up venv&#x

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-25 Thread ANDRZEJ J.
Change by ANDRZEJ J. : -- components: +FreeBSD -Interpreter Core nosy: +kokik, koobs ___ Python tracker <https://bugs.python.org/issue43901> ___ ___ Pytho

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

2021-06-11 Thread Kaustubh J
Change by Kaustubh J : -- keywords: +patch nosy: +thsubaku9 nosy_count: 5.0 -> 6.0 pull_requests: +25267 pull_request: https://github.com/python/cpython/pull/26672 ___ Python tracker <https://bugs.python.org/issu

[issue41042] import searches for package even after file was found successfully

2020-06-19 Thread Michael J.
New submission from Michael J. : Hello, Earlier today, I was developing a program and I wanted to check its variables after it finished running. Simply going into a terminal, entering my program's directory, and executing "python3 index.py" would return control to the command

[issue41042] import searches for package even after file was found successfully

2020-06-19 Thread Michael J.
Michael J. added the comment: Attached I have a file containing the script for my program. It's obviously incomplete, but it will work as a sample file for demonstrating the output and behavior of the interpreter. (1/2) -- Added file: https://bugs.python.org/file49254/ind

[issue41042] import searches for package even after file was found successfully

2020-06-19 Thread Michael J.
Michael J. added the comment: This is a screenshot of the output I received when I ran index.py in a terminal. As you can see, it imports the script OK, but then it tries to find index as a package, and it fails and prints an error. (2/2) -- Added file: https://bugs.python.org

[issue41750] unpractical printing of datetimes by the interpreter

2020-09-09 Thread J Rt
New submission from J Rt : I think the way datetimes get printed by the interpreter is a bit unpractical. For example: datetime.datetime(2020, 9, 9, 8, 0, tzinfo=) The reason for the inpracticality is that this cannot be put right into python back: >>>datetime.datetime(2020, 9

[issue35985] Folding tries to slice from 0 to float("+inf") when maxlength is 0

2019-02-13 Thread Lukas J
New submission from Lukas J : When converting an email.message.Message with the policy set to email.policy.EmailPolicy with all default settings, I eventually end up with this exception: File "/usr/lib/python3.7/email/_header_value_parser.py", line 2727, in _fold_as_ew

[issue35985] Folding tries to slice from 0 to float("+inf") when maxlength is 0

2019-02-13 Thread Lukas J
Lukas J added the comment: Indeed it is. Sorry I didn't find it before. So it seems that changing float("+inf") to sys.maxsize would solve the problem? I've tried it in an interactive shell: >>> a = "asd&quo

[issue35985] Folding tries to slice from 0 to float("+inf") when maxlength is 0

2019-02-13 Thread Lukas J
Lukas J added the comment: Minimal example: import email.policy import email.mime.text responsehtml = "somehtmlbody" msg = email.mime.text.MIMEText(responsehtml, "html", policy=email.policy.EmailPolicy()) msg["to"] = "t...@example.com" msg["c

[issue35985] Folding tries to slice from 0 to float("+inf") when maxlength is 0

2019-02-13 Thread Lukas J
Lukas J added the comment: Ok thank you! -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32840] Must install python 3.6.3 when 3.6.4 already installed

2018-02-13 Thread J. Morton
New submission from J. Morton : Got a 0x8070666 "Setup Failed - another version installed" popup message when installing 3.6.3 with 3.6.4 and 3.5.1 already installed (all are "just for me" installs). The problem is independent of word length. It should be possible to insta

[issue33335] turtle.onkey doesn't pass key information when key is None

2018-04-22 Thread J E
New submission from J E : I use the turtle module to teach Python to university students. The turtle.onkey function allows a program to register a callback function to handle a keyboard when the turtle window has a focus. For example, this call will result in myfun() getting called when the

[issue23239] SSL match_hostname does not accept IP Address

2017-09-27 Thread j-harbott
j-harbott added the comment: The original issue still exists in py27, is there a chance to get the fix backported? See https://github.com/pyca/cryptography/issues/3943 and https://github.com/shazow/urllib3/issues/1269 for sample issues that arise because we need to work around this one

[issue31771] tkinter geometry string +- when window ovelaps left or top of screen

2017-10-12 Thread Peter J
New submission from Peter J : the root.geometry() top-level window method returns strings like "212x128+-9+-8" when the window is located in the top left corner. The documentation only describes geometry strings containing + or - location coordinates. If this is correct beha

[issue31869] commentary on ssl.PROTOCOL_TLS

2017-10-25 Thread J Sloot
New submission from J Sloot : on https://docs.python.org/2/library/ssl.html#ssl.PROTOCOL_TLS for ssl.PROTOCOL_TLS When the commentary from ssl.PRTOCOL_TLS moved from PROTOCOL_SSLv23 to PROTOCOL_TLS the note {Despite the name, this option can select "TLS" protocols as well as &qu

[issue32508] Problem while reading back from a list of lists

2018-01-06 Thread J Viswanathan
New submission from J Viswanathan : Please see the attached source file, the related data file and the log file. When run with python hksu_copy.py check_su.dat the following is the output (which is incorrect): -*- mode: compilation; default-directory: "c:/Users/J V/Documents/ga

[issue32508] Problem while reading back from a list of lists

2018-01-07 Thread J Viswanathan
J Viswanathan added the comment: Thanks for your sensible advice to produce a short, self-contained and correct example. Attached is the input file (35 lines, 770 bytes) and log (14 lines) Description of the problem and bug: The data consists of 6 triplets. The

[issue22516] Windows Installer won't - even when using "just for me"option

2014-09-29 Thread J. Morton
New submission from J. Morton: Could not install 3.4.1 on Windows 7 Enterprise SP1 using the .MSI installer, even when using the ”just for me” option (our IM department has not given us the necessary rights to run the .MSI installer even in this mode). Please consider providing 3.4.1 (and all

[issue5833] readline update

2009-07-27 Thread J. Evans
J. Evans added the comment: Some clarification about the rest of the patch: -- We tested the readline fix with version 5.2 and it seemed to work, we did not do a thorough test with it, or with any other version. -- When I supplied the patch I supplied the patch that we use when building

[issue5314] http client error

2009-02-19 Thread cober J
New submission from cober J : Try to use http to send multi-byte utf8 data. File "E:\DEVELOP\python\lib\http\client.py", line 904, in _send_request self.endheaders(body.encode('ascii')) UnicodeEncodeError: 'ascii' codec can't encode character '\u7231

[issue5833] readline update

2009-04-24 Thread J. Evans
New submission from J. Evans : Attached is a patch file that will update the readline functionality of python in the following ways: -- makes the tab-expand module be compatible with readline v6.x (fixes the annoying extra-space bug) -- removes '~$-/' from the completer chars list t

[issue29322] SimpleCV error on Raspberry Pi

2017-01-19 Thread Michael J
New submission from Michael J: Hello, I'm using a Microsoft LifeCam with SimpleCV on the ipython interpreter(or shell) on a Raspberry Pi 3 model B(with Raspbian, tell me if you need the exact OS version as it's quite complicated). I'm following the directions of a book: Raspbe

[issue16365] IDLE for Windows 8

2013-03-11 Thread j s
j s added the comment: I had this issue too, I realised that I had installed the 32bit version on a machine running 64bit. So I uninstalled and installed the 64bit and it's fine now. -- nosy: +evilpandas ___ Python tracker <http://bugs.py

[issue17569] urllib2 urlopen truncates https pages after 32768 characters

2013-03-28 Thread J Porter
New submission from J Porter: When using urllib2 to fetch page data from an https server, I found that only the first 32768 characters of the download were retrieved. Other browsers returned the full documents, so it does not appear to be a server issue. If http, rather than https is used on

[issue17569] urllib2 urlopen truncates https pages after 32768 characters

2013-03-29 Thread J Porter
J Porter added the comment: Here is the code (security info removed) and the output. I noticed that the problem is a bit different between 2.6.5 and 2.7.3 (on one the use of authentication is different) so I've included the output for both: import urllib2 userData="Basic KEY

[issue26319] Check recData size before unpack in zipfile

2016-02-09 Thread j w
New submission from j w: Encountered on version: 2.7.3 Exception message: "error: unpack requires a string argument of length 22" Stack trace: ... elif zipfile.is_zipfile(_file):> File "/usr/lib/python2.7/zipfile.py", line 152, in is_zipfile> result = _check_z

[issue26631] Unable to install Python 3.5.1 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2016-03-23 Thread J Osell
New submission from J Osell: Unable to install Python 3.5.1 on Windows 10 - Error 0x80070643: Failed to install MSI package. -- components: Installation files: Python 3.5.1 (64-bit)_20160323181333.log messages: 262313 nosy: oselljr priority: normal severity: normal status: open title

[issue26631] Unable to install Python 3.5.1 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2016-03-25 Thread J Osell
Changes by J Osell : Added file: http://bugs.python.org/file42294/Python 3.5.1 (64-bit)_20160323181333_000_core_JustForMe.log ___ Python tracker <http://bugs.python.org/issue26

[issue26631] Unable to install Python 3.5.1 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2016-03-25 Thread J Osell
J Osell added the comment: Done -- ___ Python tracker <http://bugs.python.org/issue26631> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue22516] Windows Installer won't - even when using "just for me"option

2015-03-20 Thread J. Morton
J. Morton added the comment: First, thanks for the comments - perhaps there's hope. But from the viewpoint of a typical user (who does not care about what goes on in the background), some of what has been said does not match the realities of development in a corporate environmen

[issue22516] Windows Installer won't - even when using "just for me"option

2015-04-02 Thread J. Morton
J. Morton added the comment: As the originator, I've noticed that the discussion (while illuminating - and a lot more than I expected!) seems to have gone off on several tangents. I'd like to remind everyone that this request is for an unrestricted Windows install (e.g. "bina

[issue23469] Delete Misc/*.wpr files

2021-12-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since the files have effectively been abandoned, I think removing them should be considered now. The three files in /Misc, for wing-3, 4, and 5, are python-wing3.wpr python-wing4.wpr python-wing5.wpr The current version of Wing is 8.1.1. The files were

[issue23469] Delete Misc/*.wpr files

2021-12-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: url: https://github.com/python/cpython/blob/main/Misc/python-wing5.wpr -- ___ Python tracker <https://bugs.python.org/issue23

[issue46052] Ctrl+C, C+V in IDLE on Windows do not work with Cyrillic keys

2021-12-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE is a tkinter application and tkinter wraps the tcl/tk GUI framework. Your problem is mostly in the interaction between Windows, your Cyrillic input method, and tk. As a test, run import tkinter as tk r = tk.Tk() t = tk.Text(r) t.pack() Click in the

[issue46052] Ctrl+C, C+V in tk.Text on Windows do not work with Cyrillic keys

2021-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: It appears that your particular keyboard program is translating Ctrl + letter key combinations to something other than the default Ascii Control-letter code. Do you see the same problem with Notepad? To test what tcl/tk and hence tkinter see, expand the

[issue46052] Ctrl+C, C+V in tk.Text on Windows do not work with Cyrillic keys

2021-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a duplicate of #31244, but I continue here with more experiments using the code above. I first confirmed that on Windows, CapsLock is really 'caps inversion. Keycode 67 is the keycode for 'C' given in https://www.tcl.tk/man/tcl/TkC

[issue31244] IDLE: work around shortcuts bug in Windows' IMEs and tk

2021-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: What makes IDLE different from other desktop apps is that is it written in Python, uses the tkinter wrapping of cross-platform tcl/tk, and allows users to customize nearly all hotkey shortcuts. But tk only allows Ascii chars, with modifiers, for hotkeys

[issue46052] IDLE: make Ctrl, Alt + IME non-ascii letter work on Windows

2021-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #31244 as a duplicate of this. The modifier code for tkinter.Event.__repr__ can be used to construct the modifier part of the reconstructed event sequence. Just join with '-' instead of '|'. -- title: Ctrl+C, C+V in t

[issue46052] IDLE: make Ctrl, Alt + IME non-ascii letter work on Windows

2021-12-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you Eryk. The X/Ubuntu behavior is what I want to simulate. I can only wonder why tk has not fixed that for non-X systems. Are Alt+letter combinations also fixed on Ubuntu, so that, for instance, Alt+M-key is seen as Alt-M even with Russian layout

[issue30716] Failing tests with installed 3.6.2rc1 on Win 10-64

2021-12-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> out of date stage: -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.or

[issue46062] tkinter.filedialog.SaveAs: create new folder on Ubuntu?

2021-12-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not an IDLE issue, as IDLE merely calls tkinter.filedialog.SaveAS(args).show() and uses the returned path to open and write the file. This is likely not a tkinter issue either, but I will leave it open for now for others to comment. SaveAs

[issue44413] OverflowError: mktime argument out of range after 2019

2021-12-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you both. Status: Failures on Open Suse TW (Vyacheslav) and Ubuntu 20-04 (Daniel McDonald, Github Actions, and Azure Pipelines). Success on Windows (me), macOS (Catalina-me and 11.6.1-DM), Centos 7.9 and Ubuntu 18-04 (both DM) I verified that the

[issue46117] tk could not refresh auto in mac os

2021-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE is neither the Python it is written it, nor the tkinter module it depends on. For this tracker, this is at most a tkinter on macOS 12 issue. But I suspect that it is an issue of the 3rd party tcl/tk on the new macOS version. There have been others

[issue20741] Documentation archives should be available also in tar.xz format

2021-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://docs.python.org/3/download.html says a) tar.bz2 can be read by the tar program, which I presume is true also of tar.xz. So there is no issue of *needing* two separate programs. It also claims "The .tar.bz2 archives provide the best compressio

[issue46051] Make @atexit.register work for functions with arguments

2021-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: You might post on python-ideas list to get comments from other possible users. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue46

[issue44896] AttributeError in ast.unparse

2021-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: #46073 may be a duplicate of this and perhaps should have the same resolution. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue44

[issue46103] inspect.getmembers will call the instance __bases__ attribute, which may cause an exception

2021-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR edits inspect._getmembers. I nosied people who have edited it previously. -- nosy: +ethan.furman, ping, pitrou, terry.reedy ___ Python tracker <https://bugs.python.org/issue46

[issue46103] inspect.getmembers will call the instance __bases__ attribute, which may cause an exception

2021-12-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +yselivanov ___ Python tracker <https://bugs.python.org/issue46103> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46110] compile("-"*3000000 + "4", '', mode) causes hard crash

2021-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Windows, IDLE, 3.10.1: compile("-"*300 + "4", '', mode) crashes execution process for any of 'exec', 'eval', 'single'. #42609 is also about 'too high' string multiplication wi

[issue46117] tk could not refresh auto in mac os

2021-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The macOS system tk, 8.5.9, is over a decade old and buggy. python.org python now always uses the recent 8.6 version included with the installer. -- ___ Python tracker <https://bugs.python.org/issue46

[issue46051] Make @atexit.register work for functions with arguments

2021-12-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, that is the list. Serhiy, can you comment on using atexit.register and classmethod decorators together? Or suggest someone else? -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.

[issue44413] Improvement mktime error reporting

2021-12-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Daniel, I believe your proposal is an enhancement request that could only be implemented in a future version. I changed headers accordingly. I leave it to Christian or someone else to evaluate the request itself. -- title: OverflowError: mktime

[issue43424] Document the `controller.name` field in `webbrowser` module

2021-12-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg408987 ___ Python tracker <https://bugs.python.org/issue43424> ___ ___ Python-bug

[issue43424] Document the `controller.name` field in `webbrowser` module

2021-12-21 Thread Terry J. Reedy
Change by Terry J. Reedy : Removed file: https://bugs.python.org/file50506/images (5).jpeg ___ Python tracker <https://bugs.python.org/issue43424> ___ ___ Python-bug

[issue43424] Document the `controller.name` field in `webbrowser` module

2021-12-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -28440 ___ Python tracker <https://bugs.python.org/issue43424> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43424] Document the `controller.name` field in `webbrowser` module

2021-12-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Zach, gaurawgoshwami is a spammer. Deleted added nosy, unlinked spam file and unrelated PR. I have no idea what 'repository containing patch' means or how g. created link to non-existent? file. -- nosy: -asvetlov, barry, dstufft, e

[issue46146] Python IDLE fails to start (tk font issue?)

2021-12-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: (This is behavior, not crash issue, as the latter is when there is no traceback.) The editor code was added 3 years ago in #37929, PR-15452, to correct using the configured char width after font and window size changes make that invalid. It is based on

[issue46146] Python IDLE fails to start (tk font issue?)

2021-12-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: On a system where IDLE will not start, the code has to be run directly with 'python3', however that is done there. One will need to add the line 'r.mainloop()' at the end of the script to see the tk window. However, this is not neede

[issue46146] Python IDLE fails to start (tk font issue?)

2021-12-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy: Matej Cepl (SUSE) asks about tk and Wayland switch. Do you know anything? -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue46

[issue46146] Python IDLE fails to start (tk font issue?)

2021-12-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +epaine, serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue46146> ___ ___ Python-bugs-list mailing list Unsub

[issue4079] urllib.requst.Request 'timeout' attribute needs to have a default

2021-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: urllib2 became urllib.request in 3.x. In 2.6, 'timeout' became a parameter of both urlopen and OpenerDirector.open. In both cases the default was and is the 'global default timeout setting'. So 'timeout' has a default.

[issue2756] urllib2 add_header fails with existing unredirected_header

2021-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Bug needs to be verified on 3.10 or 3.11. -- nosy: +terry.reedy versions: +Python 3.10, Python 3.11 -Python 2.6, Python 2.7 ___ Python tracker <https://bugs.python.org/issue2

[issue2756] urllib.request.add_header fails with existing unredirected_header

2021-12-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: urllib2 add_header fails with existing unredirected_header -> urllib.request.add_header fails with existing unredirected_header ___ Python tracker <https://bugs.python.org/iss

[issue46126] Unittest output drives developers to avoid docstrings

2021-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I also use comments in lieu of docstrings for text_xyx methods because I find the addition of the first line of the docstring in error reports to be useless, distracting, and sometimes, depending on the content, confusing. If the error is in the test

[issue46166] Get "self" args or non-null co_varnames from frame object with C-API

2021-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pablo, Mark: I am guessing that at least one of you know about this. -- nosy: +Mark.Shannon, pablogsal, terry.reedy ___ Python tracker <https://bugs.python.org/issue46

[issue46172] [doc] Outdated description of `license` object

2021-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows, with the python.orgs 3.9.9, 3.10.1, and 3.11.0b3 installers, 'licence' displays the documented text. Ditto for all 3 build from repository. Ditto for 3.10.1 on Mac. The behavior is set, I believe, in site.py, so your system ignor

[issue46174] Feature Request for Python Interfaces

2021-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: (IDLE does not support typing.Protocol classes, because no one has proposed that it do so, let alone submit a patch.) A new keyword requires a PEP that specifies the syntax for an 'interface' statement and what such a statement would do. You sh

[issue46126] Unittest output drives developers to avoid docstrings

2021-12-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +eric.araujo ___ Python tracker <https://bugs.python.org/issue46126> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46177] can't install launcher for all users

2021-12-31 Thread Terry J. Reedy
Change by Terry J. Reedy : Removed file: https://bugs.python.org/file50521/Annotation 2021-12-25 165843.png ___ Python tracker <https://bugs.python.org/issue46

[issue46177] can't install launcher for all users

2021-12-31 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg409173 ___ Python tracker <https://bugs.python.org/issue46177> ___ ___ Python-bug

[issue46180] Button clicked failed when mouse hover tooltip and tooltip destroyed

2021-12-31 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +serhiy.storchaka stage: -> test needed type: crash -> behavior versions: +Python 3.11 -Python 3.8 ___ Python tracker <https://bugs.python.org/i

[issue46181] Destroying an expaned Combobox prevents Entry focus until Alt+Tab

2021-12-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Win10, Py 3.11: run combobug.py, click down arrow, click entry. 'changed' is printed to stdout (console or IDLE Shell). Cursor not visible and clicking on remaining entry box does nothing. Click on another window and back to entry box. Cursor is

[issue46206] Crash when editing emoji containing strings

2021-12-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Win10 command prompt, 😀 is initially displayed as 2 boxes, subsequently as box-space. Besides this, editing works fine and when Entered, the string is echoed. -- nosy: +pablogsal, terry.reedy ___ Python

[issue46213] webbrowser.open doesn't work in Termux

2021-12-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://termux.com/ "Termux is an Android terminal emulator [on Android] and Linux environment app" I don't believe that core devs (and b.p.o.) support running Python on Android. If so, this should be closed here and your question redire

[issue46217] 3.11 build failure on Win10: new _freeze_module changes?

2021-12-31 Thread Terry J. Reedy
New submission from Terry J. Reedy : Installed 3.11.0a3 was built Dec 8 2021, 22:56:33. My corresponding repository build is a bit older than that. Rebuilding now I get fileutils.c ..\Python\fileutils.c(2132): error C2065: 'PATHCCH_FORCE_ENABLE_LONG_NAME_PROCE SS': undeclared

[issue46217] 3.11 build failure on Win10: new _freeze_module changes?

2021-12-31 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue46

[issue46110] compile("-"*3000000 + "4", '', mode) causes hard crash

2022-01-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does python_startup benchmark start with all modules parsed and __pycache__d, or with no cache, so it includes the normally one-time parse time? -- ___ Python tracker <https://bugs.python.org/issue46

[issue46181] Destroying an expaned Combobox prevents Entry focus until Alt+Tab

2022-01-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From what I understand, this issue is about a somewhat esoteric tk-design or >program bug and should be closed as either 'not a bug' or '3rd-party'. -- ___ Python tracker <https

[issue46280] About vulnerabilities in Cpython native code

2022-01-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Last I knew, CPython C code is a) regularly scanned by Valgrind and b) Valgrind is somehow informed as to false positives to not report. But I know none of the details. So I suggest you look into this and how to not report the same false positives. I

[issue46217] 3.11 build failure on Win10: new _freeze_module changes?

2022-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Let me be clearer. This bug prevents me from building main (3.11) to test anything with a proper up-to-date 3.11 binary. So to me this is highest priority. Is this just my machine or every Windows system? How are CI and buildbots rebuilding and running

[issue46220] imaplib.py "select" mailbox names containing spaces.

2022-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume you mean the mailbox parameter of imaplib.IMAP.select(). https://docs.python.org/3/library/imaplib.html#imaplib.IMAP4.select IMAP4.select(mailbox='INBOX', readonly=False) Select a mailbox. Returned data is the count of messages

[issue46223] asyncio cause infinite loop during debug

2022-01-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +asyncio nosy: +asvetlov, yselivanov ___ Python tracker <https://bugs.python.org/issue46223> ___ ___ Python-bugs-list m

[issue42209] Incorrect line reported in syntax error

2022-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Arian-f's new issue is #46237. -- nosy: +terry.reedy superseder: -> Incorrect line reported in syntax error ___ Python tracker <https://bugs.python.org

[issue46237] Incorrect line reported in syntax error

2022-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since #42209 was closed, a new issue seems OK. As a result of the incorrect line number, IDLE highlights one of the opening quotes on line 1. -- nosy: +pablogsal, terry.reedy -eric.smith versions: +Python 3.11

[issue46237] Incorrect line reported in syntax error

2022-01-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> needs patch ___ Python tracker <https://bugs.python.org/issue46237> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue46282] print() docs do not indicate its return value

2022-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: How about following "The Python interpreter has a number of functions and types built into it that are always available. They are listed here in alphabetical order." in https://docs.python.org/3/library/functions.html with "Here and elsewher

  1   2   3   4   5   6   7   8   9   10   >