[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 : Added file: http://bugs.python.org/file17299/urllib_quote_speed_test.py ___ Python tracker <http://bugs.python.org/issue1285086> ___ ___ Pytho

[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

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

[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

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

[issue7980] time.strptime not thread safe

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

[issue11108] Intermittent AttributeError when using time.strptime in threads

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

[issue13782] xml.etree.ElementTree: Element.append doesn't type-check its argument

2012-02-09 Thread Florent Xicluna
Florent Xicluna added the comment: Actuallly, the assertions were commented in the upstream repository. https://bitbucket.org/effbot/et-2009-provolone/src/9e9e7f2710aa/elementtree/CHANGES#cl-46 > (1.3a6 released) > - Removed most assert statements from the Element and ElementTree code

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-10 Thread Florent Xicluna
Florent Xicluna added the comment: > If possible I would avoid pyElementTree, Me too: - __name__ and __qualname__ would be less confusing - the cElementTree accelerator uses large parts of Python implementation > ElementTree is different - it's pretty much two separate impleme

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-10 Thread Florent Xicluna
Florent Xicluna added the comment: The first step is to strip out the cElementTree bootstrap code from the C module. I did it in the attached patch (plus removal of obsolete code for copy() in Python 2.4). This passes the unmodified tests "test_xml_etree" and "test_xml_etree_c&

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-11 Thread Florent Xicluna
Florent Xicluna added the comment: > Anyhow, I tried to apply it and a few tests in test_xml_etree_c fail, > because it can't find fromstring and fromstringlist. Ooops, I cut some redundancy after running the tests, and I forgot to re-add the import. You're right. > H

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-11 Thread Florent Xicluna
Florent Xicluna added the comment: Updated patch: - fixed missing import and missing alias - moved the XMLTreeBuilder alias to the Python module -- ___ Python tracker <http://bugs.python.org/issue13

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-11 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file24485/issue13988_prepare_pep399_v2.diff ___ Python tracker <http://bugs.python.org/issue13988> ___ ___

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-11 Thread Florent Xicluna
Florent Xicluna added the comment: I've pushed this first part, which is just a code refactoring. I tried to work out a patch for the second part. The tricky thing is because of xml.etree still using doctests. The patch for the tests seems to be enough small and readable. We have

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-12 Thread Florent Xicluna
Florent Xicluna added the comment: There was a discussion in December which ruled out some CPython too specific implementation details from the documentation. http://mail.python.org/pipermail/python-dev/2011-December/115063.html Maybe it's better to remove these 2 lines about the "t

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-12 Thread Florent Xicluna
Florent Xicluna added the comment: Updated patch: - add 'XMLID' and 'register_namespace' to the ElementTree.__all__ - the comment says explicitly that cElementTree is deprecated - exercise the deprecated module with the tests -- Added file: http://bugs.

[issue13997] Clearly explain the bare minimum Python 3 users should know about Unicode

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

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-12 Thread Florent Xicluna
Florent Xicluna added the comment: > from xml.etree.ElementTree import _namespace_map > > And the import in cElementTree won't be necessary. > After all, _namespace_map is definitely not a public API! Because of the interaction of the support.import_fresh_module with the Cle

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-13 Thread Florent Xicluna
Florent Xicluna added the comment: Now the merge is done. Thank you Eli for the effort, and to the other contributors for the review. Following topics may need further work: - add a Deprecation warning for cElementTree? it will annoy the package maintainers which support both 3.2 and

[issue14001] Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-13 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +XML nosy: +flox versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue14001> ___ ___ Python-bug

[issue14007] xml.etree.ElementTree - XMLParser and TreeBuilder's doctype() method missing

2012-02-13 Thread Florent Xicluna
Florent Xicluna added the comment: For the doctype() issue, it might be removed, since it was already deprecated in 3.2 (in compliance with PEP 387). However the deprecation cycle is under discussion for the 3.x serie. (issue 13248) For subclassing, you hit the same issue for all the

[issue14008] Python uses the new source when reporting an old exception

2012-02-14 Thread Florent Xicluna
Changes by Florent Xicluna : -- resolution: -> duplicate status: open -> closed superseder: -> Unupdated source file in traceback ___ Python tracker <http://bugs.python.or

[issue14035] behavior of test.support.import_fresh_module

2012-02-16 Thread Florent Xicluna
New submission from Florent Xicluna : While writing tests xml.etree, I hit a strange behaviour of import_fresh_module. How to reproduce: - dummy/__init__.py - dummy/foo.py - dummy/bar.py - test_fresh_import.py # 'dummy/foo.py' from dummy.bar import func # 'dummy/bar.py

[issue14035] behavior of test.support.import_fresh_module

2012-02-16 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue14035> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14035] behavior of test.support.import_fresh_module

2012-02-16 Thread Florent Xicluna
Florent Xicluna added the comment: Trigger the same behavior without import_fresh_module. (test_fresh_import2.py) If you uncomment line #A or #B, it succeed. On the other side, if you comment line #C or #D, it succeed too. The import machinery is a bit complex, indeed ... -- nosy

[issue14035] behavior of test.support.import_fresh_module

2012-02-16 Thread Florent Xicluna
Florent Xicluna added the comment: Keeping reference of fresh modules solves the issue. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file24537/issue14035_fresh_modules.diff ___ Python tracker &l

[issue812369] module shutdown procedure based on GC

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

[issue14035] behavior of test.support.import_fresh_module

2012-02-17 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file24537/issue14035_fresh_modules.diff ___ Python tracker <http://bugs.python.org/issue14035> ___ ___

[issue14035] behavior of test.support.import_fresh_module

2012-02-17 Thread Florent Xicluna
Florent Xicluna added the comment: I have updated the patch to a simpler form where I copy() sys.modules. Strangely, I do not detect any refleak running the tests. I plan to commit this fix, if we don't have leaks in the test suite. -- resolution: -> duplicate Added fi

[issue14128] _elementtree should expose types and factory functions consistently with ElementTree

2012-02-26 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +effbot ___ Python tracker <http://bugs.python.org/issue14128> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14007] xml.etree.ElementTree - XMLParser and TreeBuilder's doctype() method missing

2012-02-26 Thread Florent Xicluna
Florent Xicluna added the comment: the class versus factory issue is gone to issue 14128. The current issue is only about the doctype() method missing in the C implementation. I propose to drop this deprecated method from the Python version, instead of implementing the deprecated method in

[issue14007] xml.etree.ElementTree - XMLParser and TreeBuilder's doctype() method missing

2012-02-26 Thread Florent Xicluna
Florent Xicluna added the comment: I understand the point about compatibility. However it is slightly different here, because the method is already deprecated in Python 2.7 and 3.2, with a warning in the documentation and a DeprecationWarning at runtime. This method was never available in the

[issue14007] xml.etree.ElementTree - XMLParser and TreeBuilder's doctype() method missing

2012-02-26 Thread Florent Xicluna
Florent Xicluna added the comment: This last feature (doctype handler on custom TreeBuilder) does not have tests... So, it is certainly broken with the C implementation. -- stage: needs patch -> test needed ___ Python tracker &l

[issue14085] PyUnicode_WRITE: "comparison is always true" warnings

2012-02-26 Thread Florent Xicluna
Florent Xicluna added the comment: Same on OSX, building trunk (3.3.0a0) $ uname -v Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 $ gcc --version i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) $ ./configure

[issue14085] PyUnicode_WRITE: "comparison is always true" warnings

2012-02-26 Thread Florent Xicluna
Changes by Florent Xicluna : -- assignee: ronaldoussoren -> ___ Python tracker <http://bugs.python.org/issue14085> ___ ___ Python-bugs-list mailing list Un

[issue14007] xml.etree.ElementTree - XMLParser and TreeBuilder's doctype() method missing

2012-02-26 Thread Florent Xicluna
Florent Xicluna added the comment: Two other differences: * the C TreeBuilder has an undocumented and unused method "xml" * if you omit one of the TreeBuilder method (start(), end(), data(), close()) on you custom TreeBuilder implementation, the C XMLParser works fine, but t

[issue14006] Improve the documentation of xml.etree.ElementTree

2012-02-26 Thread Florent Xicluna
Florent Xicluna added the comment: FWIW, Fredrik, who is the creator of ElementTree, had a preference for JavaDoc conventions, as explained here: http://bugs.python.org/issue6488#msg102087 They are compatible with the tool PythonDoc, authored by Fredrik too: http://www.effbot.org/zone

[issue14164] my little contribution to the docs

2012-03-01 Thread Florent Xicluna
Changes by Florent Xicluna : -- stage: -> patch review versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue14164> ___ ___ Python-bugs-lis

[issue14175] broken links on /download/ page

2012-03-02 Thread Florent Xicluna
New submission from Florent Xicluna : The links for the latest RC are broken on the official page. http://www.python.org/download/ And the "release" page only list 3.2.3 rc1 and forget the other 3: http://www.python.org/download/releases/ -- messages: 154762 nosy: flo

[issue14208] No way to recover original argv with python -m

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

[issue1469629] __dict__ = self in subclass of dict causes a memory leak

2012-03-07 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox title: __dict__ = self in subclass of dict causes a memory leak? -> __dict__ = self in subclass of dict causes a memory leak ___ Python tracker <http://bugs.python.org/issue1

[issue6727] ImportError when package is symlinked on Windows

2012-03-08 Thread Florent Xicluna
Florent Xicluna added the comment: It breaks the compilation on few buildbots. Python/import.c:130:14: error: #if with no expression -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue6

[issue9995] "setup.py register sdist upload" requires pass to be saved

2012-03-24 Thread Florent Xicluna
Florent Xicluna added the comment: If someone else is looking for the PyPI SSH support, it's there. http://pypi.python.org/pypi/pypissh (I did not find it mentioned in the tutorial) Thanks Martin. -- nosy: +flox ___ Python tracker

[issue12643] code.InteractiveConsole ignores sys.excepthook

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

[issue4600] __class__ assignment: new-style? heap? == confusing

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

[issue14607] method with special keyword-only argument gives error

2012-04-17 Thread Florent Xicluna
New submission from Florent Xicluna : This is probably a bug. >>> class A: ... def f(self, __a=42): ... pass ... >>> A().f() >>> class A: ... def f(self, *, __a=42): ... pass ... >>> A().f() Traceback (most recent call last): File "&q

[issue14608] Python 2.7.3 x86 msi - msvcr90.dll version mismatch

2012-04-17 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +Windows nosy: +loewis ___ Python tracker <http://bugs.python.org/issue14608> ___ ___ Python-bugs-list mailin

[issue18099] wsgiref sets Content-Length: 0 on 304 Not Modified

2013-05-30 Thread Florent Xicluna
New submission from Florent Xicluna: While testing wsgiref w.r.t RFC2616, I noticed that it sets the Content-Length to 0 when the application returns 304 Not Modified. This is a violation of RFC 2616 section 10.3.5. And the net effect is a weird bug with some browsers (tested with Chrome 27

[issue18167] cgi.FieldStorage fails to handle multipart/form-data when \r\n appears at end of 65535 bytes without other newlines

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

[issue18375] python -m test --randseed 1234 does not randomize tests

2013-07-06 Thread Florent Xicluna
New submission from Florent Xicluna: I noticed a minor issue with regrtest. IMHO it should assume --randomize when you pass --randseed. -- assignee: flox components: Tests messages: 192401 nosy: flox priority: normal severity: normal stage: needs patch status: open title: python -m

[issue18376] show the effective count of process when running the testsuite

2013-07-06 Thread Florent Xicluna
New submission from Florent Xicluna: It would be useful to display the number of processes used to run the test suite. (some buildbots have multiple -j on the command line, and it is unclear which one is effective) Proposal (on the third line): == CPython 3.4.0a0 (default:6d278f426417, Jul

[issue18376] show the effective count of process when running the testsuite

2013-07-06 Thread Florent Xicluna
Changes by Florent Xicluna : -- stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue18376> ___ ___ Python-bugs-list mai

[issue18376] show the effective count of process when running the testsuite

2013-07-06 Thread Florent Xicluna
Changes by Florent Xicluna : -- keywords: +patch Added file: http://bugs.python.org/file30798/issue18376_regrtest_count_processes.diff ___ Python tracker <http://bugs.python.org/issue18

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2013-07-06 Thread Florent Xicluna
New submission from Florent Xicluna: Running the test suite with -Wd, we got the warning: [247/375] test_warnings Warning -- warnings.filters was modified by test_warnings This is how to reproduce: ./python -Wd import warnings from test import support saved = warnings.filters.copy

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2013-07-06 Thread Florent Xicluna
Florent Xicluna added the comment: Much simpler: $ ./python -Wd import warnings import sys saved = warnings.filters.copy() del sys.modules['warnings'] import warnings assert warnings.filters != saved assert warnings.filters.pop(0) = warnings.filters[0] assert warnings.filter

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2013-07-06 Thread Florent Xicluna
Florent Xicluna added the comment: This patch fixes the issue. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file30817/issue18383_test_warnings_filters.diff ___ Python tracker <http://bugs.pyth

[issue18394] cgi.FieldStorage triggers ResourceWarning sometimes

2013-07-07 Thread Florent Xicluna
New submission from Florent Xicluna: It happens when POSTing a file for example. When running the test suite: ./python.exe -m test test_cgi Or with the script attached: $ ./python test_fieldstorage.py test_fieldstorage.py:28: ResourceWarning: unclosed file <_io.BufferedRandom nam

[issue18013] cgi.FieldStorage does not parse W3C sample

2013-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: Fix committed, with tests. -- resolution: -> fixed status: open -> closed versions: +Python 3.4 -Python 3.2 ___ Python tracker <http://bugs.python.org/i

[issue14638] pydoc error on instance of a custom class

2012-04-20 Thread Florent Xicluna
New submission from Florent Xicluna : pydoc fails on custom instances in specific cases. (When instance __name__ does not resolve to a str). This is a small example: >>> import pydoc >>> class A: ... def __getattr__(self, name): ... return True ... >>> print(

[issue2387] cStringIO and unicode

2012-04-27 Thread Florent Xicluna
Florent Xicluna added the comment: It seems the documentation is not enough accurate. "Unlike the StringIO module, this module is not able to accept Unicode strings that cannot be encoded as plain ASCII strings." I understand that u'foo' can be encoded as plan ASCII,

[issue14972] listcomp with nested classes

2012-05-31 Thread Florent Xicluna
Florent Xicluna added the comment: Simpler test case: class A: x = 42 y = [x for _ in '1'] The semantics of list comprehension changed with Python 3. However, I do not see this specific behavior documented somewhere. http://docs.python.org/dev/whatsnew/3.0.html#chan

[issue14972] listcomp with nested classes

2012-06-01 Thread Florent Xicluna
Florent Xicluna added the comment: This is a duplicate of issue 11796. See also issue 13557: http://bugs.python.org/issue13557#msg154174 For Python 3, a list comprehension defines a block pretty much like the method definition during the class creation: class x: x = 1 def incx

[issue11796] Comprehensions in a class definition mostly cannot access class variable

2012-06-01 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +anikom15, flox, josmiley ___ Python tracker <http://bugs.python.org/issue11796> ___ ___ Python-bugs-list mailing list Unsub

[issue14990] detect_encoding should fail with SyntaxError on invalid encoding

2012-06-03 Thread Florent Xicluna
New submission from Florent Xicluna : I've hit this issue while playing with tokenize for the pep8.py module. The tokenize detect_encoding() should report SyntaxError when the encoding is improperly declared. However it raises a LookupError in some cases. $ ./python -m tokenize Lib

[issue14990] detect_encoding should fail with SyntaxError on invalid encoding

2012-06-03 Thread Florent Xicluna
Florent Xicluna added the comment: This patch seems to fix the issue. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file25805/issue14990_detect_encoding.diff ___ Python tracker <http://bugs.pyth

[issue13598] string.Formatter doesn't support empty curly braces "{}"

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

[issue14998] pprint._safe_key is not always safe enough

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

[issue14990] detect_encoding should fail with SyntaxError on invalid encoding

2012-06-06 Thread Florent Xicluna
Florent Xicluna added the comment: It should raise a SyntaxError, if coding is 'utf8'. I don't agree with the last patch proposed. If the import report a SyntaxError, 'tokenize' should do the same. $ ./python Lib/test/bad_coding2.py File "Lib/test/bad_c

[issue15054] bytes literals erroneously tokenized

2012-06-13 Thread Florent Xicluna
New submission from Florent Xicluna : With Python 2.7, both b'hello' and br'hello' are wrong. With Python 3.3, b'hello' is wrong. $ python2.7 -m tokenize <<<"'hello', u'hello', ur'hello', b'hello', br'hel

[issue15075] XincludeTest failure in test_xml_etree

2012-06-16 Thread Florent Xicluna
Florent Xicluna added the comment: > File "/home/eliben/python-src/33/Lib/test/regrtest.py", line 710 in main > File "/home/eliben/python-src/33/Lib/test/regrtest.py", line 1829 in > > File "/home/eliben/python-src/33/Lib/runpy.py", line 75 in _

[issue15068] fileinput requires two EOF when reading stdin

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

[issue9679] unicode DNS names in urllib, urlopen

2012-06-16 Thread Florent Xicluna
Florent Xicluna added the comment: The werkzeug.urls module has examples of such conversion IRI-to-URI: https://github.com/mitsuhiko/werkzeug/blob/master/werkzeug/urls.py#L109,L205 -- ___ Python tracker <http://bugs.python.org/issue9

[issue805255] remove/discard method for dict objects.

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

[issue15054] bytes literals erroneously tokenized

2012-06-16 Thread Florent Xicluna
Florent Xicluna added the comment: LGTM too. Thanks. -- ___ Python tracker <http://bugs.python.org/issue15054> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13823] xml.etree.ElementTree.ElementTree.write - argument checking

2012-06-17 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue13823> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +aronacher, flox ___ Python tracker <http://bugs.python.org/issue15096> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +vinay.sajip ___ Python tracker <http://bugs.python.org/issue15096> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12014] str.format parses replacement field incorrectly

2012-06-17 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue12014> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15100] Race conditions in shutil.copy, shutil.copy2 and shutil.copyfile

2012-06-18 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +IO nosy: +flox ___ Python tracker <http://bugs.python.org/issue15100> ___ ___ Python-bugs-list mailing list Unsub

[issue15125] argparse: positional arguments containing - in name not handled well

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: I don't see a valid use case to support "-" in the name of the positional argument. IMHO, it should raise an error (probably a ValueError) for the add_argument in this case ... Or we keep it as-is and close as wont-fix: if the op wants t

[issue15271] argparse: repeatedly specifying the same argument ignores the previous ones

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: Confirmed. It should probably raise an ArgumentError like this one. http://docs.python.org/library/argparse.html#conflict-handler -- components: +Library (Lib) nosy: +flox stage: -> needs patch versions: +Python

[issue14990] detect_encoding should fail with SyntaxError on invalid encoding

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: Thanks. Fixed in trunk too, changeset b4322ad1fec4 -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue8881] socket.getaddrinfo() should return named tuples

2012-07-07 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue8881> ___ ___ Python-bugs-lis

[issue13248] deprecated in 3.2, should be removed in 3.3

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: Do we agree to remove the "max_buffer_size" from the "io" module in 3.3? This argument is unused, and deprecated. Just dead code. See attachment. -- Added file: http://bugs.python.org/file26297/issue13248_io_

[issue13248] deprecated in 3.2, should be removed in 3.3

2012-07-07 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file23928/issue13248_argparse_io_lib2to3.diff ___ Python tracker <http://bugs.python.org/issue13

[issue7651] Python3: guess text file charset using the BOM

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: For the implementation part, there's something which already plays with the BOM in the tokenize module. See tokenize.open(), which uses tokenize.detect_encoding() to read the BOM in some cases. -- nosy:

[issue13248] deprecated in 3.2, should be removed in 3.3

2012-07-07 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file23929/issue13248_obsolescence_v2.diff ___ Python tracker <http://bugs.python.org/issue13248> ___ ___

[issue13248] deprecated in 3.2, should be removed in 3.3

2012-07-07 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file26301/issue13248_obsolescence_v3.diff ___ Python tracker <http://bugs.python.org/issue13248> ___ ___

[issue11796] Comprehensions in a class definition mostly cannot access class variable

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: It looks as a duplicate of issue 13557. I close this one, because a doc patch is attached on the other. -- resolution: -> duplicate status: open -> closed superseder: -> exec of list comprehension fails on

[issue13557] exec of list comprehension fails on NameError

2012-07-07 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +Trundle, anikom15, daniel.urban, flox, jonathan.hartley, josmiley, michael.foord, mjs0, rhettinger ___ Python tracker <http://bugs.python.org/issue13

[issue13557] exec of list comprehension fails on NameError

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: Issue #11796 marked as duplicate of this one. However the issue described in #11796 does not involve exec/execfile. It is about scopes for list comprehension like this one. Another doc patch should probably be written to cover the case described in #11796

[issue15279] Spurious unittest warnings

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: I cannot reproduce with 3.3 on Snow Leopard (default options, default compiler). $ ./python.exe -m test.regrtest test_unittest [1/1] test_unittest 1 test OK. [158600 refs] == CPython 3.3.0b1 (tip:9807de61191c, Jul 7 2012, 10:54:30) [GCC 4.2.1 (Apple Inc

[issue15194] libffi-3.0.11 update

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: Few warnings when building trunk (on 10.6): ./Modules/_ctypes/libffi_osx/x86/x86-ffi64.c:49: warning: function declaration isn’t a prototype ./Modules/_ctypes/libffi_osx/x86/x86-ffi64.c:379: warning: function declaration isn’t a prototype -- nosy

[issue13248] deprecated in 3.2, should be removed in 3.3

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: Eric, I will check but I thought they were not documented. -- ___ Python tracker <http://bugs.python.org/issue13248> ___ ___

[issue15285] test_timeout failure on OSX

2012-07-07 Thread Florent Xicluna
New submission from Florent Xicluna : I have this repeatable failure on OSX. $ time ./python.exe -m test.regrtest -uall -W test_timeout [1/1] test_timeout testBlockingThenTimeout (test.test_timeout.CreationTestCase) ... ok testFloatReturnValue (test.test_timeout.CreationTestCase) ... ok

[issue15285] test_timeout failure on OSX

2012-07-07 Thread Florent Xicluna
Changes by Florent Xicluna : -- assignee: -> ronaldoussoren components: +Macintosh nosy: +ronaldoussoren ___ Python tracker <http://bugs.python.org/issu

[issue15287] support.TESTFN was modified by test_builtin

2012-07-07 Thread Florent Xicluna
New submission from Florent Xicluna : There's a warning running test_builtin $ ./python.exe -m test.regrtest -u all -v test_builtin == CPython 3.3.0b1 (default:5b71f5891c54, Jul 7 2012, 17:47:30) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] == Darwin-10.8.0-i386-64bit little-e

[issue15285] test_timeout failure on OSX

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: happened on 10.6, 64 bits, with a fresh build. == CPython 3.3.0b1 (default:5b71f5891c54, Jul 7 2012, 17:47:30) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] == Darwin-10.8.0-i386-64bit little-endian -- ___ Python

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