On Thu, Jul 25, 2019 at 9:32 AM Batuhan Taskaya
wrote:
> What i see is when you post the ideas channel and it is something that
> doesnt change much on the frontside people dont care. And when people dont
> care, they forgot. PEP reviewing process is way better than posting to
> ideas and try to
On Wed, Jun 12, 2019 at 7:56 PM Yanghao Hua wrote:
> On Wed, Jun 12, 2019 at 11:27 PM Chris Angelico wrote:
> > Yes, you would need some sort of syntactic parser. There are a couple
> > of ways to go about it. One is to make use of Python's own tools, like
> > the ast module; the other is to
On Wed, May 22, 2019 at 9:57 AM Yanghao Hua wrote:
> > > And this is something I have in mind for a Python DSL for HDL:
>
Perhaps you might be able to do what you want using an import hook. I have
done some experiments with introducing some new operators that way:
On Sat, Mar 23, 2019 at 6:26 PM Ned Batchelder
wrote:
> On 3/23/19 1:37 PM, Gregory P. Smith wrote:
> > Sure, someone is going to typo and omit the = from a := assignment in
> > 3.8 but the walrus is unlikely to be used outside of an conditional or
> > loop test context so this seems like a made
Consider the following example [1]:
Python 3.7.0 (v3.7.0:1bf9cc5093...
>>> d = {
... "injury": "flesh wound"
... }
>>> d["answer"]: 42
>>> if "answer" in d:
... print("Don't panic!")
... else:
... print("Sorry, I can't help you.")
...
Sorry, I can't help you.
= =
No
On Fri, Mar 15, 2019 at 11:42 AM Steven D'Aprano
wrote:
> [snip]
>
> I still remember being told in no uncertain terms by the core devs that
> adding a clear() method to lists was a waste of time because there was
> already a perfectly good way to spell it with slicing. And then ABCs
> came
On Thu, Mar 7, 2019 at 9:10 AM James Lu wrote:
> Rationale: When I use a search engine to google a Python question, I
> frequently get a link to a page of the Python 2.7 documentation that shows
> before the Python 3 documentation link.
>
There exists browser extensions that do this:
On Fri, Aug 24, 2018 at 12:42 PM Barry Scott wrote:
>
>
> On 23 Aug 2018, at 19:49, Mike Barnett wrote:
>
> Python has dropped the GUI ball, at least for beginners (in my opinion)
>
>
> snip
>
> I think that this is a very interesting project. Having a simple way to do
> GUI's is great for
On Thu, Aug 2, 2018 at 7:24 AM Thomas Nyberg via Python-ideas <
python-ideas@python.org> wrote:
> Is it true that Path('file').read_text() cl
> oses the file after the read?
> I think that is the sort of functionality that Ken is asking for.
> It's not clear to me by your linked documentation
On Mon, Jul 23, 2018 at 6:52 AM Steve Dower wrote:
> Responding to a few more ideas that have come up here.
>
Thank you for the clarifications.
I'm trying to wrap my head around the various facets of None aware
operators proposal after reading the whole discussion - as well as having
read
In the cPython repository, there is an unparse module in the Tools section.
https://github.com/python/cpython/blob/master/Tools/parser/unparse.py
However, as it is not part of the standard library, it cannot be easily
used; to do so, one needs to make a local copy in a place from where it can
be
I have a suggestion to make inspired by the current discussion about
trigonometric functions in degrees, and the desire to have them show
"exact" values in some special cases.
I suggest that it would be useful to have operators for performing
**approximate** comparisons. I believe that such
Sorry for chiming in so late; I was lurking using google groups and had to
subscribe to post - hence this new thread.
I gather that *where* has been discarded as a possible new keywords given
its use as a function in numpy (
13 matches
Mail list logo