[issue7880] sysconfig does not like symlinks

2010-02-07 Thread Florent Xicluna
New submission from Florent Xicluna : ~ $ cd /tmp ~ $ ln -s /usr/local/bin/python . ~ $ ./python -c "import sys; print sys.executable" 'import site' failed; use -v for traceback /tmp/python -- assignee: tarek components: Library (Lib) messages: 99027 nosy: ezio.

[issue7880] sysconfig does not like symlinks

2010-02-07 Thread Florent Xicluna
Florent Xicluna added the comment: proposed fix. -- keywords: +patch Added file: http://bugs.python.org/file16172/issue7880_sysconfig.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7880] sysconfig does not like symlinks

2010-02-07 Thread Florent Xicluna
Changes by Florent Xicluna : -- stage: -> patch review ___ Python tracker <http://bugs.python.org/issue7880> ___ ___ Python-bugs-list mailing list Unsubscri

[issue7880] sysconfig does not like symlinks

2010-02-07 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16172/issue7880_sysconfig.diff ___ Python tracker <http://bugs.python.org/issue7880> ___ ___ Pytho

[issue7880] sysconfig does not like symlinks

2010-02-07 Thread Florent Xicluna
Florent Xicluna added the comment: actually realpath == abspath on most platforms where symlink is not implemented. Changed. -- Added file: http://bugs.python.org/file16173/issue7880_sysconfig.diff ___ Python tracker <http://bugs.python.

[issue2777] subprocess unit tests for kill, term and send_signal flaky

2010-02-08 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue2777> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2777] subprocess unit tests for kill, term and send_signal flaky

2010-02-08 Thread Florent Xicluna
Florent Xicluna added the comment: The patch looks fine. +1 to enable on trunk and follow the buildbots' behavior. -- ___ Python tracker <http://bugs.python.org/i

[issue7878] regrtest should check for changes in import machinery

2010-02-08 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue7878> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6366] rare assertion failure in test_multiprocessing

2010-02-08 Thread Florent Xicluna
Changes by Florent Xicluna : -- resolution: -> duplicate superseder: -> Transient error in multiprocessing ___ Python tracker <http://bugs.python.org/

[issue6366] rare assertion failure in test_multiprocessing

2010-02-08 Thread Florent Xicluna
Florent Xicluna added the comment: Closed as duplicate. -- nosy: +flox stage: needs patch -> status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6747] test test_multiprocessing failed

2010-02-08 Thread Florent Xicluna
Florent Xicluna added the comment: See #5930. -- nosy: +flox resolution: -> duplicate stage: test needed -> status: open -> closed superseder: -> Transient error in multiprocessing ___ Python tracker <http://bugs.pytho

[issue5930] Transient error in multiprocessing

2010-02-08 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +Tests stage: needs patch -> test needed versions: +Python 3.2 ___ Python tracker <http://bugs.python.org/iss

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-08 Thread Florent Xicluna
Florent Xicluna added the comment: Brian, is it the only one failing? Did you have some test running before? Which one? (alphabetic order?) Do you reproduce the error when running this test alone? "-m test.regrtest -uall test_bufio" --

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-08 Thread Florent Xicluna
Florent Xicluna added the comment: Ok, it may be not related directly with this patch. Can you diagnose if it something like #7443? -- ___ Python tracker <http://bugs.python.org/issue7

[issue7443] test.support.unlink issue on Windows platform

