On Sat, Jun 23, 2018 at 2:16 PM, Chris Angelico wrote:
> For getting rid of the "len=len" trick, though, I would REALLY like to
> transform those into LOAD_CONST. That'd be a fun bytecode hack all on
> its own. In fact, I'm gonna have a shot at that. An "early bind these
> names" decorator.
Well,
On Sat, Jun 23, 2018 at 1:51 PM, Steven D'Aprano
wrote:
> On Wed, 20 Jun 2018 14:18:19 +1000, Chris Angelico wrote:
>
>> Ah. Yeah, that would be a plausible feature to add to Python. But in C,
>> a static variable is basically the same thing as a global variable,
>> except that its name is scoped
On Wed, 20 Jun 2018 14:18:19 +1000, Chris Angelico wrote:
> Ah. Yeah, that would be a plausible feature to add to Python. But in C,
> a static variable is basically the same thing as a global variable,
> except that its name is scoped to the function. There is only one of it.
> What happens in Pyt
On Fri, 22 Jun 2018 20:06:35 +0100, Ben Bacarisse wrote:
> Steven D'Aprano writes:
>
>> On Fri, 22 Jun 2018 11:14:59 +0100, Ben Bacarisse wrote:
>>
> The code page remark is curious. Will some "code pages" have digits
> that are not ASCII digits?
Good question. I have no idea
Either wait for IronPython 3.6, use COM interop, pythonnet, subprocess, or
things like gRPC. Based on PyPy experience, it is probably 1-2 years of
sponsored development to get a working IronPython 3.6.
--
https://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano writes:
> On Fri, 22 Jun 2018 11:14:59 +0100, Ben Bacarisse wrote:
>
The code page remark is curious. Will some "code pages" have digits
that are not ASCII digits?
>>>
>>> Good question. I have no idea.
>>
>> It's much more of an open question than I thought.
>
> Nah,
On 22/06/2018 00:51, Steven D'Aprano wrote:
On Thu, 21 Jun 2018 21:49:15 +0100, mm0fmf wrote:
[snip unnecessary quoting]
Design requirements for python newsreader client:
1. Block all top posters
I think it would be far more useful to block bottom-posters who don't
snip irrelevant quoted tex
Wait.
-Original Message-
From: fantasywan...@gmail.com
Sent: Friday, June 22, 2018 2:45 AM
To: python-list@python.org
Subject: ironpython not support py3.6
We have a project implemented with c# and python, iron python is a good choice
for us to integrate these two tech together but ir
On Fri, 22 Jun 2018 11:49:15 -0400, Michael Lamparski wrote:
list(zip())
> []
>
> I'm not sure why, but I really could've sworn this used to produce
> something like:
>
> TypeError: zip requires at least one argument
No, you are correct, but you have to go all the way back to Python 2.
>>> list(zip())
[]
I'm not sure why, but I really could've sworn this used to produce
something like:
TypeError: zip requires at least one argument
which is often what I would rather have happen since 0 arguments is a
degenerate case. (consider the result of zip(*zip(*args)) for 1+ arguments
Steven D'Aprano wrote:
==
If you were more interested in appreciating Python for what it is,
instead of turning everything into a pissing contest where your personal,
private language does it better, your experience might be different.
And who knows, you might even learn a thing or two. The
On 6/22/18 4:43 AM, Ethan Furman wrote:
> On 06/21/2018 01:20 PM, Ben Bacarisse wrote:
>
>> The code page remark is curious. Will some "code pages" have digits
>> that are not ASCII digits?
>
> Good question. I have no idea. I get the appropriate decoder/encoder
> based on the code page containe
On Fri, 22 Jun 2018 11:14:59 +0100, Ben Bacarisse wrote:
>>> The code page remark is curious. Will some "code pages" have digits
>>> that are not ASCII digits?
>>
>> Good question. I have no idea.
>
> It's much more of an open question than I thought.
Nah, Python already solves that for you:
On 6/22/18 3:28 AM, Paul St George wrote:
> On 21/06/2018 10:05, Anssi Saari wrote:
>> D'Arcy Cain writes:
>>
>>> One of these days I will have to figure out how to block replies to the
>>> trolls as well.
>>
>> Benefit of reading the mailing list via nntp (i.e. gmane): can easily
>> score down fo
Ethan Furman writes:
> On 06/21/2018 01:20 PM, Ben Bacarisse wrote:
>> You say in a followup that you don't need to worry about digit grouping
>> marks (like thousands separators) so I'm not sure what the problem is.
>> Can't you just replace ',' with '.' a proceed as if you had only one
>> repr
On Fri, 22 Jun 2018 01:43:56 -0700, Ethan Furman wrote:
>> You say in a followup that you don't need to worry about digit grouping
>> marks (like thousands separators) so I'm not sure what the problem is.
>> Can't you just replace ',' with '.' a proceed as if you had only one
>> representation?
>
On 22/06/2018 09:33, bart4...@gmail.com wrote:
It costs me some genuine effort to make what I believe are relevant
and interesting technical posts
I thank you for at least taking that trouble. But I think that this is
probably where the difference lies. This newsgroup/mailing list is
primaril
On Fri, 22 Jun 2018 01:33:41 -0700, bart4858 wrote:
> What a friendly, welcoming and open-minded group this is!
You reap what you sow.
If you were more interested in appreciating Python for what it is,
instead of turning everything into a pissing contest where your personal,
private language d
On Thu, 21 Jun 2018 23:44:40 -0700, fantasywangxg wrote:
> We have a project implemented with c# and python, iron python is a good
> choice for us to integrate these two tech together but iron python not
> support python 3.6 yet, any suggest for this?
How big is your budget? Could you pay the Ir
What a friendly, welcoming and open-minded group this is!
It costs me some genuine effort to make what I believe are relevant and
interesting technical posts, and people are discussing not just how to avoid
seeing them, but how to screen anyone who wants to reply.
Yes my posts are more 'meta' t
On 06/21/2018 01:20 PM, Ben Bacarisse wrote:
Ethan Furman writes:
I need to translate numeric data in a string format into a binary
format. I know there are at least two different methods of
representing parts less that 1, such as "10.5" and "10,5". The data
is encoded using code pages, and c
On 21/06/2018 10:05, Anssi Saari wrote:
D'Arcy Cain writes:
One of these days I will have to figure out how to block replies to the
trolls as well.
Benefit of reading the mailing list via nntp (i.e. gmane): can easily
score down follow-ups to annoying people in addition to their
posts. Well,
22 matches
Mail list logo