[issue9320] os.environ is global for threads

2010-07-22 Thread Georg Brandl
Georg Brandl added the comment: Anatoly, I don't think it is a good idea to use signatures in tracker comments. -- ___ Python tracker ___

[issue9320] os.environ is global for threads

2010-07-22 Thread Stefan Krah
Changes by Stefan Krah : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue9320] os.environ is global for threads

2010-07-22 Thread Stefan Krah
Stefan Krah added the comment: I agree with Eric, Konstantin, Amaury and Georg. Closing for the third time. -- nosy: +skrah status: pending -> open ___ Python tracker ___ ___

[issue9320] os.environ is global for threads

2010-07-22 Thread anatoly techtonik
anatoly techtonik added the comment: I have to debug CGIHTTPServer test case that apparently uses threads, and I expected to find at least some pointer about "what exactly a thread in Python is". I hope Python Manual is not only for system programmers. They do not need the manual anyway - the

[issue9320] os.environ is global for threads

2010-07-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Quoting the wikipedia page: """multiple threads within a process share state as well as memory and other resources""" If you never worked with threads, then you really need a tutorial about threads, or even a general explanation about threads; the refer

[issue9320] os.environ is global for threads

2010-07-21 Thread anatoly techtonik
anatoly techtonik added the comment: > in http://docs.python.org/library/thread.html > """...multiple threads of control sharing their global data space...""" > > That's how threads are understood in all programming languages. Do you mean this one? """This module provides low-level primitives

[issue9320] os.environ is global for threads

2010-07-21 Thread Georg Brandl
Georg Brandl added the comment: Closing in agreement with Eric/Amaury. -- nosy: +georg.brandl resolution: -> works for me status: open -> closed ___ Python tracker ___ _

[issue9320] os.environ is global for threads

2010-07-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: >> I'm not sure where you'd put this. The defining characteristic of threads is >> that _all_ objects are shared among them. > Where is this defining characteristic of threads is described? in http://docs.python.org/library/thread.html """...multiple thr

[issue9320] os.environ is global for threads

2010-07-21 Thread anatoly techtonik
anatoly techtonik added the comment: On Wed, Jul 21, 2010 at 11:43 AM, Eric Smith wrote: > > I'm not sure where you'd put this. The defining characteristic of threads is > that _all_ objects are shared among them. Where is this defining characteristic of threads is described? -- ___

[issue9320] os.environ is global for threads

2010-07-21 Thread Konstantin Zemlyak
Konstantin Zemlyak added the comment: Environment variables have always been process-wide. It doesn't deserve any special mention in threads documentation. -- nosy: +zart ___ Python tracker ___

[issue9320] os.environ is global for threads

2010-07-21 Thread Eric Smith
Eric Smith added the comment: I'm not sure where you'd put this. The defining characteristic of threads is that _all_ objects are shared among them. -- nosy: +eric.smith ___ Python tracker

[issue9320] os.environ is global for threads

2010-07-21 Thread anatoly techtonik
New submission from anatoly techtonik : Seems like os.environ is shared between multiple threads. This should be documented at least in threading chapters. -- assignee: d...@python components: Documentation messages: 111013 nosy: d...@python, techtonik priority: normal severity: normal