On august 7th, 1998, Guido committed
https://github.com/python/cpython/commit/d89fa0c5761254c970af72e5abcea420fd2
3e893 to python, adding the quit() and exit() built-ins. He decided to
determine the platform python was running on by checking os.sep. I don't
understand the rationale behind this
My $0.02 on the entire series of nametuple threads is… there *might* be value
in an immutable namespace type, and a mutable namespace type, but namedtuple’s
promise is that they can be used anywhere a tuple can be used. If passing in
kwargs to create the potential replacement to namedtuple is
E a new namedtuple]
>
>
>
> Le 29/07/2017 à 18:14, Alex Walters a écrit :
> > My $0.02 on the entire series of nametuple threads is… there **might**
> > be value in an immutable namespace type, and a mutable namespace type,
> > but namedtuple’s promise is that t
> -Original Message-
> From: Python-ideas [mailto:python-ideas-bounces+tritium-
> list=sdamon@python.org] On Behalf Of Jason H
> Sent: Friday, August 11, 2017 10:58 AM
> To: python-ideas@python.org
> Subject: [Python-ideas] Towards harmony with JavaScript?
>
> Before I done my
Before async/await it made sense that iscoroutine and iscoroutinefunction
live in asyncio. But now that coroutines are a built in type, supported by
its own syntax, wouldn't it make sense to make those functions builtins?
___
Python-ideas mailing list
Fnmath.filter works great. To remind people what it does, it takes an
iterable of strings and a pattern and returns a list of the strings that
match the pattern. And that is wonderful
However, I often need to filter *out* the items that match the pattern (to
ignore them). In every project that
> -Original Message-
> From: Python-ideas [mailto:python-ideas-bounces+tritium-
> list=sdamon@python.org] On Behalf Of Nick Coghlan
> Sent: Sunday, November 12, 2017 6:19 PM
> To: Brendan Barnwell
> Cc: python-ideas@python.org
> Subject: Re: [Python-ideas]
At this point, I would punt to distutils-sig about curated packages, and pip
tooling to support that, but they are bogged down as it stands with just
getting warehouse up and running. I don’t support putting specialized tooling
in python itself to install curated packages, because that
Writing scripts for non-developers, in an unmanaged environment (IT cant
push a python install to the system) on windows means running pyinstaller
et. al., on your script, if it has dependencies or not. Its not worth it to
walk someone through a python install to run a script, let alone
kages from Python prompt
>
> On Sun, Oct 29, 2017 at 8:45 PM, Alex Walters <tritium-l...@sdamon.com>
> wrote:
> > Then those users have more fundamental problems. There is a minimum
> level
> > of computer knowledge needed to be successful in programming.
&g
I have a somewhat better, imo, implementation of a pip object to be loaded into
the repl.
class pip:
def __call__(self, *a, **kw):
sys.stderr.write(str(self))
def __repr__(self):
return str(self)
def __str__(self):
return “Please run pip from
-ideas] install pip packages from Python prompt
Hi,
What would be the difference with current pip module?
pip.main(['install', 'some_package'])
2017-10-29 20:26 GMT+01:00 Alex Walters <tritium-l...@sdamon.com
<mailto:tritium-l...@sdamon.com> >:
I have a somewhat better, i
> -Original Message-
> From: Python-ideas list=sdamon@python.org> On Behalf Of David Teresi
> Sent: Friday, June 8, 2018 2:42 PM
> To: python-ideas@python.org
> Subject: [Python-ideas] A "within" keyword
>
> One of the features I miss from languages such as C# is namespaces that
>
> -Original Message-
> From: Python-ideas list=sdamon@python.org> On Behalf Of Nick Timkovich
> Sent: Sunday, July 1, 2018 12:02 PM
> To: Matt Arcidy
> Cc: python-ideas
> Subject: Re: [Python-ideas] Add a __cite__ method for scientific packages
>
> From an abstract level, however,
It’s my opinion that instead of adding syntax, we should instead encourage
using number formatting library functions.
* You can replace the function or have the function dispatch differently
depending on locale
* It means that syntax doesn’t need to be extended for every use case – its
I actually like the idea of being able to modify the py.ini file to set the
default from py.exe. That seams like the most intuitive thing to me.
> -Original Message-
> From: Python-ideas [mailto:python-ideas-bounces+tritium-
> list=sdamon@python.org] On Behalf Of Jan Claeys
> Sent:
> -Original Message-
> From: Paul Moore [mailto:p.f.mo...@gmail.com]
> Sent: Tuesday, February 6, 2018 6:31 AM
> To: Alex Walters <tritium-l...@sdamon.com>
> Cc: Jan Claeys <li...@janc.be>; Python-Ideas <python-ideas@python.org>
> Subject: Re: [Pyth
While this thread has focused on the location and means of managing py.ini,
I think there is a more general solution that should be considered to the
original problem, as described. The problem isn't that it's difficult or
non-obvious how to set the default python for the py.exe launcher (that's
> -Original Message-
> From: Paul Moore [mailto:p.f.mo...@gmail.com]
> Sent: Wednesday, February 7, 2018 4:15 AM
> To: Alex Walters <tritium-l...@sdamon.com>
> Cc: Steve Barnes <gadgetst...@live.co.uk>; Python-Ideas id...@python.org>
> Subject: Re: [P
> -Original Message-
> From: Python-ideas list=sdamon@python.org> On Behalf Of Abe Dillon
> Sent: Monday, August 13, 2018 12:56 AM
> To: Chris Angelico
> Cc: Python-Ideas
> Subject: Re: [Python-ideas] Syntactic sugar to declare partial functio
> [Steven D'Aprano]
>
>
> You've said that the choice of keyword, "lambda", has caused harm.
> Given
> the chance to clarify what you meant, you stood by your comment
> that the
> choice of keyword "lambda" has done real, significant, non-trivial
> harm
> to Python (the
I can see custom mapping types where iterating the keys() would be trivial, but
items() could be expensive. I could use that as an argument, but I don't have
to. The keys() method is part of the API, just like index() and count() are
part of the sequence API. To be treated like a mapping
For what its worth, I'm +1 on it.
I actually like that it would allow:
while (something() as var):
something_else(var)
...without being a bug magnet. The bug magnet isn't the assignment of a
name in the condition of a while loop, it's the fact that assignment is a
simple typo away from
"This page was intentionally left blank."
> -Original Message-
> From: Python-ideas [mailto:python-ideas-bounces+tritium-
> list=sdamon@python.org] On Behalf Of Oleg Broytman
> Sent: Wednesday, February 28, 2018 5:12 PM
> To: python-ideas@python.org
> Subject: Re: [Python-ideas]
That should probably be its own thread
From: Python-ideas
[mailto:python-ideas-bounces+tritium-list=sdamon@python.org] On Behalf Of
Robert Vanden Eynde
Sent: Wednesday, February 28, 2018 4:48 PM
Cc: python-ideas
Subject: Re: [Python-ideas] PEP 572:
Besides the login issues (or non-issues), assuming best case scenario, would
the migration be seamless from my inbox’s point of view? Would I have to
re-subscribe?
From: Python-ideas
[mailto:python-ideas-bounces+tritium-list=sdamon@python.org] On Behalf Of
Nick Coghlan
Sent: Thursday,
>
> On the third hand, requiring parentheses all the time would also feel
> strained:
>
> while m := someregexp.match(somestring):
>
> is already impossible to misread.
>
> Annoying ;-)
While adding parens to that would be superfluous for the reader of the
module, as a tradeoff for
I am fairly sure if you give the PyPA that suggestion, they will just deflate
at the thought of the workload. Besides, we already offer private repos for
free, several ways ranging from devpi to python -m SimpleHTTPServer in a
specially created directory.
From: Python-ideas
, June 29, 2018 12:16 AM
> To: Alex Walters
> Cc: Steven D'Aprano ; python-ideas@python.org
> Subject: Re: [Python-ideas] Add a __cite__ method for scientific packages
>
> For me, it's about setting a standard that is endorsed by the
> language, and setting expectations
Why not scipy.cite() or scipy.citation()? I don't see any reason for these
functions to ship with standard python at all.
> -Original Message-
> From: Python-ideas list=sdamon@python.org> On Behalf Of Steven D'Aprano
> Sent: Thursday, June 28, 2018 8:17 PM
> To:
> -Original Message-
> From: Hans Polak
> Sent: Thursday, September 20, 2018 3:38 AM
> To: Alex Walters ; python-ideas@python.org
> Subject: Re: [Python-ideas] Moving to another forum system where
>
>
> I don’t think its unreasonable to point out t
> -Original Message-
> From: Python-ideas list=sdamon@python.org> On Behalf Of Abe Dillon
> Sent: Friday, January 4, 2019 2:02 PM
> To: Python-Ideas
> Subject: [Python-ideas] AMEND PEP-8 TO DISCOURAGE ALL CAPS
>
> I keep coming back to this great video
> -Original Message-
> From: Python-ideas list=sdamon@python.org> On Behalf Of Serhiy Storchaka
> Sent: Tuesday, September 11, 2018 2:54 AM
> To: python-ideas@python.org
> Subject: Re: [Python-ideas] __iter__(), keys(), and the mapping protocol
>
> 11.09.18 05:04, Elias Tarhini
> Probably because IBM decided on 80 columns for their punched cards.
> And that probably didn't have anything to do with a readable width
> for text. Nobody used computers for word processing back then.
> In fact punched cards predate computers altogether, originally
> being developed for
> -Original Message-
> From: Python-ideas list=sdamon@python.org> On Behalf Of Jonathan Fine
> Sent: Wednesday, January 30, 2019 6:40 AM
> To: python-ideas
> Subject: Re: [Python-ideas] Stack traces ought to flag when a module has
> been changed on disk
>
> I think Steve's
I have made this suggestion in the past. The response then was that there
is no metadata in the windows install that includes if the release is
development or stable (that information is not stored in the registry). I
was advised to adjust my configuration of the py.exe launcher to set a
The arrow ...which I will not copy and paste to really hammer home the point
that its not on my fairly standard US keyboard... doesn't look like assignment,
it looks like a comparison operator.
> -Original Message-
> From: martin_05--- via Python-ideas
> Sent: Tuesday, November 5, 2019
Telling someone you are trying to convince to do something to go learn
something else to "get on your level" as the youth would put it... is not how
you get people to agree with you.
To summarize this thread, as I see it so far
* you asked about adding a feature with the name "traits" to the
38 matches
Mail list logo