Re: Automatic Gain Control in Python?

2022-06-06 Thread Phil Boutros
m and modify them on the fly based on...some parameters that are unclear. But, once again, your way is clearly better, then go ahead and fill your boots on doing it your way. What do we know? Good luck to you. It once again appears that we are at an impasse. Let us know how it works out. P

Re: Automatic Gain Control in Python?

2022-06-06 Thread Phil Boutros
ally want a phone listening to this speaker while recording, and then...er...what? Feed that to the speaker again? This is a level of masochism that the Marquis de Sade would blush at. Phil -- AH#61 Wolf#14 BS#89 bus#1 CCB#1 SENS KOTC#4 ph...@philb.ca http://philb.ca

Re: Automatic Gain Control in Python?

2022-06-06 Thread Phil Boutros
asier > on the ear. Once again, what you are telling the speaker to play is a pre-recorded file. Grab it. Normalize it however you want (compared to others, compared to set specs, compared to whatever tickles your fancy). Tell the speaker to play *that* file instead. Done. Phil -- AH#61 Wolf#

Re: Automatic Gain Control in Python?

2022-06-06 Thread Phil Boutros
pretty much everyone else has said. Insisting on real-time processing of something that is itself pre-recorded is non-sensical. Phil -- AH#61 Wolf#14 BS#89 bus#1 CCB#1 SENS KOTC#4 ph...@philb.ca http://philb.ca -- https://mail.python.org/mailman/listinfo/python-list

Re: Automatic Gain Control in Python?

2022-05-31 Thread Phil Boutros
to make it match? Where is that stored? >> It has nothing to do with understanding how to grab podcasts. The >> system is working very well for that. OK...then perhaps I/we am/are confused on the limitations of the program. What does it "grab", *exactly*? Phil --

[issue44492] Building a C extension on Big Sur and SDK v10.15 fails

2021-09-09 Thread Phil Thompson
Phil Thompson added the comment: Is this likely to be fixed for v3.10? At the very least a wheel should have the correct platform tag. -- ___ Python tracker <https://bugs.python.org/issue44

[issue44548] ttk Indeterminate Progressbar Not Animating Correctly After `start`

2021-07-01 Thread Phil Soucheray
Phil Soucheray added the comment: It looks like that has done the trick. Is there an expected time when there won't be different installers? -- ___ Python tracker <https://bugs.python.org/issue44

[issue44548] ttk Indeterminate Progressbar Not Animating Correctly After `start`

2021-07-01 Thread Phil Soucheray
New submission from Phil Soucheray : After running `start` on an indeterminate Progressbar, it animates to one side, goes back to the other and then right before it reaches the end it disappears. I've attached a sample script below and a screen recording. This is running on macOS 11.3

[issue44492] Building a C extension on Big Sur and SDK v10.15 fails

2021-06-23 Thread Phil Thompson
Phil Thompson added the comment: Another aspect of this is when building a Python v3.10 C extension on macOS v10.15 (Catalina) with SDK 10.15, the wheel has the 'universal2' platform tag when it actually only contains an x86_64 implementation

[issue44492] Building a C extension on Big Sur and SDK v10.15 fails

2021-06-22 Thread Phil Thompson
New submission from Phil Thompson : I am running macOS v11 (Big Sur) and using Xcode v12.1 (because this is the latest that includes SDK v10.15 rather than v11) to build a C extension. I'm using the older SDK because of 3rd party libraries that are not tested against the newer SDK

[issue43246] Dict copy optimization violates subclass invariant

2021-02-18 Thread Phil
Change by Phil : -- nosy: +pgjones ___ Python tracker <https://bugs.python.org/issue43246> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

Re: learning python building 2nd app, need advices

