[issue11981] dupe self.fp.tell() in zipfile.ZipFile.writestr

2011-05-13 Thread Ezio Melotti
Ezio Melotti added the comment: I double checked the code on py3k and I think the second occurrence can be removed. -- nosy: +alanmcintyre versions: +Python 3.3 -Python 3.4 ___ Python tracker

[issue6191] HTMLParser attribute parsing - 2 test cases when it fails

2011-05-13 Thread Ezio Melotti
Ezio Melotti added the comment: What I described in my previous message is what Firefox does. If you think this should be changed, I suggest you to open another issue, possibly attaching a test case with the desired behavior and a patch to change it. -- _

[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.5" during configure

2011-05-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: Attached the backport to 2.7 for my v2 patch. -- Added file: http://bugs.python.org/file21997/issue9516-v2-python2.7.patch ___ Python tracker _

[issue11979] Minor improvements to the Sockets readme: typos, wording and sphinx features usage

2011-05-13 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patches! -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker

[issue11979] Minor improvements to the Sockets readme: typos, wording and sphinx features usage

2011-05-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4081f326e46c by Ezio Melotti in branch '2.7': #11979: improve wording and markup in sockets howto. Patch by Xavier Morel. http://hg.python.org/cpython/rev/4081f326e46c New changeset 85b9ad8b219b by Ezio Melotti in branch '3.1': #11979: improve word

[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.5" during configure

2011-05-13 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue7960] test.support.captured_output has invalid docstring example

2011-05-13 Thread Ezio Melotti
Ezio Melotti added the comment: I fixed the docstring, however I think captured_output should be renamed _captured_output, since it only works with sys.stdout/in/err and there are already 3 other functions (in 3.2/3.3) that use captured_output to replace the 3 std* streams. There's no reason

[issue7960] test.support.captured_output has invalid docstring example

2011-05-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 459e2c024420 by Ezio Melotti in branch '2.7': #7960: fix docstrings for captured_output and captured_stdout. http://hg.python.org/cpython/rev/459e2c024420 New changeset c2126d89c29b by Ezio Melotti in branch '3.1': #7960: fix docstrings for capture

[issue12038] assertEqual doesn't display newline differences quite well

2011-05-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: A possible fix is to condense the output by omitting stuff in the center rather than as the end: "x\nx\nx\nx\nx\nx\nx\nx\nx\nx\nx\nx...x\nx\nx\nx\nx\nx\nx\nx\nx\nx\n" "x\nx\nx\nx\nx\nx\nx\nx\nx\nx\nx\nx...x\nx\nx\nx\nx\nx\nx\nx\nx\nx\r\n" would be clear. -

[issue5723] Incomplete json tests

2011-05-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue5723] Incomplete json tests

2011-05-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5b0fecd2eba0 by Ezio Melotti in branch '2.7': #5723: Improve json tests to be executed with and without accelerations. http://hg.python.org/cpython/rev/5b0fecd2eba0 New changeset c2853a54b29e by Ezio Melotti in branch '3.1': #5723: Improve json tes

[issue11731] Simplify email API via 'policy' objects

2011-05-13 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue1475523] gettext breaks on plural-forms header

2011-05-13 Thread Ricky Zhou
Changes by Ricky Zhou : -- nosy: +ricky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue12073] regrtest: use faulthandler to dump the tracebacks on SIGUSR1

2011-05-13 Thread STINNER Victor
STINNER Victor added the comment: See also issue #12074. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue12074] regrtest: display the current number of failures

2011-05-13 Thread STINNER Victor
STINNER Victor added the comment: See also issue #12073. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue12074] regrtest: display the current number of failures

2011-05-13 Thread STINNER Victor
New submission from STINNER Victor : The full test suite has something like 354 tests. regrtest writes one line per test, and if you use Python compiled in debug mode you have much more lines because of "[123 refs]" lines written by subprocesses. It's difficult to check if a previous test fail

