[issue8133] test_imp fails on OS X; filename normalization issue.

2010-03-20 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with r79144 on 3.x and r79146 on 3.1. -- resolution: accepted -> fixed stage: commit review -> committed/rejected status: open -> pending ___ Python tracker <http://bugs.python.o

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

2010-03-20 Thread Florent Xicluna
Florent Xicluna added the comment: More warnings silenced with r79165. -- ___ Python tracker <http://bugs.python.org/issue7092> ___ ___ Python-bugs-list mailin

[issue7849] Improve "test_support.check_warnings()"

2010-03-20 Thread Florent Xicluna
Florent Xicluna added the comment: Done on trunk with r78758 and r79049. -- resolution: accepted -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

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

2010-03-21 Thread Florent Xicluna
Florent Xicluna added the comment: other py3k warnings silenced with r79187 r79188 r79189 -- ___ Python tracker <http://bugs.python.org/issue7092> ___ ___ Pytho

[issue8179] Test failure in test_macpath.py test_realpath (Mac OS X)

2010-03-21 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with r79195 and r79196. -- resolution: accepted -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-21 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16600/issue8180_pep277_additions.diff ___ Python tracker <http://bugs.python.org/issue8180> ___ ___

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-21 Thread Florent Xicluna
Florent Xicluna added the comment: New patch: removed the offending codepoint '\ufad1'. Please try again on OS X, and windows. -- Added file: http://bugs.python.org/file16611/issue8180_pep277_additions_v2.diff ___ Python trac

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-21 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16611/issue8180_pep277_additions_v2.diff ___ Python tracker <http://bugs.python.org/issue8

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-21 Thread Florent Xicluna
Florent Xicluna added the comment: New patch, fixing test_listdir on OS X (hopefully). -- Added file: http://bugs.python.org/file16612/issue8180_pep277_additions_v3.diff ___ Python tracker <http://bugs.python.org/issue8

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-21 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with r79207 (2.x) and r79209 (3.x). Thank you Michael for testing it. -- resolution: accepted -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python track

[issue7661] compiling ctypes fails with non-ascii path

