[issue7182] For non-debug builds, the cygwinccompiler.py should define NDEBUG

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +Windows ___ Python tracker <http://bugs.python.org/issue7182> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9555] transient crashes on "x86 XP-4" buildbot: test_file, test_file2k, test_bsddb3

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +Windows ___ Python tracker <http://bugs.python.org/issue9555> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9555] transient crashes on "x86 XP-4" buildbot: test_file, test_file2k, test_bsddb3

2010-08-10 Thread Florent Xicluna
Florent Xicluna added the comment: IIUC code -1073741819 (0XC005) is an acces violation. Some other issues with same error code: #6869, #8849, ... -- ___ Python tracker <http://bugs.python.org/issue9

[issue9555] transient crashes on "x86 XP-4" buildbot: test_file, test_file2k, test_bsddb3

2010-08-10 Thread Florent Xicluna
New submission from Florent Xicluna : There's frequent crashes on the "x86 XP-4" buildbot. On 2.6: 83915: # something crashed: test_file 83913: success 83743: # something crashed: test_file 83738: success 83721: success 83718: # something crashed: test_file 83704:

[issue9546] buildbot: if a compile error occurs, the "clean" step is skipped

2010-08-09 Thread Florent Xicluna
Florent Xicluna added the comment: I agree we should run the "clean" step as a finally step, even if "compile error" occurs. It is not required in case of "svn exception", I guess. Btw, the exact command is "make distclean" ("make

[issue4726] doctest gets line numbers wrong due to quotes in comments

2010-08-09 Thread Florent Xicluna
Florent Xicluna added the comment: Out of date. -- nosy: +flox status: pending -> closed ___ Python tracker <http://bugs.python.org/issue4726> ___ ___ Python-

[issue8685] set(range(100000)).difference(set()) is slow

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

[issue9545] Adding _collections to static build

2010-08-09 Thread Florent Xicluna
Florent Xicluna added the comment: See report on issue #9546: the "clean" step should remove "Modules/Setup", but it is skipped. -- dependencies: +buildbot: if a compile error occurs, the "clean" step is skipped nosy: +flox

[issue9546] buildbot: if a compile error occurs, the "clean" step is skipped

2010-08-09 Thread Florent Xicluna
New submission from Florent Xicluna : When the buildbot fails to compile, the "clean" step is not run. http://www.python.org/dev/buildbot/builders/i386%20Ubuntu%203.x/builds/1838/ This is a problem for issue #9545 where the Modules/Setup.dist cannot be copied to Modules/Setup o

[issue6231] ElementInclude may drop text

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: Thanks Neil. Pushed with r83864. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

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

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: See also patch attached to #2864 which proposes to add an XPath example to the documentation. -- nosy: +guettli, littlemog, mbone ___ Python tracker <http://bugs.python.org/issue6

[issue2864] etree: Add XPath documentation

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: There's another issue about lack of documentation on this topic. See #6488. -- assignee: d...@python -> resolution: -> duplicate status: open -> closed superseder: -> ElementTree documentation refers to "path"

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

2010-08-08 Thread Florent Xicluna
Changes by Florent Xicluna : -- stage: unit test needed -> committed/rejected status: pending -> closed ___ Python tracker <http://bugs.python.org/

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

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with r83859 (on 3.2). -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

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

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: According to message http://bugs.python.org/issue7732#msg102702, someone should write a patch for 3.x too. -- assignee: flox -> stage: patch review -> needs patch versions: +Python 3.1, Python 3.2 ___

[issue8142] libffi update to 3.0.9

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: "x86 FreeBSD 3.x" buildbot seems to compile "libffi". -- resolution: -> fixed status: open -> closed ___ Python tracker <htt

[issue5930] Transient error in multiprocessing (test_number_of_objects)

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: Confirmed on some buildbots. -- ___ Python tracker <http://bugs.python.org/issue5930> ___ ___ Python-bugs-list mailin

[issue7772] test_py3kwarn fails when running the whole test suite

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with r82149. -- dependencies: +buildbot: DeprecationWarning not raised for icglue (test_py3kwarn.TestStdlibRemovals) status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue8277] ElementTree won't parse comments

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: IIUC it works like that by design. The ElementTree 1.3 (which is part of Python 2.7 and 3.2) allows to define your own parser which parses comments (see previous comments). Close as "won't fix"? -- nosy: +scoder resolution: -&