2010-02-08 Thread Florent Xicluna
Florent Xicluna added the comment: Another report of something looking very similar on #7712. -- nosy: +brian.curtin, flox priority: low -> high ___ Python tracker <http://bugs.python.org/iss

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-08 Thread Florent Xicluna
Florent Xicluna added the comment: And you could try the patch attached to #7443, and see if it fixes the test_bufio issue. -- ___ Python tracker <http://bugs.python.org/issue7

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-08 Thread Florent Xicluna
Florent Xicluna added the comment: The command line used to run the tests is important. If you run through "test.regrtest", it should "chdir" to a sandbox directory to run the test. If you call directly the test_bufio.py file, it runs in the current directory (as before

[issue7443] test.support.unlink issue on Windows platform

2010-02-09 Thread Florent Xicluna
Florent Xicluna added the comment: Note: the fix in test_linecache.py is useless. The "with open(source_name, 'w') as source:" context manager is in charge of closing the file on __exit__. -- ___ Python tracker <http://bu

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16167/issue7712_context_manager_v5.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7808] test_bsddb3 leaks references

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16039/issue7808_bsddb3_refleak.diff ___ Python tracker <http://bugs.python.org/issue7808> ___ ___

[issue7808] test_bsddb3 leaks references

2010-02-09 Thread Florent Xicluna
Florent Xicluna added the comment: Patch updated for latest trunk. -- Added file: http://bugs.python.org/file16183/issue7808_bsddb3_refleak_v2.diff ___ Python tracker <http://bugs.python.org/issue7

[issue5930] Transient error in multiprocessing

2010-02-09 Thread Florent Xicluna
Florent Xicluna added the comment: Closed duplicate reports #6366 and #6747. -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue5930> ___ ___ Pytho

[issue7880] sysconfig does not like symlinks

2010-02-09 Thread Florent Xicluna
Florent Xicluna added the comment: Yes, it is the issue #7774. The patch proposed on msg98284 should fix sys.executable being a directory. Tarek, if you implement the patch for sysconfig, add a note regarding the dir hack: # XXX : see issue 7774

[issue7774] sys.executable: wrong location if zeroth command argument is modified.

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +Interpreter Core -Library (Lib) stage: test needed -> needs patch ___ Python tracker <http://bugs.python.org/iss

[issue3562] Intermitent failure in test_multiprocessing.test_number_of_objects

2010-02-09 Thread Florent Xicluna
Florent Xicluna added the comment: Duplicate of #5009. Applied in r68839. -- nosy: +flox resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> multiprocessing: failure in manager._debug_info() __

[issue7808] test_bsddb3 leaks references

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue7808> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6615] multiprocessing logging support test

2010-02-09 Thread Florent Xicluna
Florent Xicluna added the comment: It should be closed now. -- priority: -> normal stage: -> committed/rejected status: open -> pending ___ Python tracker <http://bugs.python.o

[issue6615] multiprocessing logging support test

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : -- status: pending -> open versions: -Python 2.6, Python 3.1 ___ Python tracker <http://bugs.python.org/issue6615> ___ ___ Python-

[issue6615] multiprocessing logging support test

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : -- status: open -> pending ___ Python tracker <http://bugs.python.org/issue6615> ___ ___ Python-bugs-list mailing list Unsubscri

[issue5596] memory leaks in py3k

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue5596> ___ ___ Python-bugs-list mailing list Unsubscri

[issue7808] test_bsddb3 leaks references

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : -- type: performance -> resource usage ___ Python tracker <http://bugs.python.org/issue7808> ___ ___ Python-bugs-list mai

[issue7892] [patch] refactor "test_dict.py" using new assertRaises context manager.

2010-02-09 Thread Florent Xicluna
New submission from Florent Xicluna : Patch to refactor "test_dict" using new unittest methods. -- components: Tests files: patch_dict_assertRaises.diff keywords: patch messages: 99124 nosy: flox priority: normal severity: normal stage: patch review status: open title: [patch

[issue7892] [patch] refactor "test_dict.py" using new assertRaises context manager.

2010-02-09 Thread Florent Xicluna
Florent Xicluna added the comment: The 3.x merge. -- Added file: http://bugs.python.org/file16188/patch_dict_assertRaises_py3k.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7892] [patch] refactor "test_dict.py" using new assertRaises context manager.

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16188/patch_dict_assertRaises_py3k.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7892] [patch] refactor "test_dict.py" using new assertRaises context manager.

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16187/patch_dict_assertRaises.diff ___ Python tracker <http://bugs.python.org/issue7892> ___ ___