2021-01-13 Thread Phil Boutros
:retab ', where is an integer defining how many spaces to replace a tab with. Don't add the quote symbols ('), I added it for readability! As others have mentionned, 'expand' from the shell also works. Phil -- AH#61 Wolf#14 BS#89 bus#1 CCB#1 SENS KOTC#4 ph...@philb.ca

[issue14905] zipimport needs to support namespace packages when no 'directory' entry exists

2020-08-13 Thread Phil Connell
Phil Connell added the comment: One version of the bug described here (and fixed in the old implementation under issue17633) exists in the Python implementation of zipimport: $ unzip -l namespace1.zip Archive: namespace1.zip Length DateTimeName

[issue41376] site.getusersitepackages() incorrectly claims that PYTHONNOUSERSITE is respected

2020-07-23 Thread Phil Elson
Change by Phil Elson : -- keywords: +patch pull_requests: +20740 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21602 ___ Python tracker <https://bugs.python.org/issu

[issue41376] site.getusersitepackages() incorrectly claims that PYTHONNOUSERSITE is respected

2020-07-23 Thread Phil Elson
New submission from Phil Elson : The documentation for site.getusersitepackages() states at https://docs.python.org/3.10/library/site.html#site.getusersitepackages: Return the path of the user-specific site-packages directory, USER_SITE. If it is not initialized yet, this function will also

[issue40124] Clearer assertion error

2020-03-31 Thread Phil
New submission from Phil : https://discuss.python.org/t/assertionerror-asyncio-streams-in-drain-helper/3743/4 I recently came across this error, which I now know how to fix. I think the error can be clearer and I've a PR which I think does so. -- components: asyncio messages: 365378

[issue40124] Clearer assertion error

2020-03-31 Thread Phil
Change by Phil : -- keywords: +patch pull_requests: +18598 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19240 ___ Python tracker <https://bugs.python.org/issu

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-11-21 Thread Phil Connell
Phil Connell added the comment: The attached patch (wrap_threadstate.diff) is enough to stop the crash. It's a slightly dirty proof-of-concept, but equally could be the basis for a solution. The main functional issue is that there's still a race on the Py_BLOCK_THREADS side: it's possible

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-11-21 Thread Phil Connell
Phil Connell added the comment: Just to summarise, I'm fairly sure this is exactly what Victor saw: a daemon thread attempts to reacquire the GIL via Py_END_ALLOW_THREADS after interpreter finalisation. Obviously the threadstate pointer held by the thread is then invalid...so we crash. So

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-11-21 Thread Phil Connell
Phil Connell added the comment: Based on Victor's info from https://bugs.python.org/issue36114#msg337090 I believe the crash is essentially what's reproduced in the attached program. >From the root of a (built) cpython clone run: gcc -c -o fini_crash.o -IInclude -I. fini_crash.c &&

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-11-12 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue33608> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38778] Document that os.fork is not allowed in subinterpreters

2019-11-12 Thread Phil Connell
New submission from Phil Connell : Add a comment to the os.fork docs to note that forking from a subinterpreter is no longer allowed (see issue34651) -- assignee: docs@python components: Documentation messages: 356459 nosy: docs@python, eric.snow, pconnell priority: normal severity

[issue36723] Unittest Discovery for namespace subpackages dot notation fails

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue36723> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25597] unittest.mock does not wrap dunder methods (__getitem__ etc)

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue25597> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25299] argparse: TypeError: __init__() takes at least 4 arguments (4 given)

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue25299> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35617] unittest discover does not work with implicit namespaces

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue35617> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38505] Mock.call_args and Mock.call_args_list not propagated to parent Mock

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue38505> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37052] Add examples for mocking async for and async context manager in unittest.mock docs

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue37052> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue23882> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18108] shutil.chown should support dir_fd and follow_symlinks keyword arguments

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue18108> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38494] Add assert_not_called_with

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue38494> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38122] AsyncMock force always creating an AsyncMock for child mocks

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue38122> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38384] An assertion failure in test_pickle

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue38384> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7897] Support parametrized tests in unittest

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue7897> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38091] Import deadlock detection causes deadlock

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue38091> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30587] Mock with spec object does not ensure method call signatures

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue30587> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32092] mock.patch with autospec does not consume self / cls argument

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker <https://bugs.python.org/issue32092> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37588] Py_DEPRECATED and unavoidable warnings

