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
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
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
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/
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
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(),
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
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
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
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
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
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
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
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
Change by ANDRZEJ J. :
--
components: +FreeBSD -Interpreter Core
nosy: +kokik, koobs
___
Python tracker
<https://bugs.python.org/issue43901>
___
___
Pytho
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
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
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
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
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
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
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
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
Lukas J added the comment:
Ok thank you!
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
J Osell added the comment:
Done
--
___
Python tracker
<http://bugs.python.org/issue26631>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
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
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
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
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
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
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
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
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
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
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
Change by Terry J. Reedy :
--
resolution: -> out of date
stage: -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
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
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
Change by Terry J. Reedy :
--
nosy: +yselivanov
___
Python tracker
<https://bugs.python.org/issue46103>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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.
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
Change by Terry J. Reedy :
--
Removed message: https://bugs.python.org/msg408987
___
Python tracker
<https://bugs.python.org/issue43424>
___
___
Python-bug
Change by Terry J. Reedy :
Removed file: https://bugs.python.org/file50506/images (5).jpeg
___
Python tracker
<https://bugs.python.org/issue43424>
___
___
Python-bug
Change by Terry J. Reedy :
--
pull_requests: -28440
___
Python tracker
<https://bugs.python.org/issue43424>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
Change by Terry J. Reedy :
--
nosy: +epaine, serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue46146>
___
___
Python-bugs-list mailing list
Unsub
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.
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
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
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
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
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
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
Change by Terry J. Reedy :
--
nosy: +eric.araujo
___
Python tracker
<https://bugs.python.org/issue46126>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Terry J. Reedy :
--
Removed message: https://bugs.python.org/msg409173
___
Python tracker
<https://bugs.python.org/issue46177>
___
___
Python-bug
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
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
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
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
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
Change by Terry J. Reedy :
--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
___
Python tracker
<https://bugs.python.org/issue46
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
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
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
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
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
Change by Terry J. Reedy :
--
components: +asyncio
nosy: +asvetlov, yselivanov
___
Python tracker
<https://bugs.python.org/issue46223>
___
___
Python-bugs-list m
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
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
Change by Terry J. Reedy :
--
stage: -> needs patch
___
Python tracker
<https://bugs.python.org/issue46237>
___
___
Python-bugs-list mailing list
Unsubscrib
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 - 100 of 13130 matches
Mail list logo