[issue7892] [patch] refactor "test_dict.py" using new assertRaises context manager.

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file16189/patch_dict_assertRaises.diff ___ Python tracker <http://bugs.python.org/issue7892> ___ ___ Pytho

[issue7892] [patch] refactor "test_dict.py" using new assertRaises context manager.

2010-02-09 Thread Florent Xicluna
Florent Xicluna added the comment: I missed an "assertEqual(hasattr(...), False)". Fixed. -- Added file: http://bugs.python.org/file16190/patch_dict_assertRaises_py3k.diff ___ Python tracker <http://bugs.python.

[issue7895] Mac 10.6 mac_ver() crashes with USING_FORK_WITHOUT_EXEC_IS _NOT_SUPPORTED_BY_FILE_MANAGER

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : -- priority: -> normal title: Mac 10.6 mac_ver() crashes with USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER -> Mac 10.6 mac_ver() crashes with USING_FORK_WITHOUT_EXEC_IS _NOT_SUPPORTED_BY_FILE_M

[issue7892] refactor "test_dict.py" using new assertRaises context manager.

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : -- title: [patch] refactor "test_dict.py" using new assertRaises context manager. -> refactor "test_dict.py" using new assertRaises context manager. ___ Python tracker <http:/

[issue6472] Inconsistent use of "iterator" in ElementTree doc & diff between Py and C modules

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15468/issue6472_upstream.diff ___ Python tracker <http://bugs.python.org/issue6472> ___ ___ Pytho

[issue6472] Inconsistent use of "iterator" in ElementTree doc & diff between Py and C modules

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15552/issue6472_upstream_py3k_v2.diff ___ Python tracker <http://bugs.python.org/issue6472> ___ ___

[issue6472] Inconsistent use of "iterator" in ElementTree doc & diff between Py and C modules

2010-02-09 Thread Florent Xicluna
Florent Xicluna added the comment: Patch updated, with upstream packages: * ElementTree 1.3a3-20070912 * cElementTree 1.0.6-20090110 Now all tests are identical for the ElementTree part: - ElementTree 2.x - cElementTree 2.x - ElementTree 3.x - cElementTree 3.x Waiting for some developer

[issue6472] Inconsistent use of "iterator" in ElementTree doc & diff between Py and C modules

2010-02-09 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file16192/issue6472_etree_upstream_py3k_v2.diff ___ Python tracker <http://bugs.python.org/issue6

[issue6472] Inconsistent use of "iterator" in ElementTree doc & diff between Py and C modules