2019-07-19 Thread Phil Thompson
Phil Thompson added the comment: >> Which is why I protect the initialisation with #if PY_VERSION_HEX < > 0x0309 > > It is your specific case. We can not assume people do it, or even you > never forget it. So this is not the "right thing" we can recommen

[issue37588] Py_DEPRECATED and unavoidable warnings

2019-07-19 Thread Phil Thompson
Phil Thompson added the comment: On 19/07/2019 11:37, Jeroen Demeyer wrote: > Jeroen Demeyer added the comment: > >> We have some reserved/deprecated/unused fields. Setting 0 to them >> makes forward incompatible code. > > Good point. tp_print is removed in 3.9

[issue37588] Py_DEPRECATED and unavoidable warnings

2019-07-19 Thread Phil Thompson
Phil Thompson added the comment: I am not "touching" tp_print. I am simply defining it as 0 to avoid the missing initialiser warning. My point is that it should be possible to write code that doesn't trigger warnings (whether or not you sup

[issue37588] Py_DEPRECATED and unavoidable warnings

2019-07-13 Thread Phil Thompson
New submission from Phil Thompson : I have a number of static PyTypeObject declarations. In order to avoid compiler warnings about missing field initialisers I always provide explicit 0 values for unused fields (protected by #if PY_HEX_VERSION >= ...). However with v3.8b2 this triggers

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-07-10 Thread Phil Frost
Phil Frost added the comment: Not yet. I had a hell of a time getting gdb to follow gunicorn forks so it would watch the workers but not also every other thing using popen or os.system(). And the lldb package on Alpine doesn't seem to work. So we're currently in the process of testing

[issue37356] Name of 64-bit OpenSSL v1.1.1 DLLs

2019-06-21 Thread Phil Thompson
Phil Thompson added the comment: A clarification... It seems the suffix is added when configured as VC-WIN64A but omitted when configured as VC-WIN64A-masm. ...still not a Python problem. -- ___ Python tracker <https://bugs.python.

[issue37356] Name of 64-bit OpenSSL v1.1.1 DLLs

2019-06-21 Thread Phil Thompson
Phil Thompson added the comment: I think I was incorrect in saying the suffix was the default when building v1.1.1 from source, so any problem I have (trying to share the DLL with different pre-built packages) is not a Python problem. Sorry for the noise. -- resolution

[issue37356] Name of 64-bit OpenSSL v1.1.1 DLLs

2019-06-20 Thread Phil Thompson
New submission from Phil Thompson : In the 3.8b1 64-bit Windows installer the names of the OpenSSL DLLs do not have the -x64 suffix which seems to be the convention (and is the default when building OpenSSL from source). The convention is followed in the 3.7.0 to 3.7.3 installers. I haven't

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-07 Thread Phil Frost
Phil Frost added the comment: I'm afraid that won't be of much use since the object is statically allocated. Besides, the trouble isn't finding what created the object, but what mutated an int object which should be immutable. -- ___ Python

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-06 Thread Phil Frost
Phil Frost added the comment: Probably too many C extensions to feasibly audit them all. Also we can't rule out something busted in Alpine. So I'm going to set a watchpoint on small_ints[1]->ob_ival with a little gdb script to dump core right when it changes; hopefully inspect

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-06 Thread Phil Frost
Phil Frost added the comment: So this is uminteresting (gdb) p small_ints[0] $2 = (PyIntObject *) 0x558ce65df528 (gdb) p *small_ints[0] $3 = {ob_refcnt = 18, ob_type = 0x7fe019b694c0 , ob_ival = -5} (gdb) p *small_ints[1] $4 = {ob_refcnt = 65, ob_type = 0x7fe019b694c0 , ob_ival = -3

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-06 Thread Phil Frost
Phil Frost added the comment: > Alpine Linux apparently uses musl. Is that well supported and tested? Heh. Not really. Switching to a Debian container is probably just about as much work as building Python from source. Would that be prefera

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-06 Thread Phil Frost
Phil Frost added the comment: skrah: Yes, that's correct. Since I can only produce this bug in production it will take me some days to build and validate a source build. But absent any better ideas, I will try. tim.peters: I've observed this bug across hundreds of EC2 hosts, in dozens

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-05 Thread Phil Frost
Phil Frost added the comment: I should note that while we do observe this issue with Decimal, my troubleshooting so far indicates the logic in decimal.py is fine. It seems instead the instructions in decimal.py aren't being correctly executed. I'm not sure if the problem is limited to only

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-05 Thread Phil Frost
New submission from Phil Frost : We've observed instances of Decimal divisions being incorrect a few times per day in a web application serving millions of requests daily. I've been unable to reproduce the issue but have been investigating core dumps which suggest either some issue in the C

Re: C API PyObject_GetAttrString returns not the object I expected

2019-02-10 Thread Phil Thompson
the object > I > want? The "String" part of "PyObject_GetAttrString()" refers to the way you provide the attribute name and not the type of the object returned. Phil -- https://mail.python.org/mailman/listinfo/python-list

[issue35910] Curious problem with my choice of variables

2019-02-06 Thread Phil Dream
Phil Dream added the comment: OK, I am sorry I didn’t know Thanks for the advice Best regards De : Rémi Lapeyre Envoyé le :mercredi 6 février 2019 11:07 À : philsdr...@gmail.com Objet :[issue35910] Curious problem with my choice of variables Rémi Lapeyre added the comment: Hi @Phil Dream

[issue35910] Curious problem with my choice of variables

2019-02-06 Thread Phil Dream
Phil Dream added the comment: OK, I am sorry I didn’t know Best regards De : Stéphane Wirtel Envoyé le :mercredi 6 février 2019 11:10 À : philsdr...@gmail.com Objet :[issue35910] Curious problem with my choice of variables Stéphane Wirtel added the comment: Hi Phil, This bug tracker

[issue35910] Curious problem with my choice of variables

2019-02-06 Thread Phil Dream
New submission from Phil Dream : Firstable I am not a software expert just a hobby user so please be indulgent I use a Raspberry Pi3B+ with raspbian lite and Python 3.5.3 In my script, I need 2 nested "while" loops so I chose two variables to incriment them 'i' and j. This script

[issue35838] ConfigParser calls optionxform twice when assigning dict

2019-01-27 Thread Phil Kang
New submission from Phil Kang : ConfigParser calls ConfigParser.optionxform twice per each key when assigning a dictionary to a section. The following code: ini = configparser.ConfigParser() ini.optionxform = lambda x: '(' + x + ')' # Bugged ini['section A'] = {'key 1

Re: Python "Bad syntax"

2018-02-05 Thread Phil Boutros
Phil Boutros <ph...@philb.ca> wrote: > > Which version of python are you using? That syntax for "print" > started in python 3 (since print became a function). > > Try adding: > > from __future__ import print_function > > before your code if

Re: Python "Bad syntax"

2018-02-05 Thread Phil Boutros
text, I will write a "wrong syntax" after confirming the > "else" function. How is it possible? Using the Bad Version of > Python? Please, please, thank you very much! Which version of python are you using? That syntax for "print" started in python 3 (since

[issue32141] configure with Spaces in Directory Name on macOS

2017-11-26 Thread Phil Thompson
New submission from Phil Thompson <p...@riverbankcomputing.com>: When configure searches for a C compiler on macOS it fails to handle spaces in directory name on PATH. The fix is to enclose $as_dir in quotes. -- components: Build messages: 307004 nosy: philthompson10 priority:

Re: I need a lot of help...

2016-12-24 Thread Phil Boutros
raulmaqueda6...@gmail.com <raulmaqueda6...@gmail.com> wrote: > I do not know how to do this exercise, does anyone help me? If you have a specific, precise question, that's one thing. Otherwise: http://lmgtfy.com/?q=Academic+Dishonesty Phil -- AH#61 Wolf#14 BS#89 bus#1 CC

Re: SIP install error on windows

2016-12-12 Thread Phil Thompson
t; see a list of supported macros. Try the documentation... http://pyqt.sourceforge.net/Docs/sip4/installation.html Phil -- https://mail.python.org/mailman/listinfo/python-list

Re: SIP install error on windows

2016-12-12 Thread Phil Thompson
> The instructions at Riverbank for installing sip tell me to use pip3 > install. I suggest you try that. Not for Python v2. Phil -- https://mail.python.org/mailman/listinfo/python-list

Re: Qtimer and extra argument

2016-10-26 Thread Phil Thompson
On 26 Oct 2016, at 1:29 pm, luca72 via Python-list <python-list@python.org> wrote: > > I get () missing 1 required positional argument: 's' Sorry, it should have been... lambda: self.metto_testo(testo) Phil -- https://mail.python.org/mailman/listinfo/python-list

Re: Qtimer and extra argument

2016-10-26 Thread Phil Thompson
Use a lambda... self.timer.singleShot(1000, lambda s: self.metto_testo(testo)) Phil -- https://mail.python.org/mailman/listinfo/python-list

Re: Python GUI application embedding a web browser - Options?

2016-10-19 Thread Phil Thompson
omething up using .NET, > or a HTA file, for example, I'm just more comfortable coding in Python. The Chrome-based QWebEngineView (http://doc.qt.io/qt-5/qwebengineview.html) is fully supported by PyQt. Phil -- https://mail.python.org/mailman/listinfo/python-list

Re: PyQt5, OpenGL, where to start, minimal example code?

2016-10-04 Thread Phil Thompson
On 4 Oct 2016, at 5:57 am, John Ladasky <john_lada...@sbcglobal.net> wrote: > > On Monday, October 3, 2016 at 1:30:29 AM UTC-7, Phil Thompson wrote: >> On 3 Oct 2016, at 4:29 am, John Ladasky <j...@s...net> wrote: > >>> And as you can see: trying to call ve

Re: PyQt5, OpenGL, where to start, minimal example code?

2016-10-03 Thread Phil Thompson
the bindings for a particular OpenGL >> version and profile is done in the same way as it is done from C++, i.e. by >> calling versionFunctions(). In addition, the bindings object also contains >> attributes corresponding to all of the OpenGL constants. > > And as you can s

Re: Specify the database for a Django ModelForm instance

2016-08-10 Thread Phil Boutros
those? I must admit to not using multi-DB myself, but I think this set of answers may point you in the right direction: http://stackoverflow.com/questions/35214706/django-model-form-is-valid-in-specific-database Phil -- AH#61 Wolf#14 BS#89 bus#1 CCB#1 SENS KOTC#4 ph...@philb.ca http:

Re: Specify the database for a Django ModelForm instance

2016-08-09 Thread Phil Boutros
rm.clean, ModelForm.save, > etc.)? You would specify it on the save method (using the same "using='foo'") paremeter. Do your work between calling save with commit=false and doing the real save. For example: http://stackoverflow.com/questions/37740848/use-a-specific-database-with

ANN: PyQt v5.7 Released

2016-07-27 Thread Phil Thompson
to be installed. Source packages and more information can be found at https://www.riverbankcomputing.com/. Phil Thompson -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

ANN: PyQt v5.7 Released

2016-07-26 Thread Phil Thompson
to be installed. Source packages and more information can be found at https://www.riverbankcomputing.com/. Phil Thompson -- https://mail.python.org/mailman/listinfo/python-list

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-19 Thread Phil Boutros
is back full circle, here's how it's done on vim: Ctrl-K, =, ! (last two steps interchangeable). Done. Result: ≠ It's still probably a horrible idea to have it in a programming language, though, unless the original behaviour still also works. Phil -- AH#61 Wolf#14 BS#89 bus#1 CCB#1 SENS

[issue27306] Grammatical Error in Documentation - Tarfile page

2016-06-13 Thread Phil Jeffes
New submission from Phil Jeffes: On the tarfile page (https://docs.python.org/3.5/library/tarfile.html) there is a line which reads: mode is either 'r' to read from an existing archive, 'a' to append data to an existing file, 'w' to create a new file overwriting an existing one or 'x

[issue27146] posixmodule.c needs stdio.h

2016-05-28 Thread Phil Thompson
New submission from Phil Thompson: posixmodule.c needs to #include to get the declaration of ctermid(). On most platforms this happens as a side effect of including other .h files but does not on Android. -- components: Library (Lib) messages: 266561 nosy: philthompson10 priority

Re: PyQt5 not found from Python

2016-02-21 Thread Phil Thompson
last): File "", line 1, in ImportError: No module named 'PyQt5' So i guess Python does not see the QT stuff. What can i do about it? TIA There are no PyQt installers for Python 3.5 yet. There will be when PyQt v5.6 is released. Phil -- https://mail.python.org/mailman/listinfo/python-list

[issue26007] Request for Support for Embedding the Standard Library in an Executable

2016-01-04 Thread Phil Thompson
Phil Thompson added the comment: At the moment my importer does the same as zipimport and gets added to sys.path_hooks rather than sys.meta_path. While waiting for the PEP, how about a table of (externally modifiable) importer installers that is worked through where _PyImportZip_Init

[issue26007] Request for Support for Embedding the Standard Library in an Executable

2016-01-04 Thread Phil Thompson
Phil Thompson added the comment: Understood, but the only promise here is to call a function (with no arguments, and returning no result). -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue26007] Request for Support for Embedding the Standard Library in an Executable

2016-01-04 Thread Phil Thompson
Phil Thompson added the comment: I don't see why it would be hard to test. The change suggested wouldn't alter the default behaviour at all. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue26007] Request for Support for Embedding the Standard Library in an Executable

