Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #43230 > unrolled thread

Unicode issue with Python v3.3

Started byΝίκος Γκρ33κ <nikos.gr33k@gmail.com>
First post2013-04-09 14:10 -0700
Last post2013-04-16 23:56 -0700
Articles 20 on this page of 81 — 17 participants

Back to article view | Back to comp.lang.python


Contents

  Unicode issue with Python v3.3 Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-09 14:10 -0700
    Re: Unicode issue with Python v3.3 Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-09 15:34 -0600
      Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-09 20:16 -0700
        Re: Unicode issue with Python v3.3 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-10 04:25 +0000
          Re: Unicode issue with Python v3.3 Chris Angelico <rosuav@gmail.com> - 2013-04-10 14:46 +1000
            Re: Unicode issue with Python v3.3 rusi <rustompmody@gmail.com> - 2013-04-09 22:06 -0700
              Re: Unicode issue with Python v3.3 rusi <rustompmody@gmail.com> - 2013-04-09 23:04 -0700
                Re: Unicode issue with Python v3.3 Antoine Pitrou <solipsis@pitrou.net> - 2013-04-10 07:04 +0000
                Re: Unicode issue with Python v3.3 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-10 08:28 +0000
                  People in the python community [was Re: Unicode issue with Python v3.3] Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-10 08:34 +0000
                    Re: People in the python community [was Re: Unicode issue with Python v3.3] Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-04-10 10:31 +0100
                      Re: People in the python community [was Re: Unicode issue with Python v3.3] Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-10 03:50 -0700
                      Re: People in the python community [was Re: Unicode issue with Python v3.3] Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-10 03:50 -0700
                        Re: People in the python community [was Re: Unicode issue with Python v3.3] Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-10 03:53 -0700
                        Re: People in the python community [was Re: Unicode issue with Python v3.3] Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-10 03:53 -0700
                    Re: People in the python community [was Re: Unicode issue with Python v3.3] Peter Otten <__peter__@web.de> - 2013-04-10 13:11 +0200
                    Re: People in the python community [was Re: Unicode issue with Python v3.3] Peter Otten <__peter__@web.de> - 2013-04-10 13:13 +0200
                      Re: People in the python community [was Re: Unicode issue with Python v3.3] Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-10 07:43 -0700
                        Re: People in the python community [was Re: Unicode issue with Python v3.3] Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-04-10 16:15 +0100
                          Re: People in the python community [was Re: Unicode issue with Python v3.3] Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-10 09:50 -0700
                            Re: People in the python community [was Re: Unicode issue with Python v3.3] Michael Torrie <torriem@gmail.com> - 2013-04-11 21:20 -0600
                          Re: People in the python community [was Re: Unicode issue with Python v3.3] Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-10 09:50 -0700
                        Re: People in the python community [was Re: Unicode issue with Python v3.3] Chris Angelico <rosuav@gmail.com> - 2013-04-11 01:19 +1000
                      Re: People in the python community [was Re: Unicode issue with Python v3.3] Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-10 07:43 -0700
                  Re: Unicode issue with Python v3.3 Arnaud Delobelle <arnodel@gmail.com> - 2013-04-10 23:56 +0100
          Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-10 00:23 -0700
            Re: Unicode issue with Python v3.3 Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-10 01:06 -0700
              Re: Unicode issue with Python v3.3 Cameron Simpson <cs@zip.com.au> - 2013-04-11 09:17 +1000
                Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-10 21:50 -0700
                  Re: Unicode issue with Python v3.3 Cameron Simpson <cs@zip.com.au> - 2013-04-11 20:45 +1000
                    Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-11 03:54 -0700
                    Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-11 03:54 -0700
                    Re: Unicode issue with Python v3.3 Nikos <nagia.retsina@gmail.com> - 2013-04-11 09:55 -0700
                      Re: Unicode issue with Python v3.3 Cameron Simpson <cs@zip.com.au> - 2013-04-13 11:41 +1000
                        Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-12 21:50 -0700
                          Re: Unicode issue with Python v3.3 Cameron Simpson <cs@zip.com.au> - 2013-04-13 20:28 +1000
                            Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-13 07:16 -0700
                              Re: Unicode issue with Python v3.3 Chris Angelico <rosuav@gmail.com> - 2013-04-14 01:45 +1000
                              Re: Unicode issue with Python v3.3 Cameron Simpson <cs@zip.com.au> - 2013-04-14 10:01 +1000
                            Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-13 07:16 -0700
                        Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-12 21:50 -0700
                    Re: Unicode issue with Python v3.3 Nikos <nagia.retsina@gmail.com> - 2013-04-11 09:55 -0700
                Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-10 21:50 -0700
                  Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-11 00:13 -0700
                  Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-11 00:13 -0700
                    Re: Unicode issue with Python v3.3 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-11 07:50 +0000
                      Re: Unicode issue with Python v3.3 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-11 08:20 +0000
                        Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-11 03:07 -0700
                          Re: Unicode issue with Python v3.3 Lele Gaifax <lele@metapensiero.it> - 2013-04-11 12:45 +0200
            Re: Unicode issue with Python v3.3 Nobody <nobody@nowhere.com> - 2013-04-10 19:08 +0100
              Re: Unicode issue with Python v3.3 Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-10 11:25 -0700
                Re: Unicode issue with Python v3.3 Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-10 13:50 -0600
      Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-09 20:16 -0700
    Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-11 21:36 -0700
      Re: Unicode issue with Python v3.3 alex23 <wuwei23@gmail.com> - 2013-04-11 22:06 -0700
        Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-11 22:42 -0700
          Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-12 05:50 -0700
            Re: Unicode issue with Python v3.3 Chris Angelico <rosuav@gmail.com> - 2013-04-12 23:14 +1000
              Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-12 06:18 -0700
                Re: Unicode issue with Python v3.3 Chris Angelico <rosuav@gmail.com> - 2013-04-12 23:21 +1000
              Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-12 06:18 -0700
                Re: Unicode issue with Python v3.3 rusi <rustompmody@gmail.com> - 2013-04-12 06:29 -0700
                  Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-12 07:36 -0700
                    Re: Unicode issue with Python v3.3 Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-12 12:37 -0600
                      Re: Unicode issue with Python v3.3 Roy Smith <roy@panix.com> - 2013-04-12 14:49 -0400
                      Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-12 13:48 -0700
                      Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-12 13:48 -0700
    Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-13 23:00 -0700
      Re: Unicode issue with Python v3.3 Cameron Simpson <cs@zip.com.au> - 2013-04-14 19:28 +1000
        Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-14 04:22 -0700
          Re: Unicode issue with Python v3.3 Cameron Simpson <cs@zip.com.au> - 2013-04-18 09:00 +1000
            Re: Unicode issue with Python v3.3 Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-17 20:37 -0700
            Re: Unicode issue with Python v3.3 Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-17 20:37 -0700
            Re: Unicode issue with Python v3.3 Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-19 12:16 -0700
        Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-14 04:22 -0700
        Re: Unicode issue with Python v3.3 Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-15 11:42 -0700
        Re: Unicode issue with Python v3.3 Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-04-15 11:42 -0700
        Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-16 23:56 -0700
          Re: Unicode issue with Python v3.3 Chris Angelico <rosuav@gmail.com> - 2013-04-17 17:01 +1000
          Re: Unicode issue with Python v3.3 Chris Angelico <rosuav@gmail.com> - 2013-04-17 17:32 +1000
        Re: Unicode issue with Python v3.3 nagia.retsina@gmail.com - 2013-04-16 23:56 -0700