[issue6721] Locks in python standard library should be sanitized on fork

2011-05-13 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: @ Charles-François Natali wrote (2011-05-13 13:24+0200): > I happily posted a reinit patch I must say in advance that we have implemented our own thread support 2003-2005 and i'm thus lucky not to need to use anything else ever since. So. And of cou

[issue12073] regrtest: use faulthandler to dump the tracebacks on SIGUSR1

2011-05-13 Thread STINNER Victor
New submission from STINNER Victor : When you run the test suite manually and a test hangs, it would be nice to be able to dump immediatly the tracebacks of all threads without having to wait the timeout (which is 1 hour by default...). Attached patch installs a signal handler for the SIGUSR1

[issue12071] test_concurrent_futures.test_context_manager_shutdown() hangs on OpenIndiana

2011-05-13 Thread STINNER Victor
STINNER Victor added the comment: Oh, I have "no more memory" errors on this VM especially on fork. test_concurrent_futures.test_context_manager_shutdown() failure should be related to a memory allocation error. I tried my faulthandler using SIGUSR1 to get more information, but send the send

[issue12070] Unlimited loop in sysconfig._parse_makefile()

2011-05-13 Thread STINNER Victor
STINNER Victor added the comment: Oh, the problem is that the prefix variable value is seen as "bogus" ($/home/haypo/...: $ is a typo made by me!) and the variable is removed from variables. But other variables depend on the prefix and so we have an unlimited loop. Possibles fixes: - raise

[issue12042] What's New multiprocessing example error

2011-05-13 Thread Jordan Stadler
Jordan Stadler added the comment: I'll prepare the patch if davipo doesn't want to. I'm trying to become more comfortable with the patching process and this seems simple enough for me to handle. -- nosy: +jstadler ___ Python tracker

[issue12068] test_logging failure in test_rollover

2011-05-13 Thread Vinay Sajip
Changes by Vinay Sajip : -- resolution: duplicate -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue12068] test_logging failure in test_rollover

2011-05-13 Thread Vinay Sajip
Changes by Vinay Sajip : -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11377] Deprecate platform.popen()

2011-05-13 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Éric Araujo wrote: > > Éric Araujo added the comment: > > haypo asked me on IRC if I’d like to make a patch for this; I will, in some > weeks. > > With respect to the recent thread about deprecations and 2.7 → 3. > migrations, should this be a Deprecat

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sandro, thank you for sticking with this. Seemingly simples issues sometimes 'explode' a bit. Having reviewed the patch, I think the it is ready to be committed. Éric: if you were to commit this and, in the process, wanted to change sys.path back to 'this mo

[issue12043] Update shutil documentation

2011-05-13 Thread Éric Araujo
Éric Araujo added the comment: No, it’s just the wording that made me think you were referring to other reports or to posts. -- ___ Python tracker ___ _

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-13 Thread Éric Araujo
Éric Araujo added the comment: > First, I dislike 'This allows' on stylistic grounds Fully agreed, sir! > The whole paragraph is about sys.path, so it is not an hidden detail. It may be that I miss context; I don’t actually know whether the paragraph is only about sys.path or about module sear

[issue12043] Update shutil documentation

2011-05-13 Thread Sandro Tosi
Sandro Tosi added the comment: nope, from a quick glance at the docstrings text and what's on the ReST documentation - was I a bit too catastrophic? :) -- ___ Python tracker __

[issue12072] Missing parenthesis in c-api/buffer PyBuffer_FillContiguousStrides

2011-05-13 Thread Sandro Tosi
New submission from Sandro Tosi : Following up with http://mail.python.org/pipermail/docs/2011-April/004159.html here's a tiny patch to add a missing parenthesis. -- assignee: docs@python components: Documentation files: capi_buffer_PyBuffer_FillContiguousStrides-py27.patch keywords: pa

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I disagree (else I would not have suggested change ;-). First, I dislike 'This allows' on stylistic grounds, when there is a better alternative. It is rather wishy-washy: 'this allows' -- so what? As for the rest -- why not be specific? The whole paragraph is

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-05-13 Thread Scott Leerssen
Scott Leerssen added the comment: oops... I left some of my local edits in those tests. be sure to fix the TEMPDIR use if you add these into the tarfile tests. -- ___ Python tracker _

