[issue13193] packaging.tests.test_manifest and distutils.tests.test_filelist failures

2012-02-17 Thread Éric Araujo
Éric Araujo added the comment: FYI, the last commit was actually incorrect. I must confess that I wanted to fix the buildbots as quick as possible, especially in light of the upcoming-though-undated 2.7 release, and did not read the code as carefully as I should have, but now I have done it

[issue11751] Increase distutils.filelist / packaging.manifest test coverage

2012-02-17 Thread Éric Araujo
Éric Araujo added the comment: It was actually already known: #6884 (and then found again: #14004). -- ___ Python tracker ___ ___ Pyt

[issue14004] Distutils filelist selects too many files on Windows

2012-02-17 Thread Éric Araujo
Éric Araujo added the comment: This regex bug was actually already known. Please follow up on the other report. > As an aside, it seems that the failing test from issue 13193 was > actually correct, and that the library itself was broken. Yes. filelist operates in this way: it builds a list

[issue6884] Impossible to include file in sdist that starts with 'build' on Win32

2012-02-17 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +nadeem.vawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue14030] Be more careful about selecting the compiler in distutils

2012-02-17 Thread Éric Araujo
Éric Araujo added the comment: > PyPy has no Makefile, so sysconfig.get_config_var("CC") returns None in PyPy. Do you think the stdlib sysconfig could be changed to make this call return something meaningful, or should the code use another method to find the compiler to use? (Getting config v

[issue6884] Impossible to include file in sdist that starts with 'build' on Win32

2012-02-17 Thread Éric Araujo
Éric Araujo added the comment: Can someone test this patch on Windows? -- nosy: +jason.coombs Added file: http://bugs.python.org/file24553/filelist-regex-bug.diff ___ Python tracker

[issue6884] Impossible to include file in sdist that starts with 'build' on Win32

2012-02-17 Thread Nadeem Vawda
Nadeem Vawda added the comment: With the patch applied, the problem from issue 14004 still occurs. There is also a failure in test_distutils, but I'm not sure whether that's just the test itself needing to be updated. Anyway, it's late for me now; I'll give it a more detailed look tomorrow. --

[issue6884] Impossible to include file in sdist that starts with 'build' on Win32

2012-02-17 Thread Éric Araujo
Éric Araujo added the comment: Could you post the test output (and the output of DISTUTILS_DEBUG=1 ./python.exe setup.py sdist if you have it)? -- ___ Python tracker ___ ___

[issue14045] In regex pattern long unicode character isn't recognized by repetition characters +, * and {}

2012-02-17 Thread py.user
New submission from py.user : >>> import re >>> '\U0061' 'a' >>> '\U00100061' '\U00100061' >>> re.search('\U00100061', '\U00100061' * 10).group() '\U00100061' >>> re.search('\U00100061+', '\U00100061' * 10).group() '\U00100061' >>> re.search('(\U00100061)+', '\U00100061' * 10).group() '\U0010

[issue14045] In regex pattern long unicode character isn't recognized by repetition characters +, * and {}

2012-02-17 Thread STINNER Victor
STINNER Victor added the comment: The re module doesn't support non-BMP characters in Python 3.2 compiled in narrow mode (sys.maxunicode==65535). This issue is already fixed in Python 3.3 which doesn't have narrow or wide mode anymore thanks to the PEP 393! -- nosy: +haypo, loewis __

[issue14043] Speed-up importlib's _FileFinder

2012-02-17 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue14045] In regex pattern long unicode character isn't recognized by repetition characters +, * and {}

2012-02-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: As Victor says, this issue is fixed in Python 3.3. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2012-02-17 Thread Mansour
New submission from Mansour : I have a web server written in python which takes an optional argument telling it what IP and port to bind to. Here's the definition: parser.add_argument( '-b', '--bind', metavar="[ip]:port", type=unicode, help="IP and port to bind to." ) There are several

[issue14027] distutils2 lack of pysetup.bat

2012-02-17 Thread Éric Araujo
Éric Araujo added the comment: Hi, and thanks for your interest in improving distutils2. I am not a Windows user, much less developer, so I have many questions about your proposed pysetup.bat: - Will “@%~dp0\..\python.exe” get the proper path for people who do not install Python to C:\? - Are

[issue14047] UTF-8 Email Header

2012-02-17 Thread Michal Sladek
New submission from Michal Sladek : Hello! I am not a programmer so I appologize if I just don't understand the docs properly. I need to wirte a function which sends emails with utf-8 encoded subject and body. I tried something like this: def sendMail (fromAddr, toAddr, subject, body = '', at

<    1   2