Re: [Python-ideas] Add Unicode-aware str.reverse() function?

2018-09-10 Thread Paddy3118
On Sunday, 9 September 2018 06:30:19 UTC+1, Steven D'Aprano wrote: > > On Sat, Sep 08, 2018 at 04:33:07AM -0700, Paddy3118 wrote: > > I wrote a blog post > > < > http://paddy3118.blogspot.com/2009/07/case-of-disappearing-over-bar.html>nearly > > > > a

Re: [Python-ideas] Fwd: Add Unicode-aware str.reverse() function?

2018-09-08 Thread Paddy3118
Please involve those with more knowledge on the subject. Thanks. On Saturday, 8 September 2018 13:13:05 UTC+1, Jonathan Fine wrote: > > Paddy wrote > > > I would like to propose that Python add a Unicode-aware str.reverse > method. > > The problem is, I'm a Brit, who only speaks English and only

Re: [Python-ideas] Add Unicode-aware str.reverse() function?

2018-09-08 Thread Paddy3118
he surface of unicode, and find a deep chasm awaits. On Saturday, 8 September 2018 12:33:07 UTC+1, Paddy3118 wrote: > > I wrote a blog post > <http://paddy3118.blogspot.com/2009/07/case-of-disappearing-over-bar.html>nearly > > a decade ago on extending a Ros

[Python-ideas] Add Unicode-aware str.reverse() function?

2018-09-08 Thread Paddy3118
I wrote a blog post <http://paddy3118.blogspot.com/2009/07/case-of-disappearing-over-bar.html>nearly a decade ago on extending a Rosetta Code task example <http://rosettacode.org/wiki/Reverse_a_string>to handle the correct reversal of strings with combining characters. On chec

[Python-ideas] Remember the Vasa

2018-06-18 Thread Paddy3118
I thought it might be helpful for the Python community to be aware of the growth issues that the C++ community has/is discussing, at the moment. I am *not *saying we have those same issues, but we might know to avoid similar issues in our future? Here's and letter:

Re: [Python-ideas] a set of enum.Enum values rather than the construction of bit-sets as the "norm"?

2017-12-31 Thread Paddy3118
Hmm, yea I had not thought of how it would look - I had thought formost of not needing to necessarily learn about bitsets.when learning about passing a large number of optional flags to a function. Although the default could be None, interpreted as an empty set of zero values.; a set of one or

Re: [Python-ideas] a set of enum.Enum values rather than the construction of bit-sets as the "norm"?

2017-12-28 Thread Paddy3118
Hi Inada, can I take your point as being that execution speed is an issue? I am coming from the "Python as higher level, more programmer-centric language"direction. In the past, useful but slow things have spurred actions to speed them up. ___

Re: [Python-ideas] a set of enum.Enum values rather than the construction of bit-sets as the "norm"?

2017-12-28 Thread Paddy3118
As for re, and otheralready written libraries, their is no need to change them, but other Pythoneers might well opt to not use bitsets, but rather sets of enum values. On Wednesday, 27 December 2017 05:58:00 UTC, Steven D'Aprano wrote: > > On Tue, Dec 26, 2017 at 12:07:52PM -0800,

[Python-ideas] a set of enum.Enum values rather than the construction of bit-sets as the "norm"?

2017-12-26 Thread Paddy3118
Maybe it is time to deemphasize the creation and passing of what is, in effect, bit-sets as a single argument, and instead promote the passing of a set of members of an enum.Enum constants. Thi comes about