[issue12404] c99 code in mmapmodule

2011-06-25 Thread Akira Kitada
New submission from Akira Kitada : Modules/mmapmodule.c contains code that makes it incompatible with C89 compiler. People using recent gcc can check this by running following commands. $ ./configure CFLAGS='-Wdeclaration-after-statement' && make Attached patch fixes the issue. (verified

[issue12394] packaging: generate scripts from callable (dotted paths)

2011-06-25 Thread Vinay Sajip
Vinay Sajip added the comment: > In the setup.cfg files, scripts will now be a mapping of names to > callables, like the setuptools scripts and gui_scripts entry points: > > scripts = > sphinx-build = sphinx.build.run > On UNIX, a Python script named sphinx-build will be created, on > Windo

[issue12394] packaging: generate scripts from callable (dotted paths)

2011-06-25 Thread Vinay Sajip
Vinay Sajip added the comment: > Version independence always means version independence in the same > major line of development (i.e. X number in X.Y.Z), or to put it > another way, version independence among the versions listed as > supported in the Trove classifiers. That can still be a probl

[issue12399] simplify cell var initialization by storing constant data on the code object

2011-06-25 Thread Nick Coghlan
Nick Coghlan added the comment: Feel free to create a new issue about the incorrect size calculation on code objects, since it is apparently already broken. -- ___ Python tracker _

[issue12382] [msilib] Obscure exception message when trying to open a non-existent MSI database

2011-06-25 Thread Mark Mc Mahon
Mark Mc Mahon added the comment: The following two error conditions that can be returned by MsiOpenDatabase do not have specific handling: ERROR_CREATE_FAILED (1631) The database could not be created. ERROR_OPEN_FAILED (110) The database could not be opened as requested. (the message

[issue12374] Execution model should explain compile vs definition vs execution time

2011-06-25 Thread Nick Coghlan
Nick Coghlan added the comment: Oh, agreed - the quotes above are from the "Python's User Reference" I wrote several years back, but never got around to converting from ODF and subsequently updating and publishing in a more accessible way. It was designed to fill the gap that exists in the do

[issue12404] c99 code in mmapmodule

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset c72dafb14c49 by Ross Lagerwall in branch '2.7': Issue 12404: Remove C89 incompatible code from mmap module. http://hg.python.org/cpython/rev/c72dafb14c49 New changeset 567236a7122c by Ross Lagerwall in branch '3.2': Issue 12404: Remove C89 incompat

[issue12404] c99 code in mmapmodule

2011-06-25 Thread Ross Lagerwall
Ross Lagerwall added the comment: Thanks! -- assignee: -> rosslagerwall nosy: +rosslagerwall resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.3 ___ Python tracker ___

[issue12164] str.translate docstring doesn't mention that 'table' can be None

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 60b3a5615c4e by Mark Dickinson in branch '2.7': Issue #12164: Document (in docstring) that str.translate accepts None for the first argument. http://hg.python.org/cpython/rev/60b3a5615c4e -- nosy: +python-dev _

[issue12164] str.translate docstring doesn't mention that 'table' can be None

2011-06-25 Thread Mark Dickinson
Changes by Mark Dickinson : -- resolution: accepted -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue12381] refactor slice checks made by methods that take "slice like" arguments

2011-06-25 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue6474] Inconsistent TypeError message on function calls with wrong number of arguments

2011-06-25 Thread Oleg Oshmyan
Oleg Oshmyan added the comment: Yes, thank you. I am (yet) unable to create a misleading error message now. :-) -- ___ Python tracker ___

[issue8623] Aliasing warnings in socketmodule.c

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: I can't reproduce both these cases with gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2 on i386 using the current default branch (70943:024827a9db64). -- nosy: +Kristian.Vlaardingerbroek ___ Python tracker

[issue12245] Document the meaning of FLT_ROUNDS constants for sys.float_info

2011-06-25 Thread Mark Dickinson
Mark Dickinson added the comment: > all it does is give information about the FPU settings at the time that > Python was compiled Hmm. It's actually a bit better than that: as far as I can tell, it reflects the value of FLT_ROUNDS at the time that Python is started (when the sys module is i

[issue12245] Document the meaning of FLT_ROUNDS constants for sys.float_info

2011-06-25 Thread Mark Dickinson
Mark Dickinson added the comment: Patch that elaborates a bit on the meaning of sys.float_info.rounds. -- keywords: +patch Added file: http://bugs.python.org/file22454/issue12245.patch ___ Python tracker _

