On 4/18/2025 11:38 AM, Peter J. Holzer via Python-list wrote:
On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote:
On 18/04/25 9:41 am, Mats Wichmann wrote:
There's just not a really great answer to this.
Seems to me a system-installed application shouldn't be look
Is there an "ignore" option for "urljoin" to allow schemes that are not
included in the registry of the interpreter of the Python computer
language?
I think that it is needed to have, even if it is not registered, as
there are ongoing attempts to try to censor Gemini
I am using *Python 3.13* in a virtual environment under *Ubuntu Linux 24.04*
.
The version of Python was compiled from source code and installed with make
altinstall. I attempted to use *pip* to install the *Sphinx* package into
the virtual environment using the command *pip install sphinx* in the
;
is at ~/venv/gf4.
To activate a venv, you have to source its activate script, which is in
the venv. First you have to mark it as executable. Then you source it -
source ~/venv/gf4/bin/activate
Now when you run python (or more likely, python3), it will find the
venv's directories be
On 4/15/2025 5:38 PM, rbowman via Python-list wrote:
On Tue, 15 Apr 2025 14:12:19 -0400, Thomas Passin wrote:
On Linux, at least, it's standard for pip to install into the user's
site-packages location if it's not invoked with admin privileges - even
without --user. Pip will
On 2025-04-16, Mats Wichmann via Python-list wrote:
> On 4/15/25 16:07, Grant Edwards via Python-list wrote:
>> On 2025-04-15, Thomas Passin via Python-list wrote:
>>
>>> On Linux, at least, it's standard for pip to install into the user's
>>> site
Op 15/04/2025 om 20:31 schreef Mats Wichmann via Python-list:
To be clear: you do not have to activate a virtualenv to use *Python*
from it. If you just call the python by the path it's in, it figures
everything out (and sets some variables you can query vi sysconfig if
you have reas
On 4/17/2025 4:58 AM, Roel Schroeven via Python-list wrote:
Op 15/04/2025 om 20:31 schreef Mats Wichmann via Python-list:
To be clear: you do not have to activate a virtualenv to use *Python*
from it. If you just call the python by the path it's in, it figures
everything out (and sets
before I realised that the lists non_hierarchical, uses_query
and uses_fragment are not used. With only three options instead of six, making
a strategy object is not quite as attractive. But still worth considering.
regards, Anders
--
https://mail.python.org/mailman/listinfo/python-list
On 4/15/25 10:43, Friedrich Romstedt via Python-list wrote:
Many people put emphasis on that you need to *activate* a virtualenv before
using it, but no-one so far stressed the fact that you got Sphinx installed
to ~/jonathan/.local/lib/python3.13/site-packages *without using *--user.
To be
On 4/15/2025 12:43 PM, Friedrich Romstedt via Python-list wrote:
Am Mo., 14. Apr. 2025 um 01:14 Uhr schrieb Jonathan Gossage via Python-list
:
I am using *Python 3.13* in a virtual environment under *Ubuntu Linux
24.04*
.
[...]
Instead, it was
installed into the site-packages directory in
On 4/15/2025 3:41 PM, dn via Python-list wrote:
Various responses have been provided but the OP has not yet replied on-
list (as verified by Archive). Is this an error with the list-processor
or have some posts been sent to one person only (using Reply instead of
ReplyList)?
There are always
Am Mo., 14. Apr. 2025 um 01:14 Uhr schrieb Jonathan Gossage via Python-list
:
> I am using *Python 3.13* in a virtual environment under *Ubuntu Linux
> 24.04*
> .
> [...]
> Instead, it was
> installed into the site-packages directory in
> */home/jonathan/.locals/lib/pyt
. So where is the venv that you
>> set up? I usually put them into ~/venv. For example, a venv named "gf4"
>> is at ~/venv/gf4.
>
> Are you sure about that?
Sure about what?
> activate has
>
>
> VIRTUAL_ENV="/home/rbowman/wor
On 4/14/2025 6:20 PM, Keith Thompson via Python-list wrote:
Thomas Passin writes:
[...]
To activate a venv, you have to source its activate script, which is
in the venv. First you have to mark it as executable. Then you source
it -
source ~/venv/gf4/bin/activate
[...]
No, you don't ha
On 4/14/2025 6:20 PM, Keith Thompson via Python-list wrote:
Thomas Passin writes:
[...]
To activate a venv, you have to source its activate script, which is
in the venv. First you have to mark it as executable. Then you source
it -
source ~/venv/gf4/bin/activate
[...]
No, you don't ha
id */
--
https://mail.python.org/mailman/listinfo/python-list
On 4/15/25 16:07, Grant Edwards via Python-list wrote:
On 2025-04-15, Thomas Passin via Python-list wrote:
On Linux, at least, it's standard for pip to install into the user's
site-packages location if it's not invoked with admin privileges - even
without --user. Pip will
On 2025-04-15, Thomas Passin via Python-list wrote:
> On Linux, at least, it's standard for pip to install into the user's
> site-packages location if it's not invoked with admin privileges - even
> without --user. Pip will emit a message saying so. Well, that used to
On Fri, 18 Apr 2025 at 16:50, Peter J. Holzer via Python-list
wrote:
>
> On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote:
> > On 18/04/25 9:41 am, Mats Wichmann wrote:
> > > There's just not a really great answer to this.
> >
> > Seems to me a
r regular expression:
re.compile(r"\d+\.\d+")). In a future Python version, SyntaxError will
eventually be raised, instead of SyntaxWarning. (Contributed by Victor
Stinner in gh-98401.)
Found in:
https://docs.python.org/3/whatsnew/3.12.html#other-language-changes
It's not supposed to crash
Also, it appears that the change linked above is a lie:
https://docs.python.org/3/reference/lexical_analysis.html#grammar-token-python-grammar-longstringitem
According to the grammar, any character can follow backslash in a
valid Python program. The warning / error raised by this code should
not
On 2/16/25 18:40, Salvador Mirzo via Python-list wrote:
Jan Erik Moström writes:
On 16 Feb 2025, at 20:47, rbowman via Python-list wrote:
David Beasley's 'Python Distilled'. The author doesn't enumerate Python 3
features specifically but as the title suggests hits th
* Jan Erik Moström in comp.lang.python:
> I'm looking for a book that would teach me the lastest and greatest
> parts of Python, does anyone have any recommendations?
Wider than that, but could still fit the bill: Fluent Python
https://www.oreilly.com/library/view/fluent-python-2nd/97
ndependant
code, which your linker (apparently) requires for a specific type of relocation.
[snip]
HTH
--
Lew Pitcher
"In Skills We Trust"
--
https://mail.python.org/mailman/listinfo/python-list
d so on. Omg, I didn't know there
were so many reasons... Funny is that the only real reason I really
have for no reading on-screen is that I just don't want to.
--
https://mail.python.org/mailman/listinfo/python-list
them.
--
https://mail.python.org/mailman/listinfo/python-list
How do I compensate for
ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime';
recompile with -fPIC
>>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o)
>>> referenced by thread_pthread.h:138 (Python/thread_pthread.h:138
I think Python compiles with fPIC by default. Something else had
happened to the OPs checkout that caused these errors. OP needs to
better describe what they were doing to properly understand the
problem.
On Sun, Mar 2, 2025 at 10:10 PM Lew Pitcher via Python-list
wrote:
>
>
> First
Hello!
I'm pleased to announce version 3.13.0, the first release of branch
3.13 of SQLObject.
What's new in SQLObject
===
Drivers
---
* Extended default list of MySQL drivers to ``mysqldb``, ``mysqlclient``,
``mysql-connector``, ``mysql-connector-python``,
,
> Sincerely,
> Praveen Kumar
> Mob: +91 9515531643
>
> On Sun, 9 Mar 2025, 03:52 Thomas Passin via Python-list, <
> [email protected]> wrote:
>
>> On 3/8/2025 5:29 AM, Praveen Kumar via Python-list wrote:
>> > Hi Python community and members,
>>
Hi Python community and members,
I hope this email finds you well, I want you to be assisted in resolving
this following issue. kindly look at the below concern,
"""I’m running into an error where I get a 'This app can’t run on your PC'
pop-up with (Access is Denied err
On 3/8/2025 5:29 AM, Praveen Kumar via Python-list wrote:
Hi Python community and members,
I hope this email finds you well, I want you to be assisted in resolving
this following issue. kindly look at the below concern,
"""I’m running into an error where I get a 'This app
Passin via Python-list, <
[email protected]> wrote:
> On 3/8/2025 5:29 AM, Praveen Kumar via Python-list wrote:
> > Hi Python community and members,
> >
> > I hope this email finds you well, I want you to be assisted in resolving
> > this following issue. kindl
d been set for a local user but not for the system, you
would see that behavior.
The install from python.org should have installed the "py" launcher.
Does that run? IOW, does typing "py" launch Python?
Kind regards,
Sincerely,
Praveen Kumar
Mob: +91 9515531643
On Sun, 9
If the path had been set for a local user but not for the system, you
would see that behavior.
The install from python.org should have installed the "py" launcher.
Does that run? IOW, does typing "py" launch Python?
Yes it does for both admin and non-admin cmd shells. But p
On 3/9/2025 3:16 PM, Gilmeh Serda via Python-list wrote:
On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote:
"C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe"
Is that an approved location for executables?
Yes, that's where a python.org install normal
On 3/10/25 10:08, Praveen Kumar via Python-list wrote:
Hi Matt,
I pointed out onething that related to the errors, what I pointed out is I
just gone through the system 32 path in c drive and I found the python
executive and other python files indicating 0 kb, and I deleted these exe,
since
Hi Matt,
I pointed out onething that related to the errors, what I pointed out is I
just gone through the system 32 path in c drive and I found the python
executive and other python files indicating 0 kb, and I deleted these exe,
since these are seem to be corrupted to me, then after I tried
Is that an approved location for executables?
May I know? What do you mean by approved location?
Kind regards,
Praveen
On Mon, 10 Mar 2025, 01:25 Gilmeh Serda via Python-list, <
[email protected]> wrote:
> On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote:
>
> >
Yes,
I have 24.3.1 version of pip in my win 11 device, there is a new version of
pip available, 25.0.1
Shall I upgrade that?
Kind regards,
Praveen
On Mon, 10 Mar 2025, 03:04 Thomas Passin via Python-list, <
[email protected]> wrote:
> On 3/9/2025 3:16 PM, Gilmeh Serda via Py
On Wed, Mar 12, 2025 at 8:33 PM meejah via Python-list <
[email protected]> wrote:
> Hello,
>
> I am happy to announce that magic-wormhole 0.18.0 has been released.
> A visible change is the default display of QR Codes, following the
> specification for file-transfer
Jan Erik Moström writes:
> On 16 Feb 2025, at 20:47, rbowman via Python-list wrote:
>
>> David Beasley's 'Python Distilled'. The author doesn't enumerate Python 3
>> features specifically but as the title suggests hits the important
>> concepts.
>
&
On 2/16/25 05:50, Jan Erik Moström via Python-list wrote:
I'm looking for a book that would teach me the lastest and greatest parts of
Python, does anyone have any recommendations?
I've looked at python.org and pythonbooks.org but I couldn't decide which one
to get.
I used to
fast. So I keep it
> all online now.
It's much more pleasurable (to me) to read books off-screen.
--
https://mail.python.org/mailman/listinfo/python-list
"lie"
means to you, but I suggest that it explains the harsh reaction to
your initial statement.
--
Keith Thompson (The_Other_Keith) [email protected]
void Void(void) { Void(); } /* The recursive call of the void */
--
https://mail.python.org/mailman/listinfo/python-list
> But the message doesn't say it's an error. It uses the word "warning",
> not "error". You're tilting at a straw horse here.
Read the associate release note.
--
https://mail.python.org/mailman/listinfo/python-list
rd, you could at least try to find the
irony, that was the larger goal, than to immediately presume you are
being attacked, and start retaliating instead of looking into the
problem.
--
https://mail.python.org/mailman/listinfo/python-list
Anyone going to PyCon? I'll be there, getting in Tuesday night.
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, 12 May 2025 at 01:24, Left Right via Python-list
wrote:
>
> But, sure, go ahead, foam at the mouth, if it
> makes you feel better about it.
Projecting, much?
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
Oh, so this is where 4chan relocated after they were hacked?
What a refined discussion!
On Sun, May 11, 2025 at 5:28 PM Chris Angelico wrote:
>
> On Mon, 12 May 2025 at 01:24, Left Right via Python-list
> wrote:
> >
> > But, sure, go ahead, foam at the mouth, if it
>
then. Prove it. You're all hot air and opinions and bluster.
> Show some actual code, and show that you can do right what you're
> complaining that Python has done wrong.
>
> I'm not holding my breath.
>
> ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
> Have you ever built a language parser?
I've lost count by now. Probably fewer than hundred times though.
--
https://mail.python.org/mailman/listinfo/python-list
Hahah... what a pile of rubbish. The point is that the error is wrong.
It cannot be a syntax error and at the same time the program compiles.
You need to choose one. But, sure, go ahead, foam at the mouth, if it
makes you feel better about it.
--
https://mail.python.org/mailman/listinfo/python
ly care. All it really proves is
> that you have zero respect for anyone else.
>
> ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
traw horse here.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
. It makes the discussion easier to follow, especially for
those of us who read the comp.lang.python Usenet newsgroup rather
than the mailing list.
I do not intend to reply further.
--
Keith Thompson (The_Other_Keith) [email protected]
void Void(void) { Void(); } /* The recursive call of the void */
--
https://mail.python.org/mailman/listinfo/python-list
On 13/05/25 6:28 am, Left Right wrote:
Read the associate release note.
I take it you're referring to this:
In a future Python version, SyntaxError will
eventually be raised, instead of SyntaxWarning. (Contributed by Victor
Stinner in gh-98401.)
That doesn't contradict w
words, the grammar author didn't put enough effort into
making grammar actually work, but seeing how many other things are
done in Python, this is not an exception. It would've been strange to
have it done properly when "properly" means doing copious amounts of
tedious work.
On Sun,
On Sun, 11 May 2025 at 20:38, Left Right via Python-list
wrote:
>
> My comment was more of an irony really. It's plenty obvious that the
> grammar is a lie. The reason is that it's tedious to put the actual
> intender rules into the grammar, and so whoever wrote the gr
On 05/11/2025 6:36 AM EDT Left Right via Python-list
<[1][email protected]> wrote:
Then it just means that the grammar lies. The two claims are mutually
exclusive, so either one is a lie or the other or both.
No, it more points out that not all erro
to ``markers``.
* Fix #238: Add build tag to wheel metadata if specified.
* Fix #243: Update to support free-threading version of Python (3.13t).
* Fix #246: Support subdirectories in the dist-info directory. Thanks to Pieter
P for the patch.
* Fix #248: Fix path normalization issue caused by
I was surprised to find that in configparser, getboolean() does not
raise KeyError for a non-existent config parameter.
Demo program (Python 3.11.5, Windows 11):
import configparser
config = configparser.ConfigParser()
config.read('ThisFileDoesNotExist.ini') # This line could
I am using Python 3.13.3 on Windows 11.
I notice that the compiler can optimise (some) constant expressions
containing operators plus numbers or strings, e.g.
2+2 is compiled as 4
1 + (2.5 + 3+4j) is compiled as 6.5+4j
'a' + 'b' is compiled as 'ab'
It occurs to me that it might be useful if Python provided a function to
search for a file with a given name in various directories (much as the
import.import_lib function searches for a module in the directories in
sys.path).
This function would perhaps be best placed in the os.path or os
On 22/05/2025 23:45, Mats Wichmann wrote:
On 5/22/25 13:59, Michael F. Stemper via Python-list wrote:
I recently wrote a program to do some record-keeping for me. I found
myself hard-coding a bunch of different values into it. This didn't
seem right, so I made my first u
but
> this is unnecessarily complicated for many applications - have the
> program look first on the command line for the config directory,
> then for an environmental variable, then in those likely places.
--
https://mail.python.org/mailman3//lists/python-list.python.org
On 23/05/2025 18:55, Mats Wichmann wrote:
On 5/22/25 21:04, Rob Cliffe via Python-list wrote:
It occurs to me that it might be useful if Python provided a function
to search for a file with a given name in various directories (much
as the import.import_lib function searches for a module in
://mail.python.org/mailman3//lists/python-list.python.org
The solution was provided in this thread here:
https://discuss.python.org/t/extended-import-syntax-for-aliasing-module-attributes/95920/3
The correct way to implement is:
import module
from module import optimize, validate as check
--
https://mail.python.org/mailman3//lists/python-list.python.org
Thank you. I have posted this idea on https://discuss.python.org/c/ideas/6
I had difficulty trying to find that.
--
https://mail.python.org/mailman3//lists/python-list.python.org
Thank you. I have used this link. I had difficulty finding it.
https://discuss.python.org/
--
https://mail.python.org/mailman3//lists/python-list.python.org
lman3//lists/python-list.python.org
On 17/06/2025 00:19, Omar Ahmed via Python-list wrote:
Hi all,
I would like to propose a potential addition to Python's `import` syntax that
would improve clarity and ergonomics for cases where developers want both full
module access *and* a local alias to a specific attribute within
On Tue, Jun 17, 2025 at 8:19 AM Barry Scott wrote:
>
>
> > On 17 Jun 2025, at 00:19, Omar Ahmed via Python-list <
> [email protected]> wrote:
> >
> > Hi all,
> > I would like to propose a potential addition to Python's `import` syntax
> that
reads from the equation?
Also... I have no idea why Python needs async/await. It's a very
confusing and unwieldy interface to epoll. I never found a practical
reason to use this, unless in the situation where someone else used
this in their library, and I had to use the library. All in all,
Other languages uses thread pool, instead of creating new thread.
In Python,loop.run_in_executor uses thread pool.
https://docs.python.org/3.13/library/asyncio-eventloop.html#asyncio.loop.run_in_executor
2025年6月24日(火) 8:12 Mild Shock :
>
> So what does:
>
> stats = await async
last case.
--
If your user interface is intuitive in retrospect ... it isn't intuitive
--
https://mail.python.org/mailman3//lists/python-list.python.org
On 2025-08-05, Michael Torrie via Python-list wrote:
> On 5/24/25 7:19 PM, Chris Angelico via Python-list wrote:
>> On Sun, 25 May 2025 at 10:05, Rob Cliffe via Python-list
>> wrote:
>>> Yes, but if I understand correctly, they all start from a single
>>>
On 5/24/25 7:19 PM, Chris Angelico via Python-list wrote:
> On Sun, 25 May 2025 at 10:05, Rob Cliffe via Python-list
> wrote:
>> Yes, but if I understand correctly, they all start from a single
>> directory (and work downwards if required).
>> My suggestion involved sear
Chris and Oleg (sp?), please control your tempers; your latter posts added
nothing useful to the conversation.
(Apologies for the late reply, I was out of town.)
--
~Ethan~
Moderator
--
https://mail.python.org/mailman/listinfo/python-list
hat you can do right what you're
complaining that Python has done wrong.
I'm not holding my breath.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
to spell my
name correctly.
You can leave that there, I don't really care. All it really proves is
that you have zero respect for anyone else.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
On 5/8/2025 2:05 AM, Left Right via Python-list wrote:
Also, it appears that the change linked above is a lie:
https://docs.python.org/3/reference/lexical_analysis.html#grammar-token-python-grammar-longstringitem
According to the grammar, any character can follow backslash in a
valid Python
tk config files
somewhere.
i would aprichiate any help on that.
thanks a lot in advance,
Tim from Hamburg
--
https://mail.python.org/mailman/listinfo/python-list
Von: T N
Gesendet: Samstag, 17. Mai 2025 04:33
An: [email protected]
Betreff: dont use C:\Windows as working directory when installed using
microsoft store
Hi,
ive installed python with IDLE using the microsoft store, but one big issue
with it
e can always tune them or add new ones.
>
> Thanks,
--
https://mail.python.org/mailman/listinfo/python-list
onnal programming map and filter list comprehension
expressions
* Add dict's | merge and |= update operators
* Reorganize sequences index sectionto make room
* Add with () group of context to open multiple files
A+
L.Pointal.
--
https://mail.python.org/mailman/listinfo/python-list
-GA.html
*INTRODUCTION*
eGenix <https://egenix.com/> has long been running a local Python user
group meeting in Düsseldorf called /Python Meeting Düsseldorf
<https://pyddf.de/>/ and we are using a Telegram group for
regards,
Schimon
On Wed, 14 May 2025 13:42:22 +0200
eGenix Team via Python-list wrote:
> *ANNOUNCING*
>
>
> eGenix Antispam Bot for Telegram
>
> Version 0.7.1
>
> A simple, yet effective bot implementation
> to address Telegram signup spam.
>
> This announce
ion in ways that
are difficult to accomplish using metaclasses and other complicated
mechanisms Python language provides to that end. Eg. you can
conditionally inherit from different superclasses (so, you can use
this approach as a factory that creates different classes), or you can
conditional
On 5/18/25 08:39, Mike Dewhirst via Python-list wrote:
Apologies for top-posting. It's my phone's fault.Since no-one appears to have
responded, I'll stir up some aggro and offer my opinion based on ~45 years
experience with Microsoft.Uninstall python/idle etc completely and
On 5/18/25 15:16, Larry Martell wrote:
https://youtu.be/pqBqdNIPrbo?si=P2ukSXnDj3qy3HBJ
Get ready Guido:
"I'd like to thank the Academy ..."
--
https://mail.python.org/mailman/listinfo/python-list
Am 18.05.2025 22:16 schrieb Larry Martell via Python-list:
https://youtu.be/pqBqdNIPrbo?si=P2ukSXnDj3qy3HBJ
Awesome! Which release channels will be used? How can we pay?
--
https://mail.python.org/mailman/listinfo/python-list
initializer.
--
Jonathan Gossage
--
https://mail.python.org/mailman/listinfo/python-list
On 5/19/25 09:51, Jonathan Gossage via Python-list wrote:
I have created a dynamic class using the type() function:
x = type('MyFlags', (), {'Flag1': 1, 'Flag2': 2, 'Flag3: 4, ' '__init__' :
__init__})
The new class is there, and the cla
On 5/19/2025 5:49 PM, Mats Wichmann via Python-list wrote:
On 5/19/25 09:51, Jonathan Gossage via Python-list wrote:
I have created a dynamic class using the type() function:
x = type('MyFlags', (), {'Flag1': 1, 'Flag2': 2, 'Flag3: 4, '
'__init__
On 19/05/2025 23:11, Thomas Passin via Python-list wrote:
On 5/19/2025 5:49 PM, Mats Wichmann via Python-list wrote:
On 5/19/25 09:51, Jonathan Gossage via Python-list wrote:
I have created a dynamic class using the type() function:
x = type('MyFlags', (), {'Flag1': 1, &
under the name
'Flag3: 4, __init__'.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
Apologies for top-posting. It's my phone's fault.Since no-one appears to have
responded, I'll stir up some aggro and offer my opinion based on ~45 years
experience with Microsoft.Uninstall python/idle etc completely and download
from python.org instead. I would advise ignoring
6201 - 6300 of 6733 matches
Mail list logo