On Wed, May 29, 2019 at 3:15 AM Eric V. Smith <[email protected]> wrote:
> Yes, I’ve read every one of the emails in this thread, many of them multiple
> times.
>
> Python does not know what “a delta cycle of zero virtual time has passed”
> means, so there’s no way of implementing this feature. If indeed you’re
> serious about this feature, you would do yourself a favor by explaining it in
> terms of Python, not in terms of HDL.
Python does not need to know this ... just hand it over to end user
who knows how to implement such a thing. Python need to provide the
mechanism.
> >
> >> It seems that you want these two statements to work differently:
> >>
> >> x = something() # bind a name for the first time
> >> # ("create a variable", if you will)
> >> x = 4 # do something different when x already exists
> >> # and is of some special type
> >>
> >> Is that true? What is the "something different"?
> >
> > x = 4 should be something like x <== 4 or x := 4 (the latter has been
> > taken by the assignment expressions though ...). Such that variable
> > initialization (=) and utilization (<==) can be differentiated.
>
> I take this as an answer of “yes” to my question of the two assignments being
> different. If that’s so, then I’m positive this feature will not be
> implemented.
I respect your view however I cannot agree with it.
> >
> >> I've got to be honest with you: I don't see Python changing in this regard.
> >
> > Sad to see that's the case from you when it seems you barely even read
> > all of the postings in this thread.
>
> It’s true that I’ve tried and failed to understand what behavior you’re
> suggesting be added to Python. Good luck going forward, but I’m dropping t
> out of the conversation.
Thanks for trying and all the feedbacks.
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/