[issue12303] expose sigwaitinfo() and sigtimedwait() in the signal module

2011-06-25 Thread STINNER Victor
STINNER Victor added the comment: > If this is OK, I'll commit the patch. Yep, this version is the good one. Please keep the issue open until the test pass on all buildbots. Each newly added signal functions took me some days to fix the test for Mac OS X and/or FreeBSD 6. But you are maybe mo

[issue12341] Some additions to .hgignore

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset eaaa073a9a42 by Ezio Melotti in branch '3.2': #12341: add coverage files/dirs to .hgignore. Patch by Sandro Tosi. http://hg.python.org/cpython/rev/eaaa073a9a42 -- nosy: +python-dev ___ Python tracker

[issue9990] PyMemoryView_FromObject alters the Py_buffer after calling PyObject_GetBuffer when ndim 1

2011-06-25 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: mark.dickinson -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue10227] Improve performance of MemoryView slicing

2011-06-25 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: mark.dickinson -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue12405] packaging does not record/remove directories it creates

2011-06-25 Thread Vinay Sajip
New submission from Vinay Sajip : pysetup3 install should not only record files that it installs, but also any directories it creates. pysetup3 remove should then delete those directories (if empty after removing their installed contents). -- assignee: tarek components: Distutils2, Lib

[issue12406] msi.py needs updating for Python 3.3

2011-06-25 Thread Vinay Sajip
New submission from Vinay Sajip : I know it's early days yet, but I've tried to create an MSI for Python 3.3. I was able to do so, but I had to make some changes to msi.py (patch attached). -- components: Build, Demos and Tools, Windows files: msi.py.diff keywords: patch messages: 13903

[issue12228] Stat doc - fix swap of UF_OPAQUE and UF_NOUNLINK description

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset d912dfb7ab7a by Mark Dickinson in branch '2.7': Issue #12228: Fix exchanged flag descriptions in stat.rst. Thanks Sandro Tosi. http://hg.python.org/cpython/rev/d912dfb7ab7a -- nosy: +python-dev ___ Pyth

[issue12228] Stat doc - fix swap of UF_OPAQUE and UF_NOUNLINK description

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 03c8de42c206 by Mark Dickinson in branch '3.1': Issue #12228: Fix exchanged flag descriptions in stat.rst. Thanks Sandro Tosi. http://hg.python.org/cpython/rev/03c8de42c206 New changeset 4a3e528b6b11 by Mark Dickinson in branch '3.2': Merge #12228

[issue12228] Stat doc - fix swap of UF_OPAQUE and UF_NOUNLINK description

2011-06-25 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the patch! -- nosy: +mark.dickinson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue12303] expose sigwaitinfo() and sigtimedwait() in the signal module

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1137f7021b95 by Ross Lagerwall in branch 'default': Issue #12303: Add sigwaitinfo() and sigtimedwait() to the signal module. http://hg.python.org/cpython/rev/1137f7021b95 -- nosy: +python-dev ___ Python

[issue10326] Can't pickle unittest.TestCase instances

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9c337a4c650d by Raymond Hettinger in branch '2.7': Issue 10326: Fix regression to get test cases to pickle again. http://hg.python.org/cpython/rev/9c337a4c650d -- nosy: +python-dev ___ Python tracker

[issue10326] Can't pickle unittest.TestCase instances

2011-06-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue5114] 2.7: test_threading hangs on Solaris

2011-06-25 Thread Charles-François Natali
Charles-François Natali added the comment: I'm closing. Feel free to re-open if this fails with 2.7 or 3.2. -- resolution: -> duplicate status: open -> closed superseder: -> Throw away more radioactive locks that could be held across a fork in threading.py __

[issue10845] test_multiprocessing failure under Windows

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: This has been committed a while ago, can this issue be closed? -- nosy: +Kristian.Vlaardingerbroek ___ Python tracker ___ _

[issue12407] test_subinterps fails on Windows