2010-03-21 Thread Florent Xicluna
Florent Xicluna added the comment: Now paths with spaces are explicitly rejected, after the upgrade to libffi 3.0.9. (Issue #8142) -- nosy: +doko resolution: -> out of date stage: patch review -> committed/rejected status: open -&g

[issue3890] ssl.SSLSocket.recv() implementation may not work with non-blocking sockets

2010-03-22 Thread Florent Xicluna
Florent Xicluna added the comment: This last issue seems related to SSL 0.9.8m: http://bugs.python.org/issue8108 -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue3

[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

2010-03-22 Thread Florent Xicluna
Florent Xicluna added the comment: http://codereview.appspot.com/664043 (patch against 3.x) IIUC, the changes proposed (for 3.2) are: - default encoding or bool(encoding) == False ==> fallback to 'US-ASCII' encoding (instead of Unicode) - encoding=str or enco

[issue8142] libffi update to 3.0.9

2010-03-22 Thread Florent Xicluna
Florent Xicluna added the comment: See this post, about Solaris failure: http://bugs.python.org/issue1544339#msg101485 And the proposed patch: http://sourceware.org/ml/libffi-discuss/2010/msg00016.html -- nosy: +nick ___ Python tracker <h

[issue8142] libffi update to 3.0.9

2010-03-22 Thread Florent Xicluna
Florent Xicluna added the comment: Ignore my last comment. It is not relevant, and the patch is already in 3.0.9. -- ___ Python tracker <http://bugs.python.org/issue8

[issue6543] traceback presented in wrong encoding

2010-03-22 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox stage: -> patch review ___ Python tracker <http://bugs.python.org/issue6543> ___ ___ Python-bugs-list mai

[issue2223] regrtest.py -R not working

2010-03-22 Thread Florent Xicluna
Florent Xicluna added the comment: No known issues with "regrtest -R :" on trunk. -- nosy: +flox resolution: -> out of date stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bug

[issue8201] test_logging fails if the loggerDict contains non-ASCII loggers.

2010-03-22 Thread Florent Xicluna
New submission from Florent Xicluna : Following test case fails with a UnicodeDecodeError: import logging import logging.config logging.getLogger("\xab\xd7\xbb") logging.getLogger(u"LOG") logging.config.dictConfig({'version': 1}) Same behavior on "non-ASCII

[issue8201] test_logging fails if the loggerDict contains non-ASCII loggers.

2010-03-22 Thread Florent Xicluna
Florent Xicluna added the comment: Proposed patch with tests. -- keywords: +patch Added file: http://bugs.python.org/file16621/issue8201_logging_config.diff ___ Python tracker <http://bugs.python.org/issue8

[issue8200] logging module errors out if log called when multiprocessing module not finished loading

2010-03-22 Thread Florent Xicluna
Florent Xicluna added the comment: I would suggest something like: if logMultiprocessing: try: self.processName = sys.modules['multiprocessing'] .current_process().name except StandardError: self.processName = 'MainProcess' else: sel

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

2010-03-22 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with r79288 and r79295. -- priority: -> normal resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.pytho

[issue7666] test_lib2to3 fails if path contains space

2010-03-22 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15818/lib2to3_path_with_space.py ___ Python tracker <http://bugs.python.org/issue7666> ___ ___ Pytho

[issue7666] test_lib2to3 fails if path contains space

2010-03-22 Thread Florent Xicluna
Florent Xicluna added the comment: Ultimate pach, tested with this insane path: >>> os.getcwdu() u'/home/user/dev/python/py2u;\u2026 \u2192 u"n\\ic\'ode' It should fix some buildbot failures. -- assignee: -> benjamin.peterson components: +2to3 (2.

[issue8205] test_multiprocessing failure

2010-03-22 Thread Florent Xicluna
Florent Xicluna added the comment: It happens only when sysconfig.is_python_build() is True (i.e. build directory). Proposed patch fixes it. -- keywords: +patch Added file: http://bugs.python.org/file16625/issue8205_sys_path.diff ___ Python tracker

[issue7667] test_doctest fails with non-ascii path

2010-03-22 Thread Florent Xicluna
Florent Xicluna added the comment: Really fixed with r79307. -- superseder: test_doctest fails when run in verbose mode -> ___ Python tracker <http://bugs.python.org/iss

[issue7667] test_doctest fails with non-ascii path

2010-03-22 Thread Florent Xicluna
Changes by Florent Xicluna : -- resolution: accepted -> fixed ___ Python tracker <http://bugs.python.org/issue7667> ___ ___ Python-bugs-list mailing list Un

[issue8207] test_pep277 fails on OS X

2010-03-23 Thread Florent Xicluna
Florent Xicluna added the comment: This patch should fix it... "HFS Plus uses a variant of Normal Form D in which U+2000 through U+2FFF, U+F900 through U+FAFF, and U+2F800 through U+2FAFF are not decomposed." I believed there was only one Unicode... But obviously the Apple&#x

[issue8207] test_pep277 fails on OS X

2010-03-23 Thread Florent Xicluna
Florent Xicluna added the comment: > Could you provide a reference link for this quote ? I put the link in the patch: http://developer.apple.com/mac/library/qa/qa2001/qa1173.html -- ___ Python tracker <http://bugs.python.org/iss

[issue7668] test_httpservers fails with non-ascii path

2010-03-23 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with r79297 -- priority: -> normal resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.pytho

[issue7880] sysconfig does not like symlinks

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

[issue8133] test_imp fails on OS X; filename normalization issue.

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

[issue8205] test_multiprocessing failure

2010-03-23 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with r79310. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue8223] memoryview is not documented in the Python library doc

2010-03-24 Thread Florent Xicluna
Florent Xicluna added the comment: Duplicate of #7696. -- nosy: +flox resolution: -> duplicate status: open -> closed type: -> behavior ___ Python tracker <http://bugs.python.o

[issue8223] memoryview is not documented in the Python library doc

2010-03-24 Thread Florent Xicluna
Changes by Florent Xicluna : -- superseder: -> Improve Memoryview/Buffer documentation ___ Python tracker <http://bugs.python.org/issue8223> ___ ___ Python-

[issue7696] Improve Memoryview/Buffer documentation

2010-03-24 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +haypo priority: -> normal stage: -> needs patch type: -> behavior ___ Python tracker <http://bugs.python.o

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-24 Thread Florent Xicluna
Florent Xicluna added the comment: This patch solves the problem with 0.9.8m on my Debian workstation. Actually there's 4 kind of errors on shutdown(): - SSL_ERROR_WANT_READ - SSL_ERROR_WANT_WRITE - socket.error: errno.PIPE (32) - socket.error: 0 Since the command is "shutdo

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-25 Thread Florent Xicluna
Florent Xicluna added the comment: I don't know if it is better to fix it in the ftplib or the ssl module. The previous patch fixes it at the SSL level (stdlib only). This patch implements the fix at the ftplib level (stdlib + test). -- Added file: http://bugs.python.org/file

[issue7992] Backport capsule object

2010-03-25 Thread Florent Xicluna
Florent Xicluna added the comment: All windows buildbots fail to compile: http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%20trunk http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%20trunk http://www.python.org/dev/buildbot/all/builders/x86%20Windows7%20trunk

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-25 Thread Florent Xicluna
Florent Xicluna added the comment: You're right, there's no need to catch the socket error in "ftplib" module. Here is the result of the "debugging" patch in the console: $ ./python -m test.regrtest -uall test_ftplib test_ftplib success success success success s

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-25 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16641/issue8108_ftplib_ssl_098m.diff ___ Python tracker <http://bugs.python.org/issue8108> ___ ___

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-25 Thread Florent Xicluna
Florent Xicluna added the comment: Patch ftplib/test_ftplib updated. It is as before (0.9.8k): SSL_ERROR_WANT_READ is ignored on connection unwrap(). -- Added file: http://bugs.python.org/file16648/issue8108_ftplib_ssl_098m_v2.diff ___ Python

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-25 Thread Florent Xicluna
Florent Xicluna added the comment: Giampaolo, IMHO you need 0.9.8m to reproduce the issue. I installed it from the Debian testing repo (I'm on debian). ~ $ apt-cache policy openssl openssl: Installed : 0.9.8m-2 Candidate : 0.9.8m-2 Table de version : *** 0.9.8m-2 0 40

[issue8246] test_signal in test_subprocess displays traceback

2010-03-27 Thread Florent Xicluna
Florent Xicluna added the comment: It is already fixed in 2.7, with r79344, r79346 and r79350. Need porting to other branches. -- resolution: -> out of date stage: needs patch -> committed/rejected status: open -> pending ___ Python track

[issue8246] test_signal in test_subprocess displays traceback

2010-03-27 Thread Florent Xicluna
Florent Xicluna added the comment: Merged in 3.x with r79473 -- assignee: gregory.p.smith -> flox status: pending -> closed ___ Python tracker <http://bugs.python.org/

[issue8207] test_pep277 fails on OS X

2010-03-27 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed on trunk with r79426 and on 3.x with r79474 -- resolution: accepted -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue7900] posix.getgroups() failure on Mac OS X

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

[issue8249] expat.ParserCreate - SystemError bad argument to internal function

2010-03-28 Thread Florent Xicluna
New submission from Florent Xicluna : First call gave a segfault. Following calls were successful. Python 2.7a4+ (trunk:79443M, Mar 26 2010, 16:46:11) ~ $ python ../svnmerge.py -F -M merge -r79450,79427,79426,79425,79382,79310,79297 Traceback (most recent call last): File "../svnmer

[issue6906] Tkinter sets an unicode environment variable on win32

2010-03-28 Thread Florent Xicluna
Florent Xicluna added the comment: Ported to 2.6 with r79336 -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue6906> ___ ___ Python-

[issue6488] ElementTree documentation refers to "path" with no explanation, and inconsistently

2010-03-28 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +XML stage: -> needs patch versions: -Python 3.0 ___ Python tracker <http://bugs.python.org/issue6488> ___ ___ Py

[issue6488] ElementTree documentation refers to "path" with no explanation, and inconsistently

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

[issue8256] TypeError: bad argument type for built-in operation

2010-03-28 Thread Florent Xicluna
Florent Xicluna added the comment: Confirmed. There's something wrong around the doctest._SpoofOut class. This script triggers the same bug (both 3.x and 3.1). Output: $ ./python issue8256_case.py prompt: Traceback (most recent call last): File "issue8256_case.py", line

[issue8256] TypeError: bad argument type for built-in operation

2010-03-28 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16682/issue8256_case.py ___ Python tracker <http://bugs.python.org/issue8256> ___ ___ Python-bug

[issue8256] TypeError: bad argument type for built-in operation

2010-03-28 Thread Florent Xicluna
Florent Xicluna added the comment: Right. It does not involve doctest. # import io, sys original_stdout = sys.stdout try: sys.stdout = io.StringIO() input("prompt:") print() finally: sys.stdout = original_stdout --

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with "success" result.

2010-03-30 Thread Florent Xicluna
New submission from Florent Xicluna : The regrtest returns "success", even if the test suite is not run completely. The last running test is "test_unittest". http://www.python.org/dev/buildbot/all/builders/x86%20FreeBSD%20trunk/builds/171 ... 51 tests

[issue8265] test_float fails on ARM Linux EABI

2010-03-30 Thread Florent Xicluna
New submission from Florent Xicluna : All the ARM Linux EABI buildbots fail on the same test. http://www.python.org/dev/buildbot/all/builders/ARM%20Linux%20EABI%202.6/builds/5 test_float test test_float failed -- Traceback (most recent call last): File "/home/pybot/buildarea-armeab

[issue8265] test_float fails on ARM Linux EABI

2010-03-30 Thread Florent Xicluna
Florent Xicluna added the comment: Same failure on trunk: http://www.python.org/dev/buildbot/all/builders/ARM%20Linux%20EABI%20trunk/builds/12 -- ___ Python tracker <http://bugs.python.org/issue8

[issue3409] ElementPath.Path.findall problem with unicode input

2010-03-30 Thread Florent Xicluna
Changes by Florent Xicluna : -- priority: -> normal resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.pytho

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with "success" result.

2010-03-30 Thread Florent Xicluna
Florent Xicluna added the comment: Sorry, but I don't have such environment. Proposed patch will add a notice if the regrtest is interrupted (Ctrl+C). And the exitcode is set to 1, meaning test failed for the buildbot. -- keywords: +patch Added file: http://bugs.python.org/file

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with "success" result.

2010-03-30 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16697/issue8263_regtest_SIGINT.diff ___ Python tracker <http://bugs.python.org/issue8263> ___ ___

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with "success" result.

2010-03-30 Thread Florent Xicluna
Florent Xicluna added the comment: Slightly different, with a count of omitted tests And removed "All .. tests OK" is there's some tests omitted. -- Added file: http://bugs.python.org/file16698/issue8263_regtest_SIGINT_v2.diff ___

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with "success" result.

2010-03-30 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16698/issue8263_regtest_SIGINT_v2.diff ___ Python tracker <http://bugs.python.org/issue8263> ___ ___

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with "success" result.

2010-03-30 Thread Florent Xicluna
Florent Xicluna added the comment: Regrtest.py fixed with r79497 to report keyboard interrupt as a "failure". -- ___ Python tracker <http://bugs.python.

[issue7643] What is a Unicode line break character?

2010-03-30 Thread Florent Xicluna
Florent Xicluna added the comment: Committed to trunk: r79494 and r79496. Afaict, it changes Py_UNICODE_ISLINEBREAK, _PyUnicode_IsLinebreak and the Unicode functions which depend on it (splitlines(), _sre module). -- ___ Python tracker <h

[issue7643] What is a Unicode line break character?

2010-03-30 Thread Florent Xicluna
Florent Xicluna added the comment: Ported to 3.x with r79506 -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue2521] ABC caches should use weak refs

2010-03-30 Thread Florent Xicluna
Florent Xicluna added the comment: > ABCTestCase.validate_isinstance ... specifically tests that > both new-style and old-style classes work... I fixed some parts with issue #7624, and changeset r78800. -- ___ Python tracker

[issue8273] move test_support into the unittest package

2010-03-31 Thread Florent Xicluna
Florent Xicluna added the comment: > Maybe we could move the appropriate stuff and get rid of the > test_support doc page altogether. And when we move stuff to unittest > maybe we could take the opportunity to clean up any warts in the > interfaces. +1 I don't like the b

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

2010-03-31 Thread Florent Xicluna
Florent Xicluna added the comment: Now the "-Wd" and "-3" flags are active on some buildbots. And the first failures ... Need to backport fixes from py3k branch for: - cgitb "SyntaxWarning: tuple parameter unpacking has been removed in 3.x" - idlelib "

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

2010-04-01 Thread Florent Xicluna
Florent Xicluna added the comment: Other py3k warnings: lib\distutils\util.py:209: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) return apply(os.path.join, paths) lib\distutils\command\build_ext.py:679: DeprecationWarning: apply() not supported in 3.x; use