2010-02-09 Thread Florent Xicluna
Florent Xicluna added the comment: Ok, will do the upload to rietveld. In addition to the straight review of the patch itself, you could: - diff against the upstream source code (very few changes) - diff between 2.x and 3.x - review the test_suite (there's only additions, no real c

[issue6472] Inconsistent use of "iterator" in ElementTree doc & diff between Py and C modules

2010-02-09 Thread Florent Xicluna
Florent Xicluna added the comment: Here it is: * http://codereview.appspot.com/207048/show -- ___ Python tracker <http://bugs.python.org/issue6472> ___ ___ Pytho

[issue7774] sys.executable: wrong location if zeroth command argument is modified.

2010-02-11 Thread Florent Xicluna
Florent Xicluna added the comment: Similar failures with or without argv 0: ~ $ sh -c 'exec -a missing ./python -c "import sys; print sys.executable"' /home/user/dev/python/trunk/ ~ $ sh -c 'exec -a "" ./python -c "import sys; print sys.executab

[issue7917] list of list created by *

2010-02-12 Thread Florent Xicluna
Florent Xicluna added the comment: It is by design. Please read the documentation: http://docs.python.org/library/stdtypes.html#sequence-types-str-unicode-list-tuple-buffer-xrange -- nosy: +flox resolution: -> invalid ___ Python tracker &l

[issue7917] list of list created by *

2010-02-12 Thread Florent Xicluna
Changes by Florent Xicluna : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue7917> ___ ___ Python-bugs-list mailing list Unsubscri

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-12 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed on trunk with r78136. Before closing this issue, we may apply additional cleanup on regrtest: - the "sys.path" hack is not needed anymore (no risk of relative imports) - the hack for sys.argv[0] could be removed too, and use __file

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-12 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16218/issue7712_regrtest_remove_hacks.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-12 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file16219/issue7712_regrtest_rm_hacks.diff ___ Python tracker <http://bugs.python.org/issue7712> ___ ___

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-13 Thread Florent Xicluna
Florent Xicluna added the comment: "Complex is better than complicated... Special cases aren't special enough to break the rules." The module "regrtest" is complex enough. We don't need to keep useless hacks inside. It would be more interesting to replace t

[issue3475] _elementtree.c import can fail silently

2010-02-13 Thread Florent Xicluna
Changes by Florent Xicluna : -- dependencies: +Update ElementTree with upstream changes ___ Python tracker <http://bugs.python.org/issue3475> ___ ___ Python-bug

[issue1538691] Patch cElementTree to export CurrentLineNumber

2010-02-13 Thread Florent Xicluna
Changes by Florent Xicluna : -- dependencies: +Update ElementTree with upstream changes versions: +Python 3.2 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue1538

[issue3475] _elementtree.c import can fail silently

2010-02-13 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox priority: -> normal type: -> behavior ___ Python tracker <http://bugs.python.org/issue3475> ___ ___ Pyth

[issue1538691] Patch cElementTree to export CurrentLineNumber

2010-02-13 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue1538691> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7924] test_capi crashes with misleading datetime ImportError when _curses is not built

2010-02-13 Thread Florent Xicluna
New submission from Florent Xicluna : This crash is sporadic on some buildbots where _curses is not built: test_capi XXX undetected error test test_capi crashed -- : No module named datetime Note: the changeset r76810 did not fix the issue. It can be reverted. The problem occurs during

[issue7924] test_capi crashes with misleading datetime ImportError when _curses is not built

2010-02-13 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +Tests ___ Python tracker <http://bugs.python.org/issue7924> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7924] test_capi crashes with misleading datetime ImportError when _curses is not built

2010-02-13 Thread Florent Xicluna
Florent Xicluna added the comment: The behaviour is weird. Use attached patch to reproduce this behaviour. ~ $ ./python -m test.regrtest -uall test_curses test_datetime test_curses test_curses skipped -- No module named _NO_curses test_datetime 1 test OK. 1 test skipped: test_curses Those

[issue7924] test_capi crashes with misleading datetime ImportError when _curses is not built

2010-02-13 Thread Florent Xicluna
Florent Xicluna added the comment: The simple fix: --- Modules/_testcapimodule.c (revision 78171) +++ Modules/_testcapimodule.c (working copy) @@ -1763,6 +1763,8 @@ Py_DECREF(object); Py_DECREF(module); } + else

[issue7924] test_capi crashes with misleading datetime ImportError when _curses is not built

2010-02-13 Thread Florent Xicluna
Changes by Florent Xicluna : -- stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue7924> ___ ___ Python-bugs-list mai

[issue7925] minidom: "TypeError: writexml() takes at most 5 positional arguments (6 given)"

2010-02-13 Thread Florent Xicluna
Changes by Florent Xicluna : -- priority: -> normal stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue7925> ___ ___ Python-bugs-list

[issue7925] minidom: "TypeError: writexml() takes at most 5 positional arguments (6 given)"

2010-02-13 Thread Florent Xicluna
Changes by Florent Xicluna : -- stage: needs patch -> test needed ___ Python tracker <http://bugs.python.org/issue7925> ___ ___ Python-bugs-list mailing list Un

[issue7925] minidom: "TypeError: writexml() takes at most 5 positional arguments (6 given)"

