New submission from FeRD (Frank Dana) :
socket._GLOBAL_DEFAULT_TIMEOUT's status as a bare object() instance has been
brought up before (bpo-12441). That was reported as a bug, but appeared to stem
from developer confusion, so it was correctly closed as "not a bug". At the
FeRD (Frank Dana) added the comment:
Readding Tal to the nosy list, since my previous comment was inadvertently
accompanied by an eviction! (Sorry about that.)
--
nosy: +taleinat
___
Python tracker
<https://bugs.python.org/issue46
Frank Feuerbacher added the comment:
Using casefold did not help
ubuntu Lang is en_US.UTF-8
[GCC 9.3.0] on linux
>>> folded_1: str = "Turkish I: İı".casefold()
>>> folded_2: str = "tUrkİsh i: iI".casefold()
>>> print(folded_1)
turkish i: i
FeRD (Frank Dana) added the comment:
Maybe,
"""
This won’t work for __main__.py files in the root directory of a .zip file
though. Thus, for consistency, it is usually preferred to place code in other
modules. That code can then be invoked from a minimal ``__main__.py``.
&qu
FeRD (Frank Dana) added the comment:
TBH, personally I don't think I'd just reword it with "below". That seems like
the path of least resistance, but then the sentence becomes this:
"""
This won’t work for __main__.py files in the root directory of a .zip f
Frank Feuerbacher added the comment:
Oh joy. Kodi media server is having unicode issues and this won't help. I'm
trying to see how bad it is.
The main use for case transformations is for internal keyword
lookup/monocasing. Settings, filenames on moncased filesystems, etc. are
ca
New submission from FeRD (Frank Dana) :
The expanded documentation on top-level environments is quite an improvement,
but there's one passage that causes some confusion. In the section '__main__.py
in Python Packages', towards the end, it reads:
"""
This won’t
New submission from Frank Feuerbacher :
This blasted Turkish I will be the death of us all...
https://www.unicode.org/versions/Unicode14.0.0/ch05.pdf has a lovely graphic on
page 238 of the behavior of upper/lower casing of the various I's and when
locale is Turkish or not. It seems
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 ad
FRANK BENNETT added the comment:
fwb@fw:/s/opt/cpython/debug$ ./python -V
Python 3.10.0a6+
--
___
Python tracker
<https://bugs.python.org/issue43606>
___
___
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')
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$ ./pytho
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 20
Frank Ueberschar added the comment:
These lines correspond (due to dirty working copy):
File
"/home/franku/git/bareos/master/core/src/plugins/filed/python/libcloud/BareosLibcloudApi.py",
line 102 in __init__
The actual Python code that starts the child processes is h
Frank Ueberschar added the comment:
Initialization of the Python interpreter in C-code is here:
https://github.com/bareos/bareos/blob/fb76608092ba204ce43cd7c262619e01f9d6a2d6/core/src/plugins/filed/python/python-fd.cc#L189
The actual Python code that starts the child processes is here:
https
Frank Ueberschar added the comment:
Here is part of the gdb backtrace:
[franku@franku py3plug-fd-libcloud]$ sbin/bareos_fd-py3plug-fd-libcloud -f -c
etc/bareos
Fatal Python error: _PyInterpreterState_DeleteExceptMain: not main interpreter
Python runtime state: initialized
Current
New submission from Frank Ueberschar :
Related to this issue https://bugs.python.org/issue34651, our Bareos libcloud
plugin cannot be run with Python > 3.7. We are using subprocesses in a
C-subinterpreter environment.
Is there a way to circumvent rewriting our code complet
Frank added the comment:
PEP 551 is confusing. It looked suggesting that it's a "security tool" that
"detects, identifies and analyzes misuse of Python" to me (and apparently many
others).
examples shown in the PEP includes WannaCrypt, APTs, all of which involves
New submission from Frank AK :
In python 3.10, you couldn't plus two Counter instance, you will got the below
tip:
```
>>> from collections import Counter
>>> x={1:['a','b','c']}
>>> y={1:['d','e','f'
Change by Frank :
--
nosy: +frankli
___
Python tracker
<https://bugs.python.org/issue41162>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by Frank Henigman :
--
nosy: +fjh
___
Python tracker
<https://bugs.python.org/issue40283>
___
___
Python-bugs-list mailing list
Unsubscribe:
Christian KNITTL-FRANK added the comment:
I just stumbled over this too. Very eager to know if there are any news on the
state of out-of-box support for the "mUTF-7" codec.
--
nosy: +Christian KNITTL-FRANK
___
Python track
Change by Frank Thommen :
--
nosy: -fthommen
___
Python tracker
<https://bugs.python.org/issue34028>
___
___
Python-bugs-list mailing list
Unsubscribe:
Johannes Frank added the comment:
Yes, I didn't revisit the issue since, but Malcolm is right. Implemented in
python 3.8.
Thanks to all the contributors.
On Sat, Feb 29, 2020 at 8:58 AM Malcolm Smith
wrote:
>
> Malcolm Smith added the comment:
>
> It looks like this has
Frank Harrison added the comment:
Minor correction: The regression was only tested on Python 3.9.0a2 (Fedora),
Python 3.9a3 (OSX), CPython's master (build from source) and the latest
non-prerelease versions of python 3.5, 3.6, 3.7, and 3.8. Tested on OSX and
Fedo
New submission from Frank Harrison :
This is my first bug logged here, I've tried to follow the guideline and search
for this issue; please let me know if I missed anything.
Summary:
unittest.mock.MagicMock has a regression starting in 3.8. The regression was
only tested on lates
New submission from Frank B :
The docs say "Test whether the set is a proper subset of other" for both set <
other and set > other built-in functions.
Is that a misprint? How could it be both?
For the <= and >= operators it properly reverses the order so one says:
Test
Change by Johannes Frank :
--
nosy: +matrixise
___
Python tracker
<https://bugs.python.org/issue17305>
___
___
Python-bugs-list mailing list
Unsubscribe:
Johannes Frank added the comment:
Hello Christian,
much appreciated. Thank you so much.
Johannes
--
___
Python tracker
<https://bugs.python.org/issue34
New submission from Frank Millman :
weakref.WeakKeyDictionary.keyrefs() -
The documentation says 'Return an iterable of the weak references to the keys'.
I was not sure if this would expose me to the 'dictionary changed size while
iterating' error, so I checked the sour
Frank Schaefer added the comment:
Well, after perusing the ctypes callproc.c code, I found the hacks referenced
by martin.panter and tried activating them with some SPARC64 #ifdefs:
--- python3.6-3.6.6.orig/Modules/_ctypes/callproc.c
+++ python3.6-3.6.6/Modules/_ctypes/callproc.c
@@ -1041,6
Frank Schaefer added the comment:
FYI the libffi bug report is open here:
https://github.com/libffi/libffi/issues/451
As noted in the bug report, this issue actually doesn't appear to impact ARM64
(or ARM32 GNUEABI/GNUEABIHF).
--
___
P
Frank Schaefer added the comment:
Further details:
I cloned libffi from a few days ago to see if I had any different behavior. So
far the test fails the same way with the updated libffi.
I'll also see about contacting libffi upstream and see what they can suggest
Johannes Frank added the comment:
Hi Christian
I would be willing to give this a try, could you publish or send me that
more elaborate code?
Thanks Johannes
On Wed, 26 Sep 2018 at 09:25, Christian Heimes
wrote:
>
> Christian Heimes added the comment:
>
> Here is a horribly hack
New submission from Frank Schaefer :
Python 3.6.6 on Linux 4.16.18 SPARC64 fails test_ctypes. Specifically, it
appears to be due to the _testfunc_large_struct_update_value() or
_testfunc_reg_struct_update_value():
0:00:44 load avg: 46.24 [137/407/1] test_ctypes failed -- running
Change by Johannes Frank :
--
title: Please support logging of SSL master secret by env variable
SSLKEYLOGFILe -> Please support logging of SSL master secret by env variable
SSLKEYLOGFILE
___
Python tracker
<https://bugs.python.org/issu
New submission from Johannes Frank :
As discussed on the EuroPython 2018 it would be a great improvement if the
python SSL module would respect the SSLKEYLOGFILE environment variable to log
the master secret and the client random for packet trace decryption.
The pycurl module compiled
Change by Frank Thommen :
--
nosy: +fthommen
___
Python tracker
<https://bugs.python.org/issue32627>
___
___
Python-bugs-list mailing list
Unsubscribe:
Frank Thommen added the comment:
The configure script doesn't work with a proper openssl installation either.
Even though there is a "lib" directory in the directory given to
--with-openssl=, libssl.so.1.1 isn't found, because there is still a
"-L/lib" missing
New submission from Frank Griswold :
This chunk of docs has bad info in both Python2 and Python3 docs:
4.1.3. Configuration
Python on OS X honors all standard Unix environment variables such as
PYTHONPATH, but setting these variables for programs started from the Finder is
non-standard as
New submission from Frank Ch. Eigler :
Similar to https://bugs.python.org/issue31574, it would be useful the the
interpreter allowed a tracing tool to hook the PyCFunction_Call() site, maybe
via the C_TRACE() macro, kind of how it already does in
_PyEval_EvalFrameDefault(). This would help
Frank Pae added the comment:
Here some detailed information about Tcl / Tk versions:
platform Windows-10-10.0.14393 AMD64
python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit
(AMD64)]
tkinterTcl/Tk 8.6.6 / 8.6.6
python 3.5.3 (v3.5.3:1880cb95a742, Jan 16
Frank Pae added the comment:
I am not a profi, just a normal user, i do what i can so good i can
I would like to thank all python developers
(AND: I think your last question ist the right question)
--
resolution: -> not a bug
stage: test needed -> resolved
status: open -&g
Changes by Frank Pae :
Added file: http://bugs.python.org/file46840/py3.6.1.gif
___
Python tracker
<http://bugs.python.org/issue30200>
___
___
Python-bugs-list mailin
Changes by Frank Pae :
Added file: http://bugs.python.org/file46839/py3.5.3.gif
___
Python tracker
<http://bugs.python.org/issue30200>
___
___
Python-bugs-list mailin
Changes by Frank Pae :
Added file: http://bugs.python.org/file46838/py2.7.13.gif
___
Python tracker
<http://bugs.python.org/issue30200>
___
___
Python-bugs-list mailin
Changes by Frank Pae :
Removed file: http://bugs.python.org/file46835/py3.5.3.gif
___
Python tracker
<http://bugs.python.org/issue30200>
___
___
Python-bugs-list mailin
Changes by Frank Pae :
Removed file: http://bugs.python.org/file46837/py2.7.13.gif
___
Python tracker
<http://bugs.python.org/issue30200>
___
___
Python-bugs-list mailin
Changes by Frank Pae :
Removed file: http://bugs.python.org/file46836/py3.6.1.gif
___
Python tracker
<http://bugs.python.org/issue30200>
___
___
Python-bugs-list mailin
Frank Pae added the comment:
Thanks for the answers
Can you please explain why python 3.6 requires another treatment?
In 2.7 und 3.5 I do not need that
Thank you
--
___
Python tracker
<http://bugs.python.org/issue30
Frank Pae added the comment:
it works in py 2.7 and 3.5 normal
there must be a change in 3.6, intended or unintentional
this is my Workaround:
def get_size(event):
# self.size.set(listbox_size.get(listbox_size.curselection()))
# TEST >
ok=True
try:
lb_siz_
Frank Pae added the comment:
i have added my picture for 2.7.13
i mean there is no problem
--
Added file: http://bugs.python.org/file46837/py2.7.13.gif
___
Python tracker
<http://bugs.python.org/issue30
Frank Pae added the comment:
thank you for your answer
sorry for the "Long" code, but sometime is an longer example better than many
words (and the most code is for layout, please fold with PyCharm)
i use "original" Python with tcl/tk as it is in the installer
in my gif-
Changes by Frank Pae :
Added file: http://bugs.python.org/file46836/py3.6.1.gif
___
Python tracker
<http://bugs.python.org/issue30200>
___
___
Python-bugs-list mailin
Changes by Frank Pae :
Added file: http://bugs.python.org/file46835/py3.5.3.gif
___
Python tracker
<http://bugs.python.org/issue30200>
___
___
Python-bugs-list mailin
Changes by Frank Pae :
Added file: http://bugs.python.org/file46834/tk_ListboxSelect.py
___
Python tracker
<http://bugs.python.org/issue30200>
___
___
Python-bugs-list m
Changes by Frank Pae :
Removed file: http://bugs.python.org/file46833/tk_ListboxSelect.py
___
Python tracker
<http://bugs.python.org/issue30200>
___
___
Python-bugs-list m
New submission from Frank Pae:
prerequisite:
you have more than one tkinter listbox
behavior in py 2.7.13 and py 3.5.3:
if you leave a listbox and goes to another, then the abandoned listbox create
not a ListboxSelect Event
behavior in py 3.6.0 and 3.6.1:
if you leave a listbox and goes to
Changes by Frank Blankenburg :
--
nosy: +FrankBlabu
___
Python tracker
<http://bugs.python.org/issue27400>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Frank Millman:
If you call up online documentation for Python3.6, and select
modules>h>hashlib, it takes you to 15.2. hashlib — BLAKE2 hash functions
It should take you to 15.1. hashlib — Secure hashes and message digests
--
assignee: docs@python
comp
frank-e added the comment:
Thanks, worked, most likely an error on my side (command line window without
admin rights).
--
___
Python tracker
<http://bugs.python.org/issue27
New submission from frank-e:
`python -m pip install --upgrade pip` on Windows 7 with Python 3.5.2 installed
for all users, PermissionError: [WinError 5] Access denied: 'c:\\program
files\\python35\\lib\\site-packages\\p
ip-8.1.1.dist-info\\description.rst'
--
components: Win
New submission from Frank Millman:
dir(queue.Queue()) shows an attribute 'unfinished_tasks'.
It appears to be the counter referred to in the docs to 'join()', but it is not
documented itself.
I would like to make use of it, but I don't know if it is part of the offi
New submission from Frank Millman:
18.5.1.15. Server
close()
"The sockets that represent existing incoming client connections are leaved
open."
I think this should say 'are left open'.
--
assignee: docs@python
components: Documentation
messages: 2585
Frank Wierzbicki added the comment:
This shouldn't be a problem for Jython.
--
___
Python tracker
<http://bugs.python.org/issue24450>
___
___
Python-bugs-l
Frank Schaefer added the comment:
This patch alone is apparently not enough. When this is enabled, and python
2.7.10 is built with -mabi=n32, make test segfaults on test_ctypes. Using
--with(out)-system-ffi does not make a difference.
When I run the test by itself, it specifically fails at
Matt Frank added the comment:
This is a patch that turns off the Intel Compiler's optimization for the
stack_overflow() function. It turns out that icc doesn't support gcc's
__attribute__((optimize("no-optimize-sibling-calls"))). Instead I used an
ifdef'd in
Frank Millman added the comment:
Lists and tuples are described like this -
class list([iterable])
Lists may be constructed in several ways:
[...]
class tuple([iterable])
Tuples may be constructed in a number of ways:
[...]
I think a similar approach to Dicts and Sets could make sense
New submission from Frank Millman:
This is from the documentation at Section 4.6.4. Lists
"""
Lists may be constructed in several ways:
Using a pair of square brackets to denote the empty list: []
Using square brackets, separating items with commas: [a], [a, b, c]
Using a lis
Matt Frank added the comment:
Yes, this is currently only a problem with the Intel compiler.
The writes to buffer[] are dead (provably won't be ever used) at the point that
the recursive call occurs. Actually gcc and llvm can figure this out. Thus
all the space allocated for the first
New submission from Matt Frank:
When the faulthandler module is compiled at -O3 (the default for non-debug
builds) with a compiler that does tailcall optimization the
Modules/faulthandler.c:stack_overflow() function may become an infinite loop
that does not expand the stack. This puts the
Changes by Matt Frank :
--
type: -> compile error
___
Python tracker
<http://bugs.python.org/issue23652>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Matt Frank:
With the LSB (Linux Standard Base) headers for libc Modules/selectmodule.c
fails to compile because we have code that uses EPOLLRDNORM, EPOLLRDBAND,
EPOLLWRNORM and EPOLLMSG without first checking that they are defined.
The patch wraps the five uses of
Matt Frank added the comment:
Apologies. That last patch includes diffs to generated files (configure and
pyconfig.h.in). This version just patches Modules/pwdmodule.c and configure.ac.
After applying the patch please run "autoheader" and "autoconf" to correctly
rege
Matt Frank added the comment:
Sorry, I'm complaining. Cross builds broke. Please see issue22809.
--
nosy: +WanderingLogic
___
Python tracker
<http://bugs.python.org/is
New submission from Matt Frank:
changeset 92496:c2a53aa27cad (issue22359) broke cross builds. (Now "make
touch; make" always tries to rebuild Include/graminit.h and Python/graminit.c
by running "pgen". But "pgen" is a host executable and won't run on the
Matt Frank added the comment:
Assuming issue16353 is fixed using
http://bugs.python.org/file36196/os.get_shell_executable.patch the appropriate
way to find the path to the default shell is by calling
os.get_shell_executable().
This is the 1-liner patch that uses os.get_shell_executable() in
Matt Frank added the comment:
In msg230720 Akira Li (akira) wrote:
> os.defpath is supposed to be ':'+CS_PATH, e.g., look at glibc (C library
> used on Linux) sysdeps/posix/spawni.c I don't know whether it is
> possible to change CS_PATH without recompiling every static
Matt Frank added the comment:
In msg174930 Christian Heimes (christian.heimes) wrote:
> I've tested confstr("CS_PATH") on Linux, Mac OS X, Solaris, HP-UX
> and BSD. It works and the path to `sh` is always included.
In msg230713 Ned Deily(ned.deily) wrote:
> ignore Lib/ma
Matt Frank added the comment:
os.defpath also seems wrong on Mac (':') and Linux (':/bin:/bin/sh'. The extra
':' at the beginning means the same thing as '.:/bin:/bin/sh' which is probably
a security problem.
I just started up discussion on http
Matt Frank added the comment:
Unfortunately os.defpath seems to be hardcoded. And hardcoded to the wrong
value on every system I have looked at, including Linux.
Lib/posixpath.py sets defpath=':/bin:/usr/bin' which is _not_ what `getconf
CS_PATH` returns on my Linux (the extra
Changes by Matt Frank :
--
nosy: +WanderingLogic
___
Python tracker
<http://bugs.python.org/issue5717>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Matt Frank :
--
nosy: +WanderingLogic
___
Python tracker
<http://bugs.python.org/issue16353>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Matt Frank :
--
nosy: +WanderingLogic
___
Python tracker
<http://bugs.python.org/issue16255>
___
___
Python-bugs-list mailing list
Unsubscribe:
Matt Frank added the comment:
I am working on using my resources at Intel to put some pressure on Google to
fix some of the (many) problems in the Bionic libc.
I have a sort of "polyfill" library that implements locale.h, langinfo.h, as
well as the structure definitions for wchar
Matt Frank added the comment:
My platform is the Android command-line shell. Essentially it is like an
embedded linux platform with a very quirky partially implemented libc (not
glibc). It has no langinfo.h and while it has locale.h, the implementations of
setlocale() and localeconv() do
New submission from Matt Frank:
On systems where configure is unable to find langinfo.h (or where nl_langinfo()
is not defined), configure undefines HAVE_LANGINFO_H in pyconfig.h. Then in
pythonrun.c:get_locale_encoding() the call to nl_langinfo() is wrapped in an
#ifdef, but the #else path
Matt Frank added the comment:
>> audioop_ctypes_test_link_with_libm.patch
> + libraries=['m'])
> Why not using math_libs here?
math_libs is defined in detect_modules(). But the _ctypes_test
extension is defined in a different function: detec
Changes by Matt Frank :
--
nosy: +freakboy3742
___
Python tracker
<http://bugs.python.org/issue20306>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Matt Frank :
--
nosy: +freakboy3742
___
Python tracker
<http://bugs.python.org/issue21668>
___
___
Python-bugs-list mailing list
Unsubscribe:
Matt Frank added the comment:
Additionally,
* audioop calls floor()
* _ctypes_test calls sqrt()
Patch attached.
--
___
Python tracker
<http://bugs.python.org/issue21
Changes by Matt Frank :
--
nosy: +WanderingLogic
Added file:
http://bugs.python.org/file37041/audioop_ctypes_test_link_with_libm.patch
___
Python tracker
<http://bugs.python.org/issue21
Matt Frank added the comment:
Here is shiz's patch extended with the addition to configure.ac. I added the
variable HAVE_PASSWD_GECOS_FIELD and the appropriate tests. Luckily this very
problem (missing pw_gecos field) is the example used in the autoconf manual
(https://www.gnu.org/sof
Changes by Matt Frank :
--
nosy: +WanderingLogic
___
Python tracker
<http://bugs.python.org/issue20306>
___
___
Python-bugs-list mailing list
Unsubscribe:
Frank Thommen added the comment:
strace gives me the error:
unlink("/mnt/tmpu817xz") = -1 EIO (Input/output error)
But after escalating the issue to our server vendor it turned out that the
problem lies in the filesystem option "nbmand". If this option is set to "
Frank Thommen added the comment:
It might be an issue of strict ACL mapping
(http://wiki.linux-nfs.org/wiki/index.php/ACLs) is implemented. On our ZFS
based NFS v4 server this is the case, on CentOS based NFS v4 servers this
doesn't seem to be implemented/enforced.
It becomes then st
Frank Thommen added the comment:
Agreed. If I export from CentOS and mount on CentOS (local or remote) it seems
to work. So this is probably due to our specific fileserver setup or a problem
of the underlying filesystem (zfs).
--
___
Python
Frank Thommen added the comment:
errno:5
strerror: Input/output error
--
___
Python tracker
<http://bugs.python.org/issue22326>
___
___
Python-bugs-list mailin
New submission from Frank Thommen:
Hi,
tempfile.TemporaryFile fails on NFS v4 filesystems.
Assume the following mounts:
$ mount
[...]
psi:/volumes/vol1 on /mnt/nfsv4 type nfs4 (rw,addr=xx.xx.xx.xx)
psi:/volumes/vol1 on /mnt/nfsv3 type nfs (rw,addr=xx.xx.xx.xx)
[...]
$
and the following
Changes by Frank van Dijk :
Added file: http://bugs.python.org/file36274/codecsopen3a.patch
___
Python tracker
<http://bugs.python.org/issue22128>
___
___
Python-bug
1 - 100 of 170 matches
Mail list logo