[issue8110] subprocess.py doesn't correctly detect Windows machines

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

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

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: Documentation patch accepted, for the "path == XPath" confusion and clarify other points too. http://bugs.python.org/issue6488#msg90528 -- assignee: effbot -> type: -> behavior ___ Pytho

[issue7214] TreeBuilder.end(tag) differs between cElementTree and ElementTree

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: The verification of the matching between start and end tag is performed in a debug "assert" statement in the Python version. This check is ignored if the module is compiled with -O. It is ignored in the C version, too. I would suggest to keep t

[issue7214] TreeBuilder.end(tag) differs between cElementTree and ElementTree

2010-08-08 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16571/unnamed ___ Python tracker <http://bugs.python.org/issue7214> ___ ___ Python-bugs-list mailin

[issue4617] SyntaxError when free variable name is also an exception target

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: This bug is waiting for unit tests and a small patch cleanup. See previous message: http://bugs.python.org/issue4617#msg99950 -- keywords: -needs review nosy: +ezio.melotti, scoder versions: +Python 3.2 -Python 3.0

[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: Done for 3.2 with r83851. Still opened, if someone wants to propose a patch for 3.1. -- assignee: effbot -> keywords: +easy -patch stage: commit review -> needs patch versions: -Python 3.2 ___ Python t

[issue7564] test_ioctl may fail when run in background

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with revision 83839. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue4608] urllib.request.urlopen does not return an iterable object

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: Thanks, Brian. Pushed with revision 83833. -- assignee: facundobatista -> flox nosy: +flox resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tr

[issue9522] xml.etree.ElementTree forgets the encoding

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

[issue9522] xml.etree.ElementTree forgets the encoding

2010-08-06 Thread Florent Xicluna
Florent Xicluna added the comment: It behaves as documented. Moved to "feature request". http://docs.python.org/library/xml.etree.elementtree.html -- components: +XML type: behavior -> feature request versions: +Python 3.2, Python 3.

[issue9364] some problems with the documentation of pydoc

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna : -- keywords: +easy nosy: +flox stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue9364> ___ ___ Python-bugs-lis

[issue9273] 2to3 to simultaneously do code AND doctests

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +benjamin.peterson title: 2to to simultaneously do code AND doctests -> 2to3 to simultaneously do code AND doctests type: -> feature request ___ Python tracker <http://bugs.python.org/

[issue9396] Standardise (and publish?) cache handling in standard library

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

[issue9403] cElementTree: replace PyObject_DEL() by Py_DECREF() to fix a crash in pydebug mode

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

[issue9402] pyexpat: replace PyObject_DEL() by Py_DECREF() to fix a crash in pydebug mode

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +Extension Modules, XML -Library (Lib) nosy: +effbot, flox stage: -> patch review type: -> crash ___ Python tracker <http://bugs.python.org/

[issue9403] cElementTree: replace PyObject_DEL() by Py_DECREF() to fix a crash in pydebug mode

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +Extension Modules, XML -Library (Lib) nosy: +effbot, flox type: -> crash ___ Python tracker <http://bugs.python.org/iss

[issue7110] Output test failures on stderr in regrtest.py

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

[issue4493] urllib2 doesn't always supply / where URI path component is empty

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

[issue7186] Document specialness of __doc__, and possibly other "special" attributes

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna : -- keywords: +easy ___ Python tracker <http://bugs.python.org/issue7186> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7186] Document specialness of __doc__, and possibly other "special" attributes

2010-08-04 Thread Florent Xicluna
Florent Xicluna added the comment: This is similar with #9438, about __debug__ being read-only. -- nosy: +flox stage: -> needs patch versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/iss

[issue8757] Race condition when checking for set in set

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

[issue7668] test_httpservers fails with non-ascii path

2010-08-03 Thread Florent Xicluna
Florent Xicluna added the comment: Confirmed on 2.6 and 3.1 PPC Tiger and PPC Leopard buildbots. Example (on PPC Leopard 2.6): test_httpservers 'import site' failed; use -v for traceback [16390 refs] 'import site' failed; use -v for traceback [16390 refs] 'import

[issue9458] xml.etree.ElementTree.write(): encoding handling problems

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

[issue8994] pydoc does not support non-ascii docstrings