2010-02-13 Thread Florent Xicluna
Florent Xicluna added the comment: Please provide some test data, and describe which behavior you expect. -- components: +XML -Library (Lib) nosy: +flox resolution: -> works for me status: open -> pending ___ Python tracker <http://bugs.p

[issue7334] ElementTree: file locking in Jython 2.5 (OSError on Windows)

2010-02-16 Thread Florent Xicluna
Florent Xicluna added the comment: The patch proposed on msg95349: * need tests * not reviewed (yet) -- keywords: +patch nosy: +flox priority: -> normal stage: -> needs patch title: XML file locking in Jython 2.5 (OSError on Windows) -> ElementTree: file locking in J

[issue6472] Update ElementTree with upstream changes

2010-02-16 Thread Florent Xicluna
Florent Xicluna added the comment: Update the 2.x patch with the last version uploaded to rietveld (patch set 5). Improved test coverage with upstream tests and tests cases provided by Neil on issue #6232. Note: the patch for 3.x is obsolete. -- Added file: http://bugs.python.org

[issue5604] imp.find_module() mixes UTF8 and MBCS

2010-02-18 Thread Florent Xicluna
Florent Xicluna added the comment: Still an issue for some buildbot: http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/1487 http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/1491 It is loosely related with #7712, because now the tests are run in

[issue5930] Transient error in multiprocessing

2010-02-19 Thread Florent Xicluna
Florent Xicluna added the comment: Again, but with more details: http://www.python.org/dev/buildbot/all/builders/i386%20Ubuntu%203.1/builds/302 test_multiprocessing Process Process-49: Traceback (most recent call last): File "/scratch/pybot-buildarea/3.1.klose-ubuntu-i386/buil

[issue7967] PyXML is dead

2010-02-19 Thread Florent Xicluna
Florent Xicluna added the comment: Maybe the PyXML hack can be removed, too? http://svn.python.org/view/python/trunk/Lib/xml/__init__.py?view=markup -- nosy: +flox priority: -> normal ___ Python tracker <http://bugs.python.org/iss

[issue3426] os.path.abspath with unicode argument should call os.getcwdu

2010-02-20 Thread Florent Xicluna
Florent Xicluna added the comment: The attached patch proposes a decorator which can be used to strengthen any test which is affected by the CWD. (and fixes for test_(mac|nt|posix)path too) -- Added file: http://bugs.python.org/file16267/issue3426_any_cwd.diff

[issue6625] UnicodeEncodeError on pydoc's CLI

2010-02-22 Thread Florent Xicluna
Florent Xicluna added the comment: Patch with same tests as the previous one, but using better heuristic for output encoding (like Christoph patch). Added the "replace" error handling, if the output encoding cannot encode all characters. -- Added file: http://bugs.

[issue7977] I found Python 3.1 xmlrpc lib use "" not properly. and i have fixed it.

2010-02-22 Thread Florent Xicluna
Florent Xicluna added the comment: The patch causes failures in test_xmlrpc, using Py3k branch. -- nosy: +flox priority: -> normal stage: -> test needed versions: +Python 3.2 ___ Python tracker <http://bugs.python.org/

[issue7977] I found Python 3.1 xmlrpc lib use "" not properly. and i have fixed it.

2010-02-22 Thread Florent Xicluna
Florent Xicluna added the comment: I didn't look at this issue in details. I'm not a specialist of xmlrpc. But it is unlikely that the patch will be accepted, if it fails the regression tests. Could you investigate this failure and provide a patch which fixes the tests? You c

[issue7977] I found Python 3.1 xmlrpc lib use "" not properly. and i have fixed it.

2010-02-22 Thread Florent Xicluna
Florent Xicluna added the comment: Attached, the output of the test with "-v test_xmlrpc". -- Added file: http://bugs.python.org/file16308/issue7977_test_xmlrpc.log ___ Python tracker <http://bugs.python.

[issue7987] Python 3.1's http.client doesn't support HTTPS

