[issue43438] [doc] sys.addaudithook() documentation should be more explicit on its limitations

2021-03-10 Thread Frank
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

[issue41162] Clear audit hooks after destructors

2020-07-02 Thread Frank
Change by Frank : -- nosy: +frankli ___ Python tracker <https://bugs.python.org/issue41162> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue829370] math.signum(int)

2012-03-13 Thread Frank
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

[issue829370] math.signum(int)

2012-03-13 Thread Frank
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

[issue829370] math.signum(int)

2012-03-13 Thread Frank
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

[issue829370] math.signum(int)

2012-03-14 Thread Frank
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

[issue829370] math.signum(int)

2012-03-15 Thread Frank
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

[issue14659] HP multi-thread environment python core in PyObject_GC_UnTrack

2012-04-23 Thread frank
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

[issue14659] HP multi-thread environment python core in PyObject_GC_UnTrack

2012-04-24 Thread frank
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

[issue16913] ElementTree tostring error when method='text'

2013-01-09 Thread Frank
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=&#

[issue16913] ElementTree tostring error when method='text'

2013-01-10 Thread Frank
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

[issue16913] ElementTree tostring error when method='text'

2013-01-10 Thread Frank
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

[issue46264] 'I'.lower() should give non dotted i for LANG=tr_TR

2022-01-04 Thread Frank Feuerbacher
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

[issue46264] 'I'.lower() should give non dotted i for LANG=tr_TR

2022-01-06 Thread Frank Feuerbacher
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

[issue46264] 'I'.lower() should give non dotted i for LANG=tr_TR

2022-01-09 Thread Frank Feuerbacher
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

[issue1152] Bug in documentation for SimpleXMLRPCServer

2007-09-11 Thread Frank Millman
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

[issue13465] A Jython section in the dev guide would be great

2011-11-23 Thread Frank Wierzbicki
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

[issue13465] A Jython section in the dev guide would be great

2011-11-28 Thread Frank Wierzbicki
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

[issue13465] A Jython section in the dev guide would be great

2011-12-27 Thread Frank Wierzbicki
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

[issue13465] A Jython section in the dev guide would be great

2011-12-27 Thread Frank Wierzbicki
Changes by Frank Wierzbicki : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue13465> ___ ___ Python-bugs-list mailing list Unsubscri

[issue13703] Hash collision security issue

2012-01-12 Thread Frank Sievertsen
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

[issue10322] sys.argv and quoted arguments on command line

2010-11-05 Thread Frank Rügheimer
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

[issue3918] random.uniform suprisingly (good kind) does not work as documented

2008-09-20 Thread Frank Martinez
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

[issue1617161] Instance methods compare equal when their self's are equal

2008-03-09 Thread Frank Niessink
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

[issue2617] Patch to emit "-J is reserved for Jython" on -J arg

2008-04-11 Thread Frank Wierzbicki
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

[issue2617] Patch to emit "-J is reserved for Jython" on -J arg

2008-04-12 Thread Frank Wierzbicki
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

[issue5044] name not found in generator in eval()

2009-01-24 Thread Frank Henigman
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&#

[issue43514] Disallow fork in a subinterpreter affects multiprocessing plugin

2021-03-16 Thread Frank Ueberschar
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

[issue43514] Disallow fork in a subinterpreter affects multiprocessing plugin

2021-03-16 Thread Frank Ueberschar
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

[issue43514] Disallow fork in a subinterpreter affects multiprocessing plugin

2021-03-16 Thread Frank Ueberschar
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

[issue43514] Disallow fork in a subinterpreter affects multiprocessing plugin

2021-03-16 Thread Frank Ueberschar
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