2010-08-01 Thread Florent Xicluna
Florent Xicluna added the comment: Oops, I really mean #6625. -- status: pending -> open superseder: help() doesn't accept unicode literals in built in docstrings -> UnicodeEncodeError on pydoc's CLI ___ Python tracker <htt

[issue8994] pydoc does not support non-ascii docstrings

2010-08-01 Thread Florent Xicluna
Florent Xicluna added the comment: A duplicate of #7675? -- nosy: +flox resolution: -> duplicate status: open -> pending superseder: -> help() doesn't accept unicode literals in built in docstrings ___ Python tracker <http:

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

2010-08-01 Thread Florent Xicluna
Florent Xicluna added the comment: Unable to reproduce. -- nosy: +haypo resolution: -> works for me status: pending -> closed ___ Python tracker <http://bugs.python.org/

[issue3532] bytes.tohex method

2010-07-31 Thread Florent Xicluna
Changes by Florent Xicluna : -- resolution: -> duplicate superseder: -> codecs missing: base64 bz2 hex zlib hex_codec ... ___ Python tracker <http://bugs.python.org/

[issue6231] ElementInclude may drop text

2010-07-31 Thread Florent Xicluna
Changes by Florent Xicluna : -- assignee: -> flox components: +XML stage: -> patch review status: languishing -> open ___ Python tracker <http://bugs.python.o