2011-06-25 Thread Cesare Di Mauro
New submission from Cesare Di Mauro : This test fails on Windows because it tries to change the working folder to an empty string. Anyway, even changing: os.chdir(basepath) with: os.chdir(basepath or '.') it fails because the subprocess tries to execute an ELF file ('Modules/_testembed'

[issue10583] Encoding issue with chm help in 2.7.1

2011-06-25 Thread Sandro Tosi
Sandro Tosi added the comment: Hello, can you still replicate it with 2.7.2 ? -- nosy: +sandro.tosi ___ Python tracker ___ ___ Python

[issue12408] Relative import used on test_future5

2011-06-25 Thread Cesare Di Mauro
New submission from Cesare Di Mauro : Executing test_future5 fails: D:\CPython>PCbuild\python_d.exe Lib\test\test_future5.py Traceback (most recent call last): File "Lib\test\test_future5.py", line 6, in from . import support ValueError: Attempted relative import in non-package [51279 ref

[issue12408] Relative import used on test_future5

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset c5fca67a7e8c by Mark Dickinson in branch '3.2': Issue #12408: Fix relative import in test_future5.py. Thanks Cesare Di Mauro. http://hg.python.org/cpython/rev/c5fca67a7e8c New changeset 898c0c8ba8ca by Mark Dickinson in branch 'default': Issue #12

[issue12408] Relative import used on test_future5

2011-06-25 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the report. -- nosy: +mark.dickinson resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue12382] [msilib] Obscure exception message when trying to open a non-existent MSI database

2011-06-25 Thread Robin Jarry
Robin Jarry added the comment: This sounds OK as long as the error message is explicit :) -- ___ Python tracker ___ ___ Python-bugs-l

[issue11163] iter() documentation code doesn't work

2011-06-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue10020] docs for sqlite3 describe functions not available without recompiling

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: Attached patch for Python 2.7. Since Issue10268 has not been applied to Python 2.7 the sentence "you must modify setup.py and and remove the line that sets SQLITE_OMIT_LOAD_EXTENSION" still applies. -- keywords: +patch nosy: +Kristian.Vl

[issue11889] 'enumerate' 'start' parameter documentation is confusing

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0ca8d90b by Raymond Hettinger in branch '2.7': Issue 11889: Clarify docs for enumerate. http://hg.python.org/cpython/rev/0ca8d90b -- nosy: +python-dev ___ Python tracker

[issue11197] information leakage with SimpleHTTPServer

2011-06-25 Thread engelbert gruber
engelbert gruber added the comment: SimpleHTTPServer does not exist in Python3.1 up instead http.server. All versions (3.x 2011-06-25) reply the contents from the served directory on a request of the upper directory and act similar with files. Maybe documentation needs an update documentation

[issue10583] Encoding issue with chm help in 2.7.1

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: I can reproduce the issue with Python 2.7.2 and Python 3.2 on Windows 7 Enterprise SP 1 64-bit. -- nosy: +Kristian.Vlaardingerbroek ___ Python tracker ___

[issue11889] 'enumerate' 'start' parameter documentation is confusing

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset d0df12b32522 by Raymond Hettinger in branch '3.2': Issue 11889: Clarify docs for enumerate. http://hg.python.org/cpython/rev/d0df12b32522 New changeset 9b827e3998f6 by Raymond Hettinger in branch 'default': Issue 11889: Clarify docs for enumerate.

[issue11889] 'enumerate' 'start' parameter documentation is confusing

2011-06-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12303] expose sigwaitinfo() and sigtimedwait() in the signal module

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 768234f5c246 by Ross Lagerwall in branch 'default': Fix test_signal on Windows after #12303. http://hg.python.org/cpython/rev/768234f5c246 -- ___ Python tracker _

[issue11197] information leakage with SimpleHTTPServer

2011-06-25 Thread engelbert gruber
engelbert gruber added the comment: My test setup: test.html 2.5/test.html 2.7/test.html in 2.5 and 2.7 execute :: python.exe -m SimpleHTTPServer 8000 ``http://localhost:8000/../`` shows the contents of the ``2.x`` directory. ``http://localhost:8000/../test.html`` shows the contents

[issue10845] test_multiprocessing failure under Windows

2011-06-25 Thread Nick Coghlan
Nick Coghlan added the comment: Yeah, the broader issue with multiprocessing, Windows and state held in the main module is covered by PEP 395, so there's no need to double up by keeping this open. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed _

[issue10583] Encoding issue with chm help in 2.7.1

2011-06-25 Thread Sandro Tosi
Sandro Tosi added the comment: Adding Georg to nosy, he might now how CHM is generated on Windows and shine some light here -- nosy: +georg.brandl ___ Python tracker ___ __

[issue11758] increase xml.dom.minidom test coverage

2011-06-25 Thread Sandro Tosi
Sandro Tosi added the comment: I checked the patch, and it works (in 2.7, 3.2 and default) and it would be nice if it can be committed. -- nosy: +sandro.tosi stage: -> commit review versions: +Python 2.7, Python 3.2 ___ Python tracker

