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

2011-02-05 Thread Justin
Justin 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 needs and it's always good to

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

2011-02-05 Thread Raymond Hettinger
Raymond Hettinger 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 operating system service that many peop

[issue10042] total_ordering stack overflow

2011-02-05 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue10891] Tweak sorting howto to eliminate redundancy

2011-02-05 Thread Raymond Hettinger
Raymond Hettinger 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: eric.araujo -> rhettinger resolution:

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

2011-02-05 Thread Raymond Hettinger
Raymond Hettinger 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. -- ___

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

2011-02-05 Thread Westley Martínez
Westley Martínez 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: +patch nosy: +aniko

[issue10882] Add os.sendfile()

2011-02-05 Thread Ross Lagerwall
Ross Lagerwall added the comment: For trailers to work, I think the line: self.assertEqual(data, "abcde12345") should be: self.assertEqual(data, b"abcde12345") Also not that tests like this: if not sys.platform.startswith('linux'): perhaps should also include solaris since it doesn't sup

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

2011-02-05 Thread Justin
Justin 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 ___

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

2011-02-05 Thread Justin
Changes by Justin : Added file: http://bugs.python.org/file20693/loop_actions.patch ___ Python tracker ___ ___ Python-bugs-list mailing list U

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

2011-02-05 Thread Justin
Changes by Justin : Removed file: http://bugs.python.org/file20691/loop_actions.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2011-02-05 Thread Nadeem Vawda
Nadeem Vawda 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 ___

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

2011-02-05 Thread Justin
Changes by Justin : Removed file: http://bugs.python.org/file20690/loop_actions.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2011-02-05 Thread Justin
Justin 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(). -- Added file: http://bugs.pyth

[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 : -- assignee: -> gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2011-02-05 Thread Gregory P. Smith
Gregory P. Smith 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 self.active_childre

[issue10826] pass_fds sometimes fails

2011-02-05 Thread Gregory P. Smith
Gregory P. Smith 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 ___

[issue969718] BASECFLAGS are not passed to module build line

2011-02-05 Thread Stefan Krah
Stefan Krah added the comment: Antoine Pitrou 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 would go too far to append in three places. If

[issue11109] socketserver.ForkingMixIn leaves zombies

2011-02-05 Thread Justin
Justin 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 Antoine Pitrou
Antoine Pitrou 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? -- ___ Py

[issue969718] BASECFLAGS are not passed to module build line

2011-02-05 Thread Stefan Krah
Stefan Krah 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 attaching the version for 2.7.

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

2011-02-05 Thread Ned Deily
Ned Deily added the comment: Ping! Raymond, this needs review and release manager approval to make it into 3.2 final. -- ___ Python tracker ___ ___

[issue1615376] subprocess doesn\'t handle SIGPIPE

2011-02-05 Thread Gregory P. Smith
Gregory P. Smith 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 synchronization

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

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

[issue11085] expose _abcoll as collections.abc

2011-02-05 Thread Raymond Hettinger
Raymond Hettinger 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 ___

[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 : -- assignee: ronaldoussoren -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue11109] socketserver.ForkingMixIn leaves zombies

2011-02-05 Thread Gregory P. Smith
Gregory P. Smith 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 implement its ow

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

2011-02-05 Thread Eric Smith
Eric Smith 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', dest='asciidoc_opts', defaul

[issue10882] Add os.sendfile()

2011-02-05 Thread Giampaolo Rodola'
Giampaolo Rodola' 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() behavior: +if (ret <

[issue11067] Py_LIMITED_API breaks most PySomething_Check() functions

2011-02-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the review. Committed as r88351. -- status: open -> closed ___ Python tracker ___ ___ P

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

2011-02-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the review. Committed as r88350. -- resolution: -> accepted status: open -> closed ___ Python tracker ___

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

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou 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. -- ___ Python

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

2011-02-05 Thread Keith Dart
Keith Dart 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 ___

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

2011-02-05 Thread Kenny Meyer
Changes by Kenny Meyer : Removed file: http://bugs.python.org/file20687/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

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

2011-02-05 Thread Vetoshkin Nikita
Vetoshkin Nikita 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: http://stackoverflow.com/questions/166506/finding-local-ip-addresses-in-python/166992#166992

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

2011-02-05 Thread Keith Dart
Keith Dart 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 module also now support t

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

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou 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 native calls

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

2011-02-05 Thread Vetoshkin Nikita
Vetoshkin Nikita 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 native calls in extension And c

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

2011-02-05 Thread Kenny Meyer
Kenny Meyer 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 ___

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

2011-02-05 Thread Gerard van Helden
Gerard van Helden 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 by the parser librar

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

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou 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 ctypes is danger

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

2011-02-05 Thread Vetoshkin Nikita
Vetoshkin Nikita 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 __

[issue11116] mailbox and email errors

2011-02-05 Thread R. David Murray
R. David Murray 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 unfortunate. I should h

[issue11109] socketserver.ForkingMixIn leaves zombies

2011-02-05 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue11127] sockets should not be pickleable

