[issue17194] operator.attrgetter is slower than a lambda

2013-02-12 Thread Florent Xicluna
Florent Xicluna added the comment: You're right. I've misinterpreted the figures. Only 2.6 and 2.7 are affected --> closing the issue. -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs

[issue17195] Reading source code from file on exception

2013-02-12 Thread Florent Xicluna
Florent Xicluna added the comment: Duplicate of #8087 -- nosy: +flox resolution: -> duplicate status: open -> closed superseder: -> Unupdated source file in traceback ___ Python tracker <http://bugs.python.or

[issue17194] operator.attrgetter is slow

2013-02-12 Thread Florent Xicluna
New submission from Florent Xicluna: When two implementations give the same result, I use to run micro benchmarks to give me an hint. I just noticed that attrgetter is slower than a lambda here: $ python3.3 -m timeit -s 'from operator import attrgetter; n1 = attrgetter("__na

[issue17194] operator.attrgetter is slower than a lambda

2013-02-12 Thread Florent Xicluna
Changes by Florent Xicluna : -- title: operator.attrgetter is slow -> operator.attrgetter is slower than a lambda ___ Python tracker <http://bugs.python.org/issu

[issue17170] string method lookup is too slow

2013-02-11 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox, haypo ___ Python tracker <http://bugs.python.org/issue17170> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17044] Implement PEP 422: Simple class initialisation hook

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

[issue16997] subtests

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

[issue17137] Malfunctioning compiled code in Python 3.3 x64

2013-02-07 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: -Windows ___ Python tracker <http://bugs.python.org/issue17137> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17137] Malfunctioning compiled code in Python 3.3 x64

2013-02-07 Thread Florent Xicluna
Florent Xicluna added the comment: Confirmed on OSX 64bits with Mark's sample. $ python3.3 Python 3.3.0 (default, Jan 24 2013, 08:28:09) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for

[issue16991] Add OrderedDict written in C

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

[issue17138] XPath error in xml.etree.ElementTree

2013-02-05 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +eli.bendersky, flox ___ Python tracker <http://bugs.python.org/issue17138> ___ ___ Python-bugs-list mailing list Unsub

[issue17137] Malfunctioning compiled code in Python 3.3 x64

2013-02-05 Thread Florent Xicluna
Changes by Florent Xicluna : -- keywords: +3.3regression nosy: +flox, haypo ___ Python tracker <http://bugs.python.org/issue17137> ___ ___ Python-bugs-list mailin

[issue3982] support .format for bytes

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

[issue16076] xml.etree.ElementTree.Element and xml.etree.ElementTree.TreeBuilder are no longer pickleable

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

[issue16089] _elementtree causes segfault in GC

2012-09-30 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +XML nosy: +eli.bendersky, flox ___ Python tracker <http://bugs.python.org/issue16089> ___ ___ Python-bugs-list mailin

[issue15810] assertSequenceEqual should be fired when comparing sequences

2012-08-29 Thread Florent Xicluna
Florent Xicluna added the comment: you're probably right. I will continue to use assertSequenceEqual for my use cases. Actually, what confused me is that these assertions are True: class T(tuple): pass class L(list): pass assertEqual(T('ab'), tuple('ab')) assertEqual(

[issue15811] ElementTree.write() raises TypeError when xml_declaration = True and encoding is a unicode string

2012-08-29 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +Library (Lib) nosy: +eli.bendersky, flox ___ Python tracker <http://bugs.python.org/issue15811> ___ ___ Python-bug

[issue15810] assertSequenceEqual should be fired when comparing sequences

2012-08-29 Thread Florent Xicluna
New submission from Florent Xicluna: When writing unittest, I noticed that I need to uses assertSequenceEqual explicitly when comparing sequences of different kinds. If I only use the plain assertEqual, it does not generate pretty diffs. On second thought, I think it could be fixed in

[issue8323] buffer objects are picklable but result is not unpicklable

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

[issue15635] memory leak with generators

2012-08-17 Thread Florent Xicluna
Florent Xicluna added the comment: Thank you for digging into this. I close the issue. I discover now that this kind of problem is quite common in the Mac world. Other references: http://news.ycombinator.com/item?id=3879194 http://www.markvanda.net/apple/mac-os-x-memory-issues

[issue15661] OS X installer packages should be signed for OS X 10.8 Gatekeeper feature

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

[issue15635] memory leak with generators

