On 19/10/2023 20.43, Dom Grigonis wrote:
On 19 Oct 2023, at 10:27, dn via Python-ideas wrote:
On 19/10/2023 19.50, Dom Grigonis wrote:
Thank you,
Good information, thank you. Was not aware of __set_name__.
IIRC that was one of the updates/improvements. Thanks to whomsoever...!
The
to make use of
them in our application code...
(YMMV!)
--
Regards,
=dn
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
/datamodel.html#descriptors
--
Regards,
=dn
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://
On 10/01/2023 01.19, James Addison wrote:
On Sun, 8 Jan 2023 at 20:20, dn wrote:
Herewith a repetition of an earlier repetition of a call for Python
examples and use-cases.
(to better justify the base-idea, which I support)
(and hence earlier illustration/question: does the sep belong
one thereof) - which can sometimes trip-up our RegEx-favoring
colleagues.
NB please recall that the current-implementation doesn't throw an
exception if the separator is not-found, but returns ( str, '', '', )
* again/still dislike using such as illustration/justifica
;, 'baz', ),
)
NB partition() currently returns a tuple of strings, do you intend to
also propose output as a list?
--
--
Regards,
=dn
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas
lzma algorithms, and the creation of ZIP- and
tar-format archives.
...
ยป
https://docs.python.org/3/library/archiving.html
Disclaimer: JetBrains sponsors our PUG with monthly prizes, eg PyCharm.
--
Regards,
=dn
___
Python-ideas mailing list -- p
e lives and learns...
OTOH given that programming has been described as "choosing good names",
I can't remember the last time a naming-collision/scope-issue proved
that I'm not the smartest person in the room...
--
Regards,
=dn
ion?
How about writing sample Python code to accomplish this, eg
some_meaningful_identifier_here = input("How old are you? ")
or are you thinking:
class Weight():
...
weight = Weight(input(etc))
or some combination thereof,
or another approach,
or ...?
--
Regards,
e_list():
... the_list[ 10 ] = 10
... """
>>> the_list = l[ : ]
>>> tm.timeit( stmt=splice_in_place, number=100_000_000 )
6.726862345007248
but please be prepared for code-review criticism!
Once-again, there's no significant speed-advantage. So, ...
10 matches
Mail list logo