[issue12157] join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty

2011-06-25 Thread mouad
Changes by mouad : -- keywords: +patch Added file: http://bugs.python.org/file22459/pool.patch ___ Python tracker ___ ___ Python-bugs-

[issue12157] join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty

2011-06-25 Thread mouad
Changes by mouad : Added file: http://bugs.python.org/file22460/test_multiprocess.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue12157] join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty

2011-06-25 Thread mouad
Changes by mouad : Added file: http://bugs.python.org/file22461/support.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue10583] Encoding issue with chm help in 2.7.1

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: I've looked at the output from make html and make htmlhelp and taking the library/json.html as example the text between is exactly the same. Chrome renders both fine: 18.2. json — JSON encoder and decoder — Python v2.7.2 documentation But whe

[issue11197] information leakage with SimpleHTTPServer

2011-06-25 Thread engelbert gruber
Changes by engelbert gruber : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue11758] increase xml.dom.minidom test coverage

2011-06-25 Thread Sandro Tosi
Changes by Sandro Tosi : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue11763] assertEqual memory issues with large text inputs

2011-06-25 Thread Sara Magliacane
Sara Magliacane added the comment: Here is a small patch addressing the second point of the last message, but the tests are still missing. -- nosy: +sara.magliacane Added file: http://bugs.python.org/file22462/issue11763_safe_repr.diff ___ Python tr

[issue12409] Moving "Documenting Python" to Devguide

2011-06-25 Thread Sandro Tosi
New submission from Sandro Tosi : Hi! We have the devguide now, and it should be the place where to look for references and docs about contributing to Python, that means also for the documentation. In the official Python doc we have a section "Documenting Python" (http://docs.python.org/py3k/

[issue10583] Encoding issue with chm help in 2.7.1

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: This might be non-fixable: http://support.microsoft.com/kb/269766/ HTML Help 1.x does not compile the Unicode characters. Meaning that in the search and index views you'll get garbage. For the rest of the rendering IE is used which does render th

[issue12157] join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty

2011-06-25 Thread mouad
mouad added the comment: Hello, This is my first patch to cpython, hope it will be accepted :) The fix that i did is to remove the ResultMap instance from the pool cache when the iterable is empty. In general here is what happen: The "map" method create a MapResult instance, which add it s

[issue11104] distutils sdist ignores MANIFEST

2011-06-25 Thread Stephen Thorne
Stephen Thorne added the comment: Éric mentioned that i should check that this behaviour matches the documentation. I have gone and looked for all instances of MANIFEST in the documentation and found one place which was inconsistent. I've added the doc patch to the patch. Please review this n

[issue11758] increase xml.dom.minidom test coverage

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 79d61e2050cd by Raymond Hettinger in branch 'default': Issue 11758: increase xml.dom.minidom test coverage (contributed by mdorn, reviewed by Sandro Tosi). http://hg.python.org/cpython/rev/79d61e2050cd -- nosy: +python-dev ___

[issue11758] increase xml.dom.minidom test coverage

2011-06-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> accepted status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue10020] docs for sqlite3 describe functions not available without recompiling

2011-06-25 Thread Kristian Vlaardingerbroek
Changes by Kristian Vlaardingerbroek : Removed file: http://bugs.python.org/file22458/issue10020-python27.patch ___ Python tracker ___ ___ Pyt

[issue10020] docs for sqlite3 describe functions not available without recompiling

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: Fixed typo (double and). -- Added file: http://bugs.python.org/file22464/issue10020-python27.patch ___ Python tracker ___ _

[issue7123] Multiprocess Process does not always exit when run from a thread.

2011-06-25 Thread Tomaž Šolc
Tomaž Šolc added the comment: I am pretty sure this is another instance of issue 6721. multiprocessing is forking a new process and if that happens while the other thread is holding the lock for stdout, the process will deadlock because the lock state is replicated in the subprocess while the

[issue10510] distutils upload/register should use CRLF in HTTP requests

2011-06-25 Thread Stephen Thorne
Stephen Thorne added the comment: I'm having a look at this ticket now. It looks like this can be rewritten to use common code, and it would probably be good to use the 'email' module for creating the MIME segements properly. -- nosy: +jerub ___ Py

[issue11551] test_dummy_thread.py test coverage improvement

