Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29963 > unrolled thread
| Started by | Jayden <jayden.shui@gmail.com> |
|---|---|
| First post | 2012-09-24 16:43 -0700 |
| Last post | 2012-09-25 11:30 +0200 |
| Articles | 20 on this page of 35 — 15 participants |
Back to article view | Back to comp.lang.python
which a is used? Jayden <jayden.shui@gmail.com> - 2012-09-24 16:43 -0700
Re: which a is used? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 19:57 -0400
Re: which a is used? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 20:06 -0400
Re: which a is used? alex23 <wuwei23@gmail.com> - 2012-09-24 17:08 -0700
Re: which a is used? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 21:13 -0400
Re: which a is used? alex23 <wuwei23@gmail.com> - 2012-09-24 19:14 -0700
Re: which a is used? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 22:37 -0400
Re: which a is used? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2012-09-25 07:07 +0200
Re: which a is used? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-25 01:30 -0400
Re: which a is used? alex23 <wuwei23@gmail.com> - 2012-09-25 05:48 -0700
Re: which a is used? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-25 08:44 +0100
Stop feeding the trolls (Was: which a is used?) D'Arcy Cain <darcy@druid.net> - 2012-09-25 09:53 -0400
Re: Stop feeding the trolls (Was: which a is used?) David Robinow <drobinow@gmail.com> - 2012-09-25 21:00 -0400
Re: Stop feeding the trolls (Was: which a is used?) Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-26 03:06 -0400
Re: Stop feeding the trolls (Was: which a is used?) alex23 <wuwei23@gmail.com> - 2012-09-26 17:40 -0700
Re: Stop feeding the trolls Ben Finney <ben+python@benfinney.id.au> - 2012-09-27 13:06 +1000
Re: Stop feeding the trolls Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-27 23:39 -0400
Re: Stop feeding the trolls (Was: which a is used?) Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-27 23:47 -0400
Re: Stop feeding the trolls (Was: which a is used?) Chris Angelico <rosuav@gmail.com> - 2012-09-28 14:40 +1000
Re: Stop feeding the trolls (Was: which a is used?) Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-28 00:50 -0400
Re: Stop feeding the trolls (Was: which a is used?) "Littlefield, Tyler" <tyler@tysdomain.com> - 2012-09-27 23:12 -0600
Re: Stop feeding the trolls (Was: which a is used?) Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-28 01:21 -0400
Re: Stop feeding the trolls (Was: which a is used?) rusi <rustompmody@gmail.com> - 2012-09-27 22:51 -0700
Re: Stop feeding the trolls (Was: which a is used?) Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-28 02:20 -0400
Re: Stop feeding the trolls (Was: which a is used?) Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-26 03:07 -0400
Re: which a is used? "Colin J. Williams" <cjw@ncf.ca> - 2012-09-25 08:52 -0400
Re: which a is used? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2012-09-25 07:06 +0200
Re: which a is used? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-25 01:22 -0400
Re: which a is used? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2012-09-25 07:39 +0200
Re: which a is used? Terry Reedy <tjreedy@udel.edu> - 2012-09-25 01:05 -0400
Re: which a is used? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-25 01:18 +0000
Re: which a is used? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 21:47 -0400
Re: which a is used? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2012-09-25 07:06 +0200
Re: which a is used? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 21:50 -0400
Re: which a is used? Alain Ketterlin <alain@dpt-info.u-strasbg.fr> - 2012-09-25 11:30 +0200
Page 1 of 2 [1] 2 Next page →
| From | Jayden <jayden.shui@gmail.com> |
|---|---|
| Date | 2012-09-24 16:43 -0700 |
| Subject | which a is used? |
| Message-ID | <95e88ca6-36ad-4820-8ecc-c9a788517430@googlegroups.com> |
Dear All,
I have a simple code as follows:
# Begin
a = 1
def f():
print a
def g():
a = 20
f()
g()
#End
I think the results should be 20, but it is 1. Would you please tell me why?
Thanks a lot!
[toc] | [next] | [standalone]
| From | Dwight Hutto <dwightdhutto@gmail.com> |
|---|---|
| Date | 2012-09-24 19:57 -0400 |
| Message-ID | <mailman.1246.1348531049.27098.python-list@python.org> |
| In reply to | #29963 |
On Mon, Sep 24, 2012 at 7:43 PM, Jayden <jayden.shui@gmail.com> wrote: > Dear All, > > I have a simple code as follows: > > # Begin > a = 1 > > def f(): > print a > > def g(): > a = 20 > f() > > g() > #End > > I think the results should be 20, but it is 1. Would you please tell me why? > > Thanks a lot! > > -- > http://mail.python.org/mailman/listinfo/python-list didn't return the value, or print it out -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com
[toc] | [prev] | [next] | [standalone]
| From | Dwight Hutto <dwightdhutto@gmail.com> |
|---|---|
| Date | 2012-09-24 20:06 -0400 |
| Message-ID | <mailman.1248.1348531603.27098.python-list@python.org> |
| In reply to | #29963 |
On Mon, Sep 24, 2012 at 7:57 PM, Dwight Hutto <dwightdhutto@gmail.com> wrote: > On Mon, Sep 24, 2012 at 7:43 PM, Jayden <jayden.shui@gmail.com> wrote: >> Dear All, >> >> I have a simple code as follows: >> >> # Begin >> a = 1 >> >> def f(): >> print a >> >> def g(): >> a = 20 >> f() this prints a from calling f() function call print a wasn't in a class where it was self.a and changed, so it performed the function f which prints a and a = 1, but g just assigns the 20, and calls the f() function which shows a, there is no self.a, nor a class to show this in. >> >> g() >> #End >> >> I think the results should be 20, but it is 1. Would you please tell me why? >> >> Thanks a lot! >> >> -- >> http://mail.python.org/mailman/listinfo/python-list > > didn't return the value, or print it out > > > -- > Best Regards, > David Hutto > CEO: http://www.hitwebdevelopment.com -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com
[toc] | [prev] | [next] | [standalone]
| From | alex23 <wuwei23@gmail.com> |
|---|---|
| Date | 2012-09-24 17:08 -0700 |
| Message-ID | <648f62d6-6f07-432c-b742-876cedfce950@wm7g2000pbc.googlegroups.com> |
| In reply to | #29963 |
On Sep 25, 9:43 am, Jayden <jayden.s...@gmail.com> wrote: > Dear All, > > I have a simple code as follows: > > # Begin > a = 1 > > def f(): > print a > > def g(): > a = 20 > f() > > g() > #End > > I think the results should be 20, but it is 1. Would you please tell me why? Because you don't declare 'a' in 'f', it looks for 'a' in the surrounding scope _where it was defined_, not where it was called. Because 'a' in the module scope is 1, you'll get 1.
[toc] | [prev] | [next] | [standalone]
| From | Dwight Hutto <dwightdhutto@gmail.com> |
|---|---|
| Date | 2012-09-24 21:13 -0400 |
| Message-ID | <mailman.1258.1348535636.27098.python-list@python.org> |
| In reply to | #29973 |
Anything else bitch, take time to think about it. -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com
[toc] | [prev] | [next] | [standalone]
| From | alex23 <wuwei23@gmail.com> |
|---|---|
| Date | 2012-09-24 19:14 -0700 |
| Message-ID | <a6aa01da-6002-4e15-a1db-3ffb942095ac@n7g2000pbj.googlegroups.com> |
| In reply to | #29985 |
On Sep 25, 11:13 am, Dwight Hutto <dwightdhu...@gmail.com> wrote: > bitch I honestly could not care less what you think about me, but don't use that term. This isn't a boys' club and we don't need your hurt ego driving people away from here.
[toc] | [prev] | [next] | [standalone]
| From | Dwight Hutto <dwightdhutto@gmail.com> |
|---|---|
| Date | 2012-09-24 22:37 -0400 |
| Message-ID | <mailman.1266.1348540636.27098.python-list@python.org> |
| In reply to | #29996 |
> I honestly could not care less what you think about me, but don't use > that term. This isn't a boys' club and we don't need your hurt ego > driving people away from here. OOOOOOOOOHHHHH. stirrin up shit and can't stand the smell. Turn and switch technique. "You're so vulgar, and I wasn't."Go get a clue ho, and then you can gumshoe it up the last crack alley on the left, and suck till my nut hair tickles your tonsils. > -- > http://mail.python.org/mailman/listinfo/python-list -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com
[toc] | [prev] | [next] | [standalone]
| From | Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> |
|---|---|
| Date | 2012-09-25 07:07 +0200 |
| Message-ID | <k3re71$o2q$3@r03.glglgl.gl> |
| In reply to | #30000 |
Am 25.09.2012 04:37 schrieb Dwight Hutto: >> I honestly could not care less what you think about me, but don't use >> that term. This isn't a boys' club and we don't need your hurt ego >> driving people away from here. > > OOOOOOOOOHHHHH. stirrin up shit and can't stand the smell. Where did he so? Thomas
[toc] | [prev] | [next] | [standalone]
| From | Dwight Hutto <dwightdhutto@gmail.com> |
|---|---|
| Date | 2012-09-25 01:30 -0400 |
| Message-ID | <mailman.1279.1348551057.27098.python-list@python.org> |
| In reply to | #30018 |
>> OOOOOOOOOHHHHH. stirrin up shit and can't stand the smell. > > > Where did he so? > You'd have to read the other posts. And remember that some of these names are A.K.A.'s, they ask respond, and befriend another name through another proxy. -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com
[toc] | [prev] | [next] | [standalone]
| From | alex23 <wuwei23@gmail.com> |
|---|---|
| Date | 2012-09-25 05:48 -0700 |
| Message-ID | <661d9632-978f-47b0-9103-f6b8d72359e3@b9g2000pbc.googlegroups.com> |
| In reply to | #30022 |
On Sep 25, 3:30 pm, Dwight Hutto <dwightdhu...@gmail.com> wrote: > You'd have to read the other posts. And remember that some of these > names are A.K.A.'s, they ask respond, and befriend another name > through another proxy. You've actively accused me of this several times. If you have evidence that there's sockpuppeting, please provide it.
[toc] | [prev] | [next] | [standalone]
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2012-09-25 08:44 +0100 |
| Message-ID | <mailman.1290.1348559037.27098.python-list@python.org> |
| In reply to | #30018 |
On 25/09/2012 06:07, Thomas Rachel wrote: > Am 25.09.2012 04:37 schrieb Dwight Hutto: >>> I honestly could not care less what you think about me, but don't use >>> that term. This isn't a boys' club and we don't need your hurt ego >>> driving people away from here. >> >> OOOOOOOOOHHHHH. stirrin up shit and can't stand the smell. > > Where did he so? > > > Thomas He's referring to threads on the tutor mailing list where I have repeatedly asking him to provide context when he replies. Unfortunately he doesn't seem to understand the term context so resorts to attacking me. In a part of one thread he referred to my family as pigs. I've have lived with that, using the sticks and stones reply, but then someone had the audacity to protect his stance. I am sure that people have seen enough of his behaviour in the last few hours to see the real Dwight Hutto so I'll leave it at that. -- Cheers. Mark Lawrence.
[toc] | [prev] | [next] | [standalone]
| From | D'Arcy Cain <darcy@druid.net> |
|---|---|
| Date | 2012-09-25 09:53 -0400 |
| Subject | Stop feeding the trolls (Was: which a is used?) |
| Message-ID | <mailman.1336.1348581662.27098.python-list@python.org> |
| In reply to | #30018 |
On Tue, 25 Sep 2012 08:44:18 +0100 Mark Lawrence <breamoreboy@yahoo.co.uk> wrote: > On 25/09/2012 06:07, Thomas Rachel wrote: > > Am 25.09.2012 04:37 schrieb Dwight Hutto: [...usual nonsense] > someone had the audacity to protect his stance. I am sure that people > have seen enough of his behaviour in the last few hours to see the real > Dwight Hutto so I'll leave it at that. Now if only people would stop feeding the troll, those of us who have already *plonked* him can stop seeing his ramblings in the responses. -- D'Arcy J.M. Cain <darcy@druid.net> | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner. IM: darcy@Vex.Net
[toc] | [prev] | [next] | [standalone]
| From | David Robinow <drobinow@gmail.com> |
|---|---|
| Date | 2012-09-25 21:00 -0400 |
| Subject | Re: Stop feeding the trolls (Was: which a is used?) |
| Message-ID | <mailman.1388.1348621246.27098.python-list@python.org> |
| In reply to | #30018 |
On Tue, Sep 25, 2012 at 9:53 AM, D'Arcy Cain <darcy@druid.net> wrote: > ... > Now if only people would stop feeding the troll, those of us who have > already *plonked* him can stop seeing his ramblings in the responses. I'm hating myself for jumping in to this nonsense, but ... +1
[toc] | [prev] | [next] | [standalone]
| From | Dwight Hutto <dwightdhutto@gmail.com> |
|---|---|
| Date | 2012-09-26 03:06 -0400 |
| Subject | Re: Stop feeding the trolls (Was: which a is used?) |
| Message-ID | <mailman.1395.1348643176.27098.python-list@python.org> |
| In reply to | #30018 |
You can "Plonk" my dick bitches. -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com
[toc] | [prev] | [next] | [standalone]
| From | alex23 <wuwei23@gmail.com> |
|---|---|
| Date | 2012-09-26 17:40 -0700 |
| Subject | Re: Stop feeding the trolls (Was: which a is used?) |
| Message-ID | <66323e0b-228b-44c1-96e3-eecb7cc3cd84@n7g2000pbj.googlegroups.com> |
| In reply to | #30148 |
On Sep 26, 5:06 pm, Dwight Hutto <dwightdhu...@gmail.com> wrote: > You can "Plonk" my dick bitches. You do understand that when you have so many people react badly to how you phrase things, that the problem most likely lies with you and not them? That the only person who actually reacts favourably to this garbage coming from you is *you*? There is no place for racist or sexist speech here. Reply personally to whomever you want with whatever invective you choose, that's your right (just as it is their right to flag your emails as spam, as I have). But this is a place for public discussion and, again, we do not need you driving away people who might actually contribute positively simply because you're unable or unwilling to always do so.
[toc] | [prev] | [next] | [standalone]
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Date | 2012-09-27 13:06 +1000 |
| Subject | Re: Stop feeding the trolls |
| Message-ID | <mailman.1473.1348715229.27098.python-list@python.org> |
| In reply to | #30258 |
alex23 <wuwei23@gmail.com> writes: > On Sep 26, 5:06 pm, Dwight Hutto <dwightdhu...@gmail.com> wrote: > > You can "Plonk" my dick bitches. > > You do understand that when you have so many people react badly to how > you phrase things, that the problem most likely lies with you and not > them? That the only person who actually reacts favourably to this > garbage coming from you is *you*? There have been ample opportunities for him to realise this. It's past time to stop feeding this troll, please. -- \ “Alternative explanations are always welcome in science, if | `\ they are better and explain more. Alternative explanations that | _o__) explain nothing are not welcome.” —Victor J. Stenger, 2001-11-05 | Ben Finney
[toc] | [prev] | [next] | [standalone]
| From | Dwight Hutto <dwightdhutto@gmail.com> |
|---|---|
| Date | 2012-09-27 23:39 -0400 |
| Subject | Re: Stop feeding the trolls |
| Message-ID | <mailman.1529.1348803576.27098.python-list@python.org> |
| In reply to | #30258 |
It's past > time to stop feeding this troll, please. You mean like the post above you sent....bitch please, I'm eatin good right now. -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com
[toc] | [prev] | [next] | [standalone]
| From | Dwight Hutto <dwightdhutto@gmail.com> |
|---|---|
| Date | 2012-09-27 23:47 -0400 |
| Subject | Re: Stop feeding the trolls (Was: which a is used?) |
| Message-ID | <mailman.1530.1348804078.27098.python-list@python.org> |
| In reply to | #30258 |
On Wed, Sep 26, 2012 at 8:40 PM, alex23 <wuwei23@gmail.com> wrote: > On Sep 26, 5:06 pm, Dwight Hutto <dwightdhu...@gmail.com> wrote: >> You can "Plonk" my dick bitches. > > You do understand that when you have so many people react badly to how > you phrase things, that the problem most likely lies with you and not > them? Depends on the demographic. That the only person who actually reacts favourably to this > garbage coming from you is *you*? Yeah...I'm egotistical. > > There is no place for racist or sexist speech here. \ There never was any from me Reply personally > to whomever you want with whatever invective you choose, that's your > right (just as it is their right to flag your emails as spam, as I > have). Yeah, hit the mute button if you don't like me. That's a brilliant fucking idea...buddy. But this is a place for public discussion and, again, we do not > need you driving away people who might actually contribute positively > simply because you're unable or unwilling to always do so. Uhm, I do post appropriately, unless you're trolling the board, with a few other avatars, and buddies in order to stomp a flame war someone else started...IMHO. -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com
[toc] | [prev] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2012-09-28 14:40 +1000 |
| Subject | Re: Stop feeding the trolls (Was: which a is used?) |
| Message-ID | <mailman.1534.1348807237.27098.python-list@python.org> |
| In reply to | #30258 |
On Fri, Sep 28, 2012 at 1:47 PM, Dwight Hutto <dwightdhutto@gmail.com> wrote: > [ lots of screed that demonstrates that Dwight hasn't grokked the hacker culture ] Dwight, have a read of these documents. They may help you to understand how the python-list community operates, and perhaps more so, why most of the regulars here think the way they do. Actually, this may be of interest to quite a few people, so I'll post it on-list. http://catb.org/~esr/faqs/ ChrisA
[toc] | [prev] | [next] | [standalone]
| From | Dwight Hutto <dwightdhutto@gmail.com> |
|---|---|
| Date | 2012-09-28 00:50 -0400 |
| Subject | Re: Stop feeding the trolls (Was: which a is used?) |
| Message-ID | <mailman.1535.1348807853.27098.python-list@python.org> |
| In reply to | #30258 |
On Fri, Sep 28, 2012 at 12:40 AM, Chris Angelico <rosuav@gmail.com> wrote: > On Fri, Sep 28, 2012 at 1:47 PM, Dwight Hutto <dwightdhutto@gmail.com> wrote: >> [ lots of screed that demonstrates that Dwight hasn't grokked the hacker culture ] Don't hack, but could very well if necessary. > > Dwight, have a read of these documents. They may help you to > understand how the python-list community operates, and perhaps more > so, why most of the regulars here think the way they do. They have double digit I.Q.'s ? Actually, > this may be of interest to quite a few people, so I'll post it > on-list. Go right ahead....buddy. > > http://catb.org/~esr/faqs/ > > ChrisA > -- > http://mail.python.org/mailman/listinfo/python-list -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.lang.python
csiph-web