2010-02-22 Thread Florent Xicluna
Florent Xicluna added the comment: Duplicate of #6494: "This is not a bug in Python. You need to build Python with SSL support for this to work." -- nosy: +flox priority: -> low resolution: -> duplicate status: open -> closed superseder: -> xmlrpc client

[issue8024] upgrade to Unicode 5.2?

2010-02-26 Thread Florent Xicluna
Florent Xicluna added the comment: Excerpt of the release note: http://www.unicode.org/versions/Unicode5.2.0/ The Unicode Standard, Version 5.2, adds 6,648 characters and significantly improves the documentation of conformance requirements for the specification of normalization forms

[issue8025] TypeError: string argument expected, got 'str'

2010-02-26 Thread Florent Xicluna
New submission from Florent Xicluna : >>> import io; fake = io.StringIO(); fake.write('boo') Traceback (most recent call last): File "", line 1, in TypeError: string argument expected, got 'str' -- components: Library (Lib) messages: 100

[issue8025] TypeError: string argument expected, got 'str'

2010-02-26 Thread Florent Xicluna
Florent Xicluna added the comment: The error is slightly different with _pyio: >>> import _pyio as io; fake = io.StringIO(); fake.write('boo') Traceback (most recent call last): File "", line 1, in File "./py2trunk/Lib/_pyio.py", line 1559, in wr

[issue7793] regrtest fails with "RuntimeError: maximum recursion depth exceeded" in some cases

2010-02-27 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed in r78497. -- resolution: accepted -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue7849] Improve "test_support.check_warnings()"

2010-03-01 Thread Florent Xicluna
Florent Xicluna added the comment: > Antoine Pitrou added the comment: > > "lazy" sounds like a bad name for that parameter. It makes me think of lazy > evaluation, not error checking. > "check_warnings(quiet=True)" sounds good? > There's also

[issue7892] refactor "test_dict.py" using new assertRaises context manager.

2010-03-02 Thread Florent Xicluna
Florent Xicluna added the comment: Done with r78582 and r78583. -- assignee: -> flox resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.pytho

[issue8048] doctest assumes sys.displayhook hasn't been touched

2010-03-03 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox priority: -> normal stage: -> test needed versions: +Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/

[issue7808] test_bsddb3 leaks references

2010-03-03 Thread Florent Xicluna
Florent Xicluna added the comment: > Could you explain the changes to the unittest? The reference to "self" in the hooks were preventing the GC of the test case, as far as I understand, because it creates a cycle. When using weak references, there's no more dead cy