[issue4577] distutils: -3 warnings (apply)

2010-04-01 Thread Florent Xicluna
Florent Xicluna added the comment: Superseded by #7092 -- nosy: +flox resolution: -> out of date status: open -> closed superseder: -> Test suite emits many DeprecationWarnings when -3 is enabled type: compile error -> behavior versions:

[issue1613130] str.split creates new string even if pattern not found

2010-04-01 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with #7622, and USE_FAST flag removed. -- nosy: +flox resolution: -> out of date stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue1613130] str.split creates new string even if pattern not found

2010-04-01 Thread Florent Xicluna
Changes by Florent Xicluna : -- superseder: -> [patch] improve unicode methods: split() rsplit() and replace() ___ Python tracker <http://bugs.python.org/issue1

[issue5290] subprocess.Popen.communicate does not encode unicode strings

2010-04-01 Thread Florent Xicluna
Florent Xicluna added the comment: AFAICT 2.6 and 2.7 behave correctly. -- nosy: +flox resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue5447] future unicode literals and r'\u'

2010-04-01 Thread Florent Xicluna
Florent Xicluna added the comment: Duplicate of #2570. -- nosy: +flox resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue5447] future unicode literals and r'\u'

2010-04-01 Thread Florent Xicluna
Changes by Florent Xicluna : -- superseder: -> backport 3.0-style \u/\U processing in raw strings when unicode_literals is imported from __future__ ___ Python tracker <http://bugs.python.org/iss