2011-06-25 Thread Sandro Tosi
Sandro Tosi added the comment: I run a review on rietveld, just minor stuff (even though I don't see the 100% coverage). -- nosy: +sandro.tosi ___ Python tracker ___ __

[issue12086] Tutorial doesn't discourage name mangling

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 68bc3c5960a4 by Raymond Hettinger in branch '2.7': Issue 12086: add example showing how to use name mangling. http://hg.python.org/cpython/rev/68bc3c5960a4 -- nosy: +python-dev ___ Python tracker

[issue12086] Tutorial doesn't discourage name mangling

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 79f9698777b7 by Raymond Hettinger in branch '3.2': Issue 12086: add example showing how to use name mangling. http://hg.python.org/cpython/rev/79f9698777b7 New changeset fca745bc70be by Raymond Hettinger in branch 'default': Issue 12086: add exampl

[issue12157] join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty

2011-06-25 Thread mouad
Changes by mouad : Removed file: http://bugs.python.org/file22459/pool.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue12157] join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty

2011-06-25 Thread mouad
Changes by mouad : Removed file: http://bugs.python.org/file22460/test_multiprocess.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12157] join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty

2011-06-25 Thread mouad
Changes by mouad : Removed file: http://bugs.python.org/file22461/support.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue12157] join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty

2011-06-25 Thread mouad
Changes by mouad : Added file: http://bugs.python.org/file22466/issue-12157.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue12086] Tutorial doesn't discourage name mangling

2011-06-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Added an example of how to use double underscores correctly. I agree with Ezio that the rest of the documentation is clear on the subject. -- resolution: -> rejected status: open -> closed ___ Python tracker

[issue12403] Mention sys.displayhook in code module docs and the compile builtin docs

2011-06-25 Thread R. David Murray
R. David Murray added the comment: Well, the code is being executed by an exec call on a code object that was compiled with the 'single' flag, which is what causes non-None values to get "printed". The compile docs aren't clear on how "printed" is implemented, but the answer is that it calls

[issue11869] Include information about the bug tracker Rietveld code review tool

2011-06-25 Thread Sandro Tosi
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12410] Create a new helper function that enable to test that an operation don't hang more than a given timeout.

2011-06-25 Thread mouad
New submission from mouad : While working on issue #12157 [http://bugs.python.org/issue12157], I needed a function that make sure that an operation will not hang forever, for this reason i have create this helper function that support the context manager protocol and accept a timeout as an arg

[issue11870] test_3_join_in_forked_from_thread() of test_threading hangs 1 hour on "x86 Ubuntu Shared 3.x"

2011-06-25 Thread Charles-François Natali
Charles-François Natali added the comment: test_2_join_in_forked_process fails on FreeBSD 6.4 buildbot. http://www.python.org/dev/buildbot/all/builders/x86 FreeBSD 6.4 3.x/builds/1606/steps/test/logs/stdio """ == FAIL: test_2_

[issue12403] Mention sys.displayhook in code module docs and the compile builtin docs

2011-06-25 Thread Miki Tebeka
Miki Tebeka added the comment: Yeah, I though about using dup2 from stdout/stderr to the socket. However this means I can connect only one client at a time. Which was an issue I was trying to avoid. Didn't think about print statements though ... Thanks. -- __

[issue12157] join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty

2011-06-25 Thread mouad
mouad added the comment: The test case use a helper function in test/support.py that i have proposed in issue #12410. I'm dropping this comment here because i don't have the rights to edit the issue dependency. cheers; -- ___ Python tracker

[issue12410] Create a new helper function that enable to test that an operation don't hang more than a given timeout.

2011-06-25 Thread mouad
Changes by mouad : Removed file: http://bugs.python.org/file22467/operation_timeout.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12410] Create a new helper function that enable to test that an operation don't hang more than a given timeout.

2011-06-25 Thread mouad
Changes by mouad : Added file: http://bugs.python.org/file22469/operation_timeout.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue12296] Minor clarification in devguide

2011-06-25 Thread Sandro Tosi
Sandro Tosi added the comment: (this obviously does not apply to new classes, functions or *optional* arguments) ? -- nosy: +sandro.tosi ___ Python tracker ___

[issue11763] assertEqual memory issues with large text inputs

2011-06-25 Thread Michael Foord
Michael Foord added the comment: The basic idea of the patch is good, but instead of introducing _MAX_LENGTH, maxDiff should be reused. -- ___ Python tracker ___ __

[issue11763] assertEqual memory issues with large text inputs

2011-06-25 Thread Michael Foord
Michael Foord added the comment: Sorry, ignore that. I see that the patch already passes maxDiff to truncate_str. -- ___ Python tracker ___ _