[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

2010-07-31 Thread Florent Xicluna
Florent Xicluna added the comment: Patch updated here, and on Rietveld too. http://codereview.appspot.com/664043 Rules (as discussed): - tree.tostring(encoding=None) => encodes to "US-ASCII" (compatible with 2.7 and lxml.etree) - tree.tostring(encoding="unicode&qu

[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

2010-07-31 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16543/issue8047_etree_encoding.diff ___ Python tracker <http://bugs.python.org/issue8047> ___ ___

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

2010-07-31 Thread Florent Xicluna
Florent Xicluna added the comment: The patch (braced_override.diff) still applies on 3.2. I am +0, because it is small and tested. What is the decision? -- nosy: +flox stage: -> patch review versions: +Python 3.2 -Python 3.0 ___ Python trac

[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

2010-07-31 Thread Florent Xicluna
Florent Xicluna added the comment: Issue #9385 marked as duplicate. -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue5504> ___ ___ Python-bug

[issue9385] _ctypes module uses 'rwx' mmap() calls

2010-07-31 Thread Florent Xicluna
Florent Xicluna added the comment: This is a duplicate of #5504, according to Arfrever -- nosy: +flox resolution: -> duplicate status: open -> closed superseder: -> ctypes should work with systems where mmap can't be PROT_WRITE

[issue8920] PYTHONSTARTUP should expand "~"

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

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

2010-07-31 Thread Florent Xicluna
Florent Xicluna added the comment: This issue is over, except for #7723 which is tracked separately. -- dependencies: -sqlite only accept buffer() for BLOB objects(input/output) resolution: accepted -> fixed stage: patch review -> committed/rejected status: open -&g

[issue9429] 2to3 does not rename test.test_support to test.support

2010-07-31 Thread Florent Xicluna
Florent Xicluna added the comment: See #6583. -- nosy: +flox resolution: -> duplicate status: open -> closed superseder: -> 2to3 fails to fix test.test_support ___ Python tracker <http://bugs.python.o

[issue8433] buildbot: test_curses failure, getmouse() returned ERR

2010-07-31 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox stage: -> needs patch type: -> behavior ___ Python tracker <http://bugs.python.org/issue8433> ___ ___ Pyth

[issue9433] regrtest.py -j 2 doesn't work on Windows: remove close_fds=True on Windows

2010-07-31 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +Tests, Windows stage: -> needs patch type: -> behavior ___ Python tracker <http://bugs.python.org/

[issue9433] regrtest.py -j 2 doesn't work on Windows: remove close_fds=True on Windows

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

[issue9301] urllib.quote(None) returns None in 2.7 (raised TypeError before)

2010-07-31 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed in r83319. Thanks. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue9301> ___ ___ Python-

[issue9432] unquote(None) raises AttributeError - Instead of TypeError

2010-07-31 Thread Florent Xicluna
Florent Xicluna added the comment: IMHO we could keep AttributeError in this case. This is a case where "practicality beats purity". See also issue 1285086. -- components: +Library (Lib) nosy: +flox resolution: -> fixed ___ Python t

[issue5006] Duplicate UTF-16 BOM if a file is open in append mode

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

[issue9301] urllib.quote(None) returns None in 2.7 (raised TypeError before)

2010-07-27 Thread Florent Xicluna
Florent Xicluna added the comment: 1/ The AttributeError on unquote() is backward compatible with 2.6, 2.7 and 3.1. (issue 9301 is about backward compatibility) 2/ All the quote*/unquote* functions accept both str and bytes (except quote_from_bytes). I don't find a strong reason to c

[issue7825] test_threadsignals leaks references

2010-07-27 Thread Florent Xicluna
Florent Xicluna added the comment: Now it's fixed for 2.7 with r83187. (thanks for the hint, Antoine) No issue on 3.x, AFAICT. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python

[issue9301] urllib.quote(None) returns None in 2.7 (raised TypeError before)

2010-07-27 Thread Florent Xicluna
Florent Xicluna added the comment: For 3.2, there's some other corner cases which are not covered by the patch. Example: >>> unquote(()) >>> unquote({}) See attached patch. -- keywords: +patch stage: committed/rejected -> commit review status: closed -&g

[issue8966] ctypes: remove implicit conversion between unicode and bytes

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

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

2010-07-27 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with r83182. -- assignee: -> flox resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: -Python 3.1 ___ Python tracker <http://bugs.pytho

[issue7825] test_threadsignals leaks references

2010-07-27 Thread Florent Xicluna
Florent Xicluna added the comment: I did not commit the patch because I'm not sure it is the right approach. I need someone else to comment on this. -- ___ Python tracker <http://bugs.python.org/i

[issue6057] sqlite3 error classes should be documented

2010-07-09 Thread Florent Xicluna
Changes by Florent Xicluna : -- assignee: ghaering -> keywords: +easy nosy: +flox type: -> behavior versions: -Python 2.6, Python 3.0 ___ Python tracker <http://bugs.python.org/

[issue9145] test_coercion fails in refleak runs

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

[issue9145] test_coercion fails in refleak runs

2010-07-04 Thread Florent Xicluna
Changes by Florent Xicluna : -- assignee: -> flox components: -Library (Lib) resolution: -> accepted stage: -> needs patch ___ Python tracker <http://bugs.python.o

[issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

2010-06-11 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +Library (Lib) -Extension Modules ___ Python tracker <http://bugs.python.org/issue8978> ___ ___ Python-bugs-list mailin

[issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

2010-06-11 Thread Florent Xicluna
Florent Xicluna added the comment: something like : raise CompressionError("zlib module is not available") -- ___ Python tracker <http://bugs.python.

[issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

2010-06-11 Thread Florent Xicluna
New submission from Florent Xicluna : When Python is compiled without zlib support, the error message is not very helpful when trying to untar an archive. >>> tarfile.open('sample.tar.gz') tarfile.ReadError: file could not be opened successfully It happens w

[issue8920] PYTHONSTARTUP should expand "~"

2010-06-06 Thread Florent Xicluna
Florent Xicluna added the comment: Here it works with : PYTHONSTARTUP="$HOME/.pythonrc" ./python -- components: +Interpreter Core nosy: +flox resolution: -> wont fix stage: -> committed/rejected status: open -> pending ve

[issue8142] libffi update to 3.0.9

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

[issue8142] libffi update to 3.0.9

2010-05-19 Thread Florent Xicluna
Florent Xicluna added the comment: It seems fixed now. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> pending ___ Python tracker <http://bugs.python.o

[issue8446] buildbot: DeprecationWarning not raised for icglue (test_py3kwarn.TestStdlibRemovals)

2010-05-17 Thread Florent Xicluna
Florent Xicluna added the comment: Maybe this is due to webbrowser dependency on "ic" module. Patch not tested. -- assignee: -> ronaldoussoren components: +Macintosh keywords: +patch nosy: +flox, ronaldoussoren stage: -> patch review type: -> behavior versions:

[issue1285086] urllib.quote is too slow

2010-05-17 Thread Florent Xicluna
Florent Xicluna added the comment: Committed to 3.2 in r81271, after some additional tuning. Btw, I kept list comprehension in 3.2, because it is faster for small strings (even if the gain is ~10%). -- status: open -> closed ___ Python trac

[issue1285086] urllib.quote is too slow

2010-05-17 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file17366/issue1285086_using_rstrip_v2.diff ___ Python tracker <http://bugs.python.org/issue1285

[issue8740] infinite recursion with setfilesystemencoding and pdb

2010-05-17 Thread Florent Xicluna
Florent Xicluna added the comment: Next release should fix it: 3.1.3 (Tested on 3.1 branch) -- nosy: +flox, haypo resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> sys.setfilesystemencoding("xxx"); open(

[issue1285086] urllib.quote is too slow

2010-05-17 Thread Florent Xicluna
Florent Xicluna added the comment: Committed in r81265 for 2.7. -- ___ Python tracker <http://bugs.python.org/issue1285086> ___ ___ Python-bugs-list mailin

[issue1285086] urllib.quote is too slow

2010-05-16 Thread Florent Xicluna
Florent Xicluna added the comment: Proposed patches for quote and unquote on 2.7 and 3.2. -- Added file: http://bugs.python.org/file17367/issue1285086_using_rstrip_py3k.diff ___ Python tracker <http://bugs.python.org/issue1285

[issue1285086] urllib.quote is too slow

2010-05-16 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file17366/issue1285086_using_rstrip_v2.diff ___ Python tracker <http://bugs.python.org/issue1285

[issue1285086] urllib.quote is too slow

2010-05-16 Thread Florent Xicluna
Florent Xicluna added the comment: Updated script for benchmarks (on 2.x and 3.x). Inspired by the "Tools/iobench" script. It benchmarks various quote/unquote implementations on 2.x and 3.x. On 2.7 the fastest implementation is something like: def quote(s): if no

[issue1285086] urllib.quote is too slow

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

[issue1285086] urllib.quote is too slow

2010-05-16 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file17298/issue1285086_using_rstrip.diff ___ Python tracker <http://bugs.python.org/issue1285

[issue1285086] urllib.quote is too slow

2010-05-16 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file17295/issue1285086_using_translate.diff ___ Python tracker <http://bugs.python.org/issue1285

[issue1285086] urllib.quote is too slow

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

[issue8423] tiger buildbot: test_pep277 failures

2010-05-13 Thread Florent Xicluna
Florent Xicluna added the comment: The gory details... >>> import os, unicodedata >>> tempdir = u'temp_pep277' >>> name = u'\u0385\u03d3\u03d4' >>> os.mkdir(tempdir) >>> with open(os.path.join(tempdir, name), 'w') as f:

[issue8423] tiger buildbot: test_pep277 failures

2010-05-13 Thread Florent Xicluna
Florent Xicluna added the comment: Some diagnosis information ... - happens for 2 tests inside test_pep277: test_listdir and test_normalize - happens only for 4 weird filenames (added with #8180) - happens only on "x86 Tiger" buildbot ("PPC Tiger" does not report thi

[issue8423] tiger buildbot: test_pep277 failures

2010-05-13 Thread Florent Xicluna
Changes by Florent Xicluna : -- assignee: -> ronaldoussoren components: +Macintosh, Tests nosy: +flox, mark.dickinson, michael.foord, ned.deily, ronaldoussoren stage: -> needs patch type: -> behavior versions: +Python 2.7 ___ Python track

[issue8084] pep-0370 on osx duplicates existing functionality

2010-05-13 Thread Florent Xicluna
Florent Xicluna added the comment: It fails on "x86 Tiger trunk" buildbot, too. (the PPC Tiger buildbot is happy) -- keywords: +buildbot nosy: +flox ___ Python tracker <http://bugs.python.

[issue8422] tiger buildbot: test_abspath_issue3426 failure (test_genericpath.py)

2010-05-13 Thread Florent Xicluna
Florent Xicluna added the comment: afaict, it needs backport to 2.7. -- components: +Tests nosy: +flox stage: -> commit review status: closed -> open type: -> crash versions: +Python 2.7 -Python 3.2 ___ Python tracker <http://bug

[issue1285086] urllib.quote is too slow

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

[issue1285086] urllib.quote is too slow

2010-05-11 Thread Florent Xicluna
Florent Xicluna added the comment: actually, there's a simpler implementation, using s.rstrip(always_safe + safe). It is as fast as the previous one. -- Added file: http://bugs.python.org/file17298/issue1285086_using_rstrip.diff ___ Python tr

[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> ___ ___

[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
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
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
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file17290/issue1285086_fast_quote.diff ___ Python tracker <http://bugs.python.org/issue1285086> ___ ___

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