[issue2570] backport 3.0-style \u/\U processing in raw strings when unicode_literals is imported from __future__

2010-04-01 Thread Florent Xicluna
Changes by Florent Xicluna : -- keywords: -26backport nosy: +benjamin.peterson, flox, pooryorick, zhirsch ___ Python tracker <http://bugs.python.org/issue2

[issue1498930] Generate from Unicode database instead of manualy coding.

2010-04-01 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with #1571184. -- nosy: +flox resolution: -> duplicate stage: patch review -> committed/rejected status: open -> closed superseder: -> Generate numeric/space/linebreak from Unicode database. __

[issue8281] test_gdb_sample fails

2010-04-01 Thread Florent Xicluna
Changes by Florent Xicluna : -- keywords: +buildbot priority: -> normal ___ Python tracker <http://bugs.python.org/issue8281> ___ ___ Python-bugs-list mai

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

2010-04-01 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with r79558, except test_multiprocessing. -- ___ Python tracker <http://bugs.python.org/issue7092> ___ ___ Python-bug

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

2010-04-02 Thread Florent Xicluna
Florent Xicluna added the comment: Additional fixes: r79576, r79577, r79578 (idlelib package and some test modules) -- ___ Python tracker <http://bugs.python.org/issue7

[issue8287] python-gdb.py triggers compile errors on FreeBSD and Solaris

