[issue47069] socket._GLOBAL_DEFAULT_TIMEOUT being an object() makes for ugly docstrings, can be better

2022-03-19 Thread FeRD (Frank Dana)
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

[issue46279] [docs] Minor information-ordering issue in __main__ doc

2022-01-12 Thread FeRD (Frank Dana)
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

[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

[issue46279] [docs] Minor information-ordering issue in __main__ doc

2022-01-08 Thread FeRD (Frank Dana)
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

[issue46279] [docs] Minor information-ordering issue in __main__ doc

2022-01-08 Thread FeRD (Frank Dana)
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

[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

[issue46279] [docs] Minor information-ordering issue in __main__ doc

2022-01-06 Thread FeRD (Frank Dana)
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

[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

[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

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

[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

[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

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

[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

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

[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

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

[issue22598] Add mUTF-7 codec (UTF-7 modified for IMAP)

2020-05-13 Thread Christian KNITTL-FRANK
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

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

[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

[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

[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

[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

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

[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

[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

[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

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

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

[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

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

[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

[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

[issue32599] Add dtrace hook for PyCFunction_Call

2018-01-19 Thread Frank Ch. Eigler
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

[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

[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-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-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
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
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-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-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
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
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/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 : 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
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

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

[issue29062] Documentation link error

2016-12-24 Thread Frank Millman
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

[issue27449] pip install --upgrade pip (Windows)

2016-07-12 Thread frank-e
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

[issue27449] pip install --upgrade pip (Windows)

2016-07-04 Thread frank-e
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

[issue26294] Queue().unfinished_tasks not in docs - deliberate?

2016-02-05 Thread Frank Millman
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

[issue26157] Typo in asyncio documentation

2016-01-19 Thread Frank Millman
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

[issue24450] Add cr_await calculated property to coroutine object

2015-06-24 Thread Frank Wierzbicki
Frank Wierzbicki added the comment: This shouldn't be a problem for Jython. -- ___ Python tracker <http://bugs.python.org/issue24450> ___ ___ Python-bugs-l

[issue23575] MIPS64 needs ffi's n32.S

2015-05-26 Thread Frank Schaefer
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

[issue23654] infinite loop in faulthandler._stack_overflow

2015-03-23 Thread Matt Frank
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

[issue23677] Mention dict and set comps in library reference

2015-03-17 Thread Frank Millman
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

[issue23677] Mention dict and set comps in library reference

2015-03-16 Thread Frank Millman
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

[issue23654] infinite loop in faulthandler._stack_overflow

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

[issue23654] infinite loop in faulthandler._stack_overflow

2015-03-12 Thread Matt Frank
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

[issue23652] ifdef uses of EPOLLxxx macros so we can compile on systems that don't have them

2015-03-12 Thread Matt Frank
Changes by Matt Frank : -- type: -> compile error ___ Python tracker <http://bugs.python.org/issue23652> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue23652] ifdef uses of EPOLLxxx macros so we can compile on systems that don't have them

2015-03-12 Thread Matt Frank
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

[issue20306] Lack of pw_gecos field in Android's struct passwd causes cross-compilation for the pwd module to fail

2015-01-30 Thread Matt Frank
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

[issue22359] Remove incorrect uses of recursive make

2014-11-06 Thread Matt Frank
Matt Frank added the comment: Sorry, I'm complaining. Cross builds broke. Please see issue22809. -- nosy: +WanderingLogic ___ Python tracker <http://bugs.python.org/is

[issue22809] Include/graminit.h and Python/graminit.c always rebuilt (breaks cross builds)

2014-11-06 Thread Matt Frank
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

[issue16255] subrocess.Popen needs /bin/sh but Android only has /system/bin/sh

2014-11-06 Thread Matt Frank
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

[issue16353] add function to os module for getting path to default shell

2014-11-06 Thread Matt Frank
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

[issue16353] add function to os module for getting path to default shell

2014-11-06 Thread Matt Frank
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

[issue5717] os.defpath includes unix /bin on windows

2014-11-05 Thread Matt Frank
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

[issue16353] add function to os module for getting path to default shell

2014-11-05 Thread Matt Frank
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

[issue5717] os.defpath includes unix /bin on windows

2014-11-05 Thread Matt Frank
Changes by Matt Frank : -- nosy: +WanderingLogic ___ Python tracker <http://bugs.python.org/issue5717> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16353] add function to os module for getting path to default shell

2014-11-05 Thread Matt Frank
Changes by Matt Frank : -- nosy: +WanderingLogic ___ Python tracker <http://bugs.python.org/issue16353> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16255] subrocess.Popen needs /bin/sh but Android only has /system/bin/sh

2014-11-05 Thread Matt Frank
Changes by Matt Frank : -- nosy: +WanderingLogic ___ Python tracker <http://bugs.python.org/issue16255> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22747] Interpreter fails in initialize on systems where HAVE_LANGINFO_H is undefined

2014-10-31 Thread Matt Frank
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

[issue22747] Interpreter fails in initialize on systems where HAVE_LANGINFO_H is undefined

2014-10-31 Thread Matt Frank
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

[issue22747] Interpreter fails in initialize on systems where HAVE_LANGINFO_H is undefined

2014-10-27 Thread Matt Frank
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

[issue21668] The select and time modules uses libm functions without linking against it

2014-10-27 Thread Matt Frank
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

[issue20306] Lack of pw_gecos field in Android's struct passwd causes cross-compilation for the pwd module to fail

2014-10-27 Thread Matt Frank
Changes by Matt Frank : -- nosy: +freakboy3742 ___ Python tracker <http://bugs.python.org/issue20306> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21668] The select and time modules uses libm functions without linking against it

2014-10-27 Thread Matt Frank
Changes by Matt Frank : -- nosy: +freakboy3742 ___ Python tracker <http://bugs.python.org/issue21668> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21668] The select and time modules uses libm functions without linking against it

2014-10-27 Thread Matt Frank
Matt Frank added the comment: Additionally, * audioop calls floor() * _ctypes_test calls sqrt() Patch attached. -- ___ Python tracker <http://bugs.python.org/issue21

[issue21668] The select and time modules uses libm functions without linking against it

2014-10-27 Thread Matt Frank
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

[issue20306] Lack of pw_gecos field in Android's struct passwd causes cross-compilation for the pwd module to fail

2014-10-24 Thread Matt Frank
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

[issue20306] Lack of pw_gecos field in Android's struct passwd causes cross-compilation for the pwd module to fail

2014-10-24 Thread Matt Frank
Changes by Matt Frank : -- nosy: +WanderingLogic ___ Python tracker <http://bugs.python.org/issue20306> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22326] tempfile.TemporaryFile fails on NFS v4 filesystems

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

[issue22326] tempfile.TemporaryFile fails on NFS v4 filesystems

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

[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

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

[issue22128] patch: steer people away from codecs.open

2014-08-05 Thread Frank van Dijk
Changes by Frank van Dijk : Added file: http://bugs.python.org/file36274/codecsopen3a.patch ___ Python tracker <http://bugs.python.org/issue22128> ___ ___ Python-bug

  1   2   >