2012-08-13 Thread Florent Xicluna
Florent Xicluna added the comment: > All of this clearly points towards malloc not releasing allocated memory to > the system. > This is perfectly fine and not a bug in either Python or the system. So it means there's no reliable way to measure the memory consumption of the prog

[issue15635] memory leak with generators

2012-08-13 Thread Florent Xicluna
Florent Xicluna added the comment: Though, I cannot reproduce on Debian Squeeze (2.6.6 deb or 2.7 from source) or Ubuntu (2.7.2+ or 3.2). Someone on OS X might confirm the same issue. This is python 2.7.3 installed from source (using perlbrew) and GCC 4.2.1. The output of the script is

[issue15635] memory leak with generators

2012-08-13 Thread Florent Xicluna
Florent Xicluna added the comment: I don't mean perlbrew, but homebrew (an OS X package manager to install from source). -- ___ Python tracker <http://bugs.python.org/is

[issue15635] memory leak with generators

2012-08-13 Thread Florent Xicluna
New submission from Florent Xicluna: Hello, I noticed a large memory consumption in my application. I tracked it down to be a problem with garbage collection of generator locals. The issue was noticed in 2.6 first. Then I reproduced it in 2.7. The test case finds some leak in 3.3 too, it seems

[issue15562] CaseFolding not working properly

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

[issue15541] logging.exception doesn't accept 'extra'

2012-08-05 Thread Florent Xicluna
Florent Xicluna added the comment: Python 3.2 was already fixed with changeset ba014543ed2c. It would be nice to have some tests, though. -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue15

[issue1553375] Add traceback.print_full_exception()

2012-08-05 Thread Florent Xicluna
Florent Xicluna added the comment: Changeset ba014543ed2c (3.2a4) references this issue. -- nosy: +flox ___ Python tracker <http://bugs.python.org/issue1553

[issue15500] Python should support naming threads

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

[issue15420] issue6964 reminder

2012-07-22 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: -flox, loewis resolution: -> wont fix status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue15420] issue6964 reminder

2012-07-22 Thread Florent Xicluna
Florent Xicluna added the comment: The documentation for porting is already clear about using "-3" switch. http://docs.python.org/dev/howto/pyporting.html#eliminate-3-warnings The argparse module is different because it is not in the stdlib in 2.6, and you can stay with optparse if

[issue15420] issue6964 reminder

2012-07-22 Thread Florent Xicluna
Florent Xicluna added the comment: It was answered in the previous message by Georg, on the related issue: http://bugs.python.org/issue6964#msg93032 > Bottom line: move over to the types module *before* running 2to3. (the thread is very short, and clearly states that there'

[issue11051] Improve Python 3.3 startup time

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

[issue9548] locale can be imported at startup but relies on too many library modules

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

[issue13612] xml.etree.ElementTree says unknown encoding of a regular encoding

2012-07-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +eli.bendersky ___ Python tracker <http://bugs.python.org/issue13612> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9708] cElementTree iterparse does not support "parser" argument

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: Either the documentation or the implementation should be fixed in 3.3, because they do not match. -- nosy: +eli.bendersky versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue9

[issue4221] inconsistent exception from int is confusing

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: Proposed as won't fix for the 2.x series. -- resolution: -> wont fix stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.pyt

[issue7710] Inconsistent Exception for int() conversion

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: The behavior seems acceptable in 2.7 too. >>> int('\0') Traceback (most recent call last): File "", line 1, in ValueError: invalid literal for int() with base 10: '' >>> int('\01') Traceback

[issue9773] test_tarfile fails because of inaccurate mtime on AMD64 debian parallel buildbot

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: Yet another issue with the filesystem on the same buildbot: see issue 9772. -- resolution: -> works for me stage: needs patch -> status: open -> closed superseder: -> test_pep277 failure on AMD64 debian paral

[issue12411] cgi.parse_multipart is broken on 3.x

2012-07-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue12411> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1573931] WSGI, cgi.FieldStorage incompatibility

2012-07-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +orsenthil versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue1573931> ___ ___ Python-bug

[issue12321] documentation of ElementTree.find

2012-07-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +eli.bendersky ___ Python tracker <http://bugs.python.org/issue12321> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12322] ElementPath 1.3 expressions documentation

2012-07-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- keywords: +easy nosy: +eli.bendersky versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue12322> ___ ___ Pytho

