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
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
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#
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
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
--
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
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
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
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
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
Change by Phil :
--
nosy: +pgjones
___
Python tracker
<https://bugs.python.org/issue43246>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
: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
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
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
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
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
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
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
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
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 &&
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue33608>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue36723>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue25597>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue25299>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue35617>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue38505>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue37052>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue23882>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue18108>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue38494>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue38122>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue38384>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue7897>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue38091>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue30587>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<https://bugs.python.org/issue32092>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
> 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
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
Use a lambda...
self.timer.singleShot(1000, lambda s: self.metto_testo(testo))
Phil
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
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:
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
to start with?
PyQt4 or PyQt5 with pyqtdeploy...
http://pyqt.sourceforge.net/Docs/pyqtdeploy/
Phil
--
https://mail.python.org/mailman/listinfo/python-list
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
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
Changes by Phil Connell pconn...@gmail.com:
--
nosy: +pconnell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1152248
___
___
Python-bugs-list
Changes by Phil Connell pconn...@gmail.com:
--
nosy: +pconnell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21999
___
___
Python-bugs-list
Changes by Phil Connell pconn...@gmail.com:
--
nosy: +pconnell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9232
___
___
Python-bugs-list mailing
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
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
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
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 - 100 of 661 matches
Mail list logo