[issue37405] socket.getsockname() returns string instead of tuple

2021-03-22 Thread FRANK BENNETT


FRANK BENNETT  added the comment:

$ make test TESTOPTS="-v test_socket"

ERROR: testSendFrame (__main__.CANTest)
--
Traceback (most recent call last):
  File "/s/opt/cpython/debug/test_socket.py", line 2052, in testSendFrame
self.assertEqual(addr[1], socket.AF_CAN)
IndexError: tuple index out of range

$ cat ../.git/config
https://github.com/bennett78/cpython.git

$ uname -r
5.4.0-67-genericg$ cat /etc/issue
Ubuntu 20.04.2 LTS \n \l

$ /s/opt/cpython/debug$ ./python -V
Python 3.10.0a6+

--
components: +Tests -Documentation, Extension Modules
nosy: +bennett78
versions: +Python 3.10 -Python 3.7

___
Python tracker 
<https://bugs.python.org/issue37405>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43606] initial huge window && no widgets visible

2021-03-23 Thread FRANK BENNETT


New submission from FRANK BENNETT :

with any PySimpleGUI, tkinter, tk, *.py

The initial window is huge & with a size no widgets are visible

fwb@fw:/s/opt/cpython$ uname -r
5.4.0-67-generic

fwb@fw:/s/opt/cpython$ cat /etc/issue
Ubuntu 20.04.2 LTS \n \l

fwb@fw:/s/opt/cpython$ ./python -V
Python 3.10.0a6+fwb@fw:/s/opt/cpython$ cat .git/config 
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://github.com/bennett78/cpython.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master


What sets initial window configuration ?

--
components: Tkinter, Windows
files: t4.py
messages: 389403
nosy: bennett78, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: initial huge window  && no widgets visible
type: behavior
versions: Python 3.10, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file49906/t4.py

___
Python tracker 
<https://bugs.python.org/issue43606>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43606] PySimpleGUI: initial huge window & no widgets visible

2021-03-23 Thread FRANK BENNETT


FRANK BENNETT  added the comment:

How about the following - title ok but no label visible ?

# t8.py
import tkinter as tk

class Application(tk.Tk):
def __init__(self):
tk.Tk.__init__(self)
self.geometry('500x500')
self.title('Your first App')

first_label = tk.Label(self, text = "I'm a cool App!!", font=10, 
bg="black",fg="red" )
first_label.pack(pady= 2, padx = 2)

app = Application()
app.mainloop()

--

___
Python tracker 
<https://bugs.python.org/issue43606>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43606] PySimpleGUI: initial huge window & no widgets visible

2021-03-24 Thread FRANK BENNETT


FRANK BENNETT  added the comment:

fwb@fw:/s/opt/cpython/debug$ ./python -V
Python 3.10.0a6+

--

___
Python tracker 
<https://bugs.python.org/issue43606>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43606] PySimpleGUI: initial huge window & no widgets visible

2021-03-24 Thread FRANK BENNETT


FRANK BENNETT  added the comment:

Roundup requires submission inplain text...forget how to turn this off in 
thunderbird...sounds like a left over from microsoft emailers...how do I 
see/respond to comments with an issue ?

On 3/24/21 9:37 AM, Serhiy Storchaka wrote:
> Serhiy Storchaka  added the comment:
>
> PySimpleGUI is not a part of the stdlib.
>
> If you have problems with pure Tkinter, look if you have files .Xdefaults or 
> .Xresources in your home directory. They can alter default look of Tk 
> widgets. Try to remove them and test whether the problem is gone.
>
> If the problem is still here, perhaps you have some fonts misconfiguration.
Good suggestion but same results...
  Tkinter ? Python 3.10 wants tkinter
> ___
> Python tracker 
> <https://bugs.python.org/issue43606>

--
components:  -Tkinter

___
Python tracker 
<https://bugs.python.org/issue43606>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com