[issue12323] ElementPath 1.3 expressions

2012-07-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +eli.bendersky versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue12323> ___ ___ Python-bugs-list mailin

[issue8583] Hardcoded namespace_separator in the cElementTree.XMLParser

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: See also issue 13378 which proposes custom namespace maps for serializing. -- components: +XML nosy: +eli.bendersky versions: +Python 3.4 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue8

[issue6625] UnicodeEncodeError on pydoc's CLI

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

[issue7990] xml.etree.cElementTree lacks full dir() on Element

2012-07-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- assignee: effbot -> nosy: +eli.bendersky stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/

[issue5166] ElementTree and minidom don't prevent creation of not well-formed XML

2012-07-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- assignee: effbot -> components: +XML versions: +Python 3.4 -Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/iss

[issue3783] dbm.sqlite proof of concept

2012-07-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- versions: +Python 3.4 -Python 3.3 ___ Python tracker <http://bugs.python.org/issue3783> ___ ___ Python-bugs-list mailing list Unsub

[issue9692] UnicodeDecodeError in ElementTree.tostring()

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: I propose to close this as won't fix. The upgrade to ElementTree 1.3 brought some consistency when dealing with Unicode and encodings. The reported behavior was only seen in Python 2.7, when using bytes improperly. -- nosy: +eli.bend

[issue9771] add an optional "default" argument to tokenize.detect_encoding

2012-07-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- versions: +Python 3.4 -Python 3.3 ___ Python tracker <http://bugs.python.org/issue9771> ___ ___ Python-bugs-list mailing list Unsub

[issue1610654] cgi.py multipart/form-data

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: It needs tests to demonstrate the issue in 3.x, and an updated patch. -- nosy: +hynek, pitrou stage: patch review -> test needed versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue1

[issue9772] test_pep277 failure on AMD64 debian parallel buildbot

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: > That appears to be a bug in the NFS server. So, it's not a Python bug. -- resolution: -> works for me status: open -> closed ___ Python tracker <http://bugs.pyt

[issue9783] _elementtree.c warnings under 64-bit Windows

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: This warning is not specific to the _elementtree module. See related issue #9566. -- nosy: +eli.bendersky resolution: -> duplicate status: open -> closed superseder: -> Compilation warnings under x6

[issue9566] Compilation warnings under x64 Windows

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: Attached file is a copy of the remaining warnings on the AMD64 Windows7 SP1 3.x builder. -- keywords: +buildbot nosy: +flox Added file: http://bugs.python.org/file26465/warnings64.log ___ Python tracker <h

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

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

[issue8273] move generally useful test.support functions into the unittest package

2012-07-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- versions: +Python 3.4 -Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue8273> ___ ___ Python-bugs-list mailin

[issue3609] does parse_header really belong in CGI module?

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: This refactoring between cgi and email modules is languishing for few years. Any thought? -- status: open -> languishing versions: +Python 3.4 -Python 3.2 ___ Python tracker <http://bugs.python.org/iss

[issue9610] buildbot: uncaptured python exception (smtpd), but no failure in regrtest

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: probably related to issue #5154 mentioned in previous comment: http://bugs.python.org/issue9610#msg114000 -- resolution: -> wont fix status: open -> closed ___ Python tracker <http://bugs.python.org/

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

2012-07-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +eli.bendersky versions: +Python 3.3 -Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/issue7214> ___ ___

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

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: does it require action in 3.3, where the C implementation is active by default? -- ___ Python tracker <http://bugs.python.org/issue7

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

2012-07-21 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file18445/unnamed ___ Python tracker <http://bugs.python.org/issue7214> ___ ___ Python-bugs-list mailin

[issue14998] pprint._safe_key is not always safe enough

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: Test test_pprint fixed with changesets 29642f82bbcc and 79d44f4920d9. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issu

[issue14998] pprint._safe_key is not always safe enough

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: I just broke tests :( -- status: closed -> open ___ Python tracker <http://bugs.python.org/issue14998> ___ ___ Python-

[issue2919] Merge profile/cProfile in 3.n+1

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

[issue14998] pprint._safe_key is not always safe enough

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: Thank you for this patch. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue10017] pprint.pprint raises TypeError on dictionaries with user-defined types as keys

2012-07-21 Thread Florent Xicluna
Florent Xicluna added the comment: Thanks for this patch. I've reviewed the issue and merged the patch of issue #14998 which fixes both cases. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed superseder: -> pprint._safe_key i