Page 1 of 5  [1] 2 3 4 5  Next page →


#43230 — Unicode issue with Python v3.3

FromΝίκος Γκρ33κ <nikos.gr33k@gmail.com>
Date2013-04-09 14:10 -0700
SubjectUnicode issue with Python v3.3
Message-ID<f4098d76-84e0-4ffa-a3f7-09f2f1f957ec@googlegroups.com>
Hello, iam still trying to alter the code form python 2.6 => 3.3

Everyrging its setup except that unicode error that you can see if you go to http://superhost.gr

Can anyone help with this?
I even tried to change print() with sys.stdout.buffer() but still i get the same unicode issue.

I don't know what to try anymore.

[toc] | [next] | [standalone]


#43231

FromIan Kelly <ian.g.kelly@gmail.com>
Date2013-04-09 15:34 -0600
Message-ID<mailman.387.1365543310.3114.python-list@python.org>
In reply to#43230
On Tue, Apr 9, 2013 at 3:10 PM, Νίκος Γκρ33κ <nikos.gr33k@gmail.com> wrote:
> Hello, iam still trying to alter the code form python 2.6 => 3.3
>
> Everyrging its setup except that unicode error that you can see if you go to http://superhost.gr
>
> Can anyone help with this?
> I even tried to change print() with sys.stdout.buffer() but still i get the same unicode issue.
>
> I don't know what to try anymore.