[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

2010-03-03 Thread Florent Xicluna
Florent Xicluna added the comment: With ET 1.3, the serializer ElementTree.write() should output bytes only. And the default encoding is still US-ASCII. The new behaviour is specific to the 3.x branch (since 3.0, r56841). Even if it is not fully backward compatible, I don't find this beh

[issue7805] test_multiprocessing failure

2010-03-04 Thread Florent Xicluna
Florent Xicluna added the comment: Thanks Stefan for the analysis. This patch should fix the issue, and make the buildbots happy. -- stage: needs patch -> patch review Added file: http://bugs.python.org/file16429/issue7805_process_is_alive_py3.d

[issue2973] _ssl compiler warnings

2010-03-04 Thread Florent Xicluna
Florent Xicluna added the comment: On Gentoo buildbots (2.x and 3.x), there's still the same compiler warnings: http://www.python.org/dev/buildbot/all/builders/x86%20gentoo%20trunk/builds/5899 /home/buildslave/python-trunk/trunk.norwitz-x86/build/Modules/_ssl.c:706: warning: passing arg

[issue1537721] csv module: add header row to DictWriter

2010-03-04 Thread Florent Xicluna
Florent Xicluna added the comment: according to the buidbots, it hurts some platforms: Windows XP, Windows 7 and sparc Solaris10 * sparc solaris10 test_writerows (test.test_csv.Test_Csv) ... ok == FAIL

[issue2777] subprocess unit tests for kill, term and send_signal flaky

2010-03-04 Thread Florent Xicluna
Florent Xicluna added the comment: I experienced this hang with Linux AMD64. It occurs in test_send_signal. It is because signal.SIGINT is not always handled (see #3137). As a workaround, there's 2 choices: add a delay between Popen and send_signal, or retry SIGINT 2 or 3 times. Wi

[issue2777] subprocess unit tests for kill, term and send_signal flaky

2010-03-04 Thread Florent Xicluna
Florent Xicluna added the comment: Re-enabled on r78662 and r78663. Buildbots seems happy, except Windows XP + Cygwin buildbot: == FAIL: test_kill (test.test_subprocess.Win32ProcessTestCase

[issue7805] test_multiprocessing failure

2010-03-04 Thread Florent Xicluna
Florent Xicluna added the comment: Sometimes it triggers a different issue, with patch applied (ia64 Ubuntu trunk): test_multiprocessing test test_multiprocessing failed -- Traceback (most recent call last): File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib

[issue8076] sys.setfilesystemencoding('foo') causes segmentation fault

2010-03-05 Thread Florent Xicluna
New submission from Florent Xicluna : >>> import sys >>> sys.setfilesystemencoding('foo') >>> open('something') Segmentation Fault -- components: Interpreter Core messages: 100507 nosy: flox priority: normal severit

[issue7319] Silence DeprecationWarning by default

2010-03-06 Thread Florent Xicluna
Florent Xicluna added the comment: The -Qwarn/-Qwarnall options are unexpectedly silenced in 2.7. -- nosy: +flox stage: -> commit review versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/iss

[issue1731717] race condition in subprocess module

2010-03-06 Thread Florent Xicluna
Florent Xicluna added the comment: Sometimes IA64 Ubuntu bot fails on this one. http://www.python.org/dev/buildbot/all/builders/ia64%20Ubuntu%20trunk/builds/571 -- keywords: +buildbot ___ Python tracker <http://bugs.python.org/issue1731

[issue6906] Tkinter sets an unicode environment variable on win32

2010-03-06 Thread Florent Xicluna
Florent Xicluna added the comment: confirmed on Win7 buildbot, when the tcl or tk test is run before test_wsgiref: == FAIL: test_simple_validation_error (test.test_wsgiref.IntegrationTests

[issue4180] warnings.simplefilter("always") does not make warnings always show up

2010-03-06 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +Interpreter Core nosy: +flox stage: -> patch review versions: +Python 2.7 -Python 2.4, Python 2.5 ___ Python tracker <http://bugs.python.org/iss

[issue5604] imp.find_module() mixes UTF8 and MBCS

2010-03-06 Thread Florent Xicluna
Florent Xicluna added the comment: Thanks for fixing this. Now Win7 buildbot is green on trunk. -- stage: needs patch -> committed/rejected ___ Python tracker <http://bugs.python.org/iss

[issue6906] Tkinter sets an unicode environment variable on win32

2010-03-06 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with r78722 on trunk. Pending backport to 2.6. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> pending ___ Python tracker <http://bugs.python.o

[issue8080] os.uname failing in windows

2010-03-06 Thread Florent Xicluna
Florent Xicluna added the comment: Use platform.uname(), it is available on all platforms. -- nosy: +flox priority: -> normal ___ Python tracker <http://bugs.python.org/iss

[issue7849] Improve "test_support.check_warnings()"

2010-03-06 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16120/issue7849_check_warnings_v2.diff ___ Python tracker <http://bugs.python.org/issue7849> ___ ___

[issue7849] Improve "test_support.check_warnings()"

2010-03-06 Thread Florent Xicluna
Florent Xicluna added the comment: Patch updated. -- assignee: -> flox resolution: -> accepted versions: +Python 3.2 Added file: http://bugs.python.org/file16471/issue7849_check_warnings_v3.diff ___ Python tracker <http://bugs.p

<    1   2   3   4   5   6   7   8   9   10   >