[issue11109] socketserver.ForkingMixIn leaves zombies

2011-02-05 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +gregory.p.smith stage: - patch review versions: +Python 2.7, Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11109

[issue11119] Passing a socket to a process (multiprocessing module)

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Well, sockets cannot be pickled on any platform: sock = socket.create_connection((www.python.org, 80)) __main__:1: ResourceWarning: unclosed socket.socket object, fd=3, family=2, type=1, proto=0 s = pickle.loads(pickle.dumps(sock))

[issue11127] sockets should not be pickleable

2011-02-05 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: Like already done for file objects, sockets should refuse pickling by raising a TypeError. -- components: Library (Lib) messages: 127976 nosy: pitrou priority: normal severity: normal stage: needs patch status: open title: sockets

[issue11119] Passing a socket to a process (multiprocessing module)

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Opened issue11127 for raising a TypeError when trying to pickle any socket. -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9

[issue11124] test_posix failure on the Leopard buildbot

2011-02-05 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - posix.getgroups() failure on Mac OS X ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11124

[issue1227748] subprocess: inheritance of std descriptors inconsistent

2011-02-05 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- assignee: astrand - docs@python nosy: +docs@python stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1227748 ___

[issue11076] Iterable argparse Namespace

2011-02-05 Thread Virgil Dupras
Virgil Dupras hs...@hardcoded.net added the comment: I didn't know about vars() (well, I knew it existed, but never was quite sure what it did). Given that I'm not a Python newbie, I'm guessing I'm not alone in this situation. Maybe that instead of making the Namespace iterable, we should

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: My claim is that Tkinter is thread-safe as it stands. A lot of thought has been put into making Tkinter thread-safe, so if there is any claim to the contrary, we would need more details: what exact Python version is being used, what exact

[issue11103] Python 3.2 installer doesn't register file extensions on Windows 7

2011-02-05 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Terry, if you are installing Python for all users, but have the Open rebound just for yourself, it is unreasonable to expect that the Python installation procedure changes it. Per-user settings override machine settings; this is by

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Scott M
Scott M scott.m...@comcast.net added the comment: I'll look into making the crash easier to reproduce this coming week. Is Tkinter's thread safety new? Because after I started getting crashes, I did my due diligence in Google and found a number of people writing about how it was necessary to

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Is Tkinter's thread safety new? It's supported on Unix since 1.5.1, and on Windows since 2.3. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11077

[issue11116] mailbox and email errors

2011-02-05 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: Well, here is the long-asked-for 'fp_mailbox.py' test thing. Note: it generates a 'test.mbox' in CWD! print(USAGE: fp_mailbox.py 0|1|2, 0 = use raw UTF-8 string, 1 = use UTF-8 string,

[issue11046] setup.py/configure [darwin]

2011-02-05 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: ronaldoussoren: thanks for the MACOSX_DEPLOYMENT_TARGET=10.5 hint!! I did Py3K yesterday, and it was a matter of 'configure --prefix=x YZ make make install' as if it were a real UNIX! I *really* think there should be a

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Scott M
Scott M scott.m...@comcast.net added the comment: The new version runs 40 parabolas, then quits. I usually have to run this version 20 times or so to get the crash, so be patient. In general if it's going to crash it does so in the first 6 or so parabolas. Caveat: creates up to 40 threads, so

[issue11128] decimal.py: to_integral() corner cases

2011-02-05 Thread Stefan Krah
New submission from Stefan Krah stefan-use...@bytereef.org: Hi, to_integral() should behave like quantize() for negative exponents: Otherwise (the operand has a negative exponent) the result is the same as using the quantize operation using the given operand as the left-hand-operand, 1E+0 as

[issue11117] Implementing Async IO

2011-02-05 Thread David Beazley
David Beazley d...@dabeaz.com added the comment: Anyone contemplating the use of aio_ functions should first go read The Story of Mel. http://www.catb.org/jargon/html/story-of-mel.html -- nosy: +dabeaz ___ Python tracker rep...@bugs.python.org

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I can't reproduce either, but the latest traceback posted in msg127985 seems to hint at a parameter marshalling problem. create is one of the parameters to the called Tk function, but it seemed to be mistaken for another. Since it's arguably

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread Vetoshkin Nikita
Vetoshkin Nikita nikita.vetosh...@gmail.com added the comment: I think launching external tools like ifconfig and ipconfig can be avoided pretty easily. There are many recipes around the net how to use native API's. About ctypes' horrible logic during find_library call - don't know yet.

[issue11117] Implementing Async IO

2011-02-05 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Thanks, David, for the link. The story is really touching :-). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7 ___

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Tk produces bad screen distance in Tk_GetScreenMM (convert string to screen millimeters) and TkGetDoublePixels (convert string to number of pixels) when strtod fails on the string being passed. It also produces the error in SetPixelAny