2010-04-02 Thread Florent Xicluna
New submission from Florent Xicluna : The compile step fails on "python-gdb.py" on some buildbots. # sparc solaris 10 gcc running build_scripts [51847 refs] ./install-sh -c python-gdb.py ./install-sh: python-gdb.py does not exist *** Error code 1 make: Fatal error: Comm

[issue7992] Backport capsule object

2010-04-02 Thread Florent Xicluna
Florent Xicluna added the comment: The PendingDeprecationWarning is still spit by the bsddb module. $ ./python -Wd -m test.regrtest test_bsddb test_bsddb ./Lib/importlib/__init__.py:37: PendingDeprecationWarning: The CObject type is marked Pending Deprecation in Python 2.7. Please use

[issue7992] Backport capsule object

2010-04-02 Thread Florent Xicluna
Florent Xicluna added the comment: Ok, I put Jésus in the nosy list. It makes the test___all__ fail on trunk because it checks the warnings raised during import. AFAIU, the patch is something like: -#if (PY_VERSION_HEX < 0x0302) +#if (PY_VERSION_HEX < 0x0207) -- nosy:

[issue8314] test_ctypes fails in test_ulonglong on sparc buildbots

2010-04-05 Thread Florent Xicluna
Florent Xicluna added the comment: This bug is already reported here: http://bugs.python.org/issue8142#msg101134 -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue8

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-05 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue8108> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8299] Improve GIL in 2.7

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

