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

2011-06-25 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: What do you mean? signal.SIGPOLL exists in Python 3.3. Right, si_band added. - test_sigwaitinfo(), test_sigtimedwait_poll(), test_sigwaitinfo_interrupted() are called from a child process. In test_wait(), I chose to write manually

[issue12404] c99 code in mmapmodule

2011-06-25 Thread Akira Kitada
New submission from Akira Kitada akit...@gmail.com: 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

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

2011-06-25 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk 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

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

2011-06-25 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk 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

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

2011-06-25 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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 rep...@bugs.python.org

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

2011-06-25 Thread Mark Mc Mahon
Mark Mc Mahon mtnbikingm...@gmail.com 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

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

2011-06-25 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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

[issue12404] c99 code in mmapmodule

2011-06-25 Thread Roundup Robot
Roundup Robot devnull@devnull 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:

[issue12404] c99 code in mmapmodule

2011-06-25 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com 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 devnull@devnull 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 dicki...@gmail.com: -- resolution: accepted - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12164 ___

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

2011-06-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12381 ___ ___

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

2011-06-25 Thread Oleg Oshmyan
Oleg Oshmyan chor...@inbox.lv added the comment: Yes, thank you. I am (yet) unable to create a misleading error message now. :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6474 ___

[issue8623] Aliasing warnings in socketmodule.c

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek kristian.vlaardingerbr...@gmail.com 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

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

2011-06-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

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

2011-06-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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 rep...@bugs.python.org

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

2011-06-25 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

[issue12341] Some additions to .hgignore

2011-06-25 Thread Roundup Robot
Roundup Robot devnull@devnull 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 ___

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

2011-06-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: mark.dickinson - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9990 ___ ___

[issue10227] Improve performance of MemoryView slicing

2011-06-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: mark.dickinson - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10227 ___ ___

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

2011-06-25 Thread Vinay Sajip
New submission from Vinay Sajip vinay_sa...@yahoo.co.uk: 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

[issue12406] msi.py needs updating for Python 3.3

2011-06-25 Thread Vinay Sajip
New submission from Vinay Sajip vinay_sa...@yahoo.co.uk: 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

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

2011-06-25 Thread Roundup Robot
Roundup Robot devnull@devnull 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

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

2011-06-25 Thread Roundup Robot
Roundup Robot devnull@devnull 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

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

2011-06-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks for the patch! -- nosy: +mark.dickinson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12228

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

2011-06-25 Thread Roundup Robot
Roundup Robot devnull@devnull 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

[issue10326] Can't pickle unittest.TestCase instances

2011-06-25 Thread Roundup Robot
Roundup Robot devnull@devnull 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 ___

[issue10326] Can't pickle unittest.TestCase instances

2011-06-25 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10326 ___

[issue5114] 2.7: test_threading hangs on Solaris

2011-06-25 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr 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 kristian.vlaardingerbr...@gmail.com added the comment: This has been committed a while ago, can this issue be closed? -- nosy: +Kristian.Vlaardingerbroek ___ Python tracker rep...@bugs.python.org

[issue12407] test_subinterps fails on Windows

2011-06-25 Thread Cesare Di Mauro
New submission from Cesare Di Mauro cesare.di.ma...@gmail.com: 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

[issue10583] Encoding issue with chm help in 2.7.1

2011-06-25 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, can you still replicate it with 2.7.2 ? -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10583 ___

[issue12408] Relative import used on test_future5

2011-06-25 Thread Cesare Di Mauro
New submission from Cesare Di Mauro cesare.di.ma...@gmail.com: Executing test_future5 fails: D:\CPythonPCbuild\python_d.exe Lib\test\test_future5.py Traceback (most recent call last): File Lib\test\test_future5.py, line 6, in module from . import support ValueError: Attempted relative

[issue12408] Relative import used on test_future5

2011-06-25 Thread Roundup Robot
Roundup Robot devnull@devnull 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

[issue12408] Relative import used on test_future5

2011-06-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks for the report. -- nosy: +mark.dickinson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12408

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

2011-06-25 Thread Robin Jarry
Robin Jarry diabete...@gmail.com added the comment: This sounds OK as long as the error message is explicit :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12382 ___

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

2011-06-25 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11163 ___

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

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek kristian.vlaardingerbr...@gmail.com 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. --

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

2011-06-25 Thread Roundup Robot
Roundup Robot devnull@devnull 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 grub...@users.sourceforge.net 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

[issue10583] Encoding issue with chm help in 2.7.1

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek kristian.vlaardingerbr...@gmail.com 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 devnull@devnull 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

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

2011-06-25 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11889 ___

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

2011-06-25 Thread Roundup Robot
Roundup Robot devnull@devnull 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 rep...@bugs.python.org

[issue11197] information leakage with SimpleHTTPServer

2011-06-25 Thread engelbert gruber
engelbert gruber grub...@users.sourceforge.net 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.

[issue10845] test_multiprocessing failure under Windows

2011-06-25 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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 -

[issue10583] Encoding issue with chm help in 2.7.1

2011-06-25 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue10583

[issue11758] increase xml.dom.minidom test coverage

2011-06-25 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

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

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

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

2011-06-25 Thread mouad
Changes by mouad mouad...@gmail.com: Added file: http://bugs.python.org/file22460/test_multiprocess.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12157 ___

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

2011-06-25 Thread mouad
Changes by mouad mouad...@gmail.com: Added file: http://bugs.python.org/file22461/support.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12157 ___