2011-02-05 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

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

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou 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 an import state

[issue9364] some problems with the documentation of pydoc

2011-02-05 Thread yeswanth
yeswanth 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: http://bugs.python.org/file20686/pydoc.diff ___

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

2011-02-05 Thread R. David Murray
R. David Murray 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 patch is addressing.

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

2011-02-05 Thread Stefan Krah
New submission from Stefan Krah : 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) and subtract(’0’, b) resp

[issue9364] some problems with the documentation of pydoc

2011-02-05 Thread yeswanth
yeswanth 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 help utility. """ which

[issue11122] bdist_rpm fails

2011-02-05 Thread James
James 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 ___ _

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

2011-02-05 Thread Senthil Kumaran
Senthil Kumaran 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 ___ Python tr

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

2011-02-05 Thread ProgVal
ProgVal added the comment: Oh, excuse me, it's because of my code! class MyRequestHandler(SocketServer.TCPServer): -- resolution: -> invalid ___ Python tracker ___ ___

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

2011-02-05 Thread ProgVal
ProgVal 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): -- ___ Py

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

2011-02-05 Thread Senthil Kumaran
Senthil Kumaran 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 were referring to sce

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

2011-02-05 Thread ProgVal
ProgVal 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 "/usr/lib/python2.7/SocketServer.py", line 284,

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

2011-02-05 Thread ProgVal
New submission from ProgVal : 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.""" if isi

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

2011-02-05 Thread Kenny Meyer
Kenny Meyer 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 nosy: +knny-myer A

[issue5285] hmac throws TypeErrors

2011-02-05 Thread anatoly techtonik
anatoly techtonik 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 __

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou 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 thread-safe using lo

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou 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 >http://sourceforge.net/tracker/?func=detail&atid=110894&aid=1326087&grou

[issue11117] Implementing Async IO

2011-02-05 Thread David Beazley
David Beazley 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 nightmare with it.

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Scott M
Scott M 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 the code should be lookin

[issue11129] logging: allow multiple entries in qualname config

2011-02-05 Thread anatoly techtonik
New submission from anatoly techtonik : 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 multiple entries in q

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Martin v . Löwis
Martin v. Löwis 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 (convert object to p

[issue11117] Implementing Async IO

2011-02-05 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Thanks, David, for the link. The story is really touching :-). -- ___ Python tracker ___ ___ Pytho

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

2011-02-05 Thread Vetoshkin Nikita
Vetoshkin Nikita 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. -- nosy: +nvetoshkin ___

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou 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 threading-relat

[issue11117] Implementing Async IO

2011-02-05 Thread David Beazley
David Beazley 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

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

2011-02-05 Thread Stefan Krah
New submission from Stefan Krah : 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 the right-hand-operand, a

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Scott M
Scott M 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 a bit of a CPU pig. Yo

[issue11046] setup.py/configure [darwin]

2011-02-05 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso 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 configure command line op

[issue11116] mailbox and email errors

2011-02-05 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso 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", " 2 = use

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Martin v . Löwis
Martin v. Löwis 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 ___ ___

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Scott M
Scott M 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 use a Queue and Tkinter

[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 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 Microsoft design. Darre

[issue11077] Tkinter is not thread safe

2011-02-05 Thread Martin v . Löwis
Martin v. Löwis 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 operating system is

[issue11076] Iterable argparse Namespace

2011-02-05 Thread Virgil Dupras
Virgil Dupras 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 just add an example us

[issue1227748] subprocess: inheritance of std descriptors inconsistent

2011-02-05 Thread Ned Deily
Changes by Ned Deily : -- assignee: astrand -> docs@python nosy: +docs@python stage: needs patch -> patch review ___ Python tracker ___

[issue11124] test_posix failure on the Leopard buildbot

2011-02-05 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> posix.getgroups() failure on Mac OS X ___ Python tracker

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

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Opened issue11127 for raising a TypeError when trying to pickle any socket. -- status: pending -> closed ___ Python tracker ___ ___

[issue11127] sockets should not be pickleable

2011-02-05 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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 should not be pickl

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

2011-02-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, sockets cannot be pickled on any platform: >>> sock = socket.create_connection(("www.python.org", 80)) __main__:1: ResourceWarning: unclosed >>> s = pickle.loads(pickle.dumps(sock)) >>> s.getpeername() Traceback (most recent call last): File "", line 1

[issue11109] socketserver.ForkingMixIn leaves zombies

2011-02-05 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +gregory.p.smith stage: -> patch review versions: +Python 2.7, Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker ___ ___