2016-01-04 Thread Phil Thompson
Phil Thompson added the comment: Yes, preventing the filesystem being used for imports would be another way of expressing the issue. Regarding the title I specifically didn't want to suggest a solution as I'm not expert enough to know what the best solution might be. If, as Paul implies

[issue26007] Request for Support for Embedding the Standard Library in an Executable

2016-01-04 Thread Phil Thompson
Phil Thompson added the comment: The problem is the import of the encodings module in _PyCodecRegistry_Init(). -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue26007] Request for Support for Embedding the Standard Library in an Executable

2016-01-04 Thread Phil Thompson
New submission from Phil Thompson: The use case is a packaging tool that can create a single executable for a Python application. Like similar tools it embeds frozen Python code (including the standard library) and is linked (often statically) against the interpreter library. Executables

[issue25460] Misc/.gdbinit uses preprocessor macro

2015-10-22 Thread Phil Weir
Phil Weir added the comment: Many thanks, Victor - python-gdb does work for GDB 7 (after a little confusion with python/python3.6dm naming and auto-load). That is very helpful. For reference, can confirm the error described above for GDB 6.8 and Python 3.6 (with DWARF-2 flags

[issue25460] Misc/.gdbinit uses preprocessor macro

2015-10-22 Thread Phil Weir
New submission from Phil Weir: When using the sample .gdbinit, use of the _PyUnicode_AsString macro gives "No symbol "_PyUnicode_AsString" in current context." from GDB. This was first noticed when using downstream (Ubuntu) CPython 3.4/3.5 with debug symbols, and was re

Re: problem building python 3.5 extensions for windows

2015-09-21 Thread Phil Thompson
on Tools for Visual C++ 2015" as the only feature. That gave me command shells in the start menu for native and cross-compilers. Phil -- https://mail.python.org/mailman/listinfo/python-list

PyQt v5.5 Released

2015-07-19 Thread Phil Thompson
PyQt5 v5.5 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of The Qt Company's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release

PyQt v5.5 Released

2015-07-19 Thread Phil Thompson
PyQt5 v5.5 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of The Qt Company's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release

Re: Make standalone gui-enabled app for LINUX

2015-03-05 Thread Phil Thompson
for new or less experienced linux users. So again how can i make a portable python3 + gui(pygobject, qt, wx) for linux? I found some helpful guide for windows, but what about linux? I haven't announced this on the list yet, but... http://pyqt.sourceforge.net/Docs/pyqtdeploy/ Phil -- https

ANN: PyQt v5.4 Released

2014-12-27 Thread Phil Thompson
PyQt5 v5.4 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of Digia's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release include support

ANN: PyQt v5.4 Released

2014-12-26 Thread Phil Thompson
PyQt5 v5.4 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of Digia's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release include support

Re: python on android: where to start

2014-11-14 Thread Phil Thompson
to start with? PyQt4 or PyQt5 with pyqtdeploy... http://pyqt.sourceforge.net/Docs/pyqtdeploy/ Phil -- https://mail.python.org/mailman/listinfo/python-list

[issue18235] _sysconfigdata.py wrong on AIX installations

2014-10-30 Thread Phil Elson
Phil Elson added the comment: FWIW - this doesn't appear to have been backported to v2.7.x. As a result, the ./Modules/ld_so_aix reference still exists in _sysconfigdata.py in v2.7.8 (and therefore I was unable to build numpy). The workaround is easy enough, it is just something that is worth

[issue21917] Python 2.7.7 Tests fail, and math is faulty

2014-10-29 Thread Phil Elson
Phil Elson added the comment: I just wanted to say that I am seeing the same issue with similar build flags for the xlc compiler. Finding the correct compile flags may well be the problem here. For the record, since I think this is related to the flags which are being passed to os.open, I've

[issue1152248] Add support for reading records with arbitrary separators to the standard IO stack

2014-07-26 Thread Phil Connell
Changes by Phil Connell pconn...@gmail.com: -- nosy: +pconnell ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1152248 ___ ___ Python-bugs-list

[issue21999] shlex: bug in posix more handling of empty strings

2014-07-18 Thread Phil Connell
Changes by Phil Connell pconn...@gmail.com: -- nosy: +pconnell ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21999 ___ ___ Python-bugs-list

[issue9232] Allow trailing comma in any function argument list.

2014-07-09 Thread Phil Connell
Changes by Phil Connell pconn...@gmail.com: -- nosy: +pconnell ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9232 ___ ___ Python-bugs-list mailing

ANN: PyQt v5.3 Released

2014-06-02 Thread Phil Thompson
PyQt5 v5.3 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of Digia's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release include support

ANN: PyQt v5.3 Released

2014-05-28 Thread Phil Thompson
PyQt5 v5.3 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of Digia's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release include support

Re: object().__dict__

2014-04-23 Thread Phil Connell
of the main disadvantages of PyPy was drastically increased memory usage for any decent-sized program. Would be interested to know if this was not the case :) Cheers, Phil -- https://mail.python.org/mailman/listinfo/python-list

Re: object().__dict__

2014-04-23 Thread Phil Connell
On Wed, Apr 23, 2014 at 04:21:26PM +0200, Amirouche Boubekki wrote: 2014-04-23 15:59 GMT+02:00 Phil Connell pconn...@gmail.com: On Wed, Apr 23, 2014 at 03:48:32PM +0200, Amirouche Boubekki wrote: 2014-04-23 8:11 GMT+02:00 Cameron Simpson c...@zip.com.au: Look up the __slots__ dunder

  1   2   3   4   5   6   7   >