It seems to be failing on the line:

host = socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )[0]

So the obvious question to ask is: what are the contents of
os.environ['REMOTE_ADDR'] when this line is reached?

And why are you still trying to solve these sorts of problems on your
production website?  Do you not have a development or staging
environment?

[toc] | [prev] | [next] | [standalone]


#43244

Fromnagia.retsina@gmail.com
Date2013-04-09 20:16 -0700
Message-ID<6ff0e019-28b9-4aa6-ae8a-d73d7e748350@googlegroups.com>
In reply to#43231
Τη Τετάρτη, 10 Απριλίου 2013 12:34:25 π.μ. UTC+3, ο χρήστης Ian έγραψε:
> On Tue, Apr 9, 2013 at 3:10 PM, Νίκος Γκρ33κ <nikos.gr33k@gmail.com> wrote:
> 
> > Hello, iam still trying to alter the code form python 2.6 => 3.3
> 
> >
> 
> > Everyrging its setup except that unicode error that you can see if you go to http://superhost.gr
> 
> >
> 
> > Can anyone help with this?
> 
> > I even tried to change print() with sys.stdout.buffer() but still i get the same unicode issue.
> 
> >
> 
> > I don't know what to try anymore.
> 
> 
> 
> It seems to be failing on the line:
> 
> 
> 
> host = socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )[0]
> 
> 
> 
> So the obvious question to ask is: what are the contents of
> 
> os.environ['REMOTE_ADDR'] when this line is reached?
> 
> 
> 
> And why are you still trying to solve these sorts of problems on your
> 
> production website?  Do you not have a development or staging
> 
> environment?

No forget this line. this is not the problem.
No i don't have  a testing enviroment, i altered all the code form 2.6 to 3.3 in the live enviromtnt.

i strongly believe there is somethign goind wrong with the prints(). Thoese are causing the unicode isu es much like as thes changes from:

quote = random.choice( list( open( "/home/nikos/www/data/private/quotes.txt", ) ) )

quote = random.choice( list( open( "/home/nikos/www/data/private/quotes.txt", encoding="utf-8" ) ) )

in order for the open() to work.

[toc] | [prev] | [next] | [standalone]


#43246

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-04-10 04:25 +0000
Message-ID<5164e9b0$0$29977$c3e8da3$5496439d@news.astraweb.com>
In reply to#43244
On Tue, 09 Apr 2013 20:16:12 -0700, nagia.retsina wrote:

> Τη Τετάρτη, 10 Απριλίου 2013 12:34:25 π.μ. UTC+3, ο χρήστης Ian έγραψε:
>> On Tue, Apr 9, 2013 at 3:10 PM, Νίκος Γκρ33κ <nikos.gr33k@gmail.com>
>> wrote:
>> 
>> > Hello, iam still trying to alter the code form python 2.6 => 3.3
>> >
>> > Everyrging its setup except that unicode error that you can see if
>> > you go to http://superhost.gr
>> >
>> > Can anyone help with this?
>> 
>> > I even tried to change print() with sys.stdout.buffer() but still i
>> > get the same unicode issue.
>> >
>> > I don't know what to try anymore.
>> 
>> 
>> 
>> It seems to be failing on the line:
>> 
>> host = socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )[0]
>> 
>> So the obvious question to ask is: what are the contents of
>> 
>> os.environ['REMOTE_ADDR'] when this line is reached?
[...]

> No forget this line. this is not the problem. No i don't have  a testing
> enviroment, i altered all the code form 2.6 to 3.3 in the live
> enviromtnt.
> 
> i strongly believe there is somethign goind wrong with the prints().