[issue11129] logging: allow multiple entries in qualname config

2011-02-05 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: When configuration is specified in external file, qualname attribute should allow several values. Maybe comma separated. -- messages: 127992 nosy: techtonik priority: normal severity: normal status: open title: logging: allow

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Scott M
Scott M scott.m...@comcast.net added the comment: If it helps, over the many iterations of this test code, there have been two kinds of issues: 1. pythonw.exe crashes with the Windows variant of a SEGV. No traceback, just a crash. These are rare. 2. Evidence of confusion over which string

[issue11117] Implementing Async IO

2011-02-05 Thread David Beazley
David Beazley d...@dabeaz.com added the comment: Glad you liked it! I think there is a bit of a cautionary tale in there though. With aio_, there is the promise of better performance, but you're also going to need a *LOT* of advance planning and thought to avoid creating a tangled coding

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The UpdateStringProc should not be invoked for type cmdName message (as quoted above in the traceback) apparently can mean that there's a mismanagement of Tcl reference counts. From

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: As a side note, if Tkinter is intended to be thread safe, the documentation should say so. Clearly, and in the first paragraph. I'm no Tkinter specialist but, judging by its source code, Tkinter (the Python module) *is* intended to be

[issue5285] hmac throws TypeErrors

2011-02-05 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: This damn bug ruined my day. MoinMoin couldn't reset password on many outdated wikies 1.8.2 (including Python's one probably), because of it. http://moinmo.in/MoinMoinBugs/1.8_ResetPasswordError -- nosy: +techtonik

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread Kenny Meyer
Kenny Meyer knny.m...@gmail.com added the comment: With the attached patch the heavy work will be done on request, when calling uuid1() or uuid4() not on import. I am working off from the py3k svn branch. Is it necessary to submit a separate patch for py2 branch? -- keywords: +patch

[issue11130] SocketServer: server_address is... a socket

2011-02-05 Thread ProgVal
New submission from ProgVal prog...@gmail.com: Hello, I have issues with a script I'm programming (TypeError at every client connection), so I edited BaseServer's __init__(): def __init__(self, server_address, RequestHandlerClass): Constructor. May be extended, do not override.

[issue11130] SocketServer: server_address is... a socket

2011-02-05 Thread ProgVal
ProgVal prog...@gmail.com added the comment: The problem happens on Python 2.7 too. Additionaly, here is the traceback, if I don't edit the library: Exception happened during processing of request from ('127.0.0.1', 50378) Traceback (most recent call last): File

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Kenny, I don't see a problem with uuid is *imported*, it just creates a couple of STANDARD UUID class objects for use later. And this seems to just set the number and validates it. I don't see any subprocess calls performed. Perhaps you

[issue11130] SocketServer: server_address is... a socket

2011-02-05 Thread ProgVal
ProgVal prog...@gmail.com added the comment: This seems odd to me: this line: self.RequestHandlerClass(request, client_address, self) calls TCPServer's constructor: def __init__(self, server_address, RequestHandlerClass, bind_and_activate=True): --

[issue11130] SocketServer: server_address is... a socket

2011-02-05 Thread ProgVal
ProgVal prog...@gmail.com added the comment: Oh, excuse me, it's because of my code! class MyRequestHandler(SocketServer.TCPServer): -- resolution: - invalid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11130