[issue8352] imp.find_module of a .py ending dir causes glibc double free crash

2010-04-09 Thread Florent Xicluna
Florent Xicluna added the comment: It looks like a duplicate of #7732. -- nosy: +flox resolution: -> duplicate status: open -> closed superseder: -> imp.find_module crashes Python if there exists a directory named "__init__.py" ___

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

2010-04-09 Thread Florent Xicluna
Florent Xicluna added the comment: see also http://bugs.python.org/issue8352#msg102662 -- nosy: +doko, l0nwlf, ncoghlan, orsenthil ___ Python tracker <http://bugs.python.org/issue7

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

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

[issue8529] subclassing builtin class (str, unicode, list...) needs to override __getslice__

2010-04-25 Thread Florent Xicluna
New submission from Florent Xicluna : It looks like a bug, because __getslice__ is deprecated since 2.0. If you subclass a builtin type and override the __getitem__ method, you need to override the (deprecated) __getslice__ method too. And if you run your program with "python -3", it

[issue8530] Stringlib fastsearch can read beyond the front of an array

2010-04-25 Thread Florent Xicluna
Florent Xicluna added the comment: I guess we don't have the same issue with the find() implementation? if (!STRINGLIB_BLOOM(mask, s[i+m])) Because: * len(s) = n = (w + m) * the loop condition is (i <= w) ==> s[w+m] is beyond the array, but it is '\0' pr

[issue8530] Stringlib fastsearch can read beyond the front of an array

2010-04-25 Thread Florent Xicluna
Florent Xicluna added the comment: This patch should fix it. Since there's no failure, I don't find any test to add. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file17078/issue8530_rfind.diff _

[issue8529] subclassing builtin class (str, unicode, list...) needs to override __getslice__

2010-04-25 Thread Florent Xicluna
Florent Xicluna added the comment: OK, but it yields Python 3 DeprecationWarning in the subclass. And there's no workaround to get rid of the deprecation. If it is the correct behaviour, maybe some words could be added about subclassing builtin types: http://docs.python.org/refe

[issue8529] subclassing builtin class (str, unicode, list...) needs to override __getslice__

2010-04-25 Thread Florent Xicluna
Florent Xicluna added the comment: OK, I said nothing, it is already in the doc. :-) -- ___ Python tracker <http://bugs.python.org/issue8529> ___ ___ Python-bug

[issue8565] Always run regrtest.py with -bb

2010-04-29 Thread Florent Xicluna
Florent Xicluna added the comment: +1 to force -bb on buildbots -1 to hack regrtest. IMHO it should be added to ./Makefile.pre.in and PCbuild/rt.bat, like other warning switches ( "-Wd" "-tt" "-3"). -- nosy: +

[issue1285086] urllib.quote is too slow

2010-05-11 Thread Florent Xicluna
Florent Xicluna added the comment: I've tested a variant of the previous patch. On my laptop, it gives good performance for simple cases, and the penalty for real-quoting case is very low. I've tested a short-circuit for the unquote() function too. -- nosy: +flox Added

[issue1285086] urllib.quote is too slow

2010-05-11 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file17290/issue1285086_fast_quote.diff ___ Python tracker <http://bugs.python.org/issue1285086> ___ ___

[issue1285086] urllib.quote is too slow

2010-05-11 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file17291/issue1285086_fast_quote.diff ___ Python tracker <http://bugs.python.org/issue1285086> ___ ___

[issue1285086] urllib.quote is too slow

2010-05-11 Thread Florent Xicluna
Florent Xicluna added the comment: New patch, using str.translate instead of regexp. It is faster for normal cases (85% less time than stdlib quote), and the penalty for the real-quoting case is less than 5%. It should apply to 3.x with some adaptation. -- Added file: http

[issue1285086] urllib.quote is too slow

2010-05-11 Thread Florent Xicluna
Florent Xicluna added the comment: The speed test script did not work on 2.5 (because timeit.Timer does not accept a callable). Fixed version, which benchmarks the str.translate(...) version. Change the '_new_quote_setup' assignment to test other variants. -- Added

[issue1285086] urllib.quote is too slow

2010-05-11 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file17297/urllib_quote_speed_test.py ___ Python tracker <http://bugs.python.org/issue1285086> ___ ___

<    3   4   5   6   7   8   9   10   11   12   >