[issue2521] ABC caches should use weak refs

2011-05-13 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: bluag: the script you run contains a list of some modules required to start Python (I found a copy here: https://github.com/pinax/pinax/raw/master/scripts/pinax-boot.py ) This script is obviously out of date wrt the new version of Python. Please report

[issue11377] Deprecate platform.popen()

2011-05-13 Thread Éric Araujo
Éric Araujo added the comment: haypo asked me on IRC if I’d like to make a patch for this; I will, in some weeks. With respect to the recent thread about deprecations and 2.7 → 3. migrations, should this be a DeprecationWarning or PendingDeprecationWarning? Neither is displayed by default,

[issue12071] test_concurrent_futures.test_context_manager_shutdown() hangs on OpenIndiana

2011-05-13 Thread Charles-François Natali
Charles-François Natali added the comment: Interesting. There's something weird with the first child: === Child #1 = Thread 0x0445: Thread 0x0444: File "/home/haypo/cpython/Lib/threading.py", line 237 in wait waiter.acquire() File "/home/haypo/cpython/Lib/threading.py"

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-13 Thread Éric Araujo
Éric Araujo added the comment: About Terry’s suggestion to change "This allows Python programs to modify or replace the module search path" to "After initialization, Python programs can modify sys.path": IMO the old text is talking about intent (modify the module search path) and the replacem

[issue2521] ABC caches should use weak refs

2011-05-13 Thread H.
H. added the comment: ImportError: No module named _weakrefset Here are some references while i was trying to install Pinax framework. http://paste.pound-python.org/show/6536/ And i saw that the _weakrefset.py is not included in the package. So I have copied from Python's source with version

[issue12043] Update shutil documentation

2011-05-13 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. : -- nosy: +fdrake ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12040] Expose a Process.sentinel property (and fix polling loop in Process.join())

2011-05-13 Thread Charles-François Natali
Charles-François Natali added the comment: Just a detail, but with the last version, select is retried with the full timeout (note that the signal you're the most likely to receive is SIGCHLD and since it's ignored by default it won't cause EINTR, so this shouldn't happen too often). By the w

[issue12040] Expose a Process.sentinel property (and fix polling loop in Process.join())

2011-05-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: That looks better. :) btw, that eintr_retry utility probably deserves to be in a more prominent place in the stdlib but I don't have a good suggestion as to where at the moment. I believe similar code exists in many places in the code base. If it is not goi

[issue12043] Update shutil documentation

2011-05-13 Thread Éric Araujo
Éric Araujo added the comment: “it seems to”: does this come from the mailing list? -- nosy: +eric.araujo ___ Python tracker ___ ___

[issue12029] ABC registration of Exceptions

2011-05-13 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12024] 2.6 svn and hg branches are out of sync