Obviously you know what the problem is much better than the Python 
interpreter.

I suggest you open a bug report:

"Errors printing bytes are wrongly claimed to be socket errors"

and see what happens.

Or, you can listen to people who actually know what they are talking 
about, and look at the actual error, which has NOTHING to do with print.

What does os.environ['REMOTE_ADDR'] give? Until you answer that question, 
you won't make any progress.



-- 
Steven

[toc] | [prev] | [next] | [standalone]


#43247

FromChris Angelico <rosuav@gmail.com>
Date2013-04-10 14:46 +1000
Message-ID<mailman.397.1365569180.3114.python-list@python.org>
In reply to#43246
On Wed, Apr 10, 2013 at 2:25 PM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> On Tue, 09 Apr 2013 20:16:12 -0700, nagia.retsina wrote:
>
>> Τη Τετάρτη, 10 Απριλίου 2013 12:34:25 π.μ. UTC+3, ο χρήστης Ian έγραψε:
>>> On Tue, Apr 9, 2013 at 3:10 PM, Νίκος Γκρ33κ <nikos.gr33k@gmail.com>
>>> wrote:
>>>
>>> > Hello, iam still trying to alter the code form python 2.6 => 3.3
>>> >
>>> > Everyrging its setup except that unicode error that you can see if
>>> > you go to http://superhost.gr
>>> >
>>> > Can anyone help with this?
>>>
>>> > I even tried to change print() with sys.stdout.buffer() but still i
>>> > get the same unicode issue.
>>> >
>>> > I don't know what to try anymore.
>>>
>>>
>>>
>>> It seems to be failing on the line:
>>>
>>> host = socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )[0]
>>>
>>> So the obvious question to ask is: what are the contents of
>>>
>>> os.environ['REMOTE_ADDR'] when this line is reached?
> [...]
>
>> No forget this line. this is not the problem. No i don't have  a testing
>> enviroment, i altered all the code form 2.6 to 3.3 in the live
>> enviromtnt.
>>
>> i strongly believe there is somethign goind wrong with the prints().
>
>
> Obviously you know what the problem is much better than the Python
> interpreter.

I just went to the page and it started playing sound. Between that and
this arrogant refusal to believe either the interpreter or the people
who are freely donating time to assist, I'm done. No more looking at
Nikos's home page to try to figure out his problems. Have fun, Nikos.

ChrisA

[toc] | [prev] | [next] | [standalone]


#43248

Fromrusi <rustompmody@gmail.com>
Date2013-04-09 22:06 -0700
Message-ID<7ed993bd-ddac-44c4-9977-9787894b2f23@sq2g2000pbc.googlegroups.com>
In reply to#43247
An interesting case of two threads:

On Apr 10, 9:46 am, Chris Angelico <ros...@gmail.com> wrote:
> On Wed, Apr 10, 2013 at 2:25 PM, Steven D'Aprano

> > Obviously you know what the problem is much better than the Python
> > interpreter.
>
> I just went to the page and it started playing sound. Between that and
> this arrogant refusal to believe either the interpreter or the people
> who are freely donating time to assist, I'm done. No more looking at
> Nikos's home page to try to figure out his problems. Have fun, Nikos.
>
> ChrisA

Some swans are black
Some homo sapiens have negative IQ

[toc] | [prev] | [next] | [standalone]


#43249

Fromrusi <rustompmody@gmail.com>
Date2013-04-09 23:04 -0700
Message-ID<f26000b1-f852-4815-a7cc-8baf42ba3d66@me1g2000pbb.googlegroups.com>
In reply to#43248
On Apr 10, 10:06 am, rusi <rustompm...@gmail.com> wrote:
> An interesting case of two threads:
>
> On Apr 10, 9:46 am, Chris Angelico <ros...@gmail.com> wrote:
>
> > On Wed, Apr 10, 2013 at 2:25 PM, Steven D'Aprano
> > > Obviously you know what the problem is much better than the Python
> > > interpreter.
>
> > I just went to the page and it started playing sound. Between that and
> > this arrogant refusal to believe either the interpreter or the people
> > who are freely donating time to assist, I'm done. No more looking at
> > Nikos's home page to try to figure out his problems. Have fun, Nikos.
>
> > ChrisA
>
> Some swans are black
> Some homo sapiens have negative IQ

