On Monday, July 17, 2017 at 9:41:51 AM UTC+5:30, Rustom Mody wrote:
> On a more serious note every other post on this (as on many discussing unicode
> more broadly) is so ridiculously Euro (or Anglo) centric I would not know
> where
> to begin.
> Witness your own…
> Hint1: Ask your grandmother
Mikhail V :
>>> On Sat, 15 Jul 2017 05:50 pm, Marko Rauhamaa wrote:
>>It's true that confusion is caused by the ambiguity of the term
>>"character."
>
> Yes, but you have said "I might want random access to the "Grapheme clusters,
> a.k.a. real characters" and I had impression that you have some c
Hello Professionals,
Greetings from NICHE SOFTWARE SOLUTIONS,
Thank you for taking time to look over my Mail,
This is Jack Stutter from Niche Software Solutions Inc working as Sr Bench
sales recruiter, We have very strong bench consultants. I would highly
appreciate if you can add me j...@n
I would like to submit the following proposal. In the logging module, I
would like handlers (like file handlers and stream handlers) to have a
field for exc_info printing. This way, a call to logger.exception() will
write the stack trace to the handlers with this flag set, and only print
the messag
On Mon, 17 Jul 2017 02:10 pm, Rustom Mody wrote:
>> Please don't feed the trolls.
>
> Its usually called 'joke' Steven! Did the word fall out of your dictionary
> in the last upgrade?
> Rick was no more trolling than Marko
Funny you say that. I often think Marko is trolling, but if he is, he do
On Tue, Jul 18, 2017 at 1:36 AM, Steve D'Aprano
wrote:
> On Mon, 17 Jul 2017 02:10 pm, Rustom Mody wrote:
>> Hint1: Ask your grandmother whether unicode's notion of character makes
>> sense.
>
> What on earth makes you think that my grandmother is a valid judge of whether
> Unicode makes sense or
On Monday, July 17, 2017 at 3:41:12 PM UTC+1, Evan Adler wrote:
> I would like to submit the following proposal. In the logging module, I
> would like handlers (like file handlers and stream handlers) to have a
> field for exc_info printing. This way, a call to logger.exception() will
> write the s
Evan Adler wrote:
> I would like to submit the following proposal. In the logging module, I
> would like handlers (like file handlers and stream handlers) to have a
> field for exc_info printing. This way, a call to logger.exception() will
> write the stack trace to the handlers with this flag set
On 17/07/17 05:10, Rustom Mody wrote:
Hint1: Ask your grandmother whether unicode's notion of character makes sense.
Ask 10 gmas from 10 language-L's
Hint2: When in doubt gma usually is right
"For every complex problem there is an answer that is clear, simple and
wrong." (H.L. Mencken). Unfor
collections.namedtuple generates a new class using exec, and records the source
code for the class as a _source attribute.
Although it has a leading underscore, it is actually a public attribute. The
leading underscore distinguishes it from a named field potentially
called "source", e.g. namedtupl
I have never used it personally. It always looked interesting, but I never ran
into a need to generate the source for it.
-Original Message-
From: Python-list [mailto:python-list-bounces+d.strohl=f5@python.org] On
Behalf Of Steve D'Aprano
Sent: Monday, July 17, 2017 9:58 AM
To: pyth
On Monday, July 17, 2017 at 3:02:01 AM UTC-7, bream...@gmail.com wrote:
> On Monday, July 17, 2017 at 10:41:02 AM UTC+1, wxjm...@gmail.com wrote:
> > Poor Python.
> > Once it was working.
>
> Dear RUE,
>
> A bad workman always blames his tools.
>
> Mark Lawrence.
+1.
--
https://mail.python.or
On 07/17/2017 09:57 AM, Steve D'Aprano wrote:
collections.namedtuple generates a new class using exec, and records the source
code for the class as a _source attribute.
Although it has a leading underscore, it is actually a public attribute. The
leading underscore distinguishes it from a named f
Steve D'Aprano writes:
> collections.namedtuple generates a new class using exec, and records
> the source code for the class as a _source attribute.
The documentation tells me that ‘_source’ is “New in version 3.3.”
I wasn't aware that the ‘namedtuple’ interface had changed since it was
introd
Hi,
I'm having difficulty thinking about how to do this as a Python beginner.
But I have a list that is represented as:
[1,2,3,4,5,6,7,8]
and I would like the following results:
[1,2] [3,4] [5,6] [7,8]
Any ideas?
Thanks
--
https://mail.python.org/mailman/listinfo/python-list
Hiya. I'm running El Capitan and have a Homebrew install of python (as well as
one in /usr/bin/python, which I can't recall how I installed). I had some
trouble pip installing Keras:
$ sudo pip install keras
…
DEPRECATION: Uninstalling a distutils installed project (numpy) has been
deprecat
On 2017-07-17 21:10, aaron.m.weisb...@gmail.com wrote:
Hi,
I'm having difficulty thinking about how to do this as a Python beginner.
But I have a list that is represented as:
[1,2,3,4,5,6,7,8]
and I would like the following results:
[1,2] [3,4] [5,6] [7,8]
Any ideas?
Thanks
Those are slic
ChrisA wrote:
>Yep! Nobody would take any notice of the fact that you just put dots
>on all those letters. It's not like it's going to make any difference
>to anything. We're not dealing with matters of life and death here.
>Oh wait.
>https://www.theinquirer.net/inquirer/news/1017243/cellphone-l
Steve D'Aprano wrote:
I don't think that it is even a given that "atomic units of language" exist. To
quote a Hindi speaker earlier in this thread, की is a letter, and yet it can be
decomposed into की = क + ई, so it isn't "atomic". If letters aren't atomic,
then what are?
They're like subatomic
Steve D'Aprano writes:
Is there anyone here who uses the namedtuple _source attribute?
I didn't know it existed either, and if I did I would have assumed
it was an implementation detail and would never have written code
that relied on it. I certainly won't miss it if it disapppears.
--
Greg
-
On 07/17/2017 12:44 PM, Rob Gaddi wrote:
On 07/17/2017 09:57 AM, Steve D'Aprano wrote:
collections.namedtuple generates a new class using exec, and records the source
code for the class as a _source attribute.
Although it has a leading underscore, it is actually a public attribute. The
leadin
Hi,
today I came across some weird behaviour (a bug?) in Python 2.7.13 (on
Linux) with the cPickle module. The pickle module works and so does the
pickle module in Python 3.
I have a file fn.py with a minimal function definition:
```
def fn():
pass
```
The actual code that I run is in a
On Monday, July 17, 2017 at 3:10:51 PM UTC-5, aaron.m@gmail.com wrote:
> Hi,
>
> I'm having difficulty thinking about how to do this as a Python beginner.
>
> But I have a list that is represented as:
>
> [1,2,3,4,5,6,7,8]
>
> and I would like the following results:
>
> [1,2] [3,4] [5,6]
On Tue, 18 Jul 2017 05:44 am, Rob Gaddi wrote:
> That said, it sure feels (as someone who hasn't tried it) like there's a
> straightforward namedtuple implementation that calls type() directly
> rather than having to exec. I know that exec-gunshyness is overblown,
> but is there a simple answer a
On Monday, July 17, 2017 at 12:20:04 PM UTC-5, Steve D'Aprano wrote:
> collections.namedtuple generates a new class using exec,
> and records the source code for the class as a _source
> attribute. Although it has a leading underscore, it is
> actually a public attribute. The leading underscore
>
Il giorno lunedì 17 luglio 2017 19:20:04 UTC+2, Steve D'Aprano ha scritto:
> collections.namedtuple generates a new class using exec, and records the
> source
> code for the class as a _source attribute.
>
> Although it has a leading underscore, it is actually a public attribute. The
> leading un
"Jan Gosmann" writes:
> today I came across some weird behaviour (a bug?) in Python 2.7.13 (on
> Linux) with the cPickle module. The pickle module works and so does
> the pickle module in Python 3.
>
> I have a file fn.py with a minimal function definition:
>
> ```
> def fn():
> pass
> ```
>
On 7/17/2017 10:27 PM, Rick Johnson wrote:
On Monday, July 17, 2017 at 12:20:04 PM UTC-5, Steve D'Aprano wrote:
collections.namedtuple generates a new class using exec,
and records the source code for the class as a _source
attribute. Although it has a leading underscore, it is
actually a publi
Mikhail V :
> And just in case still its not clear: this is not solved by adding
> dirt around the letter: if there is enough significance of the phoneme
> distinction then one should add a distinct letter for a syntax in
> question.
The letters of Finnish are:
abdefghijklmnoprstuvyäö
in tha
29 matches
Mail list logo