2011-05-13 Thread Éric Araujo
Éric Araujo added the comment: I guess release for stable branches (especially venerable branches in security mode) should be made from Subversion. Who know what code could break without a meaningful sys.subversion? -- nosy: +eric.araujo ___ Pytho

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-05-13 Thread Scott Leerssen
Scott Leerssen added the comment: tests that verify the bug/fix: def test_extractall_broken_symlinks(self): # Test if extractall works properly when tarfile contains symlinks tempdir = os.path.join(TEMPDIR, "testsymlinks") temparchive = os.path.join(TEMPDIR, "testsy

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-05-13 Thread Scott Leerssen
Scott Leerssen added the comment: here is a diff of a better fix based on the previous patch: Index: tarfile.py === --- tarfile.py (revision 49758) +++ tarfile.py (working copy) @@ -2239,12 +2239,14 @@ if hasattr(os, "s

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-05-13 Thread Scott Leerssen
Scott Leerssen added the comment: It turns out that my fix was at least one byte short of complete. If the target pathname is a broken symlink, os.path.exists() returns False, and the OSError is raised. I should have used os.path.lexists(). Also, I believe the same problem exists for the h

[issue12069] test_signal.test_without_siginterrupt() failure on AMD64 OpenIndiana 3.x

2011-05-13 Thread STINNER Victor
STINNER Victor added the comment: I'm unable to reproduce the issue using regrtest.py -F test_signal. It is maybe a race condition, or another test has a border effect of test_signal? -- ___ Python tracker __

[issue11996] libpython.py: nicer py-bt output

2011-05-13 Thread STINNER Victor
STINNER Victor added the comment: Without any reaction from Dave Malcolm, I kept its name under the name "py-bt-full". > I would also like a less verbose output for where, especially > be able to hidden the value of the globals argument of > PyEval_EvalCodeEx. Well, I will maybe open a new is

[issue11786] ConfigParser.[Raw]ConfigParser optionxform()

2011-05-13 Thread Éric Araujo
Changes by Éric Araujo : -- status: closed -> pending title: ConfigParser. -> ConfigParser.[Raw]ConfigParser optionxform() ___ Python tracker ___

[issue11996] libpython.py: nicer py-bt output

2011-05-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset b340d1577dc5 by Victor Stinner in branch '3.2': Issue #11996: libpython (gdb), replace "py-bt" command by "py-bt-full" and add http://hg.python.org/cpython/rev/b340d1577dc5 New changeset 804abc2c60de by Victor Stinner in branch 'default': (Merge 3.

[issue11377] Deprecate (remove?) platform.popen()

2011-05-13 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Éric Araujo wrote: > > Éric Araujo added the comment: > > Is it on purpose that there is a doc deprecation but no > [Pending]DeprecationWarning? No, I guess just an oversight. -- ___ Python tracker

[issue11377] Deprecate (remove?) platform.popen()

2011-05-13 Thread Éric Araujo
Éric Araujo added the comment: Is it on purpose that there is a doc deprecation but no [Pending]DeprecationWarning? -- nosy: +eric.araujo ___ Python tracker ___ ___

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2011-05-13 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue12071] test_concurrent_futures.test_context_manager_shutdown() hangs on OpenIndiana

2011-05-13 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue11873] test_regexp() of test_compileall fails occassionally

2011-05-13 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: fixed -> status: closed -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue11964] Undocumented change to indent param of json.dump in 3.2

2011-05-13 Thread Éric Araujo
Éric Araujo added the comment: It turns out that only one documentation block talks about the new indent behavior. It was easy to add a versionchanged directive to that, but I think a complete patch would fix all mentions of the indent argument, after checking that all of encode/dump/dumps/E

[issue8604] Adding an atomic FS write API

2011-05-13 Thread Milko Krachounov
Milko Krachounov added the comment: > Something's missing in all the implementations presented: > to make sure that the new version of the file is available afer > a crash, fsync must be called on the containing directory after > the rename. I upgraded my proposed approach to include dir fsyn

[issue11873] test_regexp() of test_compileall fails occassionally

