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
Change by Frank :
--
nosy: +frankli
___
Python tracker
<https://bugs.python.org/issue41162>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Frank added the comment:
Its true.
Python needs it as every scientific programming language needs it.
Its a matter of completeness.
This is a deficit.
--
nosy: +fkbreitl
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python
3.4
Frank added the comment:
That's too much for too little.
The math module should cover the basics.
--
___
Python tracker
<http://bugs.python.org/iss
Frank added the comment:
Mark, the convincing use-cases apear already on this page.
People suggest the usage of numpy or the definition of all kinds of functions
to accomplish this trivial task. But the users don't want to worry about this.
They just want to use this function and not
Frank added the comment:
Mark, https://en.wikipedia.org/wiki/Signum_function or elementary math books
tell us that this function is called signum, sign or sgn.
A library should adopt this standard for the same reason we don't want a
ComputeTheSine or calcsin, which would be very conf
Frank added the comment:
Here an example where the signum function provides an elegant way to calculate
the Julian date:
def julian_date(YY,MM,DD,HR,Min,Sec,UTcor):
return 367*YY - (7*(YY+((MM+9)/12))/4) + (275*MM/9)+ DD + 1721013.5 +
UTcor/24 - 0.5*sign((100*YY)+MM-190002.5) + 0.5 + HR
New submission from frank :
#0 0x1dbaa480:0 in PyObject_GC_UnTrack () at Modules/gcmodule.c:1149
1149Modules/gcmodule.c: No such file or directory.
in Modules/gcmodule.c
(gdb) where
#0 0x1dbaa480:0 in PyObject_GC_UnTrack () at Modules/gcmodule.c:1149
#1
frank added the comment:
in addtion, the version of our python is 2.3.4
--
___
Python tracker
<http://bugs.python.org/issue14659>
___
___
Python-bugs-list mailin
New submission from Frank:
Since upgrading to python 3.3 the tostring method fails when the output method
is requested as text. Code like this:
with open(fp, mode='rt') as f:
data = f.read()
tree, idmap = ET.XMLID(data)
print(ET.tostring(tree, method='text', encoding=
Frank added the comment:
It happens whenever the method is called, regardless of input. I'm using HTML
that has been tidied first with HTML entities (if any) converted to unicode
values.
--
___
Python tracker
<http://bugs.python.org/is
Frank added the comment:
Scratch that, it happens whenever there are XML entities (<, " and
friends) that are appearing the text as you pointed out.
--
___
Python tracker
<http://bugs.python.org
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 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
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
New submission from Frank Millman:
I spotted a minor bug in the documentation to SimpleXMLRPCServer.
Background:
xmlrpclib.py has the following -
# This class is available as ServerProxy and Server. New code
should
# use ServerProxy, to avoid confusion
New submission from Frank Wierzbicki :
Nick suggested this as a comment on a blog post of mine -- I'll come up with
some content, but I wanted to log the bug straight away so I wouldn't forget.
--
components: Devguide
messages: 148200
nosy: brett.cannon, ezio.melotti, f
Frank Wierzbicki added the comment:
I'll take a look at the dev guide this week and see how much it differs from
what I'd want to do and report back here. If it doesn't make sense to include a
Jython page here I can either copy content over or link to the CPython dev
guide
Frank Wierzbicki added the comment:
I have forked the devguide into http://hg.python.org/jython-docs/devguide/ --
this way I can merge changes from the main devguide as they make sense. DVCS
FTW :) -- I guess this issue can be closed
Changes by Frank Wierzbicki :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue13465>
___
___
Python-bugs-list mailing list
Unsubscri
Frank Sievertsen added the comment:
I'd like to add a few notes:
1. both 32-bit and 64-bit python are vulnerable
2. collision-counting will break other things
3. imho, randomization is the way to go, enabled by default.
4. do we need a steady hash-function later again?
I created ~500
Frank Rügheimer added the comment:
You are right, it seems to work when the file is passed directly into python so
the quotes are stripped somewhere before python even gets to see them.
Thanks
--
status: open -> closed
___
Python tracker
&l
New submission from Frank Martinez <[EMAIL PROTECTED]>:
The documentation for random.uniform states:
uniform(a, b)
Return a random real number N such that a <= N < b.
However when I test it out, We see:
>>> import random as r
>>> r.uniform
Frank Niessink <[EMAIL PROTECTED]> added the comment:
Just to reiterate the original bug report: the issue (for me) is that
currently (python 2.5):
>>> [].__add__ == [].__add__
True
>>> [].__add__ == [1].__add__
False
Or, using a non-builtin class:
>>> class
New submission from Frank Wierzbicki <[EMAIL PROTECTED]>:
This patch adds the message "-J is reserved for Jython" if that arg is
attempted. See
http://mail.python.org/pipermail/python-dev/2008-April/078564.html
For support from BDFL.
--
components: Interp
Frank Wierzbicki <[EMAIL PROTECTED]> added the comment:
On Sat, Apr 12, 2008 at 9:03 AM, Christian Heimes
<[EMAIL PROTECTED]> wrote:
>
> Christian Heimes <[EMAIL PROTECTED]> added the comment:
>
> I've reserved -X as well. Applied in r62293
Great, thanks! W
New submission from Frank Henigman :
# works
>>> eval( "sum( [ a[0]=='a' for j in 'a' ] )", {}, dict(a='a'))
# take out the square brackets
>>> eval( "sum( a[0]=='a' for j in 'a' )", {}, dict(a='a
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 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
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:
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 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
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:
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')
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:
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
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
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
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
Change by Frank Thommen :
--
nosy: -fthommen
___
Python tracker
<https://bugs.python.org/issue34028>
___
___
Python-bugs-list mailing list
Unsubscribe:
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 Henigman :
--
nosy: +fjh
___
Python tracker
<https://bugs.python.org/issue40283>
___
___
Python-bugs-list mailing list
Unsubscribe:
Frank Sievertsen added the comment:
> The suffix only introduces a constant change in all hash values
> output, so even if you don't know the suffix, you can still
> generate data sets with collisions by just having the prefix.
That's true. But without the suffix, I
Frank Sievertsen added the comment:
>> That's true. But without the suffix, I can pretty easy and efficient
>> guess the prefix by just seeing the result of a few well-chosen and
>> short repr(dict(X)). I suppose that's harder with the suffix.
> Since the has
Frank Sievertsen added the comment:
> They may be non-orderable, but since they are required to be hashable,
> I guess one can build an comparison function with the following:
Since we are are trying to fix a problem where hash(X) == hash(Y), you
can't make them orderable by usi
Frank Sievertsen added the comment:
> The hash value is just used to know if the key belongs to the left
> or the right child tree.
Yes, that's what I don't understand: How can you do this, when ALL
hash-values are equal.
--
__
Frank Sievertsen added the comment:
> Is it still able to find the value?
Probably not. :(
That's exactly why I stopped thinking about all two-hash-functions or rehashing
ideas.
--
___
Python tracker
<http://bugs.python.org
Frank Sievertsen added the comment:
For the sake of completeness:
Collision-counting (with Exception) has interesting effects, too.
>>> d={((1<<(65+i))-2**(i+4)): 9 for i in range(1001)}
>>> for i in list(d):
... del d[i]
>>> d
{}
>>> 9 in d
False
&
Frank Sievertsen added the comment:
> Agreed; it tops out with a constant, but if it takes only 16 bytes of
> input to force another run through a 1000-long collision, that may
> still be too much leverage.
You should prepare the dict so that you have the collisions-run with a one-byt
Frank Breitling added the comment:
Because its short.
Because the former is a proper mathematical expression, while the latter
is python jargon with limited use elsewhere.
Exactly, why is there no correct implementation of Julian date in python
time or datetime?
For most practical purposes
Frank Breitling added the comment:
Unfortunately my reply to the list lost all quotes, so I try to answer again
through the web interface:
---
> I'm not quite sure why that formula would be "elegant" in the first place,
Because its short.
> and I most certainly don'
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
Changes by Frank Blankenburg :
--
nosy: +FrankBlabu
___
Python tracker
<http://bugs.python.org/issue27400>
___
___
Python-bugs-list mailing list
Unsubscribe:
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 Pae :
Removed file: http://bugs.python.org/file46833/tk_ListboxSelect.py
___
Python tracker
<http://bugs.python.org/issue30200>
___
___
Python-bugs-list m
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 :
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/file46836/py3.6.1.gif
___
Python tracker
<http://bugs.python.org/issue30200>
___
___
Python-bugs-list mailin
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-
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:
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:
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
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
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
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
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
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
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
Change by Frank Thommen :
--
nosy: +fthommen
___
Python tracker
<https://bugs.python.org/issue32627>
___
___
Python-bugs-list mailing list
Unsubscribe:
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 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 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
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
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
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:
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
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
Johannes Frank added the comment:
Hello Christian,
much appreciated. Thank you so much.
Johannes
--
___
Python tracker
<https://bugs.python.org/issue34
Change by Johannes Frank :
--
nosy: +matrixise
___
Python tracker
<https://bugs.python.org/issue17305>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Frank Millman :
sqlite3/dbapi2.py contains the following -
def convert_timestamp(val):
datepart, timepart = val.split(b" ")
timepart_full = timepart.split(b".")
[...]
if len(timepart_full) == 2:
Changes by Frank Wierzbicki :
--
nosy: +fwierzbicki
___
Python tracker
<http://bugs.python.org/issue14895>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Frank Ling :
i use socket such as :
self.socket.setblocking(1)
self.socket.settimeout(1)
but this socket is no-block ,i find socketmodule.c sock_settimeout
s->sock_timeout = timeout;
internal_setblocking(s, timeout < 0.0);
if timeout
Frank Ling added the comment:
how to create socket and have block timeout mode?
self.socket.setblocking(1)
self.socket.settimeout(1)
this program is error?
--
___
Python tracker
<http://bugs.python.org/issue15
New submission from Frank Wierzbicki:
test_dictcomp hard codes the dict output of various tests of Dict
Comprehensions. Since Jython has a different dict ordering we are currently
altering this test. When we get to 3.x it will be nicer if we can use this test
as is. Also I've seen
Frank Wierzbicki added the comment:
Making these into real unit tests and switching the patch to 3.3 should be no
problem. Is 2.7 still open for changes to tests? I might back port to 2.7 as
well so that I can delete the customized Jython test in 2.7
Frank Wierzbicki added the comment:
Switched to unittest style away from doctests and created patch against 3.3.
Note that at this time test_dictcomp.py is identical in 3.3 and 3.4 so merging
should be pretty easy :)
--
Added file: http://bugs.python.org/file28676/dictcomp3.3.patch
Frank Wierzbicki added the comment:
This patch of test_dict_comp.py was made against 2.7. It differs from the 3.3
version only one line "from test import test_support as support"
--
Added file: http://bugs.python.org/file28677/dictcom
Frank Wierzbicki added the comment:
I'd love to work through the commit process myself once I get through all of
the comments. My intention is to become much more active here as Jython3 starts
to ramp up over the next year. It would be great if I could eventually get all
of Jython's
Frank Wierzbicki added the comment:
> Well, we generally prefer to go through the review process always, except for
> relatively small commits (which some of yours may be).
Good to know, in that case I'll plan to go through the review process always.
> 2.7 is separate from 3.x.
Frank Wierzbicki added the comment:
I'm getting an error when I try to upload patches via Reitveld:
TypeError at /review/16886/add
int() argument must be a string or a number, not 'AddForm'
so I'm attaching my updated patch here. Is this a known issue? If not, where
Frank Wierzbicki added the comment:
On Fri, Jan 11, 2013 at 6:34 PM, Frank Wierzbicki
wrote:
> Reitveld
*Rietveld
I see just uploading a new patch to bugs.python does the right thing
so I'll just move along :)
--
nosy: +Frank.Wierzbicki
__
Changes by Frank Wierzbicki :
Added file: http://bugs.python.org/file28709/dictcomps_updated2.patch
___
Python tracker
<http://bugs.python.org/issue16886>
___
___
Pytho
Frank Wierzbicki added the comment:
I have addressed all of the comments, but I don't know the exact procedure
here. Does someone need to say "Looks good to me" before I push?
--
___
Python tracker
<http://bugs.pyt
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
Frank Thommen added the comment:
errno:5
strerror: Input/output error
--
___
Python tracker
<http://bugs.python.org/issue22326>
___
___
Python-bugs-list mailin
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
1 - 100 of 170 matches
Mail list logo