Hmm I see some cut-paste goofup on my part.
I was meaning to juxtapose this thread where we put up with inordinate
amount of nonsense from OP
along with the recent thread in which a newcomer who thinks he has
found a bug in pdb is made fun of.

Then thought better of it and deleted the stuff.
However I did not do a good delete-job so I better now say what I
avoided saying:

If those who habitually post rubbish are given much of our time and
effort,
whereas newcomers and first-timers are treated rudely, the list begins
to smell like a club of old farts.

[toc] | [prev] | [next] | [standalone]


#43251

FromAntoine Pitrou <solipsis@pitrou.net>
Date2013-04-10 07:04 +0000
Message-ID<mailman.398.1365577463.3114.python-list@python.org>
In reply to#43249
rusi <rustompmody <at> gmail.com> writes:
> 
> Hmm I see some cut-paste goofup on my part.
> I was meaning to juxtapose this thread where we put up with inordinate
> amount of nonsense from OP
> along with the recent thread in which a newcomer who thinks he has
> found a bug in pdb is made fun of.
> 
> Then thought better of it and deleted the stuff.
> However I did not do a good delete-job so I better now say what I
> avoided saying:
> 
> If those who habitually post rubbish are given much of our time and
> effort,
> whereas newcomers and first-timers are treated rudely, the list begins
> to smell like a club of old farts.

+1. If you think you have something intelligent to say to jmfauth,
you might as well start a private discussion with him.

As far as I'm concerned, python-list is *already* of club of old
farts. Many regular posters are more interested in "being right on the
Internet" rather than helping people out.

(this is where the StackOverflow mechanics probably work better, sadly)

Regards

Antoine.

[toc] | [prev] | [next] | [standalone]


#43254

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-04-10 08:28 +0000
Message-ID<516522c6$0$29977$c3e8da3$5496439d@news.astraweb.com>
In reply to#43249
On Tue, 09 Apr 2013 23:04:35 -0700, rusi wrote:

> Hmm I see some cut-paste goofup on my part. I was meaning to juxtapose
> this thread where we put up with inordinate amount of nonsense from OP
> along with the recent thread in which a newcomer who thinks he has found
> a bug in pdb is made fun of.

Curious. Is this making fun of the newcomer?

  If you are able to supply more details, we might be able to
  follow up on the registration problem.  And,  as someone else
  suggested, you could post the details of the pdb problem here.
  Note, there are already a number of currently open issues with
  pdb reported on the bug tracker. If you haven't already, you
  could search for "pdb" and see if your problem has been reported.
  Thanks for bringing the problem(s) up!


Or perhaps this is making fun of them?

  Post the 10-line program here, so others can verify whether it is a bug.