[issue11130] SocketServer: server_address is... a socket

2011-02-05 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Unable to determine the bug here. If you have questions with using python, please ask python-l...@python.org -- nosy: +orsenthil stage: - committed/rejected status: open - closed type: - behavior

[issue11122] bdist_rpm fails

2011-02-05 Thread James
James purplei...@gmail.com added the comment: I'll write a docs and script patch for this next week... I'm happy to do the work, Thanks for the comments. James -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11122

[issue9364] some problems with the documentation of pydoc

2011-02-05 Thread yeswanth
yeswanth swamiyeswa...@yahoo.com added the comment: Suggestions are good . One thing I came across when going through the doc is that when you run help(help) after importing help from pydoc , i noticed that the first line of the help utility is Welcome to Python 3.2! This is the online

[issue11131] decimal.py: plus/minus with ROUND_FLOOR

2011-02-05 Thread Stefan Krah
New submission from Stefan Krah stefan-use...@bytereef.org: Another exciting corner case in plus/minus: The operations are evaluated using the same rules as add and subtract; the operations plus(a) and minus(a) (where a and b refer to any numbers) are calculated as the operations add(’0’, a)

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: If you do 'python -c import uuid under strace, _posixsubprocess is definitely loaded, and a pipe2 call is made. Take a look at the code starting at (py3k trunk) line 418 (try:). That's where the weird stuff happens, which is what the

[issue9364] some problems with the documentation of pydoc

2011-02-05 Thread yeswanth
yeswanth swamiyeswa...@yahoo.com added the comment: Patch for the change i have suggested in pydoc . @Eric I will try to implement the patch suggestions you have made. I still have to figure out how to make crosslinks -- keywords: +patch Added file:

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thanks for posting a patch! I have two comments: - Have you run test_uuid? When I run it, it seems to go into an infinite loop somewhere and I need to kill the process. - uuid should work even when ctypes is not available, so you can't just put

[issue11127] sockets should not be pickleable

2011-02-05 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11127 ___ ___

[issue11109] socketserver.ForkingMixIn leaves zombies

2011-02-05 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11109 ___ ___

[issue11116] mailbox and email errors

2011-02-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Thanks, much easier to communicate when runnable code is involved :) Now I can see what you mean about it writing the From. I will figure out why and fix it so that the From line is not written. The traceback from email.generator is

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread Vetoshkin Nikita
Vetoshkin Nikita nikita.vetosh...@gmail.com added the comment: uuid should work even when ctypes is not available A bit of offtopic: why can't we assume that ctypes is available? -- ___ Python tracker rep...@bugs.python.org

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: A bit of offtopic: why can't we assume that ctypes is available? Because ctypes (or, actually, the libffi it relies on) needs specific low-level code for each platform it runs on, and not all platforms have such code. Another reason is that

