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.
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
Changes by Florent Xicluna :
--
stage: -> patch review
___
Python tracker
<http://bugs.python.org/issue7880>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file16172/issue7880_sysconfig.diff
___
Python tracker
<http://bugs.python.org/issue7880>
___
___
Pytho
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.
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue2777>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue7878>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
resolution: -> duplicate
superseder: -> Transient error in multiprocessing
___
Python tracker
<http://bugs.python.org/
Florent Xicluna added the comment:
Closed as duplicate.
--
nosy: +flox
stage: needs patch ->
status: open -> closed
___
Python tracker
<http://bugs.python.org/
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
Changes by Florent Xicluna :
--
components: +Tests
stage: needs patch -> test needed
versions: +Python 3.2
___
Python tracker
<http://bugs.python.org/iss
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"
--
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
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
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
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
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
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file16167/issue7712_context_manager_v5.diff
___
Python tracker
<http://bugs.python.org/issue7
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file16039/issue7808_bsddb3_refleak.diff
___
Python tracker
<http://bugs.python.org/issue7808>
___
___
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
Florent Xicluna added the comment:
Closed duplicate reports #6366 and #6747.
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue5930>
___
___
Pytho
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
Changes by Florent Xicluna :
--
components: +Interpreter Core -Library (Lib)
stage: test needed -> needs patch
___
Python tracker
<http://bugs.python.org/iss
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()
__
Changes by Florent Xicluna :
--
nosy: +pitrou
___
Python tracker
<http://bugs.python.org/issue7808>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
It should be closed now.
--
priority: -> normal
stage: -> committed/rejected
status: open -> pending
___
Python tracker
<http://bugs.python.o
Changes by Florent Xicluna :
--
status: pending -> open
versions: -Python 2.6, Python 3.1
___
Python tracker
<http://bugs.python.org/issue6615>
___
___
Python-
Changes by Florent Xicluna :
--
status: open -> pending
___
Python tracker
<http://bugs.python.org/issue6615>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Florent Xicluna :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue5596>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Florent Xicluna :
--
type: performance -> resource usage
___
Python tracker
<http://bugs.python.org/issue7808>
___
___
Python-bugs-list mai
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
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
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file16188/patch_dict_assertRaises_py3k.diff
___
Python tracker
<http://bugs.python.org/issue7
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file16187/patch_dict_assertRaises.diff
___
Python tracker
<http://bugs.python.org/issue7892>
___
___
Changes by Florent Xicluna :
Added file: http://bugs.python.org/file16189/patch_dict_assertRaises.diff
___
Python tracker
<http://bugs.python.org/issue7892>
___
___
Pytho
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.
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
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:/
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file15468/issue6472_upstream.diff
___
Python tracker
<http://bugs.python.org/issue6472>
___
___
Pytho
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file15552/issue6472_upstream_py3k_v2.diff
___
Python tracker
<http://bugs.python.org/issue6472>
___
___
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
Changes by Florent Xicluna :
Added file:
http://bugs.python.org/file16192/issue6472_etree_upstream_py3k_v2.diff
___
Python tracker
<http://bugs.python.org/issue6
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
Florent Xicluna added the comment:
Here it is:
* http://codereview.appspot.com/207048/show
--
___
Python tracker
<http://bugs.python.org/issue6472>
___
___
Pytho
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
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
Changes by Florent Xicluna :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue7917>
___
___
Python-bugs-list mailing list
Unsubscri
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
Changes by Florent Xicluna :
Removed file:
http://bugs.python.org/file16218/issue7712_regrtest_remove_hacks.diff
___
Python tracker
<http://bugs.python.org/issue7
Changes by Florent Xicluna :
Added file: http://bugs.python.org/file16219/issue7712_regrtest_rm_hacks.diff
___
Python tracker
<http://bugs.python.org/issue7712>
___
___
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
Changes by Florent Xicluna :
--
dependencies: +Update ElementTree with upstream changes
___
Python tracker
<http://bugs.python.org/issue3475>
___
___
Python-bug
Changes by Florent Xicluna :
--
dependencies: +Update ElementTree with upstream changes
versions: +Python 3.2 -Python 3.1
___
Python tracker
<http://bugs.python.org/issue1538
Changes by Florent Xicluna :
--
nosy: +flox
priority: -> normal
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue3475>
___
___
Pyth
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue1538691>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Changes by Florent Xicluna :
--
components: +Tests
___
Python tracker
<http://bugs.python.org/issue7924>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Changes by Florent Xicluna :
--
stage: needs patch -> patch review
___
Python tracker
<http://bugs.python.org/issue7924>
___
___
Python-bugs-list mai
Changes by Florent Xicluna :
--
priority: -> normal
stage: -> needs patch
___
Python tracker
<http://bugs.python.org/issue7925>
___
___
Python-bugs-list
Changes by Florent Xicluna :
--
stage: needs patch -> test needed
___
Python tracker
<http://bugs.python.org/issue7925>
___
___
Python-bugs-list mailing list
Un
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
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
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
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
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
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
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
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.
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/
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
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.
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
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
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
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
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
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
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
Changes by Florent Xicluna :
--
nosy: +flox
priority: -> normal
stage: -> test needed
versions: +Python 2.7, Python 3.2
___
Python tracker
<http://bugs.python.org/
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
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
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
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
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
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
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
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
New submission from Florent Xicluna :
>>> import sys
>>> sys.setfilesystemencoding('foo')
>>> open('something')
Segmentation Fault
--
components: Interpreter Core
messages: 100507
nosy: flox
priority: normal
severit
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
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
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
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
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
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
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
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file16120/issue7849_check_warnings_v2.diff
___
Python tracker
<http://bugs.python.org/issue7849>
___
___
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
501 - 600 of 1386 matches
Mail list logo