[issue10017] pprint.pprint raises TypeError on dictionaries with user-defined types as keys

2012-07-18 Thread Florent Xicluna
Florent Xicluna added the comment: Confirmed on python 3.2 and 3.3. -- keywords: +easy nosy: +flox stage: -> needs patch type: -> behavior versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/i

[issue15369] pybench and test.pystone poorly documented

2012-07-17 Thread Florent Xicluna
Florent Xicluna added the comment: Actually, I discovered "python -m test.pystone" during the talk of Mike Müller at EuroPython. http://is.gd/fasterpy Even if they are suboptimal for true benchmarks, they should probably be mentioned somewhere. In the same paragraph, there should

[issue15368] bytecode generation is not deterministic

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

[issue15369] pybench and test.pystone poorly documented

2012-07-16 Thread Florent Xicluna
New submission from Florent Xicluna : The benchmarking tools "pystones" and "pybench" which are shipped with the Python standard distribution are not documented. The only information is in the what's-new for Python 2.5: http://docs.python.org/dev/whatsnew/2.5.h

[issue9102] pybench: Cannot compare 2.x and 3.x benchmarks

2012-07-16 Thread Florent Xicluna
Changes by Florent Xicluna : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue9102> ___ ___ Python-bugs-list mailing list Unsub

[issue14797] Deprecate imp.find_module()/load_module()

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

[issue15320] thread-safety issue in regrtest.main()

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

[issue13378] Change the variable "nsmap" from global to instance (xml.etree.ElementTree)

2012-07-08 Thread Florent Xicluna
Florent Xicluna added the comment: Well, it fixes the behavior of ElementTree in some multi-threaded cases, provided you pass the namespace map as an argument of the serializer call. The fix implements an optional argument for this use case. As a side effect, it makes it easier to work with

[issue15287] support.TESTFN was modified by test_builtin

2012-07-08 Thread Florent Xicluna
Changes by Florent Xicluna : -- assignee: ronaldoussoren -> components: -Macintosh nosy: -ronaldoussoren resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python

[issue13378] Change the variable "nsmap" from global to instance (xml.etree.ElementTree)

2012-07-08 Thread Florent Xicluna
Florent Xicluna added the comment: Do we merge the patch for 3.3? I'm +1 on this (patch submitted 8 months ago, backward compatible and reviewed). -- nosy: +eli.bendersky ___ Python tracker <http://bugs.python.org/is

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

2012-07-08 Thread Florent Xicluna
Florent Xicluna added the comment: The other changes are in the patch "issue13248_obsolescence_v3.diff". AFAIU, they will not be removed in 3.3, in order to facilitate transition from Python 2. *asyncore* shortcut "dispatcher.*" for "dispatcher.socket.*" at

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

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

[issue15285] test_timeout failure when system on IPv4 10.x.x.x subnet

2012-07-08 Thread Florent Xicluna
Florent Xicluna added the comment: Something like 127.42.42.42 might be more reliable, because it does not depend on the LAN configuration, only on the local loopback settings. It is in 127.0.0.0/8 but not in 127.0.0.0/32. Tested OK here. 127.0.0.0/8 - This block is assigned for use as the

[issue15285] test_timeout failure when system on IPv4 10.0.x.x subnet

2012-07-08 Thread Florent Xicluna
Florent Xicluna added the comment: actually, this is the mapping table I have, when it fails with [Errno 13] Permission denied: $ ifconfig |grep inet inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff00 inet

[issue15285] test_timeout failure on OSX

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: This was this test which was failing: def testConnectTimeout(self): # Choose a private address that is unlikely to exist to prevent # failures due to the connect succeeding before the timeout. # Use a dotted IP address to avoid

[issue15285] test_timeout failure on OSX

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: probably a temporary network issue: i cannot reproduce it now. -- resolution: -> works for me status: open -> pending ___ Python tracker <http://bugs.python.org/i

[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

[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
Changes by Florent Xicluna : -- assignee: -> ronaldoussoren components: +Macintosh nosy: +ronaldoussoren ___ Python tracker <http://bugs.python.org/issu

[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

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

[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

[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

[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

[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

[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

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

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

[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/file23928/issue13248_argparse_io_lib2to3.diff ___ Python tracker <http://bugs.python.org/issue13

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

[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

[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

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