[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2011-02-05 Thread Gerard van Helden
Gerard van Helden dremel...@gmail.com added the comment: The reporter imho is 100% right. Simply because of the fact that in the current situation, there is no way to supply an argument starting with a dash (not even for instance a filename). That is, of course, total nonsense to be dictated

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread Kenny Meyer
Kenny Meyer knny.m...@gmail.com added the comment: Thanks for pointing that out! I guess that is the reason you did the import in a try block. -- Added file: http://bugs.python.org/file20687/unnamed ___ Python tracker rep...@bugs.python.org

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread Vetoshkin Nikita
Vetoshkin Nikita nikita.vetosh...@gmail.com added the comment: Maybe I understood and ctypes ImportError simply must be handled and fallbacked to something else. But there are only 3 ways of getting MAC address: 1. using popen 2. using ctypes and native calls 3. using C API and performing

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Maybe I understood and ctypes ImportError simply must be handled and fallbacked to something else. Indeed. But there are only 3 ways of getting MAC address: 1. using popen 2. using ctypes and native calls 3. using C API and performing

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread Keith Dart
Keith Dart ke...@dartworks.biz added the comment: It's also possible using existing wrapped os system calls. One exaple is here: http://code.google.com/p/pycopia/source/browse/trunk/aid/pycopia/ifconfig.py Although that one doesn't current support MAC addresses, but it could. The socket

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread Vetoshkin Nikita
Vetoshkin Nikita nikita.vetosh...@gmail.com added the comment: It's also possible using existing wrapped os system calls. That's right, on linux we can use ioctls but windows would require win api calls like this one:

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread Kenny Meyer
Changes by Kenny Meyer knny.m...@gmail.com: Removed file: http://bugs.python.org/file20687/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11063 ___

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread Keith Dart
Keith Dart ke...@dartworks.biz added the comment: I'm thinking Python could use a general purpose ifconfig/mac-layer module that uuid.py could then just use. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11063

[issue11063] uuid.py module import has heavy side effects

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I'm thinking Python could use a general purpose ifconfig/mac-layer module that uuid.py could then just use. Perhaps, but that's really out of scope for this issue. Feel free to open another issue. --

[issue11121] libpython3.so support with --enable-shared

2011-02-05 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Thanks for the review. Committed as r88350. -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11121

[issue11067] Py_LIMITED_API breaks most PySomething_Check() functions

2011-02-05 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Thanks for the review. Committed as r88351. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11067 ___

[issue10882] Add os.sendfile()

2011-02-05 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Patch in attachment provides a complete test suite. It also fixes a problem which occurred on BSD platforms when using non-blocking sockets: EAGAIN/EBUSY are now raised if the transmitted data == 0 bytes reflecting socket's send()

[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2011-02-05 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: While I also dislike the existing behavior, note that you can get what you want by using an equal sign. import argparse parser = argparse.ArgumentParser(prog='a2x') parser.add_argument('--asciidoc-opts', ... action='store',

[issue11109] socketserver.ForkingMixIn leaves zombies

2011-02-05 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: Rather than depending on the internal details of ForkingMixIn in your BaseServer.serve_forever modification I'd prefer to see that simply call self._cleanup() Define a do-nothing _periodic_cleanup method in BaseServer. ForkingMixIn should

[issue7108] test_commands.py failing on OS X 10.5.7 due to '@' in ls output

2011-02-05 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: ronaldoussoren - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7108 ___ ___

[issue11085] expose _abcoll as collections.abc

2011-02-05 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: I'll use the packaging approach. The os.path technique predated packages and is no longer the preferred way of doing things. -- ___ Python tracker rep...@bugs.python.org

[issue7678] subprocess.Popen pipeline example code in the documentation is lacking

2011-02-05 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: documentation updated in r88352. thanks! -- assignee: docs@python - gregory.p.smith resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue1615376] subprocess doesn\'t handle SIGPIPE

2011-02-05 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: The need to call p1.stdout.close() has now been documented as part of issue7678. Python 3.2's subprocess also has restore_signals=True as its default behavior so SIGPIPE is restored by default. I do not think it is appropriate to to add the

[issue11079] Make OS X entry in Applications like that in Windows

2011-02-05 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Ping! Raymond, this needs review and release manager approval to make it into 3.2 final. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11079

[issue969718] BASECFLAGS are not passed to module build line

2011-02-05 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Éric, the Debian patch looks good to me and it solves my build problem. The only question I have is why EXTRA_CFLAGS still go behind CFLAGS and cannot be overridden via the environment. But as it is, the patch is an improvement. I'm

[issue969718] BASECFLAGS are not passed to module build line

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Why is OPT duplicated in get_config_vars(...)? Why do OPT and BASECFLAGS environ vars override their Makefile values instead of accumulating with them? Why is EXTRA_CFLAGS not configurable through environ? --

[issue11109] socketserver.ForkingMixIn leaves zombies

2011-02-05 Thread Justin
Justin justin.warken...@gmail.com added the comment: Good point. I was just writing up something quick that works. Here's another patch, is this acceptable? -- Added file: http://bugs.python.org/file20690/loop_actions.patch ___ Python tracker

[issue969718] BASECFLAGS are not passed to module build line

2011-02-05 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Antoine Pitrou rep...@bugs.python.org wrote: Why is OPT duplicated in get_config_vars(...)? I missed that, thanks. Why do OPT and BASECFLAGS environ vars override their Makefile values instead of accumulating with them? I think it

[issue10826] pass_fds sometimes fails

2011-02-05 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: Your patch makes sense to me. I'll commit it after the 3.2 release for 3.2.1. The elease manager can feel free to commit it earlier if it is bothering an important buildbot. -- assignee: - gregory.p.smith

[issue11109] socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass

2011-02-05 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: I believe that is good. I'll commit it after the 3.2 release has been cut (we're in release candidate release blocker only lockdown right now). Looking at ForkingMixIn.collect_children() there appears to be another buglet: it loops over

[issue11109] socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass

2011-02-05 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- assignee: - gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11109 ___ ___

[issue11109] socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass

2011-02-05 Thread Justin
Justin justin.warken...@gmail.com added the comment: I noticed that ForkingMixIn also was overriding handle_timeout() trying to cleanup zombies after 300 seconds of inactivity, which is useless on a busy server. I'm replacing the patch with one that also removes handle_timeout(). --

[issue11109] socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass

2011-02-05 Thread Justin
Changes by Justin justin.warken...@gmail.com: Removed file: http://bugs.python.org/file20690/loop_actions.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11109 ___

[issue5863] bz2.BZ2File should accept other file-like objects.

2011-02-05 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Here's an update to the documentation for the bz2 module. -- Added file: http://bugs.python.org/file20692/bz2-doc.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5863

[issue11109] socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass

2011-02-05 Thread Justin
Changes by Justin justin.warken...@gmail.com: Removed file: http://bugs.python.org/file20691/loop_actions.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11109 ___

[issue11109] socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass

2011-02-05 Thread Justin
Changes by Justin justin.warken...@gmail.com: Added file: http://bugs.python.org/file20693/loop_actions.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11109 ___

[issue11109] socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass

2011-02-05 Thread Justin
Justin justin.warken...@gmail.com added the comment: I hope I did that last patch right. I did a 'diff -u' instead of a 'diff -c'. If you need something different, let me know. -- ___ Python tracker rep...@bugs.python.org

[issue10882] Add os.sendfile()

2011-02-05 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: For trailers to work, I think the line: self.assertEqual(data, abcde12345) should be: self.assertEqual(data, babcde12345) Also not that tests like this: if not sys.platform.startswith('linux'): perhaps should also include solaris

[issue8691] Doc: left alignment is not the default for numbers

2011-02-05 Thread Westley Martínez
Westley Martínez aniko...@gmail.com added the comment: It seems is only the default for numbers. is the default for strings, lists, sets, dicts, etc. I have made a patch, though Eric knows the exact semantics. I wonder what the rationale for having numbers use is. -- keywords:

[issue11079] Make OS X entry in Applications like that in Windows

2011-02-05 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: The patches looks like what I expected. Thank you. I don't know the installer process well enough to say that it is correct at a detailed level, but if you are getting it to run and the links work, then it's probably fine.

[issue10891] Tweak sorting howto to eliminate redundancy

2011-02-05 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Made some tweaks r88358. Sorry, I'm leaving the list.sort references as-is. I consider them to be important in a document that needs to clearly differentiate list.sort from __builtin__.sorted(). -- assignee:

[issue10042] total_ordering stack overflow

2011-02-05 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- priority: normal - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10042 ___

[issue11003] os.system should be deprecated in favour of subprocess module

2011-02-05 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Sorry, I'm rejecting this. No reasons were presented that would warrant such as disruptive change. For good or ill, a number of languages implement the same call in much the same way. It does its job of exposing an

[issue11109] socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass

2011-02-05 Thread Justin
Justin justin.warken...@gmail.com added the comment: Sorry I keep plaguing this with comments and files, but I got to thinking, anyone should be able to override _loop_actions() and implement what they need in the loop. While it's probably a bad idea in most cases, there may be legitimate