Re: [Python-ideas] Support localization of unicode descriptions

2018-07-10 Thread Terry Reedy
On 7/10/2018 5:20 PM, David Mertz wrote: The problem with non-canonical translations of the Unicode character names is that there is not one unique possible rendering into language X. Equally, I could find synonyms in general English for the names, but one would be official, the others at best

Re: [Python-ideas] Support localization of unicode descriptions

2018-07-10 Thread David Mertz
The problem with non-canonical translations of the Unicode character names is that there is not one unique possible rendering into language X. Equally, I could find synonyms in general English for the names, but one would be official, the others at best informally clarifying. For informational pur

Re: [Python-ideas] The future of Python parallelism. The GIL. Subinterpreters. Actors.

2018-07-10 Thread Terry Reedy
On 7/10/2018 10:31 AM, David Foster wrote: Since you're speaking in the past tense and said "but we're not doing it like that", I infer that the notion of a parallel thread was turned down for integration into CPython, as that appears to have been the original goal. A far as I remember, ther

Re: [Python-ideas] Add new `Symbol` type

2018-07-10 Thread Chris Angelico
On Wed, Jul 11, 2018 at 6:53 AM, Barry Warsaw wrote: > Guido van Rossum wrote on 7/6/18 08:31: >> >> Thanks for an interesting discussion. I would also urge people to limit >> the >> use of such sentinels for cases where it is *really* important to >> distinguish between, say, f(None) and f(). In

Re: [Python-ideas] Support localization of unicode descriptions

2018-07-10 Thread Terry Reedy
On 7/10/2018 4:45 AM, Pander wrote: This is a third party initiative. The translations are contributed by volunteers. I have talked with Python core developers and they suggested to post this here, as it is for them out of scope for Python std lib. Python-ideas list is for discussion of python

Re: [Python-ideas] Add new `Symbol` type

2018-07-10 Thread Barry Warsaw
Guido van Rossum wrote on 7/6/18 08:31: Thanks for an interesting discussion. I would also urge people to limit the use of such sentinels for cases where it is *really* important to distinguish between, say, f(None) and f(). In most cases using def f(arg=None) is fine, and often it is even a virt

Re: [Python-ideas] Calling python from C completely statically

2018-07-10 Thread Barry
> On 10 Jul 2018, at 19:12, Alberto Garcia wrote: > > Thank you Barry, > > but I see that the the way yo do it is dropping files to disk. I want to > prevent any file to touch the disk except for the actual binary that has > everything embedded in it. What file are you refering to? The zip

Re: [Python-ideas] Calling python from C completely statically

2018-07-10 Thread Barry
> On 9 Jul 2018, at 21:11, Alberto Garcia wrote: > > Hi, > > thank you for your response. I've downloaded the sources but I couldn't find > any documentation. In addition I see that there is not a single C/C++ file. > What I want to do is calling python from C. > Am I missing something? You

Re: [Python-ideas] The future of Python parallelism. The GIL. Subinterpreters. Actors.

2018-07-10 Thread David Foster
I was not aware of PyParallel. The PyParellel "parallel thread" line-of-execution implementation is pretty interesting. Trent, big kudos to you on that effort. Since you're speaking in the past tense and said "but we're not doing it like that", I infer that the notion of a parallel thread was

Re: [Python-ideas] Support localization of unicode descriptions

2018-07-10 Thread Paul Moore
On 10 July 2018 at 09:45, Pander wrote: > > On 07/10/2018 10:34 AM, Paul Moore wrote: >> ... >> Is this a Unicode Consortium standard, or a 3rd party project? The >> website wasn't completely clear on the matter, but there's nothing I >> could find on the Unicode website about translations of the

Re: [Python-ideas] Support localization of unicode descriptions

2018-07-10 Thread Pander
On 07/10/2018 10:34 AM, Paul Moore wrote: > ... > Is this a Unicode Consortium standard, or a 3rd party project? The > website wasn't completely clear on the matter, but there's nothing I > could find on the Unicode website about translations of the standard > name (there's also nothing that spe

Re: [Python-ideas] Support localization of unicode descriptions

2018-07-10 Thread Paul Moore
On 10 July 2018 at 08:57, Pander wrote: > Dear all, > > Who might also be interested in setting up a project that supports > localization for Unicode block description and character description. > > Translations are available from > https://github.com/unicode-table/unicode-table-data/tree/master/l

[Python-ideas] Support localization of unicode descriptions

2018-07-10 Thread Pander
Dear all, Who might also be interested in setting up a project that supports localization for Unicode block description and character description. Translations are available from https://github.com/unicode-table/unicode-table-data/tree/master/loc