2011-05-13 Thread Éric Araujo
Éric Araujo added the comment: > You are right that I got the regex wrong (I'm bad at regexes), but in > fact it is fine the way it is. Since there's no r, the regex is > actually "ba[^/]$", which is exactly what I meant. I would edit the string to reflect your meaning, then, otherwise other p

[issue11617] Sporadic failure in test_httpservers

2011-05-13 Thread STINNER Victor
STINNER Victor added the comment: The issue looks to be fixed. Reopen if there are new failures. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-05-13 Thread Éric Araujo
Éric Araujo added the comment: Can you download a Python 3.1.3 from python.org (or better, clone the 3.1 repository from hg.python.org), try to compile it and report errors? We can’t do anything for files provided by sunfreeware, but we can fix platform-specific problems if they come from ou

[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-05-13 Thread dario frascatani
dario frascatani added the comment: I guys I have the same problem with solaris 10 and the pre-compiled package python-3.1.2 downloaded from sunfreeware.com -- nosy: +drdevious ___ Python tracker

[issue8604] Adding an atomic FS write API

2011-05-13 Thread Charles-François Natali
Charles-François Natali added the comment: Something's missing in all the implementations presented: to make sure that the new version of the file is available afer a crash, fsync must be called on the containing directory after the rename. -- nosy: +neologix _

[issue6011] python doesn't build if prefix contains non-ascii characters

2011-05-13 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: fixed -> status: closed -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue12071] test_concurrent_futures.test_context_manager_shutdown() hangs on OpenIndiana

2011-05-13 Thread STINNER Victor
Changes by STINNER Victor : -- title: test_concurrent_futures hangs on OpenIndiana -> test_concurrent_futures.test_context_manager_shutdown() hangs on OpenIndiana ___ Python tracker ___

[issue12071] test_concurrent_futures hangs on OpenIndiana

2011-05-13 Thread STINNER Victor
New submission from STINNER Victor : test_concurrent_futures of Python 3.3 (rev [6d8678555c04]) hangs on OpenIndiana. I dumped manually the tracebacks of the parent process (test_concurrent_futures) and of the 3 child processes. In the parent process, the test hangs when exiting the context ma

[issue12070] Unlimited loop in sysconfig._parse_makefile()

2011-05-13 Thread STINNER Victor
STINNER Victor added the comment: My OS is Debian Sid. Important note: I use LC_ALL=C and so ASCII locale encoding. -- ___ Python tracker ___ __

[issue12070] Unlimited loop in sysconfig._parse_makefile()

2011-05-13 Thread STINNER Victor
Changes by STINNER Victor : Added file: http://bugs.python.org/file21993/Makefile.loop ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12070] Unlimited loop in sysconfig._parse_makefile()

2011-05-13 Thread STINNER Victor
New submission from STINNER Victor : $ ./python -c "import sysconfig; sysconfig._parse_makefile('Makefile.loop')" It loops on the following variables: 'DESTSHARED'='$(BINLIBDEST)/lib-dynload' 'INCLDIRSTOMAKE'='$(INCLUDEDIR) $(CONFINCLUDEDIR) $(INCLUDEPY) $(CONFINCLUDEPY)' 'CONFINCLUDEPY'='$(CON

[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.5" during configure

2011-05-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'll apply the patch late tonight (I won't be home until at least 22:30 CEST) -- ___ Python tracker ___ ___

[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-05-13 Thread Éric Araujo
Éric Araujo added the comment: All right. Don’t hesitate to report any other bugs you find in the future. -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue6011] python doesn't build if prefix contains non-ascii characters

2011-05-13 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: tarek -> haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-05-13 Thread Alex Lai
Alex Lai added the comment: No bugs. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue11965] Simplify context manager in os.popen

2011-05-13 Thread Éric Araujo
Éric Araujo added the comment: After #12044, subprocess.Popen.__exit__ waits for process completion and closes streams. Doesn’t that make wrap_close obsolete? -- ___ Python tracker __

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2011-05-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: > But Lib/multiprocessing/connection.py does: > > def _send_bytes(self, buf): > # For wire compatibility with 3.2 and lower > n = len(buf) > self._send(struct.pack("=i", len(buf))) > # The condition is necessary to avoid "bro

[issue6011] python doesn't build if prefix contains non-ascii characters

2011-05-13 Thread Baptiste Carvello
Baptiste Carvello added the comment: Indeed, I retried with 534a9e274d88 (that was the tip of 3.2 sometime yesterday) and my original problem is solved. Thank you. While I was at it, I ran "make test", and got 3 unusual skips and 1 failure. The skips are test_sax, test_xml_etree and test_xm

[issue8954] wininst regression: errors when building on linux

