Chris Angelico :
> Apache itself most likely is running with LANG=C and other
> environmental changes. It's not a Python-specific thing.
The topic is discussed also at: http://blog.dscpl.com.au/2014/0
9/setting-lang-and-lcall-when-using.html>.
Personally, I think the C locale is the only safe ch
On 2015-08-26 17:20, Terry Reedy wrote:
> On 8/26/2015 12:36 PM, Jean-Michel Pichavant wrote:
> Are you allowed to use a newsreader or a mail+newsreader (Outlook
> Express, Thunderbird, )? If so post through newsgroup
> gmane.comp.python.general at news.gmane.org (as I am).
Even if NNTP is block
On Thu, 27 Aug 2015 09:12:55 +1000, Chris Angelico wrote:
>
> You're omitting some context here, but after poking around with your
> module a bit, I'm guessing you created bf somewhat thus?
>
bf = bitfield.make_bf("bf", (("asdf",bitfield.c_uint,2),))
bf
>
bf.__mro__
> (, , '_ctyp
On 26/08/2015 22:20, Terry Reedy wrote:
On 8/26/2015 12:36 PM, Jean-Michel Pichavant wrote:
[snip]
Are you allowed to use a newsreader or a mail+newsreader (Outlook
Express, Thunderbird, )? If so post through newsgroup
gmane.comp.python.general at news.gmane.org (as I am).
The major advantage
On Thu, Aug 27, 2015 at 5:23 AM, RAH wrote:
> Nevertheless I can't figure out why calling Python in the shell (interactive
> mode) or letting mod_wsgi start the same Python provide two different
> environments. I guess I must investigate that part because mod_wsgi gets to
> Python in what I wou
On Thu, Aug 27, 2015 at 9:12 AM, Chris Angelico wrote:
> Or is there a magic __isinstance__
Argh, keyed the wrong thing and sent the post prematurely. Meant to say:
Or is there a magic __instancecheck__ method somewhere that I'm not aware of?
ChrisA
--
https://mail.python.org/mailman/listinfo/
On Thu, Aug 27, 2015 at 7:21 AM, Rob Gaddi
wrote:
> I'm running into some strangeness trying to work with the bitfield module
> from my ctypes-bitfield package (on PyPi). I'm trying to use isinstance
> (), and it's kinda sorta lying to me.
>
> - IPython session (Python 3.4 under Linux) --
On 8/26/2015 5:21 PM, Rob Gaddi wrote:
I'm running into some strangeness trying to work with the bitfield module
from my ctypes-bitfield package (on PyPi). I'm trying to use isinstance
(), and it's kinda sorta lying to me.
isinstace(inst, klass) is implemented as
klass.__instancecheck__(inst)
I'm running into some strangeness trying to work with the bitfield module
from my ctypes-bitfield package (on PyPi). I'm trying to use isinstance
(), and it's kinda sorta lying to me.
- IPython session (Python 3.4 under Linux) ---
In [649]: bf.__mro__
Out[649]: (bitfield._TD, _ctypes.Uni
On 8/26/2015 12:36 PM, Jean-Michel Pichavant wrote:
[snip]
Are you allowed to use a newsreader or a mail+newsreader (Outlook
Express, Thunderbird, )? If so post through newsgroup
gmane.comp.python.general at news.gmane.org (as I am).
--
Terry Jan Reedy
--
https://mail.python.org/mailman/list
On Wed, Aug 26, 2015 at 12:11 PM, Andy Kubiak wrote:
> What if you could send all your mail to another address on a server you
> control, or can at least run programs on?
That seems like a lot more hassle than it would be worth.
--
https://mail.python.org/mailman/listinfo/python-list
On 2015-08-26, Emile van Sebille wrote:
> On 8/26/2015 9:06 AM, Grant Edwards wrote:
>> It's also unfortunate that there's no way to
>> to access the mailing list via an NNTP server
>
> Huh? -- gmane.comp.python.general at
> news://nntp.gmane.com:119/gmane.comp.python.general
>
> Or do you mean by
On 8/26/2015 9:06 AM, Grant Edwards wrote:
It's also unfortunate that there's no way to
to access the mailing list via an NNTP server
Huh? -- gmane.comp.python.general at
news://nntp.gmane.com:119/gmane.comp.python.general
Or do you mean by the OP?
Emile
--
https://mail.python.org/mailman/l
> On Aug 26, 2015, at 10:35 PM, Mark Lawrence wrote:
>
> which is standard in many organisations
https://en.wikipedia.org/wiki/Creeping_normality
--
https://mail.python.org/mailman/listinfo/python-list
On 26/08/2015 08:29, Ben Finney wrote:
Jean-Michel Pichavant writes:
-- IMPORTANT NOTICE:
The contents of this email and any attachments are confidential and
may also be privileged. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to
On Wednesday, August 26, 2015 at 5:59:12 PM UTC+2, Chris Angelico wrote:
> On Thu, Aug 27, 2015 at 1:02 AM, RAH wrote:
> > 7) Now, that source of the problem is known, I must investigate why my
> > run-time environment differs from the interpreter environment. I know it is
> > the same machine,
Terry, Zachary... thank you for the quick reply.
I believe I resolved my issue by adding the "--nodeps" option when I installed
Python using the rpm package. The command line I used was...
# rpm -i --nodeps python-2.7.5-1.aix6.1.ppc.rpm
Using that command line, the Python libraries seemed to
>
> I wish I could, problem is, if the mail recipient is within the company,
> no legal boilerplate is added making the joke fall flat.
>
What if you could send all your mail to another address on a server you
control, or can at least run programs on?
Could you configure all your outgoing mail to
On Wednesday, August 26, 2015 at 11:30:15 AM UTC-4, Terry Reedy wrote:
> On 8/26/2015 10:35 AM, Zachary Ware wrote:
> > Hi Mark,
> >
> > On Wed, Aug 26, 2015 at 9:03 AM, Manarski, Mark
> > wrote:
> >> I have downloaded the "python-2.7.5-1.aix6.1.ppc.rpm" package from the IBM
> >> Linux ToolBox sit
Hi,
welcome to Python (and to this list). The usual way to reply here is
inline, after stripping anything that's not relevant to your reply.
AllanPfalzgraf schrieb am 25.08.2015 um 15:03:
> From: Stefan Behnel:
>> Al Pfalzgraf schrieb am 18.08.2015 um 15:07:
>>> If a logging file is opened at th
- Original Message -
> From: "Chris Angelico"
> Cc: python-list@python.org
> Sent: Wednesday, 26 August, 2015 6:11:51 PM
> Subject: Re: Please don't make unfounded legalistic demands (was: [a, b, c,
> d] = 1, 2, 3, 4)
>
> On Thu, Aug 27, 2015 at 1:09 AM, Terry Reedy
> wrote:
> > How abo
On Thu, Aug 27, 2015 at 1:09 AM, Terry Reedy wrote:
> How about instead you augment your signature with "Please ignore the
> boilerplate below.
Heh, I like this! Or:
"""
-- BOILERPLATE TROPHY COLLECTION
I am a collector of stupid legal boilerplate. Here's my latest acquisition:
"""
Then let yo
On 2015-08-26, Terry Reedy wrote:
> On 8/26/2015 5:02 AM, Jean-Michel Pichavant wrote:
>>> Misleading, intimidating, hostile nonsense.
>
> Agreed.
>
>>> If you want to participate here, please do so from a mail system
> >> which does not make these legalistic demands.
>
> I disagree with prohibit
A while ago I stumbled on a workaround for this, but forgot.
Anyone know the trick to accomplish this?
Thanks,
jlc
--
https://mail.python.org/mailman/listinfo/python-list
On Wednesday 26 August 2015 11:09:18 Terry Reedy wrote:
> On 8/26/2015 5:02 AM, Jean-Michel Pichavant wrote:
> > - Original Message -
> >
> >> From: "Ben Finney"
> >>
> >>> The contents of this email and any attachments are confidential
> >>> and may also be privileged. If you are not the
On Wednesday, August 26, 2015 at 8:59:44 PM UTC+5:30, Ben Finney wrote:
> Terry Reedy writes:
>
> > I disagree with prohibiting people encumbered by such systems from
> > participating.
>
> I have no power to prohibit people here. I do strongly request that such
> threatening legalistic screeds
On Thu, Aug 27, 2015 at 1:02 AM, RAH wrote:
> 7) Now, that source of the problem is known, I must investigate why my
> run-time environment differs from the interpreter environment. I know it is
> the same machine, same Python 3.4.0. As the mod_wsgi module in Apache2
> initiates Python for the
On 8/26/2015 10:56 AM, br...@apcera.com wrote:
Hello all...we're updating our Python client support at NATS.io cloud messaging
project, and as part of that would like to get your input on which version of
Python:
https://groups.google.com/forum/#!topic/natsio/e6aoJ6GYqTw
I suggest you offer
On 8/26/2015 10:35 AM, Zachary Ware wrote:
Hi Mark,
On Wed, Aug 26, 2015 at 9:03 AM, Manarski, Mark
wrote:
I have downloaded the “python-2.7.5-1.aix6.1.ppc.rpm” package from the IBM
Linux ToolBox site.
When I try to install the python rpm package, it fails because it’s looking
for (7) depende
Terry Reedy writes:
> I disagree with prohibiting people encumbered by such systems from
> participating.
I have no power to prohibit people here. I do strongly request that such
threatening legalistic screeds stay away from this forum.
> On 8/26/2015 5:02 AM, Jean-Michel Pichavant wrote:
> > I
On 8/26/2015 8:21 AM, Tim Chase wrote:
a, b, c = (x for x in range(3)) # a generator for instance
Since range() *is* a generator, why not just use
In Python 3, range is a sequence class with a separate iterator class
>>> r = range(3)
>>> r
range(0, 3)
>>> iter(r)
Like all sequences, a ran
On 8/26/2015 5:02 AM, Jean-Michel Pichavant wrote:
- Original Message -
From: "Ben Finney"
The contents of this email and any attachments are confidential and
may also be privileged. If you are not the intended recipient,
please
notify the sender immediately and do not disclose the con
Dear All,
First, thanks to each and everyone.
There is indeed a solution by I haven't yet found the root of the problem (I'll
come back to that at the end of my post).
1) After many trials and errors, I found that the problem was with the write()
function in `h.write(str(d) + '\n')` and not wit
Hello all...we're updating our Python client support at NATS.io cloud messaging
project, and as part of that would like to get your input on which version of
Python:
https://groups.google.com/forum/#!topic/natsio/e6aoJ6GYqTw
Thanks in advance to anyone who has a moment to let us know.
Best,
Hi Mark,
On Wed, Aug 26, 2015 at 9:03 AM, Manarski, Mark
wrote:
> I have downloaded the “python-2.7.5-1.aix6.1.ppc.rpm” package from the IBM
> Linux ToolBox site.
>
> When I try to install the python rpm package, it fails because it’s looking
> for (7) dependencies listed below. The dependencies
Thank you Chris. I'll share my findings in a moment.
Please bear with me a bit more time.
Cheers,
René
--
https://mail.python.org/mailman/listinfo/python-list
Dear Dieter,
Indeed there is a difference.
I will share my discoveries in a while after I respond to each one.
Be in touch soon.
Thanks.
René
--
https://mail.python.org/mailman/listinfo/python-list
Thank you Pete.
Indeed it has to do with choice of encoding.
I'll be back in a short while with more details.
Cheers,
René
--
https://mail.python.org/mailman/listinfo/python-list
Dear Chris,
Thank you. I got the answer (at least a partial one) that I will share in a
while. I will first respond to the other posts I received to thank each and
everyone.
Please stay tuned.
René
--
https://mail.python.org/mailman/listinfo/python-list
I have downloaded the "python-2.7.5-1.aix6.1.ppc.rpm" package from the IBM
Linux ToolBox site.
When I try to install the python rpm package, it fails because it's looking for
(7) dependencies listed below. The dependencies listed do seem to exist on the
server, and I have also successfully ins
- Original Message -
> From: "Ben Finney"
> > The contents of this email and any attachments are confidential and
> > may also be privileged. If you are not the intended recipient,
> > please
> > notify the sender immediately and do not disclose the contents to
> > any
> > other person, us
- Original Message -
> From: "Chris Angelico"
> Cc: python-list@python.org
> Sent: Wednesday, 26 August, 2015 3:04:05 PM
> Subject: Re: [a,b,c,d] = 1,2,3,4
>
> On Wed, Aug 26, 2015 at 12:59 AM, Jean-Michel Pichavant
> wrote:
> > To add to Joel's answer, the right side can be *any* sequen
On Wed, Aug 26, 2015 at 12:59 AM, Jean-Michel Pichavant
wrote:
> To add to Joel's answer, the right side can be *any* sequence, and is not
> restricted to lists or tuples.
>
> a, b, c = (x for x in range(3)) # a generator for instance
FWIW, a generator is not a sequence; this works because the r
On 2015-08-25 16:59, Jean-Michel Pichavant wrote:
> - Original Message -
> > From: "Joel Goldstick"
> > its called list unpacking or packing (?)
> >
> > the right side is considered a tuple because of the commas
> > >>> a = 1,2,3
> > >>> a
> > (1, 2, 3)
> > >>> a[1]
> > 2
>
> To add to J
On Wed, Aug 26, 2015 at 7:12 PM, RAH wrote:
> By the way my whole installation is defaulted to UTF-8:
>
> HTML:
> Javascript:
Dear Chris,
I can confirm it is Python 3. Here is the line from the Apache2 log:
[Wed Aug 26 10:28:01.508194 2015] [mpm_worker:notice] [pid 1120:tid 3074398848]
AH00292: Apache/2.4.7 (Ubuntu) OpenSSL/1.0.1f mod_wsgi/4.4.13 Python/3.4.0
configured -- resuming normal operations
As a matter of fac
Jean-Michel Pichavant writes:
> -- IMPORTANT NOTICE:
>
> The contents of this email and any attachments are confidential and
> may also be privileged. If you are not the intended recipient, please
> notify the sender immediately and do not disclose the contents to any
> other person, use it for
On 26/08/15 04:19, RAH wrote:
UnicodeEncodeError: 'ascii' codec can't encode character '\\xc7' in position
15: ordinal not in range(128)
(Hi all, this is my first post to the list)
This can be a frustrating issue to resolve, but your issue might be
solved with this environment variable:
P
- Original Message -
> From: "Joel Goldstick"
> its called list unpacking or packing (?)
>
> the right side is considered a tuple because of the commas
> >>> a = 1,2,3
> >>> a
> (1, 2, 3)
> >>> a[1]
> 2
To add to Joel's answer, the right side can be *any* sequence, and is not
restricted
49 matches
Mail list logo