[issue5703] inside *currentmodule* some links is disabled

2009-04-13 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: If you want that level of control, it may be better to just write :meth:`Message.add_header() email.message.Message.add_header`. -- ___ Python tracker rep...@bugs.python.org

[issue5730] setdefault speedup

2009-04-13 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The missing key reports the default object, but doesn't set that key or value object in the dict. That's just not true. Re-read the line in the doc string where it puts the default value into the dict, under the key being accessed. For

[issue5706] setuptools doesn't honor standard compiler variables

2009-04-13 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: You can submit an entry at http://bugs.python.org/setuptools. Although, what you mean by distutils does support the environment variables properly -- components: +Distutils -Installation versions: -Python 2.4, Python 2.5

[issue5735] Segfault when loading not recompiled module

2009-04-13 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- assignee: tarek - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5735 ___ ___ Python-bugs-list

[issue5741] SafeConfigParser incorrectly detects lone percent signs

2009-04-13 Thread Márcio Faustino
Márcio Faustino m.faust...@gmail.com added the comment: Shouldn't the replace('%%', '') take place before _interpvar_re.sub? For example, the value %%(test)s should be accepted as valid but it isn't because _interpvar_re has already changed it to %. --

[issue5741] SafeConfigParser incorrectly detects lone percent signs

2009-04-13 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: You're right, of course. Fixed in r71564. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5741 ___

[issue5607] Lib/distutils/test/test_util: test_get_platform bogus for OSX

2009-04-13 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: fixed in r71560 and r71565. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5607 ___

[issue5736] Add the iterator protocol to dbm modules

2009-04-13 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I agree with Skip that using a static variable is not appropriate. The proper solution probably would be to define a separate gdbm_iter object which always preserves the last key returned. -- ___

[issue5745] email document update (more links)

2009-04-13 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, committed in r71572. -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5745 ___

[issue5736] Add the iterator protocol to dbm modules

2009-04-13 Thread Akira Kitada
Akira Kitada akit...@gmail.com added the comment: Yes, using a static variable there is wrong and actually I'm now working on dbm_iterobject just as Martin suggested. dbm iterator should behave just like one in dict. I think I can use Objects/dictobject.c as a good example for this. Attached

[issue5724] 2.6.2c1 fails to pass test_cmath on Solaris10

2009-04-13 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: We'll omit this for 2.6.2. Mark, please feel free to apply it once 2.6.2 is released so that it makes it into 2.6.3. -- priority: release blocker - high ___ Python tracker rep...@bugs.python.org

[issue5724] 2.6.2c1 fails to pass test_cmath on Solaris10

2009-04-13 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Accepted for 2.6.3. -- resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5724 ___

[issue5747] knowing the parent command

2009-04-13 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: Right now there's no way in a command to know that it was launched as a subcommand from another command. For instance every install_* command knows explicitely that it is launched as a subcommand of 'install' and takes back its options in

[issue5746] socketserver problem upon disconnection (undefined member)

2009-04-13 Thread Victor Godoy Poluceno
Victor Godoy Poluceno victorpoluc...@gmail.com added the comment: Can you provide a small example of this error? This problem seems only occurer when a subclass of socketserver.StreamRequestHandler provide a blank method setup. In your log error: AttributeError: 'RequestHandler' object has

[issue5746] socketserver problem upon disconnection (undefined member)

2009-04-13 Thread Eric Blond
Eric Blond ebl...@tiscali.co.uk added the comment: That's it actually. I forgot to call base class' setup() method when I redefined it in my subclass. When I properly call StreamRequestHandler.setup() on my derived class' setup(), everything works fine. I'm not a socketserver specialist, but

[issue5746] socketserver problem upon disconnection (undefined member)

2009-04-13 Thread Eric Blond
Changes by Eric Blond ebl...@tiscali.co.uk: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5746 ___ ___ Python-bugs-list

[issue3440] Starting any program as a subprocess fails when subprocess.Popen has env argument

2009-04-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: As I said, if you replace the environment it is your responsibility to supply a working environment. I've attached a doc patch that adds a warning about this with the information that a valid SystemRoot is needed to run a side-by-side

[issue3440] Starting any program as a subprocess fails when subprocess.Popen has env argument

2009-04-13 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3440 ___ ___ Python-bugs-list

[issue5748] Objects/bytesobject.c should include stringdefs.h, instead of defining its own macros

2009-04-13 Thread Eric Smith
New submission from Eric Smith e...@trueblade.com: All of the macros it defines around line 565 should either already be in stringdefs.h, or they should be added there. The same issue exists in Objects/bytearrayobject.c. I haven't looked in 2.7, but I assume the same problem exists there.

[issue5746] socketserver problem upon disconnection (undefined member)

2009-04-13 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - invalid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5746 ___ ___

[issue5725] process SysV-Semaphore support

2009-04-13 Thread R David Murray
R David Murray rdmur...@bitdance.com added the comment: On Sat, 11 Apr 2009 at 09:29, jvdias wrote: jvdias jason.vas.d...@gmail.com added the comment: Thanks for responding ! You are welcome. If you want something to happen, though, you'll have to get support from the community and submit a

[issue5749] Allow bin() to have an optional Total Bits argument.

2009-04-13 Thread MechPaul
New submission from MechPaul mechp...@gmail.com: As it stands right now, bin() only shows the minimum number of bits to display the number, however I think having a Total Bits argument would be very, very useful for bin(). bin(value, [Total bits to display]) Total bits to display is an

[issue5725] process SysV-Semaphore support

2009-04-13 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: -r.david.murray-old ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5725 ___ ___

[issue5749] Allow bin() to have an optional Total Bits argument.

2009-04-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: A better (more flexible) way already exists (as of 2.6) to accomplish your goal: 0b{0:08b}.format(127) '0b0111' -- nosy: +r.david.murray resolution: - rejected stage: - committed/rejected status: open - closed

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2009-04-13 Thread Victor Godoy Poluceno
Changes by Victor Godoy Poluceno victorpoluc...@gmail.com: -- nosy: +victorpoluceno ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5715 ___ ___