hough that that's not the case, and
now you're in the defense.
--
--Guido van Rossum (python.org/~guido <http://python.org/%7Eguido>)
_______
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/l
ience, as evidenced by the brevity of his acceptance
posts. See
https://mail.python.org/pipermail/python-dev/2017-December/151038.html
and https://mail.python.org/pipermail/python-dev/2011-November/114545.html
and particularly
https://mail.python.org/pipermail/python-dev/2016-May/144646.html
where
ido's
vacation :)
_______
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
can arrange for a large enough stack in
that case).
Ronald
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
efan on capi-sig ;-)
Interesting. I didn’t know that list exists. I’ll respond to your message on
that list.
Ronald
_______________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.py
Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
_______
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
sue -- but what can you do?
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
__
On Wed, Aug 1, 2018 at 2:40 PM, Armin Rigo wrote:
> On 30 July 2018 at 22:19, Chris Barker via Python-Dev
> wrote:
> > Oh well. This is a serious usability issue -- but what can you do?
>
> I think that argument clinic knows if the built-in function is
> supposed to be a
object]
def refcount(v):
return PyObject.from_address(id(v)).ob_refcnt
def test_PyList_Append_on_empty_list():
# setup code
l = []
assert len(l) == 0
value = "abc"
refcount_before = refcount(value)
errcode = pythonapi.PyList_Append(l, value)
f the test passed or failed. This only works nicely for
fairly simple tests (such as the example test in this thread), not for more
complicated and interesting tests due to having to write more C code.
Ronald
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
> On 6 Aug 2018, at 17:13, Stefan Behnel wrote:
>
> Ronald Oussoren via Python-Dev schrieb am 06.08.2018 um 15:25:
>>> On 5 Aug 2018, at 18:14, Nick Coghlan wrote:
>>> On 5 August 2018 at 18:06, Ronald Oussoren wrote:
>>>> I’m not sure if I understand thi
This is an appropriate topic for pyton-ideas:
https://mail.python.org/mailman/listinfo/python-ideas
not python-dev.
I'm sure you'll find interest in your idea there.
-CHB
On Wed, Aug 15, 2018 at 1:25 AM, Marko Ristin-Kaufmann <
marko.ris...@gmail.com> wrote:
> Hi python d
Student('Alice', 11)]
> print(sorted(L))
>
> Output:
> (Bob: 33) > (Tim: 22)
> *(Kevin: 11) < (Bob: 33)*
> *(Kevin: 11) < (Bob: 33)*
> (Kevin: 11) < (Tim: 22)
> (Alice: 11) < (Tim: 22)
> (Alice: 11) < (Kevin: 11)
> [(Alice: 11), (Kevin: 11), (Tim: 22), (Bob: 33)]
>
>
tom metatype in C code.
Ronald
___________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
opment of Python, not
> with it. To have a discussion about GUI programming with Python is probably
> python-list is a better place to discuss this.
>
>> On Sat, 1 Sep 2018 at 10:37 Kevin Kowitski via Python-Dev
>> wrote:
>> Hey Everyone!
>>
>>I am
bilities…
>>
>> 1. Article for one citation (1 DOI, generated by the publication)
>> 2. No article (many DOIs — one for each major version through Zenodo
>> <https://zenodo.org/record/1404209> (or similar service))
>>
>> Discuss.
>>
>> -Jackie
&
ergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
_______________
Python-Dev mailing list
Python-Dev@python.org
https://
esults for computationally based research -- it is not a solved problem.
And it's not a "they" -- many of us on this list are part of the academic
community.
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-69
d be nice.
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
__
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
___
Py
ython-Ideas on whether or not that
>> > behaviour ought to be considered a language feature, an accident of
>> > implementation, or a bug.
>> >
>> > Can we get some guidence on this please?
>>
>> This is an implementation detail. Current
it may or may not apply to
everywhere nameapaces are used in the interpreter...
> but __dict__ is described as " [a] dictionary or other mapping object".
>
exactly.
-CHB
On Sun, 7 Oct 2018 at 19:38, Chris Barker via Python-Dev <
> python-dev@python.org> wrote:
>
>> O
n-deprecated replacement (introduced in 10.10).
Ronald___________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
___________
Python-Dev mailing list
Python-Dev@python.org
https://mail.p
--
Julien Palard
https://mdk.fr
_______
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Palard
https://mdk.fr
___________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
loat2int(x))
>> '0x7ff80001'
>>
>
> I got '0x7ff000000001'.
>
>
> _______
> Python-Dev mailing list
> Python-Dev@python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
memory address
where x is stored.
"""
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar..
wn to be complex in
nature.
Ronald
--
Twitter: @ronaldoussoren
Blog: https://blog.ronaldoussoren.net/
_______
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
_______
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
o and distribute it.
Thanks in advance,
Paul
_______________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
compiler bug, could be replaced with #pragma
optimize around entire function.
-Original Message-
From: Steve Dower
Sent: Wednesday, February 6, 2019 11:16 AM
To: Terry Reedy ; python-dev@python.org; Paul Monson
Subject: Re: [Python-Dev] CPython on Windows ARM32
On 06Feb2019 0054, Terry
test_load_default_certs_env_windows fails on win32 and amd64 retail. skipped
on debug
-Original Message-
From: Steve Dower
Sent: Wednesday, February 6, 2019 3:28 PM
To: Christian Heimes ; Paul Monson
; python-dev@python.org; Ned Deily
Subject: Re: [Python-Dev] CPython on Windows ARM32
On 06Feb2019 1423
le.
Something like shutil.rmtree() with ignore_errors=True?
Ronald_______
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
le, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
_______
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
uld
a datetime.timedelta.total_microseconds function be a reasonable addition? I
would be happy to submit a patch for such a thing.
Richard Belleville
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubs
lly use shutil.rmtree for tests that need to create temporary files, and
create a temporary directory for those files (that is, use tempfile.mkdtemp in
setUp() and use shutil.rmtree in tearDown()). That way I don’t have to adjust
house-keeping code when I make changes to test code.
Ronald
__
A function with "microseconds" in the name IMO misleadingly suggests
that it has something closer to microsecond accuracy than a 1-second
granularity.
Rob Cliffe
On 14/02/2019 05:05:54, Richard Belleville via Python-Dev wrote:
In a recent code review, the following snippet was cal
On Fri, Feb 15, 2019 at 11:58 AM Rob Cliffe via Python-Dev <
python-dev@python.org> wrote:
> A function with "microseconds" in the name IMO misleadingly suggests that
> it has something closer to microsecond accuracy than a 1-second granularity.
>
it sure does, but `de
lse
> uses it. :)
>
And I would REALLY like it if as much was the same as possible on all
platforms...
-CHB
> -Brett
>
>
>>
>>
>>> Victor
>>> --
>>> Night gathers, and now my watch begins. It shall not end until my death.
>>> ___
,
--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org
Thanks for the feedback.
I updated the PR to use get_platform and get_host_platform.
More testing is still needed before it's ready to merge to make sure it still
does what it was intended to do.
-Original Message-
From: Python-Dev On
Behalf Of Xavier de Gaye
Sent: Tuesday, Feb
inner a
> écrit :
> >
> > No, I wasn't aware of this project. My starting point was:
> >
> > http://static.usenix.org/events/vee05/full_papers/p153-yunhe.pdf
> > Yunhe Shi, David Gregg, Andrew Beatty, M. Anton Ertl, 2005
> >
> > See also my email to py
k it SHOULD be done, and
then see what happens -- we don't need to make the PEP match current
practice.
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (20
So microsecond
precision is lost for timedeltas representing longer than that -- does that
matter ???
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115
-CHB
-
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
________________
main reception
chris.bar...@noaa.gov
___________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
we are with the governance model, so is there a
way to get a clear idea for whether it's time to drop this?
BTW, I don't think this is worth a PEP, but if I get a go-ahead, and it
needs to be written up, I'd be willing to do so.
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
(seven
non-dunder attributes by my count) already.
>From a practicality beats purity standpoint -- a few new methods (or a
single conversion method) is less pure and "correct", but also a lot more
usable.
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
Did we ever hear back from the OP as to whether they were using py2 or 3?
If they were unable to find timedelta division in py3 -- that's a pretty
good case that we need something else.
The OP:
"""
On Wed, Feb 13, 2019 at 9:10 PM Richard Belleville via Python-Dev <
pytho
gt;
> The OP:
> """
> On Wed, Feb 13, 2019 at 9:10 PM Richard Belleville via Python-Dev <
> python-dev@python.org> wrote:
>
>> In a recent code review, the following snippet was called out as
>> reinventing the
>> wheel:
>>
>>
limited to a py2 solution.
But di you poke around in py3 before posting?
(you should have, python-dev is really about active development, i.e.
python 3 -- but that's not the point here)
> For the moment, we've left the code as in the original snippet.
>
If you care abou
icial docs for
internal functionality
That time, they let it slide, but of course this is not something to make a
habit of. It still bothers me that I left unfinished business there.
Any thoughts?
--
Regards,
Ivan
_______
Python-Dev mailing list
Python-Dev@
examples of how to do this?
If not, are there any recommendations for how to achieve this?
Thanks,
Paul Monson
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org
:
'Probability density function. P(x <= X < x+dx) / dx'
variance = self.variance
return exp((x - self.mu)**2.0 / (-2.0*variance)) / sqrt(tau * variance)
def cdf(self, x):
'Cumulative distribution function. P(X <= x)'
r
hiy proposed to discuss on the Python-dev mailing list.
Question: Should we drop it or add a (Pending)DeprecationWarning?
Suggestion and timeline:
3.8, we raise a PendingDeprecationWarning
* update the code
* update the documentation
* update the tests
(check a PendingDeprecat
of the various types).
This is pretty much what ctypes provides for dealing with unicode?
https://docs.python.org/3/library/ctypes.html#ctypes.create_unicode_buffer
Seems a fine place to have things that help with win32 api interactions.
Martin
___________
docs.io/init_config.html
The plan is to put it in the Python documentation once it becomes public.
Victor
--
Night gathers, and now my watch begins. It shall not end until my death.
___________
Python-Dev mailing list
Pyth
No Discourse post, because we don't have a python-dev equivalent there yet, so
please reply here for this one.
Implementation is at https://github.com/zooba/cpython/tree/pep-578/ and my backport to 3.7
(https://github.com/zooba/cpython/tree/pep-578-3.7/) is already getting some real use (thou
th "default:" list
the default ACL .
`setfacl -b ' removes all ACLs from location.
Thanks,
Steve
_______
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo
re
aren't any other platforms where it'll be used.
https://github.com/python/cpython/pull/12655
Cheers,
Steve
___________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.py
r, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
_______
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
he
Python team.
I also see other undocumented behavior like accepting '>' (also
obsoleted as public in 3.8) which I would like to but it's of no harm.
--
Regards,
Ivan
___________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.
w.linuxquestions.org/questions/programming-9/the-return-value-of-getpid-called-from-main-thread-and-new-thread-r-identical-624399/ ,
threads used to have different PIDs in the 2.4 Linux kernel.
Cheers,
Steve
_______
Python-Dev mailing list
Python-Dev@python.org
htt
cision before year 285,422,891
(which is quite far in the future ;-)).
Victor
--
Regards,
Ivan
_______________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
_______________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubs
itch between
runtimes of different Python versions (ex: Python 3.6 or Python 3.8).
Victor
--
Night gathers, and now my watch begins. It shall not end until my death.
___________
Python-Dev mailing list
Python-Dev@p
On 24.04.2019 3:50, Ivan Pozdeev via Python-Dev wrote:
On 24.04.2019 2:44, Victor Stinner wrote:
Hi,
Two weeks ago, I started a thread "No longer enable Py_TRACE_REFS by
default in debug build", but I lost myself in details, I forgot the
main purpose of my proposal...
Let me
es` IIRC.
But building extensions is broken in this case as per
https://mail.python.org/pipermail/python-dev/2019-April/157180.html .
Regards
Antoine.
___________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
ed in Python 3.7, I think `isocalendar` is the only remaining method without an
inverse. Do people agree with this principle? Should we add the `fromisocalendar` method?
Thanks,
Paul
___________
Python-Dev mailing list
Python-Dev@python.org
https://ma
).
This will rerun things, but all the failures will be visible in the PR.
--
Regards,
Ivan
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options
Council's
reflection and rationale on the PEP?
+1. Specifically, I'd like to know if the risks and the potential for GitHub missing any needed features were estimated. The PEP says
nothing about this.
Thank you
Regards
Antoine.
_______
Python-Dev ma
n Microsoft that we were able to make this happen.
That's due to every contributor, both to the core runtime and the ecosystem. I hope this will only help us improve the availability of
Python for users and make it an easier choice for dev tasks in the future.
Cheers,
Steve
_
On 22.05.2019 23:52, Steve Dower wrote:
On 22May2019 1309, Ivan Pozdeev via Python-Dev wrote:
As someone whose job is to diagnose and fix problems with running software:
Are there patches in your release? Do you provide corresponding sources and
debug symbols for it?
You can find the sources
ust take whatever is in Python and run with it, being confident that the
Python team has my back.
--
Regards,
Ivan
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
On 27.05.2019 4:55, Steven D'Aprano wrote:
On Sun, May 26, 2019 at 04:03:11PM +0300, Ivan Pozdeev via Python-Dev wrote:
On 24.05.2019 9:55, Steven D'Aprano wrote:
I don't know if this is a good idea or a terrible idea or somewhere in
between, so I'm throwing it out to se
gies if someone has already pointed all this out, as is very likely
(I have only just (re-)joined python-ideas and may have missed the
relevant posts).
Best wishes
Rob Cliffe
_______
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mail
set starts with PySet_MINSIZE - 1 == 8 and increases over team.
Christian
___________
Python-Dev mailing list -- python-dev@python.org
<mailto:python-dev@python.org>
To unsubscribe send an email to python-dev-le...@python.org
<mai
Well, this is their chance to prove they actually meant it. ;)
> Victor
> Le lundi 24 juin 2019, Brett Cannon br...@python.org...
> a écrit :
> > We now have https://www.python.org/psf/donations/python-dev/...
> > for anyone
> > to make
any other.
--
Regards,
Ivan
___________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/lis
lot of places where I do
> > if string.startswith('foo'):
> > string = string[ 3: ];
> > as well as making it more robust, because the string and its length have
> > to stay synchronized when changes are made.
> __
voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
_______
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https:
rds the places where we are paying attention.
Cheers,
Steve
___________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https:
uct a raw tree first
and only then apply any equivalence transformations to it.
--
Regards,
Ivan
___________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/pytho
eered for -announce, so maybe that will help. :)
The requirement here is not prior fame but free time for the job (and a minimal
amount of common sense if that could be called a requirement).
_______
Python-Dev mailing list -- python-dev@python.org
To unsub
. build/html
docsbuild@docs:/srv/docsbuild/3.9/cpython-en/Doc$ grep breakpoint
build/html/library/audit_events.html
builtins.breakpoint
breakpointhook
[1]
Bests,
--
Julien Palard
https://mdk.fr
_______________
Python-Dev mailing list -- python-dev@python.or
gn-documentation/373442#373442)
___________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list
lso mentions versions but it's
severely outdated.
Should it refer to readme.txt?
--
Regards,
Ivan
_______
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/p
alues)
I don’t think this invariant holds unless comparison is order dependent. {1:2,
3:4} and {1:4, 3:2} have the same keys and values, but not the same items.
Ronald
___________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to p
'__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '
__init__', '__init_subclass__', '__iter__', '__le__', '__len__',
'__lt__', '__ne__', '__new__',
ts / lists / sorted lists
before comparing" ?
_______
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://
(but then
again, if I don't mention this possibility, maybe someone even more
idiotic than me will suggest it ).
On 25/07/2019 00:49:56, Rob Cliffe via Python-Dev wrote:
On 25/07/2019 00:09:37, David Mertz wrote:
I agree with Greg.
There are various possible behaviors that might make
== d.items()
```
but `d.values() == d.values()` does not return the expected
results. It always returns `False`. The symmetry is a bit off.
In the bug trackers[0] and the Github PR[1], I was asked
to raise the issue on the python-dev mailing list to find
a consensus on what comparing `.values()` shoul
ing.
Since the first one appears in regexes and parameters that are Windows paths
and the second one in output messages, they do not intersect.
_______
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.or
e, open() is
executed at run-time.
And the use of open might be masked by using a synonym for it;
open might be shadowed by the program assigning to it;
the argument to open() might be an expression such as
("..training\new_memo" + extn) etc., etc.
Rob Cliffe
_______
or post a bug report on ..."
_______
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.or
as I expected the named tuple type to be
>>> cached based on the declared name 'f'. But it's been that way
>>forever
>>> so obviously my intuition here is wrong. But maybe it would be
>>useful
>>> for this case if there *
he tuple into its separate values.
BTW. I’m primarily trying to understand your use case because it is so similar
to what I’m doing in PyObjC, and such understanding can lead to an improvement
in PyObjC ;-).
Ronald
___
Python-Dev mailing list -- py
estamp. No big
deal, but ...
If it is a feature for some reason, presumably it should be documented.
Best wishes
Rob Cliffe
_______
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/m
301 - 400 of 939 matches
Mail list logo