[issue12411] cgi.parse_multipart is broken on 3.x

2011-06-25 Thread Jonas Wagner
New submission from Jonas Wagner : While writing tests for the cgi module I came across what looks like a conversion bug. cgi.parse_multipart is comparing values it reads from a binary file like with a string literal: line = fp.readline() ... if line.startswith("--"): This patch adds fixes th

[issue11802] filecmp.cmp needs a documented way to clear cache

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 11568c59d9d4 by Raymond Hettinger in branch '2.7': Issue 11802: filecmp cache was growing without bound. http://hg.python.org/cpython/rev/11568c59d9d4 -- nosy: +python-dev ___ Python tracker

[issue11233] clarifying Availability: Unix

2011-06-25 Thread Sandro Tosi
Changes by Sandro Tosi : -- Removed message: http://bugs.python.org/msg130754 ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2011-06-25 Thread Giovanni Bajo
Giovanni Bajo added the comment: If there's agreement that the general problem is unsolvable (so fork and threads just don't get along with each other), what we could attempt is trying to limit the side effects in the standard library, so that fewest users as possible are affected by this pro

[issue12411] cgi.parse_multipart is broken on 3.x

2011-06-25 Thread R. David Murray
Changes by R. David Murray : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

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

2011-06-25 Thread Tomaž Šolc
Changes by Tomaž Šolc : -- nosy: +avian ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue11802] filecmp.cmp needs a documented way to clear cache

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2bacaf6a80c4 by Raymond Hettinger in branch '3.2': Issue 11802: filecmp cache was growing without bound. http://hg.python.org/cpython/rev/2bacaf6a80c4 New changeset 8f4466619e1c by Raymond Hettinger in branch 'default': Issue 11802: filecmp cache

[issue11802] filecmp.cmp needs a documented way to clear cache

2011-06-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Made a simple fix to keep the cache from growing without bound. Leaving this open for 3.3 as a feature request to implement a more sophisticated strategy using file hashes or somesuch. -- ___ Python tracker

[issue12341] Some additions to .hgignore

2011-06-25 Thread Éric Araujo
Éric Araujo added the comment: Please backport. -- versions: +Python 2.7, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mail

[issue12341] Some additions to .hgignore

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset ef306bd1d122 by Ezio Melotti in branch 'default': #12341: add coverage files/dirs to .hgignore. Patch by Sandro Tosi. http://hg.python.org/cpython/rev/ef306bd1d122 -- ___ Python tracker

[issue12410] Create a new helper function that enable to test that an operation don't hang more than a given timeout.

2011-06-25 Thread R. David Murray
Changes by R. David Murray : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue12341] Some additions to .hgignore

2011-06-25 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed during the EuroPython sprint, thanks for the patch! -- nosy: +ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue12412] non defined representation for pwd.struct_passwd

2011-06-25 Thread Francisco Garcia
New submission from Francisco Garcia : pwd.struct_passwd has different representations in cpython 2.7.2 and pypy 1.5 A unit test from cpython might enforce the same representation across interpreters: >>> print pwd.getpwuid(os.getuid()) Current cpython output: pwd.struct_passwd(pw_name='demo

[issue12410] Create a new helper function that enable to test that an operation don't hang more than a given timeout.

2011-06-25 Thread Charles-François Natali
Charles-François Natali added the comment: It's a little bit more complicated than that: - signals and threads don't mix well together - this will make syscalls fail with EINTR - the old SIGALRM handler is lost - etc In short, don't use signals. I'm not sure there's a reliable way to write such

[issue11669] Clarify Lang Ref "Compound statements" footnote

2011-06-25 Thread Sandro Tosi
Sandro Tosi added the comment: Just to make explicit what's happening: >>> try: ... try: ... raise TypeError() ... finally: ... raise ValueError() ... except TypeError as e: ... print('mmm') ... Traceback (most recent call last): File "", line 3, in TypeError D

[issue11669] Clarify Lang Ref "Compound statements" footnote

2011-06-25 Thread Sandro Tosi
Sandro Tosi added the comment: Ok, I send it too soon... attached is a patch to fix this bug (it applies on default, 3.2 and 2.7). -- ___ Python tracker ___ ___

[issue11669] Clarify Lang Ref "Compound statements" footnote

2011-06-25 Thread Sandro Tosi
Changes by Sandro Tosi : -- keywords: -needs review Added file: http://bugs.python.org/file22471/issue11669-default.patch ___ Python tracker ___

  1   2   >