[issue9847] Binary strings never compare equal to raw/normal strings

2010-09-13 Thread Florent Xicluna
Florent Xicluna added the comment: This is by design in Python 3 http://docs.python.org/py3k/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit -- nosy: +flox resolution: -> works for me status: open -> closed ___ Python tracker

[issue9315] The trace module lacks unit tests

2010-09-13 Thread Florent Xicluna
Florent Xicluna added the comment: You probably missed Lib/test/tracedmodules/ in r84780 ;) -- keywords: +buildbot nosy: +flox ___ Python tracker <http://bugs.python.org/issue9

[issue9315] The trace module lacks unit tests

2010-09-14 Thread Florent Xicluna
Florent Xicluna added the comment: It looks like lots of 3.1 buildbots are unhappy with r84783. But the test passes on my local 3.1 checkout. == FAIL: test_trace_list_comprehension (test.test_trace.TestLineCounts

[issue9315] The trace module lacks unit tests

2010-09-14 Thread Florent Xicluna
Florent Xicluna added the comment: The issue on 3.1 happens when Python is configured --with-computed-gotos. (this is the case on all 3.1 buildbots) But this issue does not happen on 3.x branch. On this branch computed-gotos is the default, but the switch --without-computed-gotos does not

[issue9895] Speed up test_subprocess

2010-09-18 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file18923/unnamed ___ Python tracker <http://bugs.python.org/issue9895> ___ ___ Python-bugs-list mailin

[issue9895] Speed up test_subprocess

2010-09-18 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file18924/unnamed ___ Python tracker <http://bugs.python.org/issue9895> ___ ___ Python-bugs-list mailin

[issue9895] Speed up test_subprocess

2010-09-18 Thread Florent Xicluna
Florent Xicluna added the comment: +1 fo faster regrtest -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue9895> ___ ___ Python-bugs-list mailin

[issue1686] string.Template.safe_substitute fail when overriding pattern attribute

2010-09-18 Thread Florent Xicluna
Florent Xicluna added the comment: Committed with r84888. -- assignee: -> flox resolution: accepted -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.pytho

[issue7768] raw_input should encode unicode prompt with std.stdout.encoding.

2010-10-04 Thread Florent Xicluna
Florent Xicluna added the comment: annoying stuff, indeed... $ python -c 'print u"La cl\xe9: "' La clé: $ python -c 'raw_input(u"La cl\xe9: ")' Traceback (most recent call last): File "", line 1, in UnicodeEncodeError: 'ascii'

[issue7537] test_format fails with -j combined with -v

2010-10-14 Thread Florent Xicluna
Florent Xicluna added the comment: Unable to reproduce, here. It seems fixed. -- nosy: +haypo resolution: -> works for me status: open -> pending ___ Python tracker <http://bugs.python.org/

[issue9409] doctest in python2.7 can't handle non-ascii characters

2010-10-14 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed in 2.7 with r85496 and r85501. Thank you. (in 3.2 only tests, r85495 and r85500) -- resolution: -> fixed stage: unit test needed -> committed/rejected status: open -> closed ___ Python track

[issue10019] json.dumps with indent = 0 not adding newlines

2010-10-15 Thread Florent Xicluna
Florent Xicluna added the comment: +1 to merge simplejson 2.1+ before 3.2 beta 1 (mid-november) -- nosy: +flox resolution: -> accepted stage: -> patch review type: -> behavior versions: +Python 3.1, Python 3.2 ___ Python track

[issue10131] deepcopying an xml.dom.minidom.Document generates an invalid XML document

2010-10-17 Thread Florent Xicluna
New submission from Florent Xicluna : >>> import copy >>> from xml.dom import minidom >>> doc = minidom.parseString('') >>> doc2 = copy.deepcopy(doc) >>> doc.toxml() u'' >>> doc2.toxml() u'' >>> mi

[issue10131] deepcopying an xml.dom.minidom.Document generates an invalid XML document

2010-10-17 Thread Florent Xicluna
Florent Xicluna added the comment: It works fine with 2.5 and 2.6. -- ___ Python tracker <http://bugs.python.org/issue10131> ___ ___ Python-bugs-list mailin

[issue7013] Httplib read routine is not tolerant to not well-formed chunked http responses.

2011-03-16 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue7013> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4492] httplib code thinks it closes connection, but does not