[issue10583] Encoding issue with chm help in 2.7.1

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek kristian.vlaardingerbr...@gmail.com 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 title /title is exactly the same. Chrome renders both fine: title18.2. json — JSON encoder

[issue11197] information leakage with SimpleHTTPServer

2011-06-25 Thread engelbert gruber
Changes by engelbert gruber grub...@users.sourceforge.net: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11197 ___ ___

[issue11758] increase xml.dom.minidom test coverage

2011-06-25 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- assignee: - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11758 ___

[issue11763] assertEqual memory issues with large text inputs

2011-06-25 Thread Sara Magliacane
Sara Magliacane sara.magliac...@gmail.com 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

[issue12409] Moving Documenting Python to Devguide

2011-06-25 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: 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

[issue10583] Encoding issue with chm help in 2.7.1

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek kristian.vlaardingerbr...@gmail.com 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

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

2011-06-25 Thread mouad
mouad mouad...@gmail.com 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

[issue11104] distutils sdist ignores MANIFEST

2011-06-25 Thread Stephen Thorne
Stephen Thorne step...@thorne.id.au 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.

[issue11758] increase xml.dom.minidom test coverage

2011-06-25 Thread Roundup Robot
Roundup Robot devnull@devnull 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 raymond.hettin...@gmail.com: -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11758 ___

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

2011-06-25 Thread Kristian Vlaardingerbroek
Changes by Kristian Vlaardingerbroek kristian.vlaardingerbr...@gmail.com: Removed file: http://bugs.python.org/file22458/issue10020-python27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10020

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

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

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

2011-06-25 Thread Tomaž Šolc
Tomaž Šolc tomaz.s...@tablix.org 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

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

2011-06-25 Thread Stephen Thorne
Stephen Thorne step...@thorne.id.au 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

[issue11551] test_dummy_thread.py test coverage improvement

2011-06-25 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue11551

[issue12086] Tutorial doesn't discourage name mangling

2011-06-25 Thread Roundup Robot
Roundup Robot devnull@devnull 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

[issue12086] Tutorial doesn't discourage name mangling

2011-06-25 Thread Roundup Robot
Roundup Robot devnull@devnull 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

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

2011-06-25 Thread mouad
Changes by mouad mouad...@gmail.com: Removed file: http://bugs.python.org/file22459/pool.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12157 ___ ___

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

2011-06-25 Thread mouad
Changes by mouad mouad...@gmail.com: Removed file: http://bugs.python.org/file22460/test_multiprocess.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12157 ___

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

2011-06-25 Thread mouad
Changes by mouad mouad...@gmail.com: Removed file: http://bugs.python.org/file22461/support.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12157 ___

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

2011-06-25 Thread mouad
Changes by mouad mouad...@gmail.com: Added file: http://bugs.python.org/file22466/issue-12157.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12157 ___

[issue12086] Tutorial doesn't discourage name mangling

2011-06-25 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com 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

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

2011-06-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2011-06-25 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11869 ___ ___ Python-bugs-list

[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 mouad...@gmail.com: 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

[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 neolo...@free.fr 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 ==

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

2011-06-25 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com 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 mouad...@gmail.com 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; -- ___

[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 mouad...@gmail.com: Removed file: http://bugs.python.org/file22467/operation_timeout.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12410 ___

[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 mouad...@gmail.com: Added file: http://bugs.python.org/file22469/operation_timeout.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12410 ___

[issue12296] Minor clarification in devguide

2011-06-25 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: (this obviously does not apply to new classes, functions or *optional* arguments) ? -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12296

[issue11763] assertEqual memory issues with large text inputs

2011-06-25 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: The basic idea of the patch is good, but instead of introducing _MAX_LENGTH, maxDiff should be reused. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11763

[issue11763] assertEqual memory issues with large text inputs

2011-06-25 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Sorry, ignore that. I see that the patch already passes maxDiff to truncate_str. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11763

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

2011-06-25 Thread Jonas Wagner
New submission from Jonas Wagner ve...@gmx.ch: 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

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

2011-06-25 Thread Roundup Robot
Roundup Robot devnull@devnull 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

[issue11233] clarifying Availability: Unix

2011-06-25 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- Removed message: http://bugs.python.org/msg130754 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11233 ___

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

2011-06-25 Thread Giovanni Bajo
Giovanni Bajo giovannib...@gmail.com 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

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

2011-06-25 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12411 ___ ___ Python-bugs-list

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

2011-06-25 Thread Tomaž Šolc
Changes by Tomaž Šolc tomaz.s...@tablix.org: -- nosy: +avian ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6721 ___ ___ Python-bugs-list mailing

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

2011-06-25 Thread Roundup Robot
Roundup Robot devnull@devnull 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

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

2011-06-25 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com 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. --

[issue12341] Some additions to .hgignore

2011-06-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Please backport. -- versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12341 ___

[issue12341] Some additions to .hgignore

2011-06-25 Thread Roundup Robot
Roundup Robot devnull@devnull 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 rdmur...@bitdance.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12410 ___ ___ Python-bugs-list

[issue12341] Some additions to .hgignore

2011-06-25 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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 pub...@francisco-garcia.net: 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:

[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 neolo...@free.fr 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

[issue11669] Clarify Lang Ref Compound statements footnote

2011-06-25 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 stdin,

[issue11669] Clarify Lang Ref Compound statements footnote

2011-06-25 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue11669

  1   2   >