I think it is quite unfair of you to mischaracterise the entire community 
response in this way. One person made a light-hearted, silly, unhelpful 
response. (As sarcasm, I'm afraid it missed the target.) Two people made 
good, sensible responses -- and you were not either of them.

If you want to be helpful, how about leading by example and taking on 
some of the less coherent newbie questions, instead of just bitching that 
others don't? It's easy, and a pleasure, to give good answers to well-
written, carefully thought out questions. It's much harder to do the same 
for those questions which are... shall we say... less optimal. We could 
do with a few more people who make an effort to be helpful and friendly, 
instead of scolds who just tell us off when we stumble.



> Then thought better of it and deleted the stuff. However I did not do a
> good delete-job so I better now say what I avoided saying:
> 
> If those who habitually post rubbish are given much of our time and
> effort,
> whereas newcomers and first-timers are treated rudely, the list begins
> to smell like a club of old farts.


It's often the newcomers who are posting rubbish. Should we ignore them 
for posting rubbish, or welcome them for being newcomers?



-- 
Steven

[toc] | [prev] | [next] | [standalone]


#43255 — People in the python community [was Re: Unicode issue with Python v3.3]

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-04-10 08:34 +0000
SubjectPeople in the python community [was Re: Unicode issue with Python v3.3]
Message-ID<516523fb$0$29977$c3e8da3$5496439d@news.astraweb.com>
In reply to#43254
On Wed, 10 Apr 2013 08:28:55 +0000, Steven D'Aprano wrote:

> If you want to be helpful, how about leading by example and taking on
> some of the less coherent newbie questions
[...]


On that note, I think I'll take the opportunity to give thanks to Peter 
Otten, who (if I remember correctly) has been here for longer than I 
have, and I've been here for a long time. In all that time, I don't think 
I've ever seen him snap at or be rude to anyone, not even those who 
deserved it, and he doesn't shy away from answering even the most poorly 
written questions.


Peter, I don't know how you do it, but you're doing a fantastic job.



-- 
Steven

[toc] | [prev] | [next] | [standalone]


#43260 — Re: People in the python community [was Re: Unicode issue with Python v3.3]

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-04-10 10:31 +0100
SubjectRe: People in the python community [was Re: Unicode issue with Python v3.3]
Message-ID<mailman.402.1365586217.3114.python-list@python.org>
In reply to#43255
On 10/04/2013 09:34, Steven D'Aprano wrote:
>
> On that note, I think I'll take the opportunity to give thanks to Peter
> Otten, who (if I remember correctly) has been here for longer than I
> have, and I've been here for a long time. In all that time, I don't think
> I've ever seen him snap at or be rude to anyone, not even those who
> deserved it, and he doesn't shy away from answering even the most poorly
> written questions.
>
>
> Peter, I don't know how you do it, but you're doing a fantastic job.
>

Seconded.  For those who don't know Peter is always responding to 
queries on the tutor mailing list as well.  Definite case of the 
patience of a saint.

-- 
If you're using GoogleCrap™ please read this 
http://wiki.python.org/moin/GoogleGroupsPython.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#43264 — Re: People in the python community [was Re: Unicode issue with Python v3.3]

FromΝίκος Γκρ33κ <nikos.gr33k@gmail.com>
Date2013-04-10 03:50 -0700
SubjectRe: People in the python community [was Re: Unicode issue with Python v3.3]
Message-ID<67fd8cf1-0b86-4ebf-b29f-947e6ef44f2b@googlegroups.com>
In reply to#43260
 os.environ['HTTP_USER_AGENT'] is only set when running from browser.

so i faked it by using:

userinfo = os.environ.get('HTTP_USER_AGENT', 'some default')

but the encoding issues are still there.

[toc] | [prev] | [next] | [standalone]


#43265 — Re: People in the python community [was Re: Unicode issue with Python v3.3]

FromΝίκος Γκρ33κ <nikos.gr33k@gmail.com>
Date2013-04-10 03:50 -0700
SubjectRe: People in the python community [was Re: Unicode issue with Python v3.3]
Message-ID<mailman.405.1365591030.3114.python-list@python.org>
In reply to#43260
 os.environ['HTTP_USER_AGENT'] is only set when running from browser.

so i faked it by using:

userinfo = os.environ.get('HTTP_USER_AGENT', 'some default')

but the encoding issues are still there.

[toc] | [prev] | [next] | [standalone]


#43266 — Re: People in the python community [was Re: Unicode issue with Python v3.3]

FromΝίκος Γκρ33κ <nikos.gr33k@gmail.com>
Date2013-04-10 03:53 -0700
SubjectRe: People in the python community [was Re: Unicode issue with Python v3.3]
Message-ID<670913fb-4ee5-4b06-9213-37b65e0cd843@googlegroups.com>
In reply to#43265
Thank you just altered it but i still get the same encoding issues.

please its only a matter of simple alternation that iam not able to see.

When you have the time plz take a look.

Thank you!

[toc] | [prev] | [next] | [standalone]


#43267 — Re: People in the python community [was Re: Unicode issue with Python v3.3]

FromΝίκος Γκρ33κ <nikos.gr33k@gmail.com>
Date2013-04-10 03:53 -0700
SubjectRe: People in the python community [was Re: Unicode issue with Python v3.3]
Message-ID<mailman.406.1365591197.3114.python-list@python.org>
In reply to#43265
Thank you just altered it but i still get the same encoding issues.

please its only a matter of simple alternation that iam not able to see.

When you have the time plz take a look.

Thank you!

[toc] | [prev] | [next] | [standalone]


#43269 — Re: People in the python community [was Re: Unicode issue with Python v3.3]

FromPeter Otten <__peter__@web.de>
Date2013-04-10 13:11 +0200
SubjectRe: People in the python community [was Re: Unicode issue with Python v3.3]
Message-ID<mailman.408.1365592231.3114.python-list@python.org>
In reply to#43255
Steven D'Aprano wrote:

> On Wed, 10 Apr 2013 08:28:55 +0000, Steven D'Aprano wrote:
> 
>> If you want to be helpful, how about leading by example and taking on
>> some of the less coherent newbie questions
> [...]
> 
> 
> On that note, I think I'll take the opportunity to give thanks to Peter
> Otten, who (if I remember correctly) has been here for longer than I
> have, and I've been here for a long time. In all that time, I don't think
> I've ever seen him snap at or be rude to anyone, not even those who
> deserved it, and he doesn't shy away from answering even the most poorly
> written questions.
> 
> 
> Peter, I don't know how you do it, but you're doing a fantastic job.

Thank you :)