2011-05-13 Thread Éric Araujo
Éric Araujo added the comment: 2.6 only gets security fixes. -- versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mai

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2011-05-13 Thread Charles-François Natali
Charles-François Natali added the comment: > Not exactly. The select is done on the queue's pipe and on the workers' > fds *at the same time*. Thus there's no race condition. You're right, I missed this part, it's perfectly safe. But I think there's a problem with the new implementation in Pyt

[issue3871] cross and native build of python for mingw32 with distutils

2011-05-13 Thread Ralf Schmitt
Changes by Ralf Schmitt : -- nosy: +schmir ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-05-13 Thread Éric Araujo
Éric Araujo added the comment: > Is the original bug still present in your new install? I meant your server. I’d like to know whether this is a legit but or not. -- ___ Python tracker

[issue6721] Locks in python standard library should be sanitized on fork

2011-05-13 Thread Charles-François Natali
Charles-François Natali added the comment: > Hi, > Hello Nir, > Option (2) makes sense but is probably not always applicable. > Option (1) depends on being able to acquire locks in locking order, but how > can we determine correct locking order across libraries? > There are indeed a couple p

[issue12068] test_logging failure in test_rollover

2011-05-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 660a4a6dc2cd by Vinay Sajip in branch 'default': Issue #12068: Fix appears to have worked; added more diagnostics for rare failures. http://hg.python.org/cpython/rev/660a4a6dc2cd -- nosy: +python-dev __

[issue6721] Locks in python standard library should be sanitized on fork

2011-05-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: > ...so how can we establish correct (cross library) locking order > during prepare stage? That sounds like a lost battle, if it requires the libraries' cooperation. I think resetting locks is the best we can do. It might not work ok in all cases, but if it can

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2011-05-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Antoine, I've got a couple questions concerning your patch: > - IIUC, the principle is to create a pipe for each worker process, so > that when the child exits the read-end - sentinel - becomes readable > (EOF) from the parent, so you know that a child exited.

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2011-05-13 Thread Charles-François Natali
Charles-François Natali added the comment: Antoine, I've got a couple questions concerning your patch: - IIUC, the principle is to create a pipe for each worker process, so that when the child exits the read-end - sentinel - becomes readable (EOF) from the parent, so you know that a child exit

[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

2011-05-13 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The mbcs codec depends on the Windows installation. On most Western Windows it is similar to cp1252, Japanese Windows will use cp932, and so on. If we were to provide mbcs on non-windows platform, it should be an alias to ascii. -- nosy: +amaury

[issue8954] wininst regression: errors when building on linux

2011-05-13 Thread Ralf Schlatterbeck
Ralf Schlatterbeck added the comment: 2.6 already produces a .linux-i686.exe package instead of .win32.exe when running bdist_wininst. I've now used python2.5 for producing a binary windows installer for roundup. -- nosy: +runtux versions: +Python 2.6

[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

2011-05-13 Thread Ralf Schlatterbeck
Ralf Schlatterbeck added the comment: I've just been bitten by this when trying to do a new release of roundup, why not make the mbcs codec available on non-windows platforms as has been proposed (and rejected) in issue1251921 -- any non-technical reasons for not including this codec on other

[issue12046] Windows build identification incomplete

2011-05-13 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'd rather not patch the build process manually during a release, so probably there just won't be a hg build identification in the Windows binaries, then. -- ___ Python tracker

[issue12066] Empty ('') xmlns attribute is not properly handled by xml.dom.minidom

2011-05-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12064] unexpected behavior with exception variable

2011-05-13 Thread Mark Dickinson
Changes by Mark Dickinson : -- superseder: -> except-as in Py3 eats variables ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12067] Doc: remove errors about mixed-type comparisons.

2011-05-13 Thread Mark Dickinson
Mark Dickinson added the comment: [Docs] "If both are numbers, they are converted to a common type." [Terry] "In any case, I think it is only true for built-in number types," It's not even true for built-in number types. When comparing an int with a float, it's definitely *not* the case that