2011-03-16 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue4492> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue900744] catch invalid chunk length in httplib read routine

2011-03-16 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue900744> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7013] Httplib read routine is not tolerant to not well-formed chunked http responses.

2011-03-16 Thread Florent Xicluna
Florent Xicluna added the comment: Duplicate of #900744 -- resolution: -> duplicate status: open -> closed superseder: -> catch invalid chunk length in httplib read routine ___ Python tracker <http://bugs.python.o

[issue11849] ElementTree memory leak

2011-04-15 Thread Florent Xicluna
Florent Xicluna added the comment: Do you experience same issue with current versions of Python? (3.2 or 2.7) The package was upgraded in latest versions. -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue11

[issue11849] ElementTree memory leak

2011-04-15 Thread Florent Xicluna
Florent Xicluna added the comment: I've tested a small variant of your script, on OSX. It seems to behave correctly (with 2.5, 2.6, 2.7 and 3.1). You can force Python to release memory immediately by calling "gc.collect()". -- Added file: http://bugs.pytho

[issue11849] ElementTree memory leak

2011-04-15 Thread Florent Xicluna
Florent Xicluna added the comment: this is the output for 2.7.1: $ python2.7 issue11849_test.py *** Python 2.7.1 final --- PID STAT TIME SL RE PAGEIN VSZRSS LIM TSIZ %CPU %MEM COMMAND 0 2754 S+ 0:00.07 0 0 0 2441472 5372 -0 11,7 0,1

[issue7712] Add a context manager to change cwd in test.test_support

2010-01-16 Thread Florent Xicluna
Changes by Florent Xicluna : -- keywords: -needs review ___ Python tracker <http://bugs.python.org/issue7712> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7703] Replace buffer()-->memoryview() in Lib/ctypes/test/

2010-01-16 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15908/issue7703_binascii_a2b_hqx_v2.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7703] Replace buffer()-->memoryview() in Lib/ctypes/test/

2010-01-16 Thread Florent Xicluna
Florent Xicluna added the comment: Removed no-op str("...") conversions. -- Added file: http://bugs.python.org/file15910/issue7703_binascii_a2b_hqx_v3.diff ___ Python tracker <http://bugs.python.

[issue7661] compiling ctypes fails with non-ascii path

2010-01-16 Thread Florent Xicluna
Florent Xicluna added the comment: Still failing: buildbot "AMD64 Ubuntu wide 2.6" Revisions r77466 and r77467 need backport. -- keywords: +buildbot ___ Python tracker <http://bugs.python.

[issue4770] binascii module, inconsistent behavior: some functions accept unicode string input

2010-01-16 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15563/issue4770_binascii_py3k_v2.diff ___ Python tracker <http://bugs.python.org/issue4770> ___ ___

[issue4770] binascii module, inconsistent behavior: some functions accept unicode string input

2010-01-16 Thread Florent Xicluna
Florent Xicluna added the comment: Patch updated, after 7703 is merged in py3k. -- Added file: http://bugs.python.org/file15914/issue4770_binascii_py3k_v3.diff ___ Python tracker <http://bugs.python.org/issue4

[issue2531] float compared to decimal is silently incorrect.

2010-01-16 Thread Florent Xicluna
Changes by Florent Xicluna : -- versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/issue2531> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7721] Code in xrange documentation does not work

