On 12/02/21 3:39 pm, Andras Tantos wrote:
Now, when a Port gets assigned a NetType, it needs to gain all sorts of
new features. It for example should have a 'length' attribute that tells
how many bits are needed to represent its possible values.
The way I would probably approach this is to hav
On 11Feb2021 20:22, duncan smith wrote:
> It seems that I can mutate a deque while iterating over it if I
>assign to an index, but not if I append to it. Is this the intended
>behaviour? It seems a bit inconsistent. Cheers.
I think that just means that the deque didn't _notice_ your change i
On 2/11/21 1:43 PM, Greg Ewing wrote:
On 12/02/21 7:05 am, Andras Tantos wrote:
a = B()
a.m(41)
a.m = MethodType(method, a)
a.m(42)
Are you sure you really need to inject methods into instances
like this? What problem are you trying to solve by doing so?
There's almost ce
Chris,
Thanks for the reply!
On 2/11/21 11:08 AM, Chris Angelico wrote:
On Fri, Feb 12, 2021 at 5:54 AM Andras Tantos
wrote:
Esteemed Python Gurus,
I think, I actually know the answer to this question, but - maybe beyond
reason - I'm hoping there to be some magic. Consider the following co
On 11/02/2021 23:05, Paul Rubin wrote:
Mr Flibble writes:
"neos" - https://neos.dev/ https://github.com/i42output/neos
Good luck, let us know when it is done. What is there doesn't look like
a credible start so far, but maybe you will surprise us. Have you
actually written any code in the l
On 11/02/2021 23:12, Greg Ewing wrote:
On 12/02/21 11:33 am, Mr Flibble wrote:
neos isn't a Python package so that isn't a problem.
It might be a bit confusing if it ever becomes part of the
wider Python ecosystem, though.
Python is but one language that neos will implement.
/Flibble
--
😎
On 12/02/21 11:33 am, Mr Flibble wrote:
neos isn't a Python package so that isn't a problem.
It might be a bit confusing if it ever becomes part of the
wider Python ecosystem, though.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
On 11/02/2021 22:25, Dan Stromberg wrote:
On Thu, Feb 11, 2021 at 2:00 PM Mr Flibble
wrote:
On 11/02/2021 21:13, Dan Stromberg wrote:
Does your project have a name yet? I'd like to follow it through google
alerts or an announcement mailing list.
"neos" - https://neos.dev/ https://github.co
On Thu, Feb 11, 2021 at 2:00 PM Mr Flibble
wrote:
> On 11/02/2021 21:13, Dan Stromberg wrote:
> > Does your project have a name yet? I'd like to follow it through google
> > alerts or an announcement mailing list.
>
> "neos" - https://neos.dev/ https://github.com/i42output/neos
>
Pypi already a
I may be the only one who does not deal well with a condescending attitude.
I have to wonder what international standards body ever completes a task in
finite time, only to find the real world has moved on. Having standards can be
a great idea. When the standard does not properly describe any im
On 11/02/2021 21:13, Dan Stromberg wrote:
Does your project have a name yet? I'd like to follow it through google
alerts or an announcement mailing list.
"neos" - https://neos.dev/ https://github.com/i42output/neos
/Flibble
--
😎
--
https://mail.python.org/mailman/listinfo/python-list
On 12/02/21 7:05 am, Andras Tantos wrote:
a = B()
a.m(41)
a.m = MethodType(method, a)
a.m(42)
Are you sure you really need to inject methods into instances
like this? What problem are you trying to solve by doing so?
There's almost certainly a better way to approach it.
--
On 12/02/2021 09.22, duncan smith wrote:
> Hello,
> It seems that I can mutate a deque while iterating over it if I
> assign to an index, but not if I append to it. Is this the intended
> behaviour? It seems a bit inconsistent. Cheers.
Yes, and no! Agree and disagree. (see how decisive I ca
On Thu, Feb 11, 2021 at 10:21 AM Mr Flibble
wrote:
> For a language to transition from "toy" status it has to be formally
> standardized. It is unacceptable to define a language in terms of a
> particular implementation. A git repo of Source code and associated
> observable dynamic behaviour whe
On 12/02/2021 08.53, Chris Angelico wrote:
> On Fri, Feb 12, 2021 at 6:47 AM dn via Python-list
> wrote:
>> 3
>> My mind is whirling in an attempt to understand "show me a better time".
>> Does this perhaps indicate that @Chris' social life leaves something to
>> be desired? Are Python-nerds reall
Hello,
It seems that I can mutate a deque while iterating over it if I
assign to an index, but not if I append to it. Is this the intended
behaviour? It seems a bit inconsistent. Cheers.
Duncan
>>> from collections import deque
>>> d = deque(range(8))
>>> it = iter(d)
>>> next(it)
0
>>> d[1
Hi,
https://stackoverflow.com/questions/66161394/unittest-skip-doesnt-print-anything-in-python-3-7
We are using Django with unittest. Some tests are skipped with the
@unittest.skip decorator. But if I run the tests with Python 3.6 or 3.7, I
get a number of tests passed (Ran 993 tests / OK), and i
On Fri, Feb 12, 2021 at 6:47 AM dn via Python-list
wrote:
> 3
> My mind is whirling in an attempt to understand "show me a better time".
> Does this perhaps indicate that @Chris' social life leaves something to
> be desired? Are Python-nerds really the ones to turn-to for dating
> advice, or is th
On 12/02/2021 07.14, Mr Flibble wrote:
> On 11/02/2021 18:06, Chris Angelico wrote:
>> On Fri, Feb 12, 2021 at 5:01 AM Mr Flibble
>> wrote:
>>>
>>> On 11/02/2021 16:31, Dan Stromberg wrote:
On Thu, Feb 11, 2021 at 4:35 AM Mr Flibble
wrote:
> I am starting work on creating
On Fri, Feb 12, 2021 at 5:54 AM Andras Tantos
wrote:
>
> Esteemed Python Gurus,
>
> I think, I actually know the answer to this question, but - maybe beyond
> reason - I'm hoping there to be some magic. Consider the following code:
>
> from types import MethodType
>
> class A(object):
>
Esteemed Python Gurus,
I think, I actually know the answer to this question, but - maybe beyond
reason - I'm hoping there to be some magic. Consider the following code:
from types import MethodType
class A(object):
pass
def m(self, x):
print(f"A.m({x})")
On 11/02/2021 18:24, Paul Bryan wrote:
On Thu, 2021-02-11 at 17:56 +, Mr Flibble wrote:
Actually it is a relatively small task due to the neos universal
compiler's architectural design. If it was a large task I wouldn't
be doing it.
When do you estimate this task will be completed?
I a
On Thu, 2021-02-11 at 17:56 +, Mr Flibble wrote:
> Actually it is a relatively small task due to the neos universal
> compiler's architectural design. If it was a large task I wouldn't
> be doing it.
When do you estimate this task will be completed?
> I am not particularly interested in any
On 11/02/2021 18:06, Chris Angelico wrote:
On Fri, Feb 12, 2021 at 5:01 AM Mr Flibble
wrote:
On 11/02/2021 16:31, Dan Stromberg wrote:
On Thu, Feb 11, 2021 at 4:35 AM Mr Flibble
wrote:
Hi!
I am starting work on creating a new Python implementation from scratch
using "neos" my universal c
On 11/02/2021 18:03, Chris Angelico wrote:
In any case, it's not Python if it can't handle arbitrarily large
numbers. Python is an excellent language for mathematics.
I am also creating Ada and Haskell implementations which have a similar
requirement.
/Flibble
--
😎
--
https://mail.python.or
On Fri, Feb 12, 2021 at 5:01 AM Mr Flibble
wrote:
>
> On 11/02/2021 16:31, Dan Stromberg wrote:
> > On Thu, Feb 11, 2021 at 4:35 AM Mr Flibble
> > wrote:
> >
> >>
> >> Hi!
> >>
> >> I am starting work on creating a new Python implementation from scratch
> >> using "neos" my universal compiler tha
On Fri, Feb 12, 2021 at 4:52 AM Mr Flibble
wrote:
>
> On 11/02/2021 15:13, Chris Angelico wrote:
> > On Thu, Feb 11, 2021 at 11:36 PM Mr Flibble
> > wrote:
> >>
> >>
> >> Hi!
> >>
> >> I am starting work on creating a new Python implementation from scratch
> >> using "neos" my universal compiler
On 11/02/2021 16:31, Dan Stromberg wrote:
On Thu, Feb 11, 2021 at 4:35 AM Mr Flibble
wrote:
Hi!
I am starting work on creating a new Python implementation from scratch
using "neos" my universal compiler that can compile any programming
language. I envision this implementation to be signific
On 11/02/2021 15:13, Chris Angelico wrote:
On Thu, Feb 11, 2021 at 11:36 PM Mr Flibble
wrote:
Hi!
I am starting work on creating a new Python implementation from scratch using
"neos" my universal compiler that can compile any programming language.
Is it your intention to support all of Py
On Thu, Feb 11, 2021 at 4:35 AM Mr Flibble
wrote:
>
> Hi!
>
> I am starting work on creating a new Python implementation from scratch
> using "neos" my universal compiler that can compile any programming
> language. I envision this implementation to be significantly faster than
> the currently e
In article ,
Henning Follmann wrote:
>>>Looks like you (the project leader?) needs training, not the
>>>software engineers.
>>>
>>>"Making Things Happen" by Scott Berkun
>>
>> This looks like a very interesting book to add to my reading list, but
>> how do you think it will help the OP with his/
On Thu, Feb 11, 2021 at 11:36 PM Mr Flibble
wrote:
>
>
> Hi!
>
> I am starting work on creating a new Python implementation from scratch using
> "neos" my universal compiler that can compile any programming language.
Is it your intention to support all of Python's syntax and semantics,
or is thi
On 2021-02-11, Oscar wrote:
> In article ,
> Henning Follmann wrote:
>>On 2021-02-10, Python wrote:
>>> Hi,
>>>
>>> If you had to train engineers who are used to write
>>> Python scripts for image processing, data format conversion,
>>> etc. (so they know most the basics of Python types and
>
Hi!
I am starting work on creating a new Python implementation from scratch using
"neos" my universal compiler that can compile any programming language. I
envision this implementation to be significantly faster than the currently extant Python
implementations (which isn't a stretch given ho
In article ,
Henning Follmann wrote:
>On 2021-02-10, Python wrote:
>> Hi,
>>
>> If you had to train engineers who are used to write
>> Python scripts for image processing, data format conversion,
>> etc. (so they know most the basics of Python types and
>> programming structures except advance
Thank you, if anybody finds such an example in the wild where using a
mutable default is actually better than a global or closure I would be
happy to learn about it!
About the proposal, this is a quick PoC of the @default decorator:
import inspect
def default(**defaults):
def decorator(func
36 matches
Mail list logo