[Python-Dev] Re: The order of operands in the comparison

2019-07-21 Thread raymond . hettinger
FWIW, the bisect_left and bisect_right functions have different argument order so that they can both use __lt__, making them consistent with sorting and with the heapq functions. Raymond ___ Python-Dev mailing list -- python-dev@python.org To unsubscri

[Python-Dev] Re: The order of operands in the comparison

2019-07-21 Thread Grant Jenks
There's also bisect_left and bisect_right which each do different things. The bisect_left function puts the needle on the right while the bisect_right function puts the needle on the left. I've thought a bit about these scenarios as the author of Sorted Containers but no user has ever raised an is

[Python-Dev] Re: Sphinx is blocking merges

2019-07-21 Thread Ned Deily
On Jul 21, 2019, at 18:49, Terry Reedy wrote: > One of the required CI tests is a Travis doc build, even if a PR does not > touch any doc file. The following failure appears to be deterministic on > master and 3.8. A 3.7 backport passed. It has happened multiple times on > multiple PRs today

[Python-Dev] Re: Replacing 4 underscores with a $ sign, idea for a PEP

2019-07-21 Thread Abdur-Rahmaan Janhangeer
forward? Abdur-Rahmaan Janhangeer Mauritius ___ 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.p

[Python-Dev] Re: Replacing 4 underscores with a $ sign, idea for a PEP

2019-07-21 Thread Eric V. Smith
You’ll have to manually re-send it. -- Eric V. Smith (301) 502-0945 cell > On Jul 21, 2019, at 11:23 AM, ka...@beholdingeye.com wrote: > > Sorry for posting to the wrong list! If this could be moved I'd appreciate it. > ___ > Python-Dev mailing list -

[Python-Dev] Re: Replacing 4 underscores with a $ sign, idea for a PEP

2019-07-21 Thread Karl Dolenc
Eric Smith advised me that I'll have to manually re-post to the Ideas list. I'll do so once my subscription there is accepted. If possible, this thread should be deleted. ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email

[Python-Dev] Sphinx is blocking merges

2019-07-21 Thread Terry Reedy
One of the required CI tests is a Travis doc build, even if a PR does not touch any doc file. The following failure appears to be deterministic on master and 3.8. A 3.7 backport passed. It has happened multiple times on multiple PRs today. Example: https://travis-ci.org/python/cpython/jobs/

[Python-Dev] Re: Replacing 4 underscores with a $ sign, idea for a PEP

2019-07-21 Thread karld
Sorry for posting to the wrong list! If this could be moved I'd appreciate it. ___ 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/ M

[Python-Dev] Re: Replacing 4 underscores with a $ sign, idea for a PEP

2019-07-21 Thread Skip Montanaro
My only comment is that this belongs first on python-ideas . Skip ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://ma

[Python-Dev] Replacing 4 underscores with a $ sign, idea for a PEP

2019-07-21 Thread karld
Hello good people of Python Dev! My name is Karl and I have been a Python user since 2010, professionally since 2015. I belong to the "novice, non-technical" group of users, having got my start with programming in the 1990s using HyperTalk, possibly the easiest language of all, with the most En