2010-01-16 Thread Florent Xicluna
Florent Xicluna added the comment: Confirmed. The snippet works for 3.1 and 2.7a2. from itertools import count, islice irange = lambda start, stop, step: islice(count(start, step), (stop-start+step-1)//step) The documentation needs update for 2.6 only. This kind of snippet seems backward

[issue7721] Code in xrange documentation does not work

2010-01-16 Thread Florent Xicluna
Florent Xicluna added the comment: Right. Insufficient test. This snippet looks better, if we provide a replacement for 2.6. >>> irange = lambda start, stop, step: islice(count(start), 0, stop-start, step) -- ___ Python track

[issue7721] Code in xrange documentation does not work

2010-01-16 Thread Florent Xicluna
Florent Xicluna added the comment: You will prefer this one. It is as fast as the 2.7 version. from itertools import count, takewhile irange = lambda start, stop, step: takewhile(lambda x: x>> list(irange(-2**65,2**65,2**61)) [-36893488147419103232L, -345876451382054

[issue7721] Code in xrange documentation does not work

2010-01-16 Thread Florent Xicluna
Florent Xicluna added the comment: You will prefer this one. It is as fast as the 2.7 version. The restrictions are described in the itertools documentation. from itertools import count, takewhile irange = lambda start, stop, step: takewhile(lambda x: x>> list(irange(-2**65,2**65

[issue7721] Code in xrange documentation does not work

2010-01-16 Thread Florent Xicluna
Florent Xicluna added the comment: If you need also negative steps: from itertools import count, takewhile def irange(start, stop, step): if step < 0: cond = lambda x: x > stop else: cond = lambda x: x < stop return takewhile(cond, (start + i * step for i

[issue7723] sqlite only accept buffer() for BLOB objects (input/output)

2010-01-17 Thread Florent Xicluna
New submission from Florent Xicluna : Since buffer() is deprecated in Python 2.7, it should not be used for BLOB input/output. SAMPLES = ( ('unicode', u''), ('bytes', ''), ('buffer', buffer('')), # ('bytearra

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Florent Xicluna added the comment: I've created issue7723 for sqlite3 module using buffer(). It's not so simple. -- dependencies: +sqlite only accept buffer() for BLOB objects (input/output) ___ Python tracker <http://bugs.python.

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15794/issue7092_json_sqlite_v2.diff ___ Python tracker <http://bugs.python.org/issue7092> ___ ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file15925/issue7092_json.diff ___ Python tracker <http://bugs.python.org/issue7092> ___ ___ Python-bug

[issue7723] sqlite only accept buffer() for BLOB objects (input/output)

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : -- priority: high -> critical ___ Python tracker <http://bugs.python.org/issue7723> ___ ___ Python-bugs-list mailing list Unsubscri

[issue7723] sqlite only accept buffer() for BLOB objects (input/output)

2010-01-17 Thread Florent Xicluna
Florent Xicluna added the comment: Sidenotes: - documentation for Python 3 is outdated - it may be a release blocker, since there's no alternative: currently it uses exclusively buffer() for BLOB object -- ___ Python tracker

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15787/issue7092_syntax_imports.diff ___ Python tracker <http://bugs.python.org/issue7092> ___ ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15789/issue7092_filterwarnings.diff ___ Python tracker <http://bugs.python.org/issue7092> ___ ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Florent Xicluna added the comment: Patches updated against trunk. -- Added file: http://bugs.python.org/file15927/issue7092_syntax_imports_v2.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file15928/issue7092_filterwarnings_v2.diff ___ Python tracker <http://bugs.python.org/issue7092> ___ ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15927/issue7092_syntax_imports_v2.diff ___ Python tracker <http://bugs.python.org/issue7092> ___ ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Florent Xicluna added the comment: Re-uploaded "syntax_imports_v2" with patch for test_bsddb.py -- Added file: http://bugs.python.org/file15929/issue7092_syntax_imports_v2.diff ___ Python tracker <http://bugs.python.

[issue1865] Bytes alias for 2.6

2010-01-17 Thread Florent Xicluna
Florent Xicluna added the comment: IMHO, this feature should be documented. -- assignee: -> georg.brandl components: +Documentation nosy: +flox, georg.brandl status: closed -> open versions: +Python 2.7 ___ Python tracker <http://bugs.p

[issue3599] test_pydoc after test_urllib2 causes exception in Popen.__del__

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue3599> ___ ___ Python-bugs-list mailing list Unsubscri

[issue7728] test_timeout should use "find_unused_port" helper

2010-01-17 Thread Florent Xicluna
New submission from Florent Xicluna : Some buildbot failure because of hard-coded port. test_timeout test test_timeout failed -- Traceback (most recent call last): File "/home/buildbot/cpython-ucs2/trunk.pitrou-ubuntu/build/Lib/test/test_timeout.py", line 149, in testAcc

[issue7729] min() working incorrectly for decimal and float values

2010-01-18 Thread Florent Xicluna
Changes by Florent Xicluna : -- superseder: -> float compared to decimal is silently incorrect. ___ Python tracker <http://bugs.python.org/issue7729> ___ _

[issue7732] imp.find_module crashes Python if there exists a directory named "__init__.py"

2010-01-18 Thread Florent Xicluna
Florent Xicluna added the comment: Confirmed on trunk. ~ $ mkdir foo.py ~ $ ./python -c 'import imp;imp.find_module("foo", ["."])' *** glibc detected *** ./python: double free or corruption (!prev): 0x024a7390 *** === Backtrace: = (...)

[issue7732] imp.find_module crashes Python if there exists a directory named "__init__.py"

2010-01-18 Thread Florent Xicluna
Florent Xicluna added the comment: Patch proposed. -- ___ Python tracker <http://bugs.python.org/issue7732> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7732] imp.find_module crashes Python if there exists a directory named "__init__.py"

2010-01-18 Thread Florent Xicluna
Changes by Florent Xicluna : -- keywords: +patch Added file: http://bugs.python.org/file15936/issue7732_find_module.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7732] imp.find_module crashes Python if there exists a directory named "__init__.py"

2010-01-18 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15936/issue7732_find_module.diff ___ Python tracker <http://bugs.python.org/issue7732> ___ ___ Pytho

[issue7732] imp.find_module crashes Python if there exists a directory named "__init__.py"

2010-01-18 Thread Florent Xicluna
Florent Xicluna added the comment: Removed the EnvironmentVarGuard from the test. It does not make sense. -- Added file: http://bugs.python.org/file15937/issue7732_find_module.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7740] Complete your registration to Jython tracker -- key9LzwsWHYNjTaULhZpojHxtdciVg1jFYL

2010-01-19 Thread Florent Xicluna
Changes by Florent Xicluna : -- ___ Python tracker <http://bugs.python.org/issue7740> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue7740] was spam

2010-01-19 Thread Florent Xicluna
Changes by Florent Xicluna : -- title: Complete your registration to Jython tracker -- key9LzwsWHYNjTaULhZpojHxtdciVg1jFYL -> was spam ___ Python tracker <http://bugs.python.org/iss

[issue7712] Add a context manager to change cwd in test.test_support

2010-01-19 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15907/temp_cwd_decorator.diff ___ Python tracker <http://bugs.python.org/issue7712> ___ ___ Pytho

[issue7712] Add a context manager to change cwd in test.test_support

2010-01-19 Thread Florent Xicluna
Florent Xicluna added the comment: Changed, after review from Ezio and other developpers. -- Added file: http://bugs.python.org/file15951/temp_cwd_decorator_v2.diff ___ Python tracker <http://bugs.python.org/issue7

[issue5684] test_zipfile writes in its test directory

2010-01-19 Thread Florent Xicluna
Florent Xicluna added the comment: Patch using the proposed context manager (#7712). -- keywords: +patch nosy: +flox Added file: http://bugs.python.org/file15952/issue5684_test_zipfile.diff ___ Python tracker <http://bugs.python.org/issue5

[issue7712] Add a context manager to change cwd in test.test_support

2010-01-19 Thread Florent Xicluna
Florent Xicluna added the comment: Different approach, after some other talks with Ezio and David. Now the directory is changed before running any test. The developer can assume that the current directory if always writable. It makes the tests easier to write, and repeatable. Additionally

[issue1729305] test_doctest fails when run in verbose mode

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: The patch did not work with latest trunk. Here is an updated version of the patch. Patch tested with different commands: ~ $ ./python -m test.regrtest test_doctest ~ $ ./python -m test.regrtest -v test_doctest ~ $ ./python -m test.regrtest -v test_doctest

[issue1729305] test_doctest fails when run in verbose mode

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: And for Python 3. (Slightly different) -- stage: -> patch review Added file: http://bugs.python.org/file15991/issue1729305_doctest_py3k.diff ___ Python tracker <http://bugs.python.org/issue1

[issue7764] Doc for itertools recipe consume is complicated and less efficient

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: Changeset r77721 should be ported to trunk, and py3k probably. -- nosy: +flox status: closed -> open ___ Python tracker <http://bugs.python.org/iss

[issue7269] buildbot occasional DBFileExistsError failures in test_bsddb3

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: It may occur on any platform. The patch fixes the issue. -- title: Windows buildbot occasional DBFileExistsError failures in test_bsddb3 -> buildbot occasional DBFileExistsError failures in test_bsddb3 ___ Pyt

[issue7772] test_py3kwarn fails when running the whole test suite

2010-01-24 Thread Florent Xicluna
New submission from Florent Xicluna : "test_py3kwarn" fails when running the whole test suite This is a known behaviour, because of extension modules loaded by previous tests (which cannot be "reloaded"). However, the warnings module store all the warnings when they app

[issue7772] test_py3kwarn fails when running the whole test suite

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: Here comes the patch: - use test_support.__warningregistry__ to check past warnings - filter the warnings with "(module|package)", to be sure that they are silenced by "test_support.import_module" - fix test_reduce_move (it f

[issue7772] test_py3kwarn fails when running the whole test suite

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +ncoghlan ___ Python tracker <http://bugs.python.org/issue7772> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15928/issue7092_filterwarnings_v2.diff ___ Python tracker <http://bugs.python.org/issue7092> ___ ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15929/issue7092_syntax_imports_v2.diff ___ Python tracker <http://bugs.python.org/issue7092> ___ ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15788/issue7092_check_warnings.diff ___ Python tracker <http://bugs.python.org/issue7092> ___ ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file15994/issue7092_syntax_imports_v3.diff ___ Python tracker <http://bugs.python.org/issue7092> ___ ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file15995/issue7092_check_warnings_v3.diff ___ Python tracker <http://bugs.python.org/issue7092> ___ ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: Re-uploaded after fixes for #7737. To remove all "-3" warnings: - apply the 4 patches - fix SQLite "buffer()" warnings (issue #7223) -- stage: committed/rejected -> patch review Added file: http://bu

[issue4570] Bad example in set tutorial

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: Confirmed in trunk and 3.1 -- nosy: +flox resolution: fixed -> stage: -> needs patch status: closed -> open versions: +Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.o

[issue7774] subprocess executable option wrong location

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: Confirmed on all Python versions. Same behaviour without subprocess: ~ $ sh -c "exec -a missingfile python -c 'import sys; print sys.executable'" /home/name/ -- nosy: +flox ___ P

[issue7774] subprocess executable option wrong location

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : -- versions: +Python 2.5, Python 2.6, Python 3.1 ___ Python tracker <http://bugs.python.org/issue7774> ___ ___ Python-bugs-list mailin

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

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : -- title: subprocess executable option wrong location -> sys.executable: wrong location if zeroth command argument is modified. ___ Python tracker <http://bugs.python.org/iss

[issue7775] str.rpartition(sep) -> (tail, sep, head)

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : -- type: -> behavior versions: +Python 2.6, Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/issue7775> ___ _

[issue7775] str.rpartition(sep) -> (tail, sep, head)

2010-01-25 Thread Florent Xicluna
Changes by Florent Xicluna : -- stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue7775> ___ ___ Python-bugs-list mailing list Unsubscri

[issue7615] unicode_escape codec does not escape quotes

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

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

2010-01-25 Thread Florent Xicluna
Florent Xicluna added the comment: It may help to find other methods: http://stackoverflow.com/questions/1023306/finding-current-executables-path-without-proc-self-exe By the way, it should not "absolutize" the path when sys.executable is irrelevant. IMHO, it should render an empt

[issue7783] test_normalization fails when NormalizationTest.txt is outdated

2010-01-26 Thread Florent Xicluna
New submission from Florent Xicluna : The test "test_normalization" download a file from the "unicode.org" website and keep it in the local cache "Lib/test/data/" directory for next runs. On test setup, it verifies if the 1st line contains the right version &qu

[issue7783] test_normalization fails when NormalizationTest.txt is outdated

2010-01-26 Thread Florent Xicluna
Florent Xicluna added the comment: Here is a patch. The function "test_support.open_urlresource" is enhanced with an optional argument "check" which receives a function. This "check" function accepts an open file as input and return False if the file is outdated

[issue7784] patch for making list/insert at the top of the list avoid memmoves

2010-01-26 Thread Florent Xicluna
Florent Xicluna added the comment: Steve, thank you for your patch. IMHO, it's better to provide a patch against trunk (Py2) when the optimization is not specific to 3.x. I merged it manually on my working copy, and all tests pass without leaking. Patch for Py2 attached. However, I a

[issue7564] test_ioctl may fail when run in background

2010-01-26 Thread Florent Xicluna
Florent Xicluna added the comment: Patch to skip the test with the appropriate warning in verbose mode. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file16010/issue7564_test_ioctl.diff ___ Python tracker &l

[issue7564] test_ioctl may fail when run in background

2010-01-26 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16010/issue7564_test_ioctl.diff ___ Python tracker <http://bugs.python.org/issue7564> ___ ___ Pytho

[issue7564] test_ioctl may fail when run in background

2010-01-26 Thread Florent Xicluna
Florent Xicluna added the comment: Patch to make the "skip" message visible in normal mode: test_ioctl test_ioctl skipped -- Process group 1844 is associated with /dev/tty And in the summary you have the information: 1 test skipped: test_ioctl 1 skip unexpected on linux2:

[issue7564] test_ioctl may fail when run in background

2010-01-26 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16013/issue7564_test_ioctl.diff ___ Python tracker <http://bugs.python.org/issue7564> ___ ___ Pytho

[issue7564] test_ioctl may fail when run in background

2010-01-26 Thread Florent Xicluna
Florent Xicluna added the comment: A little more explanatory. -- Added file: http://bugs.python.org/file16014/issue7564_test_ioctl_v2.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7787] Add an argument to test_support.open_urlresource to invalidate the cache

2010-01-26 Thread Florent Xicluna
New submission from Florent Xicluna : The function "open_urlresource" never invalidates its cache. If a file with same name is available in "Lib/test/data/", it is returned. There's a snippet in test_normalization which tries to invalidate the cache, but it fails beca

[issue7787] Add an argument to test_support.open_urlresource to invalidate the cache

2010-01-26 Thread Florent Xicluna
Changes by Florent Xicluna : -- priority: -> normal ___ Python tracker <http://bugs.python.org/issue7787> ___ ___ Python-bugs-list mailing list Unsubscri

[issue7788] segfault when deleting from a list using slice with very big `step' value

2010-01-26 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox, haypo ___ Python tracker <http://bugs.python.org/issue7788> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7788] segfault when deleting from a list using slice with very big `step' value

2010-01-26 Thread Florent Xicluna
Florent Xicluna added the comment: For the record: >>> del bytearray('%%%')[1::1<<333] Segmentation fault -- ___ Python tracker <http

[issue7787] Add an argument to test_support.open_urlresource to invalidate the cache

2010-01-26 Thread Florent Xicluna
Florent Xicluna added the comment: The check argument is any function which receives an open file and return a boolean. For example: - verify the version number on the first line (test_normalization) - calculate the MD5 -- keywords: +patch nosy: +r.david.murray stage: -> pa

[issue7783] test_normalization fails when NormalizationTest.txt is outdated

2010-01-26 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16007/issue7783_normalization.diff ___ Python tracker <http://bugs.python.org/issue7783> ___ ___

[issue7783] test_normalization fails when NormalizationTest.txt is outdated

2010-01-26 Thread Florent Xicluna
Florent Xicluna added the comment: Now the fix depends on #7787 -- dependencies: +Add an argument to test_support.open_urlresource to invalidate the cache stage: -> patch review Added file: http://bugs.python.org/file16017/issue7787_urlresource.d

[issue7783] test_normalization fails when NormalizationTest.txt is outdated

2010-01-26 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16017/issue7787_urlresource.diff ___ Python tracker <http://bugs.python.org/issue7783> ___ ___ Pytho

[issue7783] test_normalization fails when NormalizationTest.txt is outdated

2010-01-26 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file16018/issue7783_normalization_v2.diff ___ Python tracker <http://bugs.python.org/issue7783> ___ ___

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

2010-01-26 Thread Florent Xicluna
New submission from Florent Xicluna : ~ $ ./python -m test.regrtest -R 1:0: test_multibytecodec_support test_codecencodings_tw test_codecencodings_jp test_multibytecodec_support test_codecencodings_tw test test_codecencodings_tw failed -- Traceback (most recent call last): File "./Lib

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

2010-01-27 Thread Florent Xicluna
Florent Xicluna added the comment: Thank you for the patch and the analysis. It fixes the recursion. -- stage: test needed -> patch review ___ Python tracker <http://bugs.python.org/iss

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