[toc] | [prev] | [next] | [standalone]


#43270 — Re: People in the python community [was Re: Unicode issue with Python v3.3]

FromPeter Otten <__peter__@web.de>
Date2013-04-10 13:13 +0200
SubjectRe: People in the python community [was Re: Unicode issue with Python v3.3]
Message-ID<mailman.409.1365592506.3114.python-list@python.org>
In reply to#43255
Mark Lawrence wrote:

> On 10/04/2013 09:34, Steven D'Aprano wrote:
>>
>> On that note, I think I'll take the opportunity to give thanks to Peter
>> Otten, who (if I remember correctly) has been here for longer than I
>> have, and I've been here for a long time. In all that time, I don't think
>> I've ever seen him snap at or be rude to anyone, not even those who
>> deserved it, and he doesn't shy away from answering even the most poorly
>> written questions.
>>
>>
>> Peter, I don't know how you do it, but you're doing a fantastic job.
>>
> 
> Seconded.  For those who don't know Peter is always responding to
> queries on the tutor mailing list as well.  Definite case of the
> patience of a saint.

You're invited as a speaker to my funeral ;)

[toc] | [prev] | [next] | [standalone]


#43273 — Re: People in the python community [was Re: Unicode issue with Python v3.3]

FromΝίκος Γκρ33κ <nikos.gr33k@gmail.com>
Date2013-04-10 07:43 -0700
SubjectRe: People in the python community [was Re: Unicode issue with Python v3.3]
Message-ID<9d58ea06-a942-47f5-8029-927c543d1a55@googlegroups.com>
In reply to#43270
Anyone please?

[toc] | [prev] | [next] | [standalone]


#43278 — Re: People in the python community [was Re: Unicode issue with Python v3.3]

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-04-10 16:15 +0100
SubjectRe: People in the python community [was Re: Unicode issue with Python v3.3]
Message-ID<mailman.415.1365606758.3114.python-list@python.org>
In reply to#43273
On 10/04/2013 15:43, Νίκος Γκρ33κ wrote:
> Anyone please?
>

I have already shown my support for Peter Otten on this thread.  Are you 
asking for more people to do so?

-- 
If you're using GoogleCrap™ please read this 
http://wiki.python.org/moin/GoogleGroupsPython.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#43284 — Re: People in the python community [was Re: Unicode issue with Python v3.3]

FromΝίκος Γκρ33κ <nikos.gr33k@gmail.com>
Date2013-04-10 09:50 -0700
SubjectRe: People in the python community [was Re: Unicode issue with Python v3.3]
Message-ID<6fa33d0e-d29b-494b-8fce-e38b85b19281@googlegroups.com>
In reply to#43278
I'am not sure i follow you.
How did my topic changed?! Is this possible?

How about the oce i posted at patebin.com.
Did anyone by any chnace had a look into?

It's only a single thing iam missing for the encoding and the the script will load properly with python 3.3

[toc] | [prev] | [next] | [standalone]


Page 1 of 5  [1] 2 3 4 5  Next page →

Back to top | Article view | comp.lang.python


csiph-web