[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 20

[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$ ./pytho

[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')

[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> ___ ___

[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 ad

[issue39578] MagicMock specialisation instance can no longer be passed to new MagicMock instance

2020-02-07 Thread Frank Harrison
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

[issue39578] MagicMock specialisation instance can no longer be passed to new MagicMock instance

2020-02-07 Thread Frank Harrison
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

[issue34271] Please support logging of SSL master secret by env variable SSLKEYLOGFILE

2020-02-29 Thread Johannes Frank
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

[issue34028] Python 3.7.0 wont compile with SSL Support 1.1.0 > alledged missing X509_VERIFY_PARAM_set1_host() support

2020-04-25 Thread Frank Thommen
Change by Frank Thommen : -- nosy: -fthommen ___ Python tracker <https://bugs.python.org/issue34028> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43171] Counter not supported add in Python 3.x

2021-02-08 Thread Frank AK
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'

[issue40283] Documentation of turtle.circle()

2020-06-10 Thread Frank Henigman
Change by Frank Henigman : -- nosy: +fjh ___ Python tracker <https://bugs.python.org/issue40283> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13703] Hash collision security issue

2012-01-19 Thread Frank Sievertsen
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

[issue13703] Hash collision security issue

2012-01-19 Thread Frank Sievertsen
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

[issue13703] Hash collision security issue

2012-01-20 Thread Frank Sievertsen
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

[issue13703] Hash collision security issue

2012-01-20 Thread Frank Sievertsen
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. -- __

[issue13703] Hash collision security issue

2012-01-25 Thread Frank Sievertsen
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

[issue13703] Hash collision security issue

2012-01-25 Thread Frank Sievertsen
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 &

[issue13703] Hash collision security issue

2012-02-06 Thread Frank Sievertsen
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

[issue829370] math.signum(int)

2012-03-15 Thread Frank Breitling
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

[issue829370] math.signum(int)

2012-03-15 Thread Frank Breitling
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'

[issue37655] Set subset operator docs

2019-07-22 Thread Frank B
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

[issue27400] Datetime NoneType after calling Py_Finalize and Py_Initialize

2017-04-12 Thread Frank Blankenburg
Changes by Frank Blankenburg : -- nosy: +FrankBlabu ___ Python tracker <http://bugs.python.org/issue27400> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30200] tkinter ListboxSelect

2017-04-28 Thread Frank Pae
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

[issue30200] tkinter ListboxSelect

2017-04-28 Thread Frank Pae
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

[issue30200] tkinter ListboxSelect

2017-04-28 Thread Frank Pae
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

[issue30200] tkinter ListboxSelect

2017-04-28 Thread Frank Pae
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

[issue30200] tkinter ListboxSelect

2017-04-28 Thread Frank Pae
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

[issue30200] tkinter ListboxSelect

2017-04-28 Thread Frank Pae
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-

[issue30200] tkinter ListboxSelect

2017-04-28 Thread Frank Pae
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

[issue30200] tkinter ListboxSelect

2017-04-29 Thread Frank Pae
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_

[issue30200] tkinter ListboxSelect

2017-04-29 Thread Frank Pae
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

[issue30200] tkinter ListboxSelect

2017-04-29 Thread Frank Pae
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

[issue30200] tkinter ListboxSelect

2017-04-29 Thread Frank Pae
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

[issue30200] tkinter ListboxSelect

2017-04-29 Thread Frank Pae
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

[issue30200] tkinter ListboxSelect

2017-04-29 Thread Frank Pae
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

[issue30200] tkinter ListboxSelect

2017-04-29 Thread Frank Pae
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

[issue30200] tkinter ListboxSelect

2017-04-29 Thread Frank Pae
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

[issue30200] tkinter ListboxSelect

2017-04-30 Thread Frank Pae
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

[issue30200] tkinter ListboxSelect

2017-05-01 Thread Frank Pae
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

[issue32824] Docs: Using Python on a Macintosh has bad info per Apple site

2018-02-11 Thread Frank Griswold
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

[issue34028] Python 3.7.0 wont compile with SSL Support 1.1.0 > alledged missing X509_VERIFY_PARAM_set1_host() support

2018-07-20 Thread Frank Thommen
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

[issue32627] Header dependent _uuid build failure on Fedora 27

2018-07-20 Thread Frank Thommen
Change by Frank Thommen : -- nosy: +fthommen ___ Python tracker <https://bugs.python.org/issue32627> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34271] Please support logging of SSL master secret by env variable SSLKEYLOGFILe

2018-07-29 Thread Johannes Frank
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

[issue34271] Please support logging of SSL master secret by env variable SSLKEYLOGFILE

2018-07-29 Thread Johannes Frank
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

[issue34771] test_ctypes failing on Linux SPARC64

2018-09-22 Thread Frank Schaefer
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

[issue34271] Please support logging of SSL master secret by env variable SSLKEYLOGFILE

2018-09-26 Thread Johannes Frank
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

[issue34771] test_ctypes failing on Linux SPARC64

2018-09-26 Thread Frank Schaefer
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

[issue34771] test_ctypes failing on Linux SPARC64

2018-09-28 Thread Frank Schaefer
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

[issue34771] test_ctypes failing on Linux SPARC64

2018-09-30 Thread Frank Schaefer
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

[issue35007] Minor change to weakref docs

2018-10-16 Thread Frank Millman
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

[issue34271] Please support logging of SSL master secret by env variable SSLKEYLOGFILE

2018-10-21 Thread Johannes Frank
Johannes Frank added the comment: Hello Christian, much appreciated. Thank you so much. Johannes -- ___ Python tracker <https://bugs.python.org/issue34

[issue17305] IDNA2008 encoding is missing

2018-10-24 Thread Johannes Frank
Change by Johannes Frank : -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/issue17305> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14720] sqlite3 microseconds

2012-05-03 Thread Frank Millman
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:

[issue14895] test_warnings.py EnvironmentVariableTests is a bad test

2012-05-28 Thread Frank Wierzbicki
Changes by Frank Wierzbicki : -- nosy: +fwierzbicki ___ Python tracker <http://bugs.python.org/issue14895> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15215] socket module setblocking and settimeout problem

2012-06-28 Thread Frank Ling
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

[issue15215] socket module setblocking and settimeout problem

2012-06-28 Thread Frank Ling
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

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-07 Thread Frank Wierzbicki
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

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-09 Thread Frank Wierzbicki
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

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-10 Thread Frank Wierzbicki
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

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-10 Thread Frank Wierzbicki
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

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-11 Thread Frank Wierzbicki
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

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-11 Thread Frank Wierzbicki
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.

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-11 Thread Frank Wierzbicki
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

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-11 Thread Frank Wierzbicki
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 __

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-12 Thread Frank Wierzbicki
Changes by Frank Wierzbicki : Added file: http://bugs.python.org/file28709/dictcomps_updated2.patch ___ Python tracker <http://bugs.python.org/issue16886> ___ ___ Pytho

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-15 Thread Frank Wierzbicki
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

[issue22326] tempfile.TemporaryFile fails on NFS v4 filesystems

2014-09-02 Thread Frank Thommen
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

[issue22326] tempfile.TemporaryFile fails on NFS v4 filesystems

2014-09-02 Thread Frank Thommen
Frank Thommen added the comment: errno:5 strerror: Input/output error -- ___ Python tracker <http://bugs.python.org/issue22326> ___ ___ Python-bugs-list mailin

[issue22326] tempfile.TemporaryFile fails on NFS v4 filesystems

2